/
FAP FileThe information that definesimage is stored in a FAP file FAP FAP FileThe information that definesimage is stored in a FAP file FAP

FAP FileThe information that definesimage is stored in a FAP file FAP - PDF document

harper
harper . @harper
Follow
349 views
Uploaded On 2022-09-21

FAP FileThe information that definesimage is stored in a FAP file FAP - PPT Presentation

Image Header RecordImage H1 AH1Image Header Attributes RecordImage H2 AH2Image Header Attributes RecordImage H3 AH3Image Header Attributes RecordImage H4 AH4Image Header Attributes RecordImage H5 ID: 954477

index record coordinate str record index str coordinate color data chart attributes field text rec units fapdescriptiontokencf area line

Share:

Link:

Embed:

Download Presentation from below link

Download Pdf The PPT/PDF document "FAP FileThe information that definesimag..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

FAP FileThe information that definesimage is stored in a FAP file. FAP files are text files with extension. You can edit FAPfiles using a text editor, but they are most commonly created and edited using Image Editor. The FAP file defines the while the FORM.DAT file defines the mages that comprise a form and form set.File Record OverviewRecordDescriptionImage H Image Header RecordImage H1 A,H1Image Header Attributes RecordImage H2 A,H2Image Header Attributes RecordImage H3 A,H3Image Header Attributes RecordImage H4 A,H4Image Header Attributes RecordImage H5 A,H5Image Header Attributes RecordImage H6 A,H6Image Header Attrib

utes RecordImage H7 A,H7Image Header Attributes RecordImage H8 A,H8Logical Bottom from Normalized fileRecordImage H9 A,H9Minimum heigth for dynamic imageRecordImage V Image Version RecordBarcode B Barcode RecordBox S Shaded box Record (no longer used)Box X Box, Shade, Line RecordChart D Chart RecordChart D1 A,D1 Chart Attributes Record 1Chart DA D,A Chart Series Label RecordChart DA1 A,DA1 Chart Series Label Attributes Record 1Chart DB D,B Chart Custom Data Point Label RecordChart DB1 A,DB1 Chart Custom Data Point Label Attributes RecordChart DC D,C Chart Area RecordChart DC1 A,DC1 Chart Area Attributes Record 1Chart DD Ch

art Data RecordChart DE D,E Chart Scale-Axis RecordChart DE1 A,DE1 Chart Scale-Axis Attributes Record 1Chart DE2 A,DE2 Chart Scale-Axis Attributes Record 2Chart DK A,DK Chart Linking Attributes Record 1Chart DL D,L Chart Legend RecordChart DL1 A,DL1 Chart Legend Attributes Record 1Chart DP D,P Chart Point-Axis RecordChart DP1 A,DP1 Chart Point-Axis Attributes Record 1Chart DS D,S Chart Series RecordChart DS1 A,DS1 Chart Series Attributes Record 1Chart DT D,T Chart Title RecordChart DT1 A,DT1 Chart Title Attributes Record 1Chart DX D,X Chart X-Axis Record (no longer used)Chart DX1 A,DX1 Chart X-Axis Attributes Record 1 (no

longer used)Chart DY D,Y Chart Y-Axis Record (no longer used)Chart DY1 A,DY1 Chart Y-Axis Attributes Record 1 (no longer used)Color C Color RecordField F Field RecordField F1 A,F1 Field Attributes Record 1Field F2 A,F2 Field Attributes Record 2Field F3 A,F3 Field Attributes Record 3Field F4 A,F4 Field Attributes Record 4FAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm1 of 435/12/2009 5:13 PM Vector I2 A,I2 Illustration Attributes Record 2Vector I3 A,I3 Illustration Attributes Record 3Record Format ReferenceImage HImage Header RecordSyntaxParameterCompiled FAPDescriptionTokenCF_START the "H" header recordupilongunits

(dots per inch, there are 2400 FAP units per inch)paperSizelongpaper size (0=letter, 1=legal)orientationlongform orientation (0=portrait, 1=landscape)leftMarginlongleft margin in units per tick mark (upi)topMarginlongtop margin in units per tick mark (upi)heightlongImage height in units per tick mark (upi)widthlongImage width in units per tick mark (upi)nameCF_STR Image nameExampleImage H1A,H1Image Header Attributes RecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC the "A,H1" header recordtblFileNameCF_STR default table file nametblModNameCF_STR user table dynamic module name (DLL, excluding the file extension)tblPrc

NameCF_STR user table dynamic procedure namehlpFileNameCF_STR default help file namehlpModNameCF_STR user help dynamic module name (DLL, excluding the file extension)hlpPrcNameCF_STR user help dynamic procedure nameExampleImage H2A,H2Image Header Attributes RecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC "A,H2" header recordModNameCF_STR pre-edit dynamic module name (DLL, excluding the file extension)PrcNameCF_STR pre-edit procedure nameFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm3 of 435/12/2009 5:13 PM ParameterCompiled FAPDescriptionTokenCF_REC "A,H6" header recordversnumlongVersion numberrevsnumlongRe

vision numberglob_unique_idCF_STR GUIDeff_dateCF_STR Effective dateeff_timeCF_STR Effective timeExampleImage H7A,H7Image Header Attributes RecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC "A,H7" header recordlocaleCF_STR default ICU locale string for image, reserved for future useExampleImage H8A,H8Logical Bottom from Normalized fileRecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC "A,H8" header recordlLogBotlongLogical Bottom valuelDuplexlongDJDE Duplex valueExampleImage H9A,H9Minimum heigth for dynamic imageRecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC "A,H9" header recordlMinHeightlongMinimum heig

