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

Moderator: Rathinagiri

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

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

Post by esgici »

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: 5300
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 184 times
Been thanked: 202 times
Contact:

Post by Rathinagiri »

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: 4529
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 406 times
Been thanked: 115 times
Contact:

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

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

Post by Rathinagiri »

I am uploading a new version again. :)
pdf.zip
(273.99 KiB) Downloaded 219 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 2800 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: 1144
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 243 times
Been thanked: 139 times

Post by bpd2000 »

Excellant
BPD
Convert Dream into Reality through HMG

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

Post by esgici »

Great :o

Best Regards
Viva INTERNATIONAL HMG :D

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

Post 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 2766 times
HPdf_HRG.zip
Source files for HMG RG Demo
(23.06 KiB) Downloaded 230 times
Viva INTERNATIONAL HMG :D

User avatar
bpd2000
Posts: 1144
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 243 times
Been thanked: 139 times

Post by bpd2000 »

Thank you, esgici

Excellent for sharing
BPD
Convert Dream into Reality through HMG

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

Post by Rathinagiri »

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

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

Post by Rathinagiri »

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