|The ScopeSET Support and Community Portal|
This approach is fundamentally flawed because it does not (and cannot from the OMS) consider the size of the symbols. Examples are package diagrams, or a sequence diagram like the attached diagram. The lifelines are much "higher" then the extremes of the node_ref y coordinates in the diagram indicate.
After some discussion, we concluded that it would be best to "internalize" all the calculations which are presently done in ALL_PrintDiagram.inc into the file_print function QRL function.
It should get 5 new parameters:
Based on the given diagram dimension, it should then decide whether to print the diagram portrait or landsacpe and should also scale it according to the given papersize and margins and the chosen orientation. The calculations in ALL_PrintDiagram.inc should then be removed.
If inline_caption is true, it should also inline the caption into the diagram (as is done with IdePrintSetting::setShowCaption). There are 2 more issues which need to be fixed for Captions:
Please also consider