Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Clipboard Copy and printing to PDF file
Clipboard Copy and printing to PDF file [message #170248] Wed, 02 March 2005 19:15 Go to next message
Eclipse UserFriend
Originally posted by: jsk_lam.hotmail.com

Hi,

I would like to either copy the entire diagram or a subset to the clipboard.

Also, I have the printing working, but I would also like to let the users to
have the option of printing to the PDF file.

Can someone help on these? Thanks

Best Regards,
SL
Re: Clipboard Copy and printing to PDF file [message #170429 is a reply to message #170248] Fri, 04 March 2005 11:07 Go to previous messageGo to next message
Brian Fernandes is currently offline Brian FernandesFriend
Messages: 68
Registered: July 2009
Member
About the PDF printing - look up some earlier threads to see how you can
export your diagram to a bitmap.

Then you can use a PDF library like iText http://www.lowagie.com/iText/ to
create a PDF and place the bitmaps into it.

Rather involved solution as you have to take care of the clipping (so that
the image is correctly distributed across the pages) yourself.

Best,
Brian.

"slam" <jsk_lam@hotmail.com> wrote in message
news:d053c4$dip$1@www.eclipse.org...
> Hi,
>
> I would like to either copy the entire diagram or a subset to the
> clipboard.
>
> Also, I have the printing working, but I would also like to let the users
> to
> have the option of printing to the PDF file.
>
> Can someone help on these? Thanks
>
> Best Regards,
> SL
>
>
Re: Clipboard Copy and printing to PDF file [message #170493 is a reply to message #170248] Sat, 05 March 2005 06:06 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Don't know much about this topic, but what form does the Print To File
option in the print dialog currently use? Also, I believe Adobe Distiller
allows printing to file or something. Know anything about that?

"slam" <jsk_lam@hotmail.com> wrote in message
news:d053c4$dip$1@www.eclipse.org...
> Hi,
>
> I would like to either copy the entire diagram or a subset to the
clipboard.
>
> Also, I have the printing working, but I would also like to let the users
to
> have the option of printing to the PDF file.
>
> Can someone help on these? Thanks
>
> Best Regards,
> SL
>
>
Re: Clipboard Copy and printing to PDF file [message #170720 is a reply to message #170248] Mon, 07 March 2005 06:32 Go to previous message
Brian Fernandes is currently offline Brian FernandesFriend
Messages: 68
Registered: July 2009
Member
Pratik's comment made me remember something really simple.

If you aren't too fussy - you could use something like pdf995 to install a
pdf printer on the target machine. Then when you select print, make sure you
choose the pdf printer and you'll get a PDF.


I didn't like this idea too much becuase it requires a 3rd party program
installed - which in turn could have it's own problems. But if you think
thats cool for you - go for it.

Here is Pdf995:
http://www.pdf995.com/

There are many other PDF printers around, some commercial and some free.

Best,
Brian.
----- Original Message -----
From: "slam" <jsk_lam@hotmail.com>
Newsgroups: eclipse.tools.gef
Sent: Thursday, March 03, 2005 12:45 AM
Subject: Clipboard Copy and printing to PDF file


> Hi,
>
> I would like to either copy the entire diagram or a subset to the
> clipboard.
>
> Also, I have the printing working, but I would also like to let the users
> to
> have the option of printing to the PDF file.
>
> Can someone help on these? Thanks
>
> Best Regards,
> SL
>
>
"slam" <jsk_lam@hotmail.com> wrote in message
news:d053c4$dip$1@www.eclipse.org...
> Hi,
>
> I would like to either copy the entire diagram or a subset to the
> clipboard.
>
> Also, I have the printing working, but I would also like to let the users
> to
> have the option of printing to the PDF file.
>
> Can someone help on these? Thanks
>
> Best Regards,
> SL
>
>
Previous Topic:Add children upon resize/move of container
Next Topic:How to dynamically change a comboboxpropertydescriptor values ?
Goto Forum:
  


Current Time: Fri Sep 20 01:17:36 GMT 2024

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

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

Back to the top