th for dynamic imageExampleImage VImage Version RecordFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm5 of 435/12/2009 5:13 PM Box XBox, Shade, Line RecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC The "X" box record.toplongtop y-coordinate of rectangle (in "upi" units)lftlongleft x-coordinate of rectangle (in "upi" units)botlongbottom y-coordinate of rectangle (in "upi" units)rgtlongright x-coordinate of rectangle (in "upi" units)vthlongvertical thickness of line (in "upi" units)hthlonghorizontal thickness of line (in "upi" units)typlongtype of object0,1 = box2 = shaded line3 = shaded area4 = dashed linepatlo

ngtype of pattern0,13 = solid1 = horizontal lines2 = vertical lines3 = lines slanting right4 = lines slanting left5 = vertical crosshatch6 = slanting crosshatch7 = shaded (lightest)...13 = shaded (darkest)ExampleChart DChart RecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC The "D" Chart begin record.cnameCF_STR chart nametypelongchart type1 = 2D pie chart2 = 2D vertical bar chart3 = 2D horizontal bar chart4 = 2D line chart5 = 2D xy chart6 = 2D area chart7 = 2D on-top vertical bar chart8 = 2D on-top horizontal bar chart9 = 2D percentage vertical bar chart10 = 2D percentage horizontal bar chart11 = 2D percentage area

chart12 = 3D pie chart13 = 3D vertical bar chart14 = 3D horizontal bar chart15 = 3D line chart16 = 3D area chartFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm7 of 435/12/2009 5:13 PM ExampleChart DAD,A Chart Series Label RecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC The "D,A" Chart series label record.toplongtop y-coordinate of labelleftlongleft x-coordinate of labelbottomlongbottom y-coordinate of labelrightlongright x-coordinate of labelbtypelonglabel boundary type (refer to DC)dlenlonglabel boundary dash lengthslenlonglabel boundary space lengthbthicklonglabel boundary thicknessbpatlonglabel boundary p

attern (currently not supported)fpatlongfilling pattern label (refer to DC)typelongtype of labelfontlongfont id for labeloptnlongobject options: (additive values)0x00000001=does not display or print0x00000002=does not Print does display0x00000004=hyphenated text area or paragraph0x10000000=special 'full page' bitmapExampleChart DA1A,DA1 Chart Series Label Attributes Record 1SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "D,A1" Chart series label attributes record 1.brlongred color index for label boundarybglonggreen color index for label boundarybblongblue color index for label boundaryCF_STR color option for label

boundaryfrlongred color index for filling labelfglonggreen color index for filling labelfblongblue color index for filling labelCF_STR color option for filling labellrlongred color index for labellglonggreen color index for labellblongblue color index for labelCF_STR color option for labelorientCF_STR orientation for labeleffectCF_STR effects for labelFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm9 of 435/12/2009 5:13 PM 6 = slanting crosshatch7 = shaded (lightest).....13 = shaded (darkest)ExampleChart DC1A,DC1 Chart Area Attributes Record 1SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "A,DC1" Chart area at

tributes record 1.brlongred color index for boundarybglonggreen color index for boundarybblongblue color index for boundarybolongcolor option for boundaryfrlongred color index for fillingfglonggreen color index for fillingfblongblue color index for fillingfolongcolor option for fillingExampleChart DDChart Data RecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC The "D,D" Chart data record.snameCF_STR name of the series (a character string)CF_STR name of a fielddatadoubleseries data (a numerical value)ExampleChart DED,E Chart Scale-Axis RecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC The "D,E" Chart Scale-Axis r

ecord.maxlongmaximum value of the x axisminlongminimum value of the x axisFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm11 of 435/12/2009 5:13 PM A,DK Chart Linking Attributes Record 1SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "D,K" Chart legend attributes record.rfulongreserved for future usechartCF_STR name of a chart to link withChart DLD,L Chart Legend RecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC The "D,L" Chart legend record.toplongtop y-coordinate of chart legendleftlongleft x-coordinate of chart legendbottomlongbottom y-coordinate of chart legendrightlongright x-coordinate of chart le

gendbtypelongboundary type (refer to DC)dlenlongboundary dash lengthslenlongboundary space lengthbthicklongboundary thicknessbpatlongboundary patternfpatlongfilling pattern (refer to DC)fidlongfont IDfhtlongfont heightfwdlongfont widthfbllongfont baseline heightExampleChart DL1A,DL1 Chart Legend Attributes Record 1SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "D,L" Chart legend attributes record.brlongred color index for boundarybglonggreen color index for boundarybblongblue color index for boundarybolongcolor option for boundaryfrlongred color index for fillingfglonggreen color index for fillingfblongblue color in

dex for fillingfolongcolor option for fillingChart DPFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm13 of 435/12/2009 5:13 PM snameCF_STR name of the series (a character string)nlongfont id for series namebtypelongboundary type for this series (refer to DC)dlenlongboundary dash length for this seriesslenlongboundary space length for this seriesbthicklongboundary thickness for this seriesbpatlongboundary pattern for this series (currently not supported)fpatlongfilling pattern type for this series (refer to DC)markerlongmarker type for this series1 = +2 = X3 = combination of + and X4 = *5 = diamond6 = square7 = up tri

