ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
DeleteUnusedFmts
Description
Deletes unused formats (character, paragraph or table) from the document.
The method returns
Constants.FE_Success
On failure, the method sets
FA_errno
Error
Constants.FE_BadDocId (-2)
Constants.
FE_BadDelete (-17)
Returns
int
Syntax
DeleteUnusedFmts(objType)
Parameters
Parameter name
objType
DeleteUnusedCharFmt
Description
Deletes the unused Character Formats.
See
DeleteUnusedFmts
under the Doc class for more information.
Returns
int
Syntax
DeleteUnusedCharFmt()
DeleteUnusedPgfFmt
Description
Deletes the unused Paragraph Formats.
See
DeleteUnusedFmts
under the Doc class for more information.
Returns
int
on success.
to one of the following values:
Reason
Invalid document.
The format to be deleted is not one of character, paragraph or table.
Data Type
Optional
int
No
Last updated 9/26/2011
Description
The type of format to be deleted.
528