开发者

Creating a PDF table in Objective C

I've been looking for 2 days for a solution to that problem but didn't found anything yet. I need to create a PDF File with only one page which shows its content in a table (like a timetable). I'd like to fill the cells with string value开发者_JS百科s, that I am getting from a XML file.

PDFKit wasn't usefull so far and Quartz 2D appears not to be a solution because it's quit complicated to draw a table which I can change easily. Are there any librarys or so to just create a one-paged-tableshowing PDF? Thanks


The easiest approach with the greatest flexibility would probably be to generate the table as HTML, use a WebView to display it and render it to PDF using NSView's dataWithPDFInsideRect: method.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