You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by bu...@apache.org on 2014/06/16 10:39:39 UTC

review requested: [Issue 78498] WW8: imported TOC empty, due to paragraphs having "outline level" property : [Attachment 83568] a semi-fixpatch

Clarence GUO <cl...@gmail.com> has asked  for review:
Issue 78498: WW8: imported TOC empty, due to paragraphs having "outline level"
property
https://issues.apache.org/ooo/show_bug.cgi?id=78498

Attachment 83568: a semi-fixpatch
https://issues.apache.org/ooo/attachment.cgi?id=83568&action=edit


------- Additional Comments from Clarence GUO <cl...@gmail.com>
The patch can partial fix the problem but it is not satisfied. I just put it
here for more input and discussion from others because I only have very little
knowledge on document.
Without the fix code, there's not any paragraphs in the total three paragraphs
of the sample was applied outline level.
With the fix code, from my debugging, I saw the code was only called twice to
apply outline level attribute to two text notes. But I checked the outline
level of the three paragraphs from paragraph attribute, the three paragraphs
were all applied outline level. I haven't found any other places set this
attribute.
If the wrong set was introduced by my code, but my code only set the attribute
for two text nodes.
If the wrong set was introduced by other code, why without my code, none of the
paragraphs were applied outline level.
Is my fix code correct? maybe I'm wrong. Could anybody can teach me on this?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org