Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3991126
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T06:34:39+00:00 2026-05-20T06:34:39+00:00

interesting question. I am about to build an iPad application that shows the user

  • 0

interesting question. I am about to build an iPad application that shows the user pages of text. This text is created as follows: original XML (from a MarkLogic server no-less…) and assets (mainly images) converted to XHTML and rendered in the objective-c native app for the user to view.

The user then annotates the content in two ways: highlights and makes notes. Both of these can be enabled via inserting some appropriate tags in the XHTML and rendering it correctly in the app. Not a problem so far.

However – now the user wants to export the annotated document as a file and send via email (not in XHTML format) as an attachment.

I want to enable the user to export to a common filetype (e.g. Odf, PDF, docx) that supports comments and highlights. This conversion of XHTML->??? must be done in the app.

Any ideas on the best format and how easily to achieve the transformation in the native app using objective-c code/libraries?

Thanks in advance for any help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T06:34:40+00:00Added an answer on May 20, 2026 at 6:34 am

    This won’t be an entirely satisfying answer, but hopefully it will get you started.

    It seems like the handiest way to do this is to send the html document to a server, do the conversion on the server, and send resulting rendered pdf (or whatever document format you choose) back to the iphone. If you take this route, the wkhtmltopdf library looks like a decent candidate, although I’ve never used it myself.

    About five minutes of googling turned up some conversations about folks who were trying to the html -> pdf conversion on the device itself, but in my very brief reading, I didn’t find anything promising. Here are some starting points:

    • Converting HTML file to PDF file in Iphone
    • http://groups.google.com/group/iphonesdkdevelopment/browse_thread/thread/312778dbcc94cc1d?pli=1
    • http://www.iphonedevsdk.com/forum/iphone-sdk-tutorials/10989-pdf-creation-tutorial.html
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just read this interesting question about a random number generator that never generates
This might be an interesting question. I need to test that if I can
I found this interesting question about converting numbers into words: Code Golf: Number to
I have an interesting question about interface builder and ARC. I am building a
An interesting question arose today. Let's say I have a .NET object that implements
Here's an interesting question. I have a system that attempts to run some initialization
Here's an interesting question about the various quirks of the C++ language. I have
I have an interesting question about PSL assertion. Here is a VHDL monitor process.
This is quite an interesting question so let me set the scene. I work
Here's an interesting question I never really thought about until I had a conversation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.