2022.2

Table Of Contents
APostfunctionscriptoperatesdirectlyontheextracteddata,anditsresultsreplacetheextrac-
teddata.Forexample,thePostfunctionscriptreplace("-", "");wouldreplacethefirst
dashcharacterthatoccursinsidetheextractedstring.
l
Use JavaScript Editor:Clicktodisplaythe"boundaries"onpage370dialog.
l
Trim:Selecttotrimemptycharactersatthebeginningortheendofthefield.
l
Concatenation string:The(HTML)stringusedtoconcatenatelineswhentheyarejoined.
l
Split:SeparatetheselectionintoindividualfieldsbasedontheConcatenation stringdefined
above.
Settings for location-based fields in a PDF file
Thesearethesettingsforlocation-basedfieldsinaPDFfile.
l
Left:Definesthestartofthedataselectiontoextract,countingthenumberofcharactersfromthe
left.E.g.1means:startwiththefirstcharacterfromtheleft.
l
Right:Definestheendofthedataselectiontoextract,countingthenumberofcharactersfrom
theleft.E.g.3means:stopafterthethirdcharacterfromtheleft.
l
Top offset:Theverticaloffset(thenumberoflines)fromthecurrentpointerlocationintheData
Sample(Viewer).
l
Height:Theheightoftheselectionbox,inthenumberoflines.
l
Use selection:Clicktousethevalue(Left,Right,TopoffsetandHeight)ofthecurrentdata
selectionfortheextraction.
Note: Iftheselectioncontainsmultiplelines,thelinesarebydefaultjoinedandextracted
intoonefield.Tosplitthelines,selecttheoptionSplitlines(seebelow).
l
Post Function:EnteraJavaScriptexpressiontoberunaftertheextraction.For
examplereplace("-","")wouldreplaceasingledashcharacterinsidetheextractedstring.
l
Trim:Selecttotrimemptycharactersatthebeginningortheendofthefield.
l
Type:Thedatatypeoftheselecteddata;see"Datatypes"onpage275.Iftheselecteddatais
split(seebelow),thissettingisappliedtothefirstextractedfield.Makesurethatthedataformat
thattheDataMapperexpectsmatchestheactualformatofthedatainthedatasource;see"Data
Format"onpage331.
l
Split:
l
Split lines:Separateamulti-lineselectionintoindividualfields.
Page 329