Book a Demo

Author Topic: Copying styles between RTF templates.  (Read 3053 times)

cpns

  • EA User
  • **
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Copying styles between RTF templates.
« on: May 15, 2008, 12:40:51 am »
I am using a virtual document and wish to use outline numbering (1, 1.1, 1.1.1 etc.) for heading styles.

I have determined how to modify the styles to support this using "List and Overrides" and style editing, but when applied to the master document template the styles are not inherited by the model documents.

This appears to mean that I will have to set-up the list overrides and heading styles in every template I am using. Doing this manually is a laborious and error prone process. Is there a simple method of exporting and importing styles into existing templates?

I understand that I could create a single template with the necessary styles and create all others from that, but these templates already exist and most were based on the built-in report templates.

Thanks in anticipation.

Clifford

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: Copying styles between RTF templates.
« Reply #1 on: May 15, 2008, 02:46:33 pm »
Hello Clifford,
I would suggest you send this through as a email to support, along with an export of the templates used and the resulting output generated.

cpns

  • EA User
  • **
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Re: Copying styles between RTF templates.
« Reply #2 on: May 16, 2008, 12:28:03 am »
Thanks.

In fact sent an example model containing the templates, packages, and virtual document I am trying to generate as well as a template containing the styles I want replicated in each template.

Ideally I would want the styles in the master document to optionally override any styles of the same name in contained model document templates. That is a feature request of course, but I would be happy with a work around for the moment.

I tried exporting the templates as RTF and replacing the style settings in one with those of another, then re-importing them, but that is easier said than done in a text editor and dense machine generated RTF and without a thorough knowleddge of RTF mark-up! Needless to say, it broke the template! :(

A simple command line utility perhaps to parse and merge style settings and list overrides would suit me if it worked.


Clifford
« Last Edit: May 16, 2008, 12:28:37 am by cpns »