OfficeConvertParams Class Documentation
class OfficeConvertParamsNamespace:datalogics_interface
Detailed Description
Parameters for Document::from_office_file. The settings for one Office-to-PDF conversion: the instant stamped as the PDF's creation date and used for the document's DATE and TIME fields (the system clock unless one is set), and how the document's Word comments appear (left out unless set). One object serves any number of conversions, and building or setting one never throws, on any platform.
Uses types
Constructor & Destructor Documentation
OfficeConvertParams
OfficeConvertParams()Default parameters: the system clock, and comments left out.
OfficeConvertParams
OfficeConvertParams(const OfficeConvertParams & )Parameters
OfficeConvertParams
OfficeConvertParams(OfficeConvertParams && )Parameters
~OfficeConvertParams
~OfficeConvertParams()Member Function Documentation
clear_conversion_time
void clear_conversion_time()Returns:
voidGo back to the system clock, the default.
get_comments
OfficeCommentRendering get_comments()Returns:
OfficeCommentRenderingHow the document's Word comments appear.
get_conversion_time
OfficeConversionTime get_conversion_time()Returns:
OfficeConversionTimeThe instant set; all zero when has_conversion_time() is false.
has_conversion_time
bool has_conversion_time()Returns:
boolWhether an instant is set.
operator=
OfficeConvertParams & operator=(const OfficeConvertParams & )Parameters
Returns:
OfficeConvertParams &operator=
OfficeConvertParams & operator=(OfficeConvertParams && )Parameters
Returns:
OfficeConvertParams &set_comments
void set_comments(OfficeCommentRendering mode)Parameters
mode: OfficeCommentRendering
Returns:
voidHow the document's Word comments appear. The default is Omit.
set_conversion_time
void set_conversion_time(const OfficeConversionTime & time)Parameters
Returns:
voidUse this instant in place of the system clock.