|Top Previous Next|
Exports TRichView document (or the selected part, if SelectionOnly=True) to the file FileName as DocX (Microsoft Word format).
function SaveDocX(const FileName: String; SelectionOnly: Boolean):Boolean;
(introduced in version 15)
This method is available for Delphi 4+, C++Builder 2006+
The method uses rvrtfSaveDocParameters and rvrtfSaveHeaderFooter options from RTFOptions property.
By default, inserted controls are not saved. You can save them yourself using OnSaveComponentToFile event.
▪completely change DocX code for certain items using OnSaveItemToFile event;
▪insert OOXML codes in text;
▪insert additional code in DocX in OnSaveDocXExtra event.
Return value: "successful saving?"
See also methods:
See also properties:
See also events:
See also global variables and constants:
TRichView © trichview.com