ECN-4565 Additional function support added to C$PDF

Product: ACUCOBOL-GT

Module: Runtime

Machines Affected: All

Known Versions Affected: 10.2.0 and later

DESCRIPTION:

Additional opcodes have been added to C$PDF to support additional functionality offered by the libharu API.

Some existing opcodes have also been modified, taking a PIC X(n) item, with an optional length - these are indicated with an (optional) after the parameter explanation in our documentation. If the length is not given, then the length of the data item is used, and trailing spaces are stripped out before sending the string to the HARU library. If the optional length is given, that exact value is used, which may result in trailing spaces. Some examples of such functions are HPDF-PAGE-TEXTWIDTH, HPDF-PAGE-MEASURETEXT, HPDF-PAGE-SHOWTEXT, HPDF-PAGE-TEXTOUT, and HPDF-PAGE-TEXTRECT.

The following support has been added in this release:
Note: As usual, see the third-party libharu API documentation (https://github.com/libharu/libharu/wiki/API:-Document) for a fuller explanation of how to use the functions.
  • HPDF-PAGE-CURVETO
  • HPDF-PAGE-CURVETO2
  • HPDF-PAGE-CURVETO3
  • HPDF-PAGE-CIRCLE
  • HPDF-PAGE-TEXTRECT
  • HPDF-PAGE-SETTEXTMATRIX
  • HPDF-SETPAGEMODE
  • HPDF-PAGE-GETCURRENTTEXTPOS
  • HPDF-SETENCRYPTIONMODE
  • HPDF-PAGE-ARC
  • HPDF-PAGE-GETCURRENTPOS
  • HPDF-PAGE-MOVETONEXTLINE
  • HPDF-PAGE-CREATEURILINKANNOT
  • HPDF-SETPAGESCONFIGURATION
  • HPDF-ENCODER-GETTYPE
  • HPDF-ENCODER-GETBYTETYPE
  • HPDF-ENCODER-GETUNICODE
  • HPDF-ATTACHFILE
  • HPDF-PAGE-SETSLIDESHOW
  • HPDF-DESTINATION-SETXYZ
  • HPDF-DESTINATION-SETFIT
  • HPDF-DESTINATION-SETFITB
  • HPDF-DESTINATION-SETFITBH
  • HPDF-DESTINATION-SETFITBV
  • HPDF-DESTINATION-SETFITH
  • HPDF-DESTINATION-SETFITR
  • HPDF-DESTINATION-SETFITV
  • HPDF_CREATEEXTGSTATE
  • HPDF-EXTGSTATE-SETALPHAFILL
  • HPDF-EXTGSTATE-SETALPHASTROKE
  • HPDF-EXTGSTATE-SETBLENDMODE
  • HPDF-FILEWRITER
  • HPDF-STREAM-FREE
  • HPDF-STREAM-WRITETOSTREAM
  • HPDF-3DANNOTEXDATA-SET3DMEASUREMENT
  • HPDF-3DC3DMEASURE-SETPROJECTIONANNOTATION
  • HPDF-3DC3DMEASURE-SETTEXT
  • HPDF-3DC3DMEASURE-SETTEXTBOXSIZE
  • HPDF-3DMEASURE-SETCOLOR
  • HPDF-3DMEASURE-SETNAME
  • HPDF-3DMEASURE-SETTEXTSIZE
  • HPDF-3DVIEW-ADD3DC3DMEASURE
  • HPDF-ADDPAGELABEL
  • HPDF-ANNOT-SET3DVIEW
  • HPDF-ANNOT-SETCMYKCOLOR
  • HPDF-ANNOT-SETGRAYCOLOR
  • HPDF-ANNOT-SETNOCOLOR
  • HPDF-ANNOT-SETRGBCOLOR
  • HPDF-CHECKERROR
  • HPDF-ENCODER-GETWRITINGMODE
  • HPDF-FONT-GETASCENT
  • HPDF-FONT-GETBBOX
  • HPDF-FONT-GETCAPHEIGHT
  • HPDF-FONT-GETDESCENT
  • HPDF-FONT-GETENCODINGNAME
  • HPDF-FONT-GETFONTNAME
  • HPDF-FONT-GETUNICODEWIDTH
  • HPDF-FONT-GETXHEIGHT
  • HPDF-FONT-MEASURETEXT
  • HPDF-FONT-TEXTWIDTH
  • HPDF-FREEDOC
  • HPDF-FREEDOCALL
  • HPDF-FREETEXTANNOT-SET2POINTCALLOUTLINE
  • HPDF-FREETEXTANNOT-SET3POINTCALLOUTLINE
  • HPDF-FREETEXTANNOT-SETDEFAULTSTYLE
  • HPDF-FREETEXTANNOT-SETLINEENDINGSSTYLE
  • HPDF-GETCONTENTS
  • HPDF-GETCURRENTPAGE
  • HPDF-GETERRORDETAIL
  • HPDF-GETINFOATTR
  • HPDF-GETPAGEBYINDEX
  • HPDF-GETPAGELAYOUT
  • HPDF-GETPAGEMMGR
  • HPDF-GETPAGEMODE
  • HPDF-GETSTREAMSIZE
  • HPDF-GETTTFONTDEFFROMFILE
  • HPDF-GETVERSION
  • HPDF-GETVIEWERPREFERENCE
  • HPDF-HASDOC
  • HPDF-ICC-LOADICCFROMMEM
  • HPDF-LINEANNOT-SETCAPTION
  • HPDF-LINEANNOT-SETLEADER
  • HPDF-LINEANNOT-SETPOSITION
  • HPDF-LINKANNOT-SETJAVASCRIPT
  • HPDF-LOADICCPROFILEFROMFILE
  • HPDF-LOADU3DFROMFILE
  • HPDF-LOADU3DFROMMEM
  • HPDF-MARKUPANNOT-SETCLOUDEFFECT
  • HPDF-MARKUPANNOT-SETCREATIONDATE
  • HPDF-MARKUPANNOT-SETINTENT
  • HPDF-MARKUPANNOT-SETINTERIORCMYKCOLOR
  • HPDF-MARKUPANNOT-SETINTERIORGRAYCOLOR
  • HPDF-MARKUPANNOT-SETINTERIORRGBCOLOR
  • HPDF-MARKUPANNOT-SETINTERIORTRANSPARENT
  • HPDF-MARKUPANNOT-SETPOPUP
  • HPDF-MARKUPANNOT-SETRECTDIFF
  • HPDF-MARKUPANNOT-SETSUBJECT
  • HPDF-MARKUPANNOT-SETTITLE
  • HPDF-MARKUPANNOT-SETTRANSPARENCY
  • HPDF-NEWDOC
  • HPDF-PAGE-CREATE3DANNOT
  • HPDF-PAGE-CREATE3DANNOTEXDATA
  • HPDF-PAGE-CREATE3DC3DMEASURE
  • HPDF-PAGE-CREATE3DVIEW
  • HPDF-PAGE-CREATECIRCLEANNOT
  • HPDF-PAGE-CREATEFREETEXTANNOT
  • HPDF-PAGE-CREATEHIGHLIGHTANNOT
  • HPDF-PAGE-CREATELINEANNOT
  • HPDF-PAGE-CREATEPD33DMEASURE
  • HPDF-PAGE-CREATPOPUPANNOT
  • HPDF-PAGE-CREATEPROJECTIONANNOT
  • HPDF-PAGE-CREATESQUAREANNOT
  • HPDF-PAGE-CREATESQUIGLLYANNOT
  • HPDF-PAGE-CREATESTAMPANNOT
  • HPDF-PAGE-CREATESTRIKEOUTANNOT
  • HPDF-PAGE-CREATETEXTMARKUPANNOT
  • HPDF-PAGE-CREATEUNDERLINEANNOT
  • HPDF-PAGE-CREATEWIDGETANNOT
  • HPDF-PAGE-CREATEWIDGETANNOT-WHITEONLYWHILEPRINT
  • HPDF-PAGE-CREATEXOBJECTASWHITERECT
  • HPDF-PAGE-CREATEXOBJECTFROMIMAGE
  • HPDF-PAGE-ELLIPSE
  • HPDF-PAGE-ENDPATH
  • HPDF-PAGE-EOCLIP
  • HPDF-PAGE-EOFILL
  • HPDF-PAGE-EOFILLSTROKE
  • HPDF-PAGE-GETCHARSPACE
  • HPDF-PAGE-GETCMYKFILL
  • HPDF-PAGE-GETCMYKSTROKE
  • HPDF-PAGE-GETCURRENTFONT
  • HPDF-PAGE-GETDASH
  • HPDF-PAGE-GETFILLINGCOLORSPACE
  • HPDF-PAGE-GETFLAT
  • HPDF-PAGE-GETGRAYFILL
  • HPDF-PAGE-GETGRAYSTROKE
  • HPDF-PAGE-GETGSTATEDEPTH
  • HPDF-PAGE-GETHORIZONTALSCALLING
  • HPDF-PAGE-GETLINECAP
  • HPDF-PAGE-GETLINEJOIN
  • HPDF-PAGE-GETLINEWIDTH
  • HPDF-PAGE-GETMITERLIMIT
  • HPDF-PAGE-GETRGBFILL
  • HPDF-PAGE-GETRGBSTROKE
  • HPDF-PAGE-GETSTROKINGCOLORSPACE
  • HPDF-PAGE-GETTEXTLEADING
  • HPDF-PAGE-GETTEXTMATRIX
  • HPDF-PAGE-GETTEXTRENDERINGMODE
  • HPDF-PAGE-GETTEXTRISE
  • HPDF-PAGE-GETTRANSMATRIX
  • HPDF-PAGE-GETWORDSPACE
  • HPDF-PAGE-INSERT-SHARED-CONTENT-STREAM
  • HPDF-PAGE-MOVETEXTPOS2
  • HPDF-PAGE-NEW-CONTENT-STREAM
  • HPDF-PAGE-SETCHARSPACE
  • HPDF-PAGE-SETCMYKFILL
  • HPDF-PAGE-SETCMYKSTROKE
  • HPDF-PAGE-SETFLAT
  • HPDF-PAGE-SETHORIZONTALSCALLING
  • HPDF-PAGE-SETMITERLIMIT
  • HPDF-PAGE-SETROTATE
  • HPDF-PAGE-SETTEXTRENDERINGMODE
  • HPDF-PAGE-SETTEXTRISE
  • HPDF-PAGE-SETWORDSPACE
  • HPDF-PAGE-SETZOOM
  • HPDF-PAGE-SHOWTEXTNEXTLINEEX
  • HPDF-POPUPANNOT-SETOPENED
  • HPDF-PROJECTIONANNOT-SETEXDATA
  • HPDF-READFROMSTREAM
  • HPDF-RESETERROR
  • HPDF-RESETSTREAM
  • HPDF-SAVETOSTREAM
  • HPDF-SETPAGELAYOUT
  • HPDF-TEXTMARKUPANNOT-SETQUADPOINTS