• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
PDF manipulation and fine control over page layout in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PDF manipulation and fine control over page layout in Cocoa


  • Subject: PDF manipulation and fine control over page layout in Cocoa
  • From: "Ewan Delanoy" <email@hidden>
  • Date: Tue, 17 Jun 2008 18:47:28 +0200 (CEST)
  • Importance: Normal

 Hello all,

 the usual print machinery (NSPrintOperation) for a Cocoa-based
text editor (TextEdit, say) allows one to use a variety of page layouts.
Unfortunately, in many cases the only layout available to the user
involves a considerable waste of paper space, and this does not seem
to be fixable without some developer's work.

  Specifically, I should like to put four mini-pages in each page of the
final PDF, with minimal space waste (ideally the user would have almost
total control over the parameters involved).

 The Cocoa-made "CocoaBooklet" and "PDFLab" apps by Fabien Conus
are almost the perfect solution to my problem, but unfortunately I have
several
quarrels with them and besides I should like to integrate the "print to
booklet"
feature directly in my Cocoa text editor, not in a "plug-in" way as it is
with
CocoaBooklet. I have already tried to contact Fabien Conus over this, but
as he explains on his web site he often hasn't got the time to reply to
those kind of requests.

   For the layout I intend to have,which is the best path from the initial
NSTextView (or series of NSTextViews in a "multi-page" view) to the
final PDF? (I have made several unsuccessful attempts, including using
an intermediary "print" view and using the -rectForPage: method of NSView,
or storing each page in an NSImage and then drawing four NSImages on each
page of the PDF ).

           Any kind of feedback would be appreciated ...

                                                                    TIA,

                                                                         Ewan

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: clickable NSImageView
  • Next by Date: Re: duplicating views
  • Previous by thread: Re: question on layer setup in Covertflow sample code
  • Next by thread: Rethinking my approach; rather overwhelmed.
  • Index(es):
    • Date
    • Thread