Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: MatthiasVDE on April 08, 2020, 08:57:23 pm
-
package >
1. Requirements (heading 1)
child packages >
1.1 {Pgk.Name} (heading 2)
< child packages
<package
When I generate this, the document shows the package names in heading 3 instead of heading 2. To get them in heading 2, I need to put them in heading 1 in my template. Is this a bug?
it is not because of my stylesheet, because if I do it like this he will show it correctly:
1. Requirements (heading 1)
1.1 The Name (heading 2)
-
Matthias,
You are not supposed to put anything in the child packages node (but it might work despite that)
And yes, when going down a level, EA will automatically go to a higher heading, works as designed.
Geert
-
Matthias,
You are not supposed to put anything in the child packages node (but it might work despite that)
And yes, when going down a level, EA will automatically go to a higher heading, works as designed.
Geert
Thx Geert, I didn't know that
-
Another thing about this templates topic.
t
package >
Title
< package
I repeatedly add this template to a document in order to sum op some topics. But above the topic titles in the document, there's always a blank return/enter space. Is there any way to avoid this?
-
There must be. I never have additional returns in my generated documents.
Geert
-
Hi Matthias,
I sometimes have issues with blank spaces, especially when there are fragments involved.
You can try moving the field labels and content opening/closing tags so they're on the same line:
package>{Pkg.Name}<package
This can resolve some of those issues.
HTH,
/Uffe
-
Thanks Uffe, I'll give this a try.
Still another issue 8)
When I start with a new heading 1 title, like for example 2. Descriptions. I want that my heading 2 titles then start again with 2.1, 2.3, ... But they don't, they continue with numbering following on the ones from the previous chapter.
-
Still another issue 8)
When I start with a new heading 1 title, like for example 2. Descriptions. I want that my heading 2 titles then start again with 2.1, 2.3, ... But they don't, they continue with numbering following on the ones from the previous chapter.
You need to make sure all the numbered headings are in the same numberset (or whatever that was called)
Geert
-
Still another issue 8)
When I start with a new heading 1 title, like for example 2. Descriptions. I want that my heading 2 titles then start again with 2.1, 2.3, ... But they don't, they continue with numbering following on the ones from the previous chapter.
You need to make sure all the numbered headings are in the same numberset (or whatever that was called)
Geert
You mean 'List and Overrides' ?
-
Still another issue 8)
When I start with a new heading 1 title, like for example 2. Descriptions. I want that my heading 2 titles then start again with 2.1, 2.3, ... But they don't, they continue with numbering following on the ones from the previous chapter.
You need to make sure all the numbered headings are in the same numberset (or whatever that was called)
Geert
You mean 'List and Overrides' ?
Yes, that thing. They should all be part of the same list.
Geert
-
For each type of heading (heading 1, heading 2 and heading 3) I tried to Edit list item and select the same list (there are a lot!!!). But it does not work, when I select a list, he sets it back to the original list.
It's hard to believe that this is the only way to get my numbering fixed?
-
For each type of heading (heading 1, heading 2 and heading 3) I tried to Edit list item and select the same list (there are a lot!!!). But it does not work, when I select a list, he sets it back to the original list.
It's hard to believe that this is the only way to get my numbering fixed?
Yes, that can be a PITA, especially if you have been messing with the stylesheet a lot.
Sometimes it's easier to start with fresh clean stylesheet.
Geert
-
I created a new style sheet from scratch, in Word. Maybe that causes the problem.
-
I created a new style sheet from scratch, in Word. Maybe that causes the problem.
Yeah, if you start from a Word document you get all kinds of messes in your EA stylesheet.
Geert
-
I spent a lot of time creating that stylesheet in Word. Hopefully I can fix that heading numbering, otherwise it would be a shame.