angle8 = down triangle9 = circle10 = filled diamond11 = filled square12 = filled up triangle13 = filled down triangle14 = filled circle15 = + in diamond16 = + in square17 = + in circle18 = + and X in diamond19 = + and X in square20 = + and X in circle21 = vertical bar in diamond22 = vertical bar in square23 = vertical bar in circle24 = horizontal bar in diamond25 = horizontal bar in square26 = horizontal bar in circle27 = dot in diamond28 = dot in square29 = dot in circle30 = vertical bar31 = horizontal barmsizelongmarker size for this series (% of the default size)explongexplode % (% of radius)ExampleChart DS1A,DS1 Chart

Series Attributes Record 1SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "D,S" Chart series attributes record 1.nrlongred color index for series namenglonggreen color index series namenblongblue color index for series namenolongcolor option for series namen_orlongorientation for series namen_eflongeffects for series namebrlongred color index for boundaryFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm15 of 435/12/2009 5:13 PM ParameterCompiledDescriptionTokenCF_REC The "D,X" Chart X-Axis record. This record type is no longer used. The "D,P" pointaxis and "D,E" scale axis records do this nowmaxlongmaximum value

of the x axisminlongminimum value of the x axismunitlongunit per minor axistunitlongunit per ticktypelongaxis line type (refer to DC)dlenlongaxis dash lengthslenlongaxis space lengththicklongaxis thicknesspatlongaxis patternticklongshow tick?minorlongshow minor axes?dtextlongshow data text?toplongtop y-coordinate of data textleftlongleft x-coordinate of data textbottomlongbottom y-coordinate of data textrightlongright x-coordinate of data textdlongfont id for data textChart DX1A,DX1 Chart X-Axis Attributes Record 1 (no longer used)SyntaxParameterCompiledDescriptionTokenCF_REC The "A,DX1" Chart X-Axis attributes record 1.

This record type is no longer used.The "D,P" point axis and "D,E" scale axis records do this nowrlongred color index for x axisglonggreen color index for x axisblongblue color index for x axisolongcolor option for x axisdrlongred color index for data textdglonggreen color index for data textdblongblue color index for data textdoptlongcolor option for data textd_orlongorientation for data textd_eflongeffects for data textChart DYD,Y Chart Y-Axis Record (no longer used)SyntaxParameterCompiledDescriptionFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm17 of 435/12/2009 5:13 PM 10 = Static text11 = Fields12 = Barcodesbtlo

ngsubtype (not used-- always zero)redlongcolor index for redgrnlongcolor index for greenblulongcolor index for blueoptlongcolor optionsflglongoptions flag (future use)opnlongother options (future use)ExampleField FField RecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC "F" field recordtoplongtop y-coordinate of rectangle in units per tick mark (upi)lftlongleft x-coordinate of rectangle in units per tick mark (upi)botlongbottom y-coordinate of rectangle in units per tick mark (upi)rgtlongright x-coordinate of rectangle in units per tick mark (upi)fidlongfont ID (see record type R)fchlongfont character height (see reco

rd type R)fcwlongfont character width (see record type R)fbllongfont character baseline (see record type R)lenlonglength of variable field (number of characters)vfnCF_STR variable field nameExampleField F1A,F1 Field Attributes Record 1SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "A,F1" field record.CF_STR field name, omitted—use previous field record (record type F)CF_STR field type, case sensitive, for instance:C = customx = alphanumerick = international alphanumerica = alphabetici = international alphabeticX = uppercase alphanumericK = international uppercase alphanumericA = uppercase alphabeticI = internat

ional uppercase alphabeticn = numericFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm19 of 435/12/2009 5:13 PM ginlonggroup indicator0 = does not begin a new field group1 = begins new field groupgdsCF_STR group description textExampleField F3A,F3 Field Attributes Record 3SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "A,F3" field record.CF_STR field name: omitted—use previous field record (record type F)prmCF_STR pre-edit dynamic module name (no extension)prpCF_STR pre-edit dynamic procedure nameprdCF_STR pre-edit dataExampleField F4A,F4 Field Attributes Record 4SyntaxParameterCompiled FAPDescriptionToken

CF_REC The "A,F4" field record.CF_STR field name: omitted—use previous field record (record type F)pomCF_STR post-edit dynamic module name (no extension)popCF_STR post-edit dynamic procedure namepodCF_STR post-edit dataExampleField F5A,F5 Field Attributes Record 5SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "A,F5" field record.CF_STR subtype (Field attributes record 5)CF_STR field name: omitted—use previous field record (record type F)clcCF_STR field calc textExampleFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm21 of 435/12/2009 5:13 PM vsdPointSizelongvsd point size, Documerge tag infobpsdDelete

CharlongDocumerge tag for Delete= Y/N/1/RExampleField F8A,F8 Field Attributes Record 7SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "A,F8" field record.CF_STR subtype (Field attributes record 8)CF_STR field name: omitted—use previous field record (record type F)Flag1CF_STR Not Required Y or NFlag2CF_STR Host Required Y or NFlag3CF_STR Operator Required Y or NFlag4CF_STR Optional Required Y or NFmtMaskCF_STR Rule format maskRuleNameCF_STR Rule nameSrcFieldNameCF_STR Source field nameSrcTypeCF_STR Source field typeSrcFormatCF_STR Source field formatDestLenlongDestination lengthDestOffsetlongDestination offsetTbl

