http://openoffice.org/bugzilla/show_bug.cgi?id=108052





--- Comment #10 from [email protected]  2011-03-23 14:29:12 ---
AW: I have a deva-vu here since I think this was already once coming up and had
been fixed. After some debugging, I found the following line in
impTextBreakupHandler::impFlushTextPortionPrimitivesToLinePrimitives():

// only create a line primitive when we had content; there is no need for
// empty line primitives (contrary to paragraphs, see below).

This was exactly the former fix. Thus, somehow this had been broken again. Base
to have this working is that even for empty paragraphs, the DrawPortionHdl of
the EditEngine has to be called. This is in impedit3.cxx in editengine module.
Indeed, it gets no longer called with empty paragraphs because of this loop:

for ( sal_uInt16 y = pLine->GetStartPortion(); y <= pLine->GetEndPortion(); y++
)

OTOH the above text shows that it was called in the past. Unfortunately the
move from svx content to own project editengine has nit taken over the direct
history. It now gets not called since in the following switch the text portion
kind is of type PORTIONKIND_TAB. That type supports no callbacks at strip at
all. I'm really curious what might have changed to break this functionality
again...

-- 
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
---------------------------------------------------------------------
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help

Reply via email to