Micro Focus Content Manager SDK 10.1
|
A helper class that encapsulates the process of extracting a document attached to a Trim object. More...
Public Member Functions | |
ExtractDocument () | |
void | DoExtract (string toWindowsFolder, bool overwriteOk, bool checkoutDocument, string rootURLForHyperlinks) |
Extracts the document to the specified windows folder, giving it the name as specified by the FileName property. If the FileName property is blank, a temporary file will be created. After extraction, the FileName property will be updated to contained the full file name of the extracted file. More... | |
Public Member Functions inherited from TRIM.SDK.TrimSDKObject | |
TrimSDKObject () | |
Properties | |
string | FileName [get, set] |
Gets or sets a string containing the file name to be given to the document of this Extract Document when extracted. The directory to which it should be extracted is passed as a parameter of the 'DoExtract' method. More... | |
string | FileType [get] |
Gets a string containing the file extension of the electronic document corresponding to this ExtractDocument object. More... | |
long | FileSize [get] |
Gets an integer containing the size of the electronic document corresponding to this ExtractDocument in bytes. More... | |
TrimDateTime | FileDateTimeModified [get] |
Gets the date and time the electronic document corresponding to this ExtractDocument was last modified. More... | |
bool | ForWebBrowserViewing [get, set] |
Gets or sets a Boolean value indicating whether extracting this ExtractDocument will retrieve a 'browser friendly' version. That is, whether it is the type of document that may be viewed within a web browser. More... | |
bool | ConvertToHTML [get, set] |
Gets or sets a Boolean value indicating whether to convert the document to HTML More... | |
bool | HasOleLinks [get] |
Gets a Boolean value indicating whether the electronic document corresponding to this Extract Document contains OLE links to other documents. More... | |
bool | ConvertToZipIfHasOleLinks [get, set] |
Gets or sets a Boolean value indicating whether the electronic document should be converted to ZIP format if it contains OLE links to other documents. More... | |
bool | IsTRIMMail [get] |
Gets a Boolean value indicating whether the electronic document corresponding to this Extract Document is a TRIM mail message More... | |
string | CheckoutAs [get, set] |
Gets or sets a string that will be remembered by Content Manager as the checkout path of the electronic document. More... | |
string | HighlightWords [get, set] |
Gets or sets a string which contains a specification of which words to highlight when preparing an HTML format. The string is a comma delimited list of words. More... | |
string | HighlightForegroundColour [get, set] |
Gets or sets the value of the foreground colour used to highlight words. The value should be a hexadecimal representation of the standard RGB values used in HTML markup. For example, the colour red would be FF0000 and black would be 000000. More... | |
string | HighlightBackgroundColour [get, set] |
Gets or sets the value of the background colour used to highlight words. The value should be a hexadecimal representation of the standard RGB values used in HTML markup. For example, the colour red would be FF0000 and black would be 000000. More... | |
string | HTMLHeader [get, set] |
Gets or sets a string which contains HTML that will be placed at the start of the HTML file created when using the ConvertToHTML/ForWebBrowserViewing options. More... | |
string | HTMLFooter [get, set] |
Gets or sets a string which contains HTML that will be placed at the end of the HTML file created when using the ConvertToHTML/ForWebBrowserViewing options. More... | |
bool | SuppressLastAction [get, set] |
Gets or sets a Boolean property which indicates that the extract operation should not update the LastActionDate of a record. More... | |
bool | LogAsViewed [get, set] |
Gets or sets a Boolean property which indicates that the extract operation should log in the audit log as a "Document Viewed" event not a "Document Extracted" event. More... | |
Properties inherited from TRIM.SDK.TrimSDKObject | |
string | ErrorMessage [get] |
All TRIM SDK objects have an ErrorMessage property which can be used to examine any error that may have occurred in the most recent method call. More... | |
TrimException | Error [get] |
All TRIM SDK objects have an Error property which can be used to examine any error that may have occurred in the most recent method call. More... | |
A helper class that encapsulates the process of extracting a document attached to a Trim object.
TRIM.SDK.ExtractDocument.ExtractDocument | ( | ) |
void TRIM.SDK.ExtractDocument.DoExtract | ( | string | toWindowsFolder, |
bool | overwriteOk, | ||
bool | checkoutDocument, | ||
string | rootURLForHyperlinks | ||
) |
Extracts the document to the specified windows folder, giving it the name as specified by the FileName property. If the FileName property is blank, a temporary file will be created. After extraction, the FileName property will be updated to contained the full file name of the extracted file.
|
getset |
Gets or sets a string that will be remembered by Content Manager as the checkout path of the electronic document.
|
getset |
Gets or sets a Boolean value indicating whether to convert the document to HTML
|
getset |
Gets or sets a Boolean value indicating whether the electronic document should be converted to ZIP format if it contains OLE links to other documents.
|
get |
Gets the date and time the electronic document corresponding to this ExtractDocument was last modified.
|
getset |
Gets or sets a string containing the file name to be given to the document of this Extract Document when extracted. The directory to which it should be extracted is passed as a parameter of the 'DoExtract' method.
|
get |
Gets an integer containing the size of the electronic document corresponding to this ExtractDocument in bytes.
|
get |
Gets a string containing the file extension of the electronic document corresponding to this ExtractDocument object.
|
getset |
Gets or sets a Boolean value indicating whether extracting this ExtractDocument will retrieve a 'browser friendly' version. That is, whether it is the type of document that may be viewed within a web browser.
|
get |
Gets a Boolean value indicating whether the electronic document corresponding to this Extract Document contains OLE links to other documents.
|
getset |
Gets or sets the value of the background colour used to highlight words. The value should be a hexadecimal representation of the standard RGB values used in HTML markup. For example, the colour red would be FF0000 and black would be 000000.
|
getset |
Gets or sets the value of the foreground colour used to highlight words. The value should be a hexadecimal representation of the standard RGB values used in HTML markup. For example, the colour red would be FF0000 and black would be 000000.
|
getset |
Gets or sets a string which contains a specification of which words to highlight when preparing an HTML format. The string is a comma delimited list of words.
|
getset |
Gets or sets a string which contains HTML that will be placed at the end of the HTML file created when using the ConvertToHTML/ForWebBrowserViewing options.
|
getset |
Gets or sets a string which contains HTML that will be placed at the start of the HTML file created when using the ConvertToHTML/ForWebBrowserViewing options.
|
get |
Gets a Boolean value indicating whether the electronic document corresponding to this Extract Document is a TRIM mail message
|
getset |
Gets or sets a Boolean property which indicates that the extract operation should log in the audit log as a "Document Viewed" event not a "Document Extracted" event.
|
getset |
Gets or sets a Boolean property which indicates that the extract operation should not update the LastActionDate of a record.