Preserve/Set outline level on styles in RTF code

Everything related to our flagship word processor.
Post Reply
kriro
Posts: 1
Joined: 2011-07-26 04:36:46

Preserve/Set outline level on styles in RTF code

Post by kriro »

Hello,

how do I set/preserve the outline level property of a heading style created in NWP 2 so that Word recognizes it (in its own outline view) when reading the document?

The relevant RTF property would be \outlinelevelN, with N being 0-8 for outline levels 1-9. Not including the property means Body Text. Both Word and other software I use depend on this property being written to RTF for working correctly. Is there a certain way how I need to configure heading styles (resp. the list style they are connected with) so that this property gets written to RTF?

Thanks, Christian
NWP 2.0.1 pb1
User avatar
martin
Official Nisus Person
Posts: 5230
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Preserve/Set outline level on styles in RTF code

Post by martin »

Hi Christian- NWP never emits the "outlinelevel" RTF control, so if that's really what you need, I'm afraid you're out of luck. However, it doesn't seem that Word needs to actually encounter that control in order to include heading paragraphs in its Outline View or Document Map. Just using paragraph styles named "Heading #" seems to be enough.

Let me know if you have any questions, or I'm missing something.
Post Reply