NdxlongIndex of table nameSrcLenlongSource lengthSrcOffsetlongSource offsetSrcReclongSource record?RuleParmsLenlongLength of rule dataRuleParmsCF_STR Rule parameter dataExampleField F9A,F9 Field Attributes Record 9SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "A,F9" field record.CF_STR subtype (Field attributes record 9)NameCF_STR Link nameTypelong1=target, 2=href, 4=hotOptionslongPDF link style, 0=None, 1=Solid, 2=Dash, 3=UnderlineParamsLenlongLength of the params stringCF_STR HREF parameters used by HTMLHrefLenlongLength of the HREF stringFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm23 of 435/12/2009 5:1

3 PM cgrlongcharacter group record number (1 through 8), each character group consists of 32characters: group record 1 contains characters 0 through 31, group record 2contains characters 32 through 63, and so on.cwlongwidth (FAP units) of first through thirty-second characters in groupNotesMost fonts only need to supply R2 records for character group records 2, 3, and 4 (characters 32 through 127) since mostfonts do not supply widths for the other characters.Font R3A,R3Font Attributes Record 3SyntaxParameterCompiled FAPDescriptionTokenCF_REC "A,R3" header record (one record per printer type)fidlongFont ID, 0=use previous f

ont record (record type R, or A-R1, or A-R2)CF_STR printer type (must be one of the following)PCL = HP PCL printersAFP = IBM AFP printersXMC = Xerox Metacode printersPS = Postscript printersOTH = Other printer typeflglongflagoptlongoptionsidxlongindexCF_STR font file nametfcCF_STR typeface codecidCF_STR character set IDCF_STR character set namedatCF_STR miscellaneous datasupCF_STR font printer setup dataFont R4A,R4Font Attributes Record 4SyntaxParameterCompiled FAPDescriptionTokenCF_REC "A,R4" header recordfidlongfont ID, 0=use previous font record (record type R, or A-R1, or A-R2)cdpglongcode page, legacy for OS/2 display

intleadlonginternalLeading, used for PFMsextleadlongexternalLeading, used for PFMslcascentlonglowerCaseAscent, used for PFMsucascentlonglowerCaseDescent, used for PFMsunicodeIDlongunicode font ID, reserved for futureFont R5A,R5Font Attributes Record 5SyntaxFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm25 of 435/12/2009 5:13 PM ParameterCompiledDescriptionTokenCF_STR The "\ENDLOGO\" graphic / logo record follows the last "A,G5" record for aninlined logo.Graphics G1A,G1 Graphic / logo Attributes Record 1SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "A,G" graphic / logo record.typlonggraphics type1 = FormMaker

Logo bitmapreslongresolution of bitmap in dpiredlongcolor index for redgrnlongcolor index for greenblulongcolor index for blueoptlongcolor optionsornlongorientation (rotation)0 = normal90 = downward180 = upside down270 = upwardstylongstyle0 = normal1 = protected (signature)namCF_STR name (metacode bitmap font name) (optional)inlinelongIn line bitmap flagoptnlongobject options: (additive values)0x00000001=does not display or print0x00000002=does not Print does display0x00000004=hyphenated text area or paragraph0x10000000=special 'full page' bitmapGraphics G2A,G2 Graphic / logo Attributes Record 2SyntaxParameterCompiled FAP

DescriptionTokenCF_REC The "A,G2" graphic / logo record.rowslongrowswidelongwidthbyteWidelongbyte widthreslongresolution of bitmap in dpibitsperlongbitsPerPixelcmplongcompression typenm0CF_STR name 0 degreesnm90CF_STR name 90 degreesnm180CF_STR name 180 degreesnm270CF_STR name 270 degreescolorslongcolors usedExampleFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm27 of 435/12/2009 5:13 PM versnumlongVersion numberrevsnumlongRevision numberglob_unique_idCF_STR GUIDeff_dateCF_STR Effective dateeff_timeCF_STR Effective timeExampleGraphics G7A,G7 Graphic / logo Attributes Record 7SyntaxParameterCompiled FAPDescriptionToke

nCF_REC The "A,G7" graphic / logo record.CF_STR subtype (Logo attribute record 7)NameCF_STR Link nameTypelong1=target, 2=href, 4=hotOptionslongPDF link style, 0=None, 1=Solid, 2=Dash, 3=UnderlineParamsLenlongLength of the params stringCF_STR HREF parameters used by HTMLHrefLenlongLength of the HREF stringhrefDataCF_STR HREF dataExampleGuideline LGuideline RecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC The "L" guideline record.toplongtop y-coordinate of rectangle (in "upi" units)lftlongleft x-coordinate of rectangle (in "upi" units)botlongbottom y-coordinate of rectangle (in "upi" units)rgtlongright x-coordinate of

rectangle (in "upi" units)typlongtype (not currently used)optlongoptionsExampleGuideline L1A,L1 Guideline Attributes Record 1SyntaxFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm29 of 435/12/2009 5:13 PM Line X2A,X2 Box, Shade, Line Attributes Record 2SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "A,X2" line record.lclongline count, DCD paragraph bordertbwlongtop box width, DCD paragraph borderlbwlongleft box width, DCD paragraph borderbbwlongbottom box width, DCD paragraph borderrbwlongright box width, DCD paragraph bordertbglongtop box gap, DCD paragraph borderlbglongleft box gap, DCD paragraph borderbbgl

