Puzzled by GMF's printing and pagebreak behavior [message #107214] |
Tue, 27 February 2007 05:57  |
Eclipse User |
|
|
|
I am puzzled by some printing related behavior of GMF (or rather
GMF-generated apps.):
In my GMF generated app. I have defined a page setup of A4 (~21x30cm,
portrait mode, 1cm border on each side). This should yield me a
printable area of roughly 19x28cm per page.
I then drew a simple example diagram which sits to the right and below
the origin (0,0), i.e. according to the ruler displayed all boxes and
connections fit within a bounding box of roughly (1,1) to (12,9).
Now, when I enable the view of the page breaks, instead of in the upper
left corner my diagram appears to be located in the lower right of the
first page, i.e. the center page for some strange reason does not have
an upper left corner of (0,0) as I would have expected but rather covers
an area of roughly (-2.5, -18.5) to (16.5,9).
But why is the first page so off and how can one control, where the
"origin" for the page break calculation should be?
Michael
PS.: When actually printing the diagram it is indeed printed in the
lower right corner of the first page, so at least the displayed blue
page breaks coincide with the actually printed page breaks.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02906 seconds