To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97488
                 Issue #|97488
                 Summary|ww8: toc export/import improvements
               Component|Word processor
                 Version|DEV300m37
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|save-export
             Assigned to|hbrinkm
             Reported by|cmc





------- Additional comments from c...@openoffice.org Mon Dec 22 11:52:28 +0000 
2008 -------
If we look at the TOC stuff, e.g.
http://office.microsoft.com/en-us/word/HP051862011033.aspx we see that in word
\o means to include "standard" outline styles 1-X and we can then add additional
styles. 

A few things:
a) So if we have styles in our outline that are not "standard" we really need to
use \o 1-Y where Y is the last "standard" outline style from msword's
perspective in the ones that we would include. Then we add in the remaining
outline styles as extra styles

b) Our "evaluate" level cuts out styles used in the additional styles that might
happen to also an outline level above that evaluate level. Word wouldn't do that
as the \o is a different concept, so we need to cut those out on export

c) On import because our "evaluate" level is a different thing from \o we can
definitely use it as the best fit for importing it as it normally is the right
thing to do, but if we see that additional styles are used to fill a level above
the \o cut-off point, then we need to increase up to that level.

Patch attached to do this set of stuff, seems to work ok for me, I'll add in to
sample documents

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to