Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: PeterHeintz on September 24, 2018, 08:14:13 pm
-
When you render diagrams in rtf, those get somehow scaled to fit on a page. However when I have “long” diagrams those overlay my page footer.
Is there a way to avoid this?
-
I don't really understand what you mean with "overlay my page footer".
Does your footer not reach right side of the page (up to the margin?)
If that is the case I guess you'll either have to make your footer longer, or your right page margin wider.
Geert
-
Hi Geert,
in my document templates I have defined headers and footers containing some meta-data.
As expected, my generated PDF’s always show the headers then the generated model content and last the footers.
The document generator manages how to scale diagrams and when to create page breaks to have the headers and footers visible at any page.
This worked for me all the time, but not for a college of mine.
The difference is that my diagrams are all in A4 landscape format but the format of my college is A4 portrait format. Problems occur on diagram more or less entirely filled (to the end of the “diagram page”).
In such cases, of an entirely filled A4 portrait format diagram, the PDF shows the header (so it is scaled somehow), but not enough, because it overlaps the footer (not visible any more).
It seems to me to be a bug, but maybe there is some workaround.
-
Do you only have that when you generate PDF directly?
We always generate to .docx and I've never seen such behavior. (we also have some landscape templates with large diagrams)
Geert
-
Hi Geert,
I just tried it in Word. The result is a bit different, but still not ok.
In Word I see the header and footer, but the diagram is cropped rather than scaled to see the footer.
Anyhow, currently Word is not an option for me, because of our cover page needs to have a graphics for whatever reason and some overlaying text coming from the model. Doing that, is very tricky and I did not get to manage it for Word.
-
If the diagram is cropped you may have an issue with scaling.
Do you have multiple monitors with different scaling settings, or a high dpi monitor?
The windows scaling somehow seems to mess up the diagram export.
Geert
-
I use a notebook with its monitor connected to and external monitor.
So I switched off my external monitor. However the problem still exists. :'(
However I was wondering why you do not know this.
I tried a Sparx document template with footers, and this works :). So the problem seem to be in my template, but currently I have no idea what switch causes that, maybe something about page break or keeping things together.
-
From my investigations I get the impression, that the scaling problem starts if one has more than one line in the footer.
Geert do you have footers with more than one line?
-
Geert do you have footers with more than one line?
No, I don't think so. Headers, yes, but no footers.
Geert
-
So I think it is time to create a bug report.