Doc Commands
  


SYNTAX


Initializes HARU PDF library

SELECT HPDFDOC <cPDFFile>
[ ORIENTATION <
nOrientation> ] ;
[ PAPERSIZE <
nPaperSize> ]
[ PAPERLENGTH <
nPaperLength> ]
[ PAPERWIDTH <
nPaperWidth> ]

SELECT HPDFDOC <cPDFFile> TO <lSuccess>
[ ORIENTATION><
nOrientation> ]
[ PAPERSIZE><
nPaperSize> ]
[ PAPERLENGTH><
nPaperLength> ]
[ PAPERWIDTH><
nPaperWidth> ]

Signals a PDF document start.


START HPDFDOC


Signals a PDF document page start

START HPDFPAGE


Signals a PDF document page end

END HPDFPAGE


Signals a PDF document end.

END HPDFDOC


Signals a PDF document abort

ABORT HPDFDOC ;


Insert new page just before the specified page

INSERT HPDFPAGE BEFORE PAGE <nPage>


Select the specified page

SELECT HPDFPAGE <nPage>


Set the info attribute of the document

SET HPDFINFO < AUTHOR | CREATOR | TITLE | SUBJECT | KEYWORDS | DATECREATED | DATEMODIFIED > TO <xValue> [ TIME <cTime> ]

 GET HPDFINFO < AUTHOR | CREATOR | TITLE | SUBJECT | KEYWORDS | DATECREATED | DATEMODIFIED > TO <cValue>

SET HPDFDOC PAGENUMBERING [ FROM <nPage> ] [ STYLE < DECIMAL | ROMAN | LETTERS > ] [ < UPPER | LOWER> ] [ PREFIX <cPrefix> ]