• 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
Re: Seamlessly converting any type of document to PDF?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Seamlessly converting any type of document to PDF?


  • Subject: Re: Seamlessly converting any type of document to PDF?
  • From: "Julien Jalon" <email@hidden>
  • Date: Wed, 14 Jan 2009 11:54:13 +0100

The only consumer Quick Look API so far is QLThumbnailImageCreate(). The
rest of the API is to write Quick Look generators.
--
Julien

On Wed, Jan 14, 2009 at 2:36 AM, Martin Wierschin <email@hidden> wrote:

> I'm looking for suggestions on how to convert any type of document to PDF.
>>
>
> I've never used it, but the QuickLook API seems to indicate this
> functionality may be available if the document QuickLook generator
> cooperates:
>
> "If your application has documents that (potentially) have more than one
> page of vector graphics, you should consider using the
> QLPreviewRequestCreatePDFContext function to create the graphics context for
> drawing the preview in. This function returns a graphics context suited for
> PDF content."
>
> Unfortunately it would be up to the QuickLook generator to decide the
> difference between a "preview" and a full print. Although, looking at the
> API I don't even see a way for clients to specifically request multi-page
> previews, so you may be completely out of luck there.
>
>  Ideally without the user input but I'm mostly interested in getting it to
>> work.
>>
>
> You might be able to put together some AppleScript or Accessibility API
> code that opens the file in the default application and manipulates the
> Print dialogue to save off a PDF. It would likely be ugly work to support
> applications that have custom print options/dialogs.
>
> ~Martin
>
>
> _______________________________________________
>
> 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
>
_______________________________________________

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

References: 
 >Seamlessly converting any type of document to PDF? (From: Laurent Daudelin <email@hidden>)
 >Re: Seamlessly converting any type of document to PDF? (From: Martin Wierschin <email@hidden>)

  • Prev by Date: Capture video from core animation (QC)
  • Next by Date: non scrolling table view header...
  • Previous by thread: Re: Seamlessly converting any type of document to PDF?
  • Next by thread: Re: Seamlessly converting any type of document to PDF?
  • Index(es):
    • Date
    • Thread