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

Moderator: Rathinagiri

Post Reply
User avatar
esgici
Posts: 4514
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 389 times
Been thanked: 111 times
Contact:

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

Post by esgici » Sat Oct 06, 2012 4:02 am

Thanks Rathi
rathinagiri wrote:It is all for the betterment of the code. Isn't it? :)
No doubt it's :)

Best regards
Viva INTERNATIONAL HMG :D

User avatar
Rathinagiri
Posts: 5263
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Post by Rathinagiri » Sat Oct 06, 2012 4:05 am

Now I am researching how to simplify outlines, thumbnails, page labels, annotations. Let us implement one by one.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
esgici
Posts: 4514
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 389 times
Been thanked: 111 times
Contact:

Post by esgici » Sat Oct 06, 2012 4:26 am

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
Viva INTERNATIONAL HMG :D

User avatar
Rathinagiri
Posts: 5263
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Post by Rathinagiri » Sat Oct 06, 2012 6:27 am

I am uploading a new version again. :)
pdf.zip
(273.99 KiB) Downloaded 188 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 2300 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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
bpd2000
Posts: 1078
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 197 times
Been thanked: 96 times

Post by bpd2000 » Sat Oct 06, 2012 6:42 am

Excellant
BPD
Convert Dream into Reality through HMG

User avatar
esgici
Posts: 4514
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 389 times
Been thanked: 111 times
Contact:

Post by esgici » Sat Oct 06, 2012 8:16 am

Great :o

Best Regards
Viva INTERNATIONAL HMG :D

User avatar
esgici
Posts: 4514
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 389 times
Been thanked: 111 times
Contact:

Post by esgici » Sun Oct 07, 2012 11:19 am

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 :!:
SS_HMG_RG.PNG
Screen shot of HMG RG demo
SS_HMG_RG.PNG (150.02 KiB) Viewed 2265 times
HPdf_HRG.zip
Source files for HMG RG Demo
(23.06 KiB) Downloaded 201 times
Viva INTERNATIONAL HMG :D

User avatar
bpd2000
Posts: 1078
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 197 times
Been thanked: 96 times

Post by bpd2000 » Sun Oct 07, 2012 11:30 am

Thank you, esgici

Excellent for sharing
BPD
Convert Dream into Reality through HMG

User avatar
Rathinagiri
Posts: 5263
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Post by Rathinagiri » Sun Oct 07, 2012 12:58 pm

Super Esgici. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Rathinagiri
Posts: 5263
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 169 times
Been thanked: 172 times
Contact:

Post by Rathinagiri » Sun Oct 07, 2012 4:53 pm

Really awesome Esgici.

Now we can search any word inside the document also.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

Post Reply