iphone - iOS PDF Forms & Reports -


we working on solution require ios create pdf documents various business transactions (i.e. sales orders, purchase orders, quotes, invoices, etc).

the underlying data goes pdf documents same; however, many users want own company logo , own formatted layout.

we can ship product default set of forms , dynamic way change company logo we're trying identify mechanism custom design form layout (using same underlying data model) , somehow send/update/deliver user has paid custom form development.

since pdf generation process objective c , know apple doesn't allow download code after release wondering if else had ideas on how approach issue.

edit: i'm looking somehow modularize code required pdf form layout. whether it's delivered via in-app purchase or choosing list of files on our server isn't huge concern.

you can define form template in xml , download these templates application. in application parse xml , convert pdf drawing instructions.
example xml this:

<form>     <page width="612" height="792">         <line x1="20" y1="20" x2="500" y2="20" />     </page> </form> 

this xml generate pdf file single page size 612*792 points , page content consists of single horizontal line drawn (20, 20) (500, 20).
can define xml in way want fits best needs.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -