Re: Creating pdf document
Re: Creating pdf document
- Subject: Re: Creating pdf document
- From: edward taffel <email@hidden>
- Date: Sat, 16 Aug 2014 12:50:24 -0400
a cocoa solution may yet be forthcoming, but—if you enjoy pdf, qua pdf, i should investigate CGPDFContextCreate.
regards,
edaward
On Aug 16, 2014, at 6:18 AM, Jean Suisse <email@hidden> wrote:
> Dear All,
>
> I have a goods management cocoa application which needs to generate pdf documents. It isn’t a document-based app, it doesn’t use core data and the data that should be printed are not laid out in any of the views displayed to the user.
>
> In short, I would need to generate a pdf document with nice headers and footers on each page, a title and some information on the first page, then a multi-page section containing some of the database displayed as a table, followed by a summary with some text and numbers at the end.
>
> I have little experience with the cocoa printing system (basically, I know how to print a view) and the main issues I face are :
>
> – alignment of the text (left, right, …) on the page… I would like to select the paper format and the orientation. This is not an issue since the app development is strongly tied to laws and regulation, limiting the user’s choice to A4 paper, both orientations, is acceptable.
> – drawing the table so that it is well cut at the bottom of the page. If possible I would like to replicate the header of the table on each new page.
>
> Before I even start developing this part of the app, what advices would you give me to speed up the process ? Is there some kind of template system that I can use, to visually build the document and define the position of the cotent? Should I build a view, then print it ? Is it more efficient to work directly on the pdf?
>
> Thank you for your help,
> Jean
> -----------
> Jean Suisse
> Institut de Chimie Moléculaire de l’Université de Bourgogne
> (ICMUB) — UMR 6302
>
>
>
>
>
>
> _______________________________________________
>
> 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