ongbottom box gap, DCD paragraph borderrbglongright box gap, DCD paragraph bordertbslongtop box style, DCD paragraph borderlbslongleft box style, DCD paragraph borderbbslongbottom box style, DCD paragraph borderrbslongright box style, DCD paragraph borderExampleLine X3A,X3 Border Flags Record 3SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "A,X3" line record.bdrFlagslongBorder FlagsExampleNote NNote RecordSyntaxParameterCompiledDescriptionTokenCF_REC The "N" note record.toplongtop y-coordinate of rectangle (in "upi" units)lftlongleft x-coordinate of rectangle (in "upi" units)botlongbottom y-coordinate of rectangle (

in "upi" units)rgtlongright x-coordinate of rectangle (in "upi" units)typlongtype0 - standard note3 - table of contentsFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm31 of 435/12/2009 5:13 PM botlongbottom y-cord of rectangle (in "upi" units)rgtlongright x-coordinate of rectangle (in "upi" units)fidlongfont idredlongcolor index for redgrnlongcolor index for greenblulongcolor index for blueoptlongcolor optionsefflongeffects, for instance:0 = no special effects1 = underline2 = strike-out3 = underline and strikeoutExampleSignature Z1A,Z1 Document Metadata Record 1SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "A

,Z1" text record.flaglongDocument Metadata flaglenlongDocument Metadata lengthdataCF_STR Document MetadataSignature Z2A,Z2 Signature Metadata Record 2SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "A,Z2" text record.flaglongSignature Metadata flaglenlongSignature Metadata lengthdataCF_STR Signature MetadataText Area EM,E Text Area End RecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC The "M,E" text area record.RemarksEnds the most recent Multi-Line Text definition (Header record).NotesAdded for version 8.0. Prior versions did not have this record typeFAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm33 of

435/12/2009 5:13 PM NotesAdded for version 8.0Text Area MHMH Text Area RecordSyntaxParameterCompiledDescriptionTokenCF_REC The "MH" text area record.toplongtop y-coordinate of rectangle (in FAP units)lftlongleft x-coordinate of rectangle (in FAP units)botlongbottom y-coordinate of rectangle (in FAP units)rgtlongright y-coordinate of rectangle (in FAP units)typlongtype0 = Multi-line static text area in the composed form image (full contents suppliedin FAP ASCII file)1 = Multi-line variable text area associated with an entry field (contents suppliedin FORM NA Data file)2 = ? Templated multi-line area ?fidlongfont idfchlongfo

nt character heightfcwlongfont character widthfbllongfont character baselinenamCF_STR for type 0 - optional namefor type 1 - associated field nameverlongversion number (8)splongdefault spacing value. Added for version 8.0. Prior versions are supplied withdefault values.tblongdefault tab stop. Added for version 8.0. Prior versions are supplied with defaultvalues.ftlongformat type (fixed, float, column, ...). Added for version 8.0. Prior versions aresupplied with default values.spacingTypelongdefault spacing type 0 = SINGLE SPACE 4 = PARA_DOUBLESPACE, 16 =PARA_EXACTSPACE, 32 = PARA_ATLEASTSPACE, 256 = PARA_MULTIPLYSPACEmtPar

atmarginlongdefault top marginmtParabmarginlongdefault bottom marginmtParalindentlongdefault left indentmtPararindentlongdefault right indentmtParahindentlongdefault hanging indentmtParaflagslongdefault paragraph flagslanguagelongdefault hyphenation languageRemarksBefore 80: Subsequent M(L), M(P), and M(T) records will be attached to this record until the next M(H) record is encountered.Version 8.0 Subsequent records will be attached to this record until the next M(E) ends the text area. Other objects will appeawith M, preceding the normal record layout.Text Area MH1A,MH1 Text Area Attributes Record 1SyntaxFAPFilefile:///C

:/UserDoc/temp/api/FILEDOC/FAPFile.htm35 of 435/12/2009 5:13 PM Added for version 8.0. Prior versions did not have this record type.ExampleText Area O1M,O1 Text Area format token Record 1SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "M,O1" text area format record 1redlongcolor index for redgrnlongcolor index for greenblulongcolor index for blueoptlongcolor optionsNotesAdded for version 8.0. Prior versions did not have this record type.ExampleText Area PM,P Text Area Paragraph RecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC The "M,P" text area format record.pidlongparagraph id (1-based integer).Added for ver

sion 8.0. Prior versions are supplied with default valueslinlongleft indent (margin) (1/100ths of an inch)rinlongright indent (margin) (1/100ths of an inch)flglongoption flags (additive)0 = Left justify1 = Center2 = Right justify4 = Double spacespclongline spacing (future use)hinlongHanging indentAdded for version 8.0. Prior versions are supplied with default valuestmlongtop marginAdded for version 8.0. Prior versions are supplied with default valuesbmlongbottom marginAdded for version 8.0. Prior versions are supplied with default valuesRemarksAttaches to most recent Multi-Line Text definition (Header record).NotesAdded fo

