
424
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
ApplyPageLayout
Description
The
ApplyPageLayout()
method applies the layout of one page to another page.
The method returns
FE_Success
on success, and sets
FA_errno
with one of the following values on error:
Returns
int
Syntax
ApplyPageLayout(srcPage)
Parameters
Book
Compare
Description
The
Compare()
method compares the differences between two versions of files and stores the result in a
CompareRet
data object.
You can OR the following values into the flags parameter:
The returned
CompareRet
object contains the pointers to the summary and composite results documents.
Error
Reason
Constants.FE_WrongProduct (-60)
Current FrameMaker version does not support this operation or
fmbatch
is running.
Constants.FE_BadOperation (-27)
Parameters specified an invalid operation.
Constants.FE_BadParameter (-43)
The specified parameter has an invalid value.
Constants.FE_SystemError (-42)
System Error.
Parameter name
Data Type
Optional
Description
srcPage
PageObject
No
The page to which the layout is to be applied.
Flag
Meaning
Constants.FF_CMP_SUMMARY_ONLY
(0x01)
Generate a summary document, but not a composite document.
Constants.FF_CMP_CHANGE_BARS (0x02) Turn on change bars in the composite document.
Constants.FF_CMP_HYPERLINKS (0x04)
Put hypertext links in the summary document.
Constants.FF_CMP_SUMKIT (0x08)
Open the summary document.
Constants.FF_CMP_COMPKIT (0x10)
Open the composite document.