esmith Posted October 24, 2013 Share Posted October 24, 2013 I found this example and was able to get a custom impo sheet working. Are there any other constants built in to FP/FPImposer that can be referenced on these special pages? Can the constants be used in text rules (i.e. to pad numbers) with rules being inserted into these template pages? P.S. The downloaded example does not include data which makes it difficult to see the results. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted October 24, 2013 Share Posted October 24, 2013 I found this example and was able to get a custom impo sheet working. Are there any other constants built in to FP/FPImposer that can be referenced on these special pages? Can the constants be used in text rules (i.e. to pad numbers) with rules being inserted into these template pages? The properties you can access in JavaScript are all included in the Building Blocks dialog, on the Objects tab, under FusionPro (Global) -> Compostion -> Imposition. The variables you can access in text are there in the Variable drop-down list in the Variable Text Editor dialog. P.S. The downloaded example does not include data which makes it difficult to see the results. The post you quote says very specifically: Unzip the files to the "Working Files" subfolder of the "Real Estate Mailer" tutorial and compose. If you follow those instructions, the data is indeed there. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted October 24, 2013 Share Posted October 24, 2013 (edited) Okay, there are actually a few other properties and variables you can access, besides the ones shown in the GUI. For text variables, these include: $pagenum $pagecount $inputrecordnumber $repeatnumber $repeatrecordcount $outputrecordnumber $outputrecordnumberbysheet $processedrecordnumber$impositionsheetnumber$impositionsheetside$impositiontotalsheets$totalrecordcount$pagenumberinchunk$pagenumberinjob$recordnumberinchunk For JavaScript, these include the following properties of FusionPro.Composition: inputRecordNumberrepeatRecordNumberrepeatRecordCountoutputRecordNumberoutputRecordNumberBySheetprocessedRecordNumberpageNumberInRecordpageNumberInChunkpageNumberInJobcurrentPageNumbertotalPagesimpositionSheetNumberimpositionSheetIsBackimpositionSheetSideimpositionTotalSheetstotalRecordCountrecordNumberInChunk Some of these are valid only if preprocessing has been done to count records and layout imposed sheets before the main composition run. Edited October 24, 2013 by Dan Korn Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.