r version 8.0FAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm37 of 435/12/2009 5:13 PM postTab_tabStoplongposition for textpostTab_tabTypelongtab type (left, right, center, ...)postTab_leadCharlongpost tab stop lead characternumTypeTFAPBULLNUMTYPEtype of bullet 0 = DECIMAL NUMBER, 1 = UPPER CASE LETTER, 2 =LOWER CASE LETTER, 3 = ROMAN NUMERIAL, 4 = ROMAN NUMERIALLOWER CASE, 5 = CARDINAL (One, Two, Three), 6 = ORDINAL (1st,2nd, 3rd), 7 = ORDINAL Text (First, Second, Third)prefix_1longfirst char code point of prefixprefix_2longsecond char code point of prefixprefix_3longthird char code point of prefixpostfix_1longfirst

char code point of postfixpostfix_2longsecond char code point of postfixpostfix_3longthird char code point of postfixlevellongbullet levelstartPointlongstart point for vector bulletsfont_idlongsystem global font IDfont_heightlongfont character height in FAP unitsfont_widthlongfont character width in FAP unitsfont_baselinelongfont character baseline in FAP unitsrgbRedlongcolor palettergbGreenlongcolor palettergbBluelongcolor palettergbOptionslongcolor optionseffectslongparagraph effectsExampleText Area PXM,PX Text Area Borders/Shades RecordSyntaxParameterCompiledDescriptionTokenCF_REC The "M,PX" text area border and shade

record. The 'X' is the start of normal boxrecord.RemarksAttaches to most recent Multi-Line Text definition (Paragraph record).NotesAdded for version 8.0Text Area TM,T Text Area Text Record (no longer used)SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "M,T" text area text record.FAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm39 of 435/12/2009 5:13 PM NotesAdded for version 8.0Text TText RecordSyntaxParameterCompiled FAPDescriptionTokenCF_REC The "T" text record.toplongtop y-coordinate of rectangle (in "upi" units)lftlongleft x-coordinate of rectangle (in "upi" units)botlongbottom y-coordinate of rectangle (in

"upi" units)rgtlongright x-coordinate of rectangle (in "upi" units)fidlongfont id (see record type R)fchlongfont character height (see record type R)fcwlongfont character width (see record type R)fbllongfont character baseline (see record type R)lenlonglength of text (number of characters)CF_STR text dataText T1A,T1 Text Attributes Record 1SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "A,T1" text record.tlnCF_STR text label name (optional)ornlongorientation0 = normal90 = downward180 = upside down270 = upwardredlongcolor index for redgrnlongcolor index for greenblulongcolor index for blueoptlongcolor optionsefflong

effects (strike-out, underline)0 = no special effects1 = underline2 = strike-out3 = underline and strikeoutoptnlongobject options: (additive values)0x00000001=does not display or print0x00000002=does not Print does display0x00000004=hyphenated text area or paragraph0x10000000=special 'full page' bitmaplocCF_STR locale namebaselineAdjlongadjustment for subscriptText T2A,T2 Text Attributes Record 2FAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm41 of 435/12/2009 5:13 PM bxlongbeginning point xfor arc/chord/pie (in "upi" units)bylongbeginning point yfor arc/chord/pie (in "upi" units)exlongending point xfor arc/chord/pie

(in "upi" units)eylongending point yfor arc/chord/pie (in "upi" units)banglelongbeginning angle for arc/chord/pieeanglelongending angle for arc/chord/pieExampleVector I3A,I3 Illustration Attributes Record 3SyntaxParameterCompiled FAPDescriptionTokenCF_REC The "A,I3" field record.pgrlongpoint group record number), each pointgroup consists of 16 points of x,ypairs: group record 1 contains points0 through 15, group record 2 containscharacters 16 through 31, and so on. Ifthe number of points is not an evenmultiple of 16 then fewer points willbe on the last attribute record.px1longx (FAP units) of first point in grouppy1longy

(FAP units) of first point in grouppx2long... and so onpy2long... and so onpx16longx (FAP units) of 16th point in grouppy16longy (FAP units) of 16th point in groupExampleOraclewww.oracle.com FAPFilefile:///C:/UserDoc/temp/api/FILEDOC/FAPFile.htm43 of 435/12/2009 5:13 PM Z ;;;;;;;;;;;;\ Signature Record ;;\ Signature Document Metadata Record ;;\ Signature Metadata RecordRecord Format ReferenceNA=,,,,,,,,,\ Image Header RecordSyntaxParameterDescriptionToken"\NA" header record.nameImage name (external name, without extension)pol_LnPrint options (in any order)LN=POL line index (1-based)LN=1 First form line in POL fileduplex

Duplex settings:DUP=ONDUP=LB Long bindingDUP=SB Short bindingDUP=OFFpaperPaper size:SIZE=x where x will be one of the following for full size documents. L (letter), G (legal), J(executive), I (A4), or a numeric value that cross-refernces to the paper size table. For customsized images, legacy versions will show the letter C. Newer environments will show the actualsize in FAP units, height by width. ForPaper tray selection:TRAY=U upper (or usual) trayTRAY=L lower trayBase X-coordinateX=0Base Y-coordinatepartsParts (obsolete)PA=1optImage options. Image options are represented as letter codes. Secondary option values arerepre

sented as a number following a pound # sign.Send-to copy (obsolete)Copy groupCG=B1 Select Bin 1Version numberV=1Revision numberR=0GUID (Global Unique I.D.)G=abcd1234ef098765abcdef0123456789Effective dateD=20001128Effective timeT=(hex time)ExampleNAFilefile:///C:/UserDoc/temp/api/FILEDOC/NAFile.htm2 of 205/12/2009 5:16 PM ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\ Dynamic Series Label RecordSyntaxParameterDescriptionToken"DA" Chart Series Label recordsnamename of the series (a character string)leftleft x-coordinate of labeltoptop y-coordinate of labelrightright x-coordinate of labelbottombottom y-coordinate of labelbrred color index f

