Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

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

More
11 years 1 month ago #8545 by gtoldosProton
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!
More
11 years 1 month ago #8551 by emanuele
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)
More
11 years 1 month ago #8555 by gtoldosProton
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.
More
11 years 1 month ago #8579 by emanuele
Hi,

a new version is now available here

It contains new "newRootOutline" method.

Here is a sample code to create an outline:
Code:
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];
More
11 years 1 month ago #8580 by gtoldosProton
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:
Time to create page: 0.606 seconds
Powered by Kunena Forum