Issue 9364 - Word compatibility: allow paragraphs to be excluded from outline numbering even if they are formatted with that style
Summary: Word compatibility: allow paragraphs to be excluded from outline numbering ev...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.0.1
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2002-11-19 11:18 UTC by Unknown
Modified: 2013-02-07 22:34 UTC (History)
3 users (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Example, the heading6 isn't visible in word (19.00 KB, application/octet-stream)
2002-11-25 10:38 UTC, Unknown
no flags Details
Other example, in word only the second heading 2 is visible (19.50 KB, application/octet-stream)
2002-11-25 10:39 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-11-19 11:18:07 UTC
When importing a word doc some headings got an empty heading above them like this:

2.1
2.2 this is the real heading

I fixed this by changing the type of the 2.1 line to default instead of heading2
. I think this caused by a heading containing whitespace in front of the real
heading (esp CRs) also see bug 9363

Lett me know if you need an example doc.
Comment 1 Unknown 2002-11-19 11:46:03 UTC
I was checking the doc some more and found an important clue: a
heading 6 showed up in the middle of 2 paragraphs the problem seems to
be that word ignores empty headings, but leaves an empty line!
(doesn't number them, doesn't show a number on the page, doesn't show
them in the doc)

So a fix might be to replace headings which are empty (all whitespace)
with just a cr in default.

I've attached the doc to bug 9366 you can see the heading in par 5.4
Comment 2 prgmgr 2002-11-20 03:58:44 UTC
Thank you for using and supporting OOo.

Could you please attach a small, simple file that demonstrates this 
problem?  You could trim down the file you are refer to.
Comment 3 Unknown 2002-11-25 10:38:31 UTC
Created attachment 3736 [details]
Example, the heading6 isn't visible in word
Comment 4 Unknown 2002-11-25 10:39:13 UTC
Created attachment 3737 [details]
Other example, in word only the second heading 2 is visible
Comment 5 Unknown 2002-11-25 10:40:10 UTC
Also with the second example the empty heading 2 (the first) doesn't
show up in a toc, in oo it does: suggested fix remove empty headings.
Comment 6 prgmgr 2002-11-29 03:41:07 UTC
Thanks for the update.

I'm assuming that the attachments are OOo text docs to exported to 
Word format?  If this is true, please attach the original OOo text 
doc.

I can see the differences on how OOo and Word reads the .doc files, 
but I think we need the original OOo text doc to figure out what is 
going on ( well at least I do :) ).
Comment 7 Unknown 2002-11-29 07:58:13 UTC
I created the examples in msword, that seemed the right thing todo to
me, so there is no sxw version.

Comment 8 prgmgr 2002-11-29 20:22:05 UTC
Thanks for the update.

This is an known issue.  Issue 2110 refers to this problem.

Changing this to a feature request.

From issue 2110

MRU:  Yes, the problem is, that in Word you are able to exclude 
      paragraphs from Outline Numbering, though these are formatted 
      with the corresponding paragraph style. I´ve written a feature
      request to our PM that we should include such a function for 
      better compatibility.

There are also some notes in 2110 on an user proposed workaround.


Duplicated on Win2k Server sp3, OOo 643C


User summary
Word import: Openoffice generates additional headings
Comment 9 michael.ruess 2002-12-12 16:26:28 UTC
That's not a problem of the Word import. Word and Writer just work
differently in this case: Word does not give numbers to empty
Headings, Writer does. So it is a fifty-fifty discussion about the
better way...

MRU->BH:
But what I can imagine: a new compatibility option for "including
empty Headings into Outline Numbering"
Comment 10 juanrey 2005-03-11 17:24:06 UTC
I think this issue is fixed on 1.9m84
Comment 11 bettina.haberer 2010-05-21 14:54:45 UTC
To grep the issues easier via "requirements" I put the issues currently lying on
my owner to the owner "requirements".