or label boundarybggreen color index for label boundarybbblue color index for label boundarybocolor option for label boundarybtypelabel boundary typedlenlabel boundary dash lengthslenlabel boundary space lengthbthicklabel boundary thicknessbpatlabel boundary patternfillfilling label area?frred color index for filling labelfggreen color index for filling labelfbblue color index for filling labelfocolor option for filling labelfpatfilling pattern labeltypetype of labellrred color index for labellggreen color index for labellbblue color index for labellocolor option for labell_fontfont id for labell_orientorientation for labe

ll_effecteffects for labeld_optsdata optionsrfureserved "\" end of record header;;;;;;;;;;;;;;;;;;;\ Dynamic Chart Custom Data Point Label RecordSyntaxParameterDescriptionToken"DB" Chart Data Point Label recordleftleft x-coordinate of custom data point labeltoptop y-coordinate of custom data point labelrightright x-coordinate of custom data point labelbottombottom y-coordinate of custom data point labelrred color index for custom data point labelNAFilefile:///C:/UserDoc/temp/api/FILEDOC/NAFile.htm4 of 205/12/2009 5:16 PM SyntaxParameterDescriptionToken"DE" Chart Scale Axis recordmaxmaximum value of the x axisminminimum val

ue of the x axismunitunit per minor axistunitunit per tickrred color index for x axisggreen color index for x axisbblue color index for x axisocolor option for x axistypeaxis line typedlenaxis dash lengthslenaxis space lengththickaxis thicknesspataxis patterntickshow tick?minorshow minor axes?dtextshow data text?leftleft x-coordinate of data texttoptop y-coordinate of data textrightright x-coordinate of data textbottombottom y-coordinate of data textdrred color index for data textdggreen color index for data textdbblue color index for data textdtocolor option for data textfontfont id for data textorientorientation for data

texteffecteffects for data textrfureserved "\" end of record header;;\ Dynamic Chart Link RecordSyntaxParameterDescriptionToken"DK" Chart Link recordrfureserved "\" end of record headercnamename of chart to link with;;;;;;;;;;;;;;;;;;;;;;;;;;\ Dynamic Chart Legend RecordSyntaxParameterDescriptionNAFilefile:///C:/UserDoc/temp/api/FILEDOC/NAFile.htm6 of 205/12/2009 5:16 PM pataxis patterntickshow tick?minorshow minor axes?dtextshow data text?leftleft x-coordinate of data texttoptop y-coordinate of data textrightright x-coordinate of data textbottombottom y-coordinate of data textdrred color index for data textdggreen color

index for data textdbblue color index for data textdtocolor option for data textfontfont id for data textorientorientation for data texteffecteffects for data textrfureserved "\" end of record header;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\ Dynamic Chart Series RecordSyntaxParameterDescriptionToken"DS" Chart Series recordsnamename of the series (a character string)nrred color index for series namenggreen color index series namenbblue color index for series namenocolor option for series namenfont id for series namenorientation for series nameneffects for series namebrred color index for boundarybggreen color index for boundarybbblue

color index for boundarybocolor option for boundarybtypeboundary typedlenboundary dash lengthslenboundary space lengthbthickboundary thicknessbpatboundary patternfillfilling this series?frred color index for fillingfggreen color index for fillingfbblue color index for fillingfocolor option for fillingfpatfilling patternmarkermarker typemsizemarker sizeexpexplode %fnamefield nameNAFilefile:///C:/UserDoc/temp/api/FILEDOC/NAFile.htm8 of 205/12/2009 5:16 PM drred color index for data textdggreen color index for data textdbblue color index for data textdtocolor option for data textfontfont id for data textorientorientation for

data texteffecteffects for data textrfureserved "\" end of record headerNotesThis record is no longer used. The scale and point axis records are now used.;;;;;;;;;;;;;;;;;;;;;;;;;;\ Dynamic Chart Y-Axis RecordSyntaxParameterDescriptionToken"DY" Chart Y-Axis Data recordmaxmaximum value of the y axisminminimum value of the y axismunitunit per minor axistunitunit per tickrred color index for y axisggreen color index for y axisbblue color index for y axisocolor option for y axistypeaxis line typedlenaxis dash lengthslenaxis space lengththickaxis thicknesspataxis patterntickshow tick?minorshow minor axes?dtextshow data text?lef

tleft x-coordinate of data texttoptop y-coordinate of data textrightright x-coordinate of data textbottombottom y-coordinate of data textdrred color index for data textdggreen color index for data textdbblue color index for data textdtocolor option for data textfontfont id for data textorientorientation for data texteffecteffects for data textrfureserved "\" end of record headerNotesThis record is no longer used. The scale and point axis records are now used.NAFilefile:///C:/UserDoc/temp/api/FILEDOC/NAFile.htm10 of 205/12/2009 5:16 PM optoption flag(s):E = ErrorM = Manual entryP = ProtectedG = Global Scope - to the entire

