Book a Demo

Author Topic: List overrides for multiple Header formats  (Read 4121 times)

Charles England

  • EA User
  • **
  • Posts: 27
  • Karma: +1/-0
    • View Profile
List overrides for multiple Header formats
« on: January 02, 2015, 06:38:54 am »
I'm trying to create a list override to have some headers display with a different format than others, and with a different numbering scheme. I want to have appendices as "Appendix 1 - Title" for example. I've realised I have to use the Header styles otherwise they won't be generated into the table of contents.
So, I've tried the following:
1. Create my own Normal template with all the styles I want and with the list override for Appendices.
2. Export this to normal.rtf.
3. Create new styles using this new normal.rtf template. I have one for the body, using the default list override for Headers, and a second template for appendices, using the second list override.
As far as I can see this should work. When I create a style sheet from this normal.rtf template, I can have both heading styles, each with the different list override, and they display correctly. They also display correctly in the templates I've created.
However, it doesn't work when I generate the document. Have I done something wrong or is this a bug? I've also raised it as a bug with Sparx.
As an aside, I've also noted that new templates created from this normal.rtf don't always have the new list override. It seems random as to whether it is added to the new template.
Thanks

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: List overrides for multiple Header formats
« Reply #1 on: January 12, 2015, 01:09:46 pm »
Anything you do with multilevel lists if fraught with problems for two reasons
1) EA struggles with representing multilevel lists and their attributes in .rtf
{.dotx template files can't come soon enough (its going to be tough though, as internal representation is .rtf - potentially breaks backward compatibility I guess)}
2) Word restricts you to having one style file, so you can't redefine say 'Heading 1" to look different in an appendix to the main body of the document (even if it looks like you can, and it sometimes even works).
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.