
659
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
ModDateChanged
The file has changed since the last time it was opened or saved in the current
session. Somebody else has probably modified the file.
The value is one of:
•
Constants.FV_DoCancel(0) - Cancel the Save operation.
•
Constants.FV_DoShowDialog(4) - Display the File Has Changed alert box.
•
Constants.FV_DoOK(1) - Save the document anyway.
SaveFileNotWritable
The file permissions will not allow the file to be saved.
The value is one of:
•
Constants.FV_DoCancel(0) - Cancel the Save operation.
•
Constants.FV_DoShowDialog(4) - Display the Cannot Lock FIle alert box.
SaveFileTypeHint
If
Constants.FS_FileType(TBD)
is Constants.FV_SaveFmtFilter(8), this
string enables the FrameMaker product to call the correct filter.For example, use
0001ADBEHTML to save as HTML or 0001ADBEXML to save as XML.
MakePageCount
Specifies how to round the page count.
The value is one of:
•
Constants.FV_UseCurrentSetting(0) - Use default specified by the document
property, PageRounding.
•
Constants.FV_DontChangePageCount(1) - Leave pages as is.
•
Constants.FV_MakePageCountEven(2) - With odd number of pages, add a
page to end of document.
•
Constants.FV_MakePageCountOdd(3) - With even number of pages, add a
page to end of document.
•
Constants.FV_DeleteEmptyPages(4) - Remove extra pages at end of
document.
RetainNameStripe
Specifies whether to change the name in document title bar to the name to
which the file is saved.
The value is one of:
•
False -Change the name in the title bar to the name in which the file is saved.
•
True - Do not change the name in the title bar.
SaveAsModeName
Specifies where to get filename if
Constants.FS_SaveMode(4)
is set to
Constants.FV_ModeSaveAs(1)
.
The value is one of:
•
Constants.FV_SaveAsNameProvided(2) - Save under the filename specified in
the
saveAsName
parameter of
Save()
.
•
Constants.FV_SaveAsUseFileName(1) - Save as name shown on the document
title bar.
•
Constants.FV_SaveAsNameAskUser(0) - Prompt user for name.
Property
Values