How do you create a new rootoutline for IOS??? - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC: How do you create a new rootoutline for IOS???

How do you create a new rootoutline for IOS??? 3 years 8 months ago #8545

  • gtoldosProton
  • gtoldosProton's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Hi... I have been struggling with this for a couple of days...

I have a document wich has no outlines.... none of these methods returns a new outline, just NULL. Even using addOutline method as parameter for getOuline.... in fact, I have tried all I could think of... but I can't get to create the root object using:
Document_getOutlineChild
Document_getOutlineNext
Document_addOutlineChild
Document_addOutlineNext
I have seen there is a newrootoutline method in Java API; but I can't see a counterpart for IOS.
Please help!!! I have lost a lot of time with this and still no solution.
Thanks in advance!

Please Log in or Create an account to join the conversation.

How do you create a new rootoutline for IOS??? 3 years 8 months ago #8551

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 516
  • Karma: 15
  • Thank you received: 56
Hi,

unfortunately, the rootOutline creation method is not visibile yet.
we will add it as soon as possible.

(all method that manage outlines, are available only with premium license)

Please Log in or Create an account to join the conversation.

How do you create a new rootoutline for IOS??? 3 years 8 months ago #8555

  • gtoldosProton
  • gtoldosProton's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
We see...
The fact is that we bought this premium license MAINLY to manage outlines for a pdf document.
It is critical for us to be able to create a root outline.
Is there any time of arrival for this update?? how long is "as soon as possible"?

Thanks for your response.

Please Log in or Create an account to join the conversation.

How do you create a new rootoutline for IOS??? 3 years 8 months ago #8579

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 516
  • Karma: 15
  • Thank you received: 56
Hi,

a new version is now available here

It contains new "newRootOutline" method.

Here is a sample code to create an outline:
bool res = [m_doc newRootOutline:@"rootDemo" :0 :0];
  PDFOutline *outline = [m_doc rootOutline];
  [outline addChild:@"childDemo" :2 :0];
  [outline addNext:@"nextDemo" :1 :0];
  [m_doc save];
The following user(s) said Thank You: gtoldosProton

Please Log in or Create an account to join the conversation.

How do you create a new rootoutline for IOS??? 3 years 8 months ago #8580

  • gtoldosProton
  • gtoldosProton's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Thanks for this super fast update!
I have found some other issues regarding outlines, I will post them in separate threads. This one, (before testing) I would consider it solved :cheer:

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum