|Print diagram in custom size [message #1822073]
||Wed, 26 February 2020 16:39
| Bernhard Edler
Registered: August 2014
I am struggling with the following:|
My diagram contains a legend. When exported (printed) as pdf, i want this legend to be a certain size on paper (the diagram is a large plan that needs to be folded - the legend should be the front page). I do know the legend's size in pixel. Therefore I need to be able to overwrite the scaling, that takes place when the diagram is printed. Can you point me at the right direction how to gain control over these mechanisms?
So far I've found
org.eclipse.gmf.runtime.diagram.ui.printing.render.internal.JPSDiagramPrinter.doPrintDiagram(DocPrintJob, DiagramEditPart, boolean, IPreferenceStore)
which looks promising, but to override this implementation I suppose i need to define my own
, for which i do not know the extension point, or if I'm in the right area at all.
Please let me know, if you can help me.
Thank you in advance,
Powered by FUDForum
. Page generated in 0.01853 seconds