Book a Demo

Author Topic: Templates + Styles : Indented Headers but paragraphs remain left indented  (Read 13821 times)

speedco

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Hi all,

I've created a template based on the Model Report and have created a simple stylesheet to go with it. All is working well and the document I require has started to materialize. HOWEVER.... Although the headers are marked to indent per level, the paragraph text and notes remain wired to the left border. Is there an option to be set to make the text/notes auto indent to remain inline with the headers? I've tried pretty much every option I can find to no avail.

Is this possible?
How do I do it?

Thanks and kind regards

Carl

P.S. Here is a sample of template which is very simple. If you need the style, let me know. I've just adding a list indentation to the header style

package >
{Pkg.Name}
package element >
linked document >
< linked document
< package element
{Pkg.Notes}
diagram >
{Diagram.DiagramImg}
< diagram
child packages >
< child packages
element >
embedded elements >
< embedded elements
linked document >
< linked document
diagram >
< diagram
child elements >
< child elements
< element
< package


speedco

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
As an extra, I'm linking in document artifacts for placeholders for a lot of the paragraphs. Should the content from them pick up the indentation of the header?

speedco

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Is no one able to help me?

I've just deleted the Stylesheet and created a new.

If I create a number listed set of headers, using the template for the document, it indents the headers correctly, but the notes and linked document content remains fixed to the left side. Is there a way to make notes/linked document content stay aligned to the tabbing of the header OR is there a way to make remove the indentation of the headers for second and third levels? i.e. for each increase of level, the header is tabbed, which I've unsuccesfully suppressed.

Thanks and kind regards

Carl

speedco

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Bouncing again.

I've managed to get all headers aligned to the left.

Does nobody know how to make Notes and the content of linked documents obey the indentation of Headers? Do I need to raise a ticket for this, i.e. is it a problem?

Kind regards

Carl

StefanPears

  • EA User
  • **
  • Posts: 119
  • Karma: +6/-0
  • Unwissenheit schützt vor Erkenntnis nicht
    • View Profile
Why don't you save your rtf as docx, remove all paragraph formatting with shortcut CTRl-A CTRL-Q and then modify the styles in MS-Word?

(I apologize my English is limited so I probably did not understand your problem)

speedco

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Why don't you save your rtf as docx, remove all paragraph formatting with shortcut CTRl-A CTRL-Q and then modify the styles in MS-Word?

(I apologize my English is limited so I probably did not understand your problem)

Hi Stefan, yes, I could post edit it, but in a purist terms, should I have to? Shouldn't the templating do this for me? There seems to be a complete disconnect from headings and paragraphs within. This leads me to believe I'm doing something wrong or the tool doesn't do it.


PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
I have not used this feature yet and due to the silence, I assume there are not many forum members using that feature as well.

One of the forum members who know a lot about document templates is Geert. Either he is out or even he does not know.

If nobody answers, I would send a mail to [email protected].
Best regards,

Peter Heintz

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
I would say no, and even in Word itself this would not be easy.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
To make this work, even in word, you would need to have a separate 'Normal' (or equivalent) paragraph style for each heading level. I've never seen that done.

speedco

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
To make this work, even in word, you would need to have a separate 'Normal' (or equivalent) paragraph style for each heading level. I've never seen that done.

Hi Simon,

I see. I did consider this approach, to create a 'Paragraph level 1', 'Paragrah level 2' etc.

I'm surprised this isn't standard. If I open Word with a vanilla document assign a heading 1, the text under it remains left aligned. If I then add a sub heading 2, which is indented. As I type under it, text is also tabulated to follow the indentation; hence why I'm a little astonished that this isn't replicated.

Kind regards

Carl

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
I'm surprised this isn't standard. If I open Word with a vanilla document assign a heading 1, the text under it remains left aligned. If I then add a sub heading 2, which is indented. As I type under it, text is also tabulated to follow the indentation; hence why I'm a little astonished that this isn't replicated.

This doesn't happen in either of my installations of Word.  It would appear that you have a normal.dot where someone has done some clever with multi-level lists.

speedco

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
I'll go away and find the normal.dot file to examine.

THANKS ALL for your kind responses.

Kind regards

Carl


skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
It is one thing having the EA document generator modify headings by counting the levels of nesting and changing "heading 1" to "heading n",


it is quite another to expect that paragraph styles (e.g. Normal or Body Text) be changed depending on the heading above.


And Word handles multi-level lists poorly in any case,
my advice, don't do this at home, and don't do it in Architectural documents (indentation will reduce the space available for diagrams)
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.