Page 5 of 16

Re: HMG_HPDF - Export to PDF made easy... (New Version)

Posted: Sat Oct 06, 2012 4:02 am
by esgici
Thanks Rathi
rathinagiri wrote:It is all for the betterment of the code. Isn't it? :)
No doubt it's :)

Best regards

Re: HMG_HPDF - Export to PDF made easy... (New Version)

Posted: Sat Oct 06, 2012 4:05 am
by Rathinagiri
Now I am researching how to simplify outlines, thumbnails, page labels, annotations. Let us implement one by one.

Re: HMG_HPDF - Export to PDF made easy... (New Version)

Posted: Sat Oct 06, 2012 4:26 am
by esgici
rathinagiri wrote:Now I am researching how to simplify outlines, thumbnails, page labels, annotations. Let us implement one by one.
Thanks Rathi, very good news :)

Best regards

Re: HMG_HPDF - Export to PDF made easy... (New Version)

Posted: Sat Oct 06, 2012 6:27 am
by Rathinagiri
I am uploading a new version again. :)
pdf.zip
(273.99 KiB) Downloaded 470 times
This time it is Outlines:

Outlines are like Tree control of the PDF pages. It is easy for navigation and arrangement of the whole doc.

Outlines can be achieved using the following two commands:

1. SET HPDFDOC ROOTOUTLINE TITLE <cTitle> NAME <cName> [ PARENT <cParent> ]

2 SET HPDFDOC PAGEOUTLINE TITLE <cTitle> [ NAME <cName> ] [ PARENT <cParent> ]

Command 1
- It shall be used to create a simple ROOT.
- It will not point/refer any page in the PDF doc.
- NAME clause should be used to refer the name of the root in the future.
- If you omit PARENT, the outline will be a ROOT node otherwise, it will be a sub-root of a parent root/node.

Command 2
- It shall be used to create the outline reference of the current page in the doc.
- If the PARENT clause is omitted, the current page will be placed as a root.
- Use PARENT clause to make the current page reference to be inside a root. The root can be a ROOTOUTLINE or a PAGEOUTLINE referenced by its NAME.
- If you specify NAME clause, the page reference can be used as a ROOT and can be parent of other ROOTOUTLINE or PAGEOUTLINE.
- The current page can be referred in multiple outlines also. (as in the example, Page 5 is referred in two places)

If you omit both the commands, the page will not be referenced in the outline.

See the demo:
outline.jpg
outline.jpg (25.76 KiB) Viewed 7969 times
Note: Please set character encoding before, if you want to use the character encoding in the outline titles. Please check whether the character encoding for the titles are applied properly.

Re: HMG_HPDF - Export to PDF made easy... (New Version)

Posted: Sat Oct 06, 2012 6:42 am
by bpd2000
Excellant

Re: HMG_HPDF - Export to PDF made easy... (New Version)

Posted: Sat Oct 06, 2012 8:16 am
by esgici
Great :o

Best Regards

Re: HMG_HPDF - Export to PDF made easy... (New Version)

Posted: Sun Oct 07, 2012 11:19 am
by esgici
rathinagiri wrote:...This time it is Outlines...
And this is demo time ;)

HMG Reference Guide in .pdf format.

Not a real Guide, only a skeleton to test / demonstrate new feature : Outline.

Building .pdf with HMG_HPDF is really easy :)

Enjoy :!:
Screen shot of HMG RG demo
Screen shot of HMG RG demo
SS_HMG_RG.PNG (150.02 KiB) Viewed 7935 times
HPdf_HRG.zip
Source files for HMG RG Demo
(23.06 KiB) Downloaded 490 times

Re: HMG_HPDF - Export to PDF made easy... (New Version)

Posted: Sun Oct 07, 2012 11:30 am
by bpd2000
Thank you, esgici

Excellent for sharing

Re: HMG_HPDF - Export to PDF made easy... (New Version)

Posted: Sun Oct 07, 2012 12:58 pm
by Rathinagiri
Super Esgici. :)

Re: HMG_HPDF - Export to PDF made easy... (New Version)

Posted: Sun Oct 07, 2012 4:53 pm
by Rathinagiri
Really awesome Esgici.

Now we can search any word inside the document also.