form setF = Global Scope - to the formH = Hidden field (A.K.A. Dummy field, or no-display, no-print)N = Nonprintable field (display-only, but no print)C = Send-copy-to field (receives current recipient name at print time)9 = Rotated 90 degrees8 = Rotated 180 degrees7 = Rotated 270 degreesmsginformation/messagerfureserved "\" end of record headerdatafield character dataNotesSome of these options require the FAP field attributes to be available at runtime, since the DDT file does not include thenecessary information. The "CheckImageLoaded" rule can be used to ensure this. At this time, this is the best-known way toget this i

nformation.FAP\ Begin in-line FAP file recordsSyntaxParameterDescriptionToken"\FAP\" record. Denotes begin of an in-line FAP file.;;;;;;;;;;;\ Dynamic Graphic/Logo RecordSyntaxParameterDescriptionToken"F" field data recordlftleft x-coordinate of rectangle areatoptop y-coordinate of rectangle areargtright x-coordinate of rectangle areabotbottom y-coordinate of rectangle areatype of graphic/logo1 = FormMaker Logo(if omitted, default = 1)resresolution of bitmap in dpi(if omitted, default = 300)rcolor index for red (optional)gcolor index for green (optional)bcolor index for blue (optional)ocolor options (optional)stystyleinlIn

-line bitmaprfureserved "\" end of record headerNAFilefile:///C:/UserDoc/temp/api/FILEDOC/NAFile.htm12 of 205/12/2009 5:16 PM sendsendersubsubjectlftleft x-coordinate of baseline rectangletoptop y-coordinate of baseline rectanglergtright x-coordinate of baseline rectanglebotbottom y-coordinate of baseline rectanglercolor index for red (optional)gcolor index for green (optional)bcolor index for blue (optional)ocolor options (optional)optoptionstytypestystylerfureserved "\" end of record headerdatadata text of note;;;;;;\ Multi-Line Format RecordSyntaxParameterDescriptionToken"O" Multi-Line Format recordlftleft x-coordinate

of baseline rectangletoptop y-coordinate of baseline rectanglergtright x-coordinate of baseline rectanglebotbottom y-coordinate of baseline rectanglefidfont idtypformat type (end of para, tab character)leadleader character (ASCII value)brdbordershdshaderfureserved "\" end of record header;;;;;\ Multi-line Border or Shade RecordSyntaxParameterDescriptionToken"OX" Multi-line Field Border or Shade record;;;;;\ Multi-line Field Paragraph Format RecordSyntaxParameterDescriptionToken"P" Multi-line Field Paragraph Format recordpidparagraph id (1-based integer). No longer used with version 8.0 on it is set to 0.NAFilefile:///C:/Us

erDoc/temp/api/FILEDOC/NAFile.htm14 of 205/12/2009 5:16 PM PB;G1;;;;;\ Text Area Format Record G1SyntaxParameterDescriptionToken"G1" Text Area Format Recordrfureserved "\" end of record headerPB;I;;;;;\ Text Area Format Record ISyntaxParameterDescriptionToken"I" Text Area Format Recordcord_toprect top coordinatecord_leftrect left coordinatecord_bottomrect bottom coordinatecord_rightrect right coordinatetypevector typepointCountnumber of poly pointsrfureserved "\" end of record headerPBI1PB;I1;;;;;\ Text Area Format Record I1SyntaxParameterDescriptionToken"I1" Text Area Format Recordnamename of the objectpen_color_rgbRedpen

colorpen_stylepen stylepen_widthpen widthbrush_fgColor_rgbRedbrush foreground colorbrush_bgColor_rgbRedbrush background colorbrush_stylebrush stylePatternNamecustomized namerfureserved "\" end of record headerPB;T;;;;;\ Text Area Format Record TSyntaxNAFilefile:///C:/UserDoc/temp/api/FILEDOC/NAFile.htm16 of 205/12/2009 5:16 PM ;;;;;\ Multi-line Field Paragraph Border or Shade RecordSyntaxParameterDescriptionToken"PX" Multi-line Field Paragraph Border or Shade recordNotesSee Record type X for syntax of remaining record;;;;;;\ Dynamic (and Multi-Line Field) Text Data RecordSyntaxParameterDescriptionToken"T" Multi-line F

ield Text recordtemplate field source name (optional)(blank if flowed from canned text)lftleft x-coordinate of baseline rectangletoptop y-coordinate of baseline rectanglergtright x-coordinate of baseline rectanglebotbottom y-coordinate of baseline rectanglefidfont idlidline id (line to which it belongs) (1-based integer) No longer used from version 8.0 on.lpline position (1-based integer) No longer used from version 8.0 on.rcolor index for red (optional)gcolor index for green (optional)bcolor index for blue (optional)ocolor options (optional)rfureserved "\" end of record headerdatacharacter text dataNotesThis record may oc

cur outside of a multi-line merged text structure, in which case it is dynamically loaded text, similar todynamic boxes and logos.;;;;;;;;\ ... Dynamic Line\Box RecordSyntaxParameterDescriptionToken"N" Dynamic Line\Box recordleftleft x-coordinate of rectangletoptop y-coordinate of rectanglerightright x-coordinate of rectanglebotbottom y-coordinate of rectanglehthhorizontal thicknessvthvertical thicknesstyptype of objectNAFilefile:///C:/UserDoc/temp/api/FILEDOC/NAFile.htm18 of 205/12/2009 5:16 PM Token"Z2" Signature MetadataflagflaglenlendataSignature MetadataOraclewww.oracle.com NAFilefile:///C:/UserDoc/temp/api/FILEDOC