Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Puzzled by GMF's printing and pagebreak behavior
Puzzled by GMF's printing and pagebreak behavior [message #107214] Tue, 27 February 2007 05:57 Go to next message
Eclipse UserFriend
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.
Re: Puzzled by GMF's printing and pagebreak behavior [message #107360 is a reply to message #107214] Tue, 27 February 2007 11:37 Go to previous messageGo to next message
Eclipse UserFriend
Just downloaded and installed 2.0M5 (incl. new preqreq's) and apparently
this is now fixed.
Michael
Re: Puzzled by GMF's printing and pagebreak behavior [message #110506 is a reply to message #107360] Thu, 08 March 2007 23:17 Go to previous message
Eclipse UserFriend
Hi Mike, this was also fixed in GMF 1.0.3.

Cheers...
Anthony

"Michael Moser" <mmo@zurich.ibm.com> wrote in message
news:es1mog$9cd$1@utils.eclipse.org...
> Just downloaded and installed 2.0M5 (incl. new preqreq's) and apparently
> this is now fixed.
> Michael
>
Previous Topic:display a model element twice
Next Topic:Are there any books on GMF?
Goto Forum:
  


Current Time: Sun Jun 08 16:24:52 EDT 2025

Powered by FUDForum. Page generated in 0.02906 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top