LayOut C API
|
Go to the source code of this file.
Functions | |
LO_RESULT | LOAutoTextDefinitionGetType (LOAutoTextDefinitionRef autotext, LOAutoTextDefinitionType *type) |
Gets the type of the specified auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionGetMandatory (LOAutoTextDefinitionRef autotext, bool *is_mandatory) |
Gets whether the specified auto text definition is a mandatory definition. Mandatory auto text definitions may not be removed from a document, and they may not be created through the API, but they may be modified. More... | |
LO_RESULT | LOAutoTextDefinitionGetDocument (LOAutoTextDefinitionRef autotext, LODocumentRef *document) |
Returns the document that this auto text definition belongs to. More... | |
LO_RESULT | LOAutoTextDefinitionGetName (LOAutoTextDefinitionRef autotext, SUStringRef *name) |
Gets the name of the specified auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionSetName (LOAutoTextDefinitionRef autotext, const char *name) |
Sets the name of the specified auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionGetTag (LOAutoTextDefinitionRef autotext, SUStringRef *tag) |
Gets the tag string of the specified auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionGetIndex (LOAutoTextDefinitionRef autotext, size_t *index) |
Gets the index of the specified auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionGetCustomText (LOAutoTextDefinitionRef autotext, SUStringRef *custom_text) |
Gets the text string of the specified custom auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionSetCustomText (LOAutoTextDefinitionRef autotext, const char *custom_text) |
Sets the text string of the specified custom auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionGetDateFormat (LOAutoTextDefinitionRef autotext, SUStringRef *date_format) |
Gets the date format string of the specified date auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionSetDateFormat (LOAutoTextDefinitionRef autotext, const char *date_format) |
Sets the date format string of the specified date auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionGetDisplayFullPath (LOAutoTextDefinitionRef autotext, bool *is_display_full_path) |
Gets a boolean signifying if the full path is displayed for the specified file auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionSetDisplayFullPath (LOAutoTextDefinitionRef autotext, bool is_display_full_path) |
Sets whether the full path is displayed for the specified file auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionGetDisplayFileExtension (LOAutoTextDefinitionRef autotext, bool *is_display_file_ext) |
Gets a boolean signifying if the file extension is displayed for the specified file auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionSetDisplayFileExtension (LOAutoTextDefinitionRef autotext, bool is_display_file_ext) |
Sets whether the file extension is displayed for the specified file auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionGetPageNumberStyle (LOAutoTextDefinitionRef autotext, LOAutoTextDefinitionNumberingStyle *numbering_style) |
Gets the numbering style of the specified page number auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionSetPageNumberStyle (LOAutoTextDefinitionRef autotext, LOAutoTextDefinitionNumberingStyle numbering_style) |
Sets the numbering style of the specified page number auto text definition. More... | |
LO_RESULT | LOAutoTextDefinitionGetPageNumberStartIndex (LOAutoTextDefinitionRef autotext, int *start_index) |
Gets the index the page number auto text definition starts numbering on. More... | |
LO_RESULT | LOAutoTextDefinitionSetPageNumberStartIndex (LOAutoTextDefinitionRef autotext, int start_index) |
Sets the index the page number auto text definition starts numbering on. More... | |
LO_RESULT | LOAutoTextDefinitionGetPageNumberStartPage (LOAutoTextDefinitionRef autotext, LOPageRef *page) |
Gets the page the page number auto text definition starts numbering on. More... | |
LO_RESULT | LOAutoTextDefinitionSetPageNumberStartPage (LOAutoTextDefinitionRef autotext, LOPageRef page) |
Sets the page the page number auto text definition starts numbering on. More... | |
An enumeration of the different styles of page numbers we support.
Defines the different types of auto text.
LO_RESULT LOAutoTextDefinitionGetCustomText | ( | LOAutoTextDefinitionRef | autotext, |
SUStringRef * | custom_text | ||
) |
Gets the text string of the specified custom auto text definition.
[in] | autotext | The auto text definition object. |
[out] | custom_text | The auto text definition custom text string. |
LO_RESULT LOAutoTextDefinitionGetDateFormat | ( | LOAutoTextDefinitionRef | autotext, |
SUStringRef * | date_format | ||
) |
Gets the date format string of the specified date auto text definition.
[in] | autotext | The auto text definition object. |
[out] | date_format | The auto text definition date format string. |
LO_RESULT LOAutoTextDefinitionGetDisplayFileExtension | ( | LOAutoTextDefinitionRef | autotext, |
bool * | is_display_file_ext | ||
) |
Gets a boolean signifying if the file extension is displayed for the specified file auto text definition.
[in] | autotext | The auto text definition object. |
[in] | is_display_file_ext | Boolean signifying if the full path is being displayed. |
LO_RESULT LOAutoTextDefinitionGetDisplayFullPath | ( | LOAutoTextDefinitionRef | autotext, |
bool * | is_display_full_path | ||
) |
Gets a boolean signifying if the full path is displayed for the specified file auto text definition.
[in] | autotext | The auto text definition object. |
[in] | is_display_full_path | Boolean signifying if the full path is being displayed. |
LO_RESULT LOAutoTextDefinitionGetDocument | ( | LOAutoTextDefinitionRef | autotext, |
LODocumentRef * | document | ||
) |
Returns the document that this auto text definition belongs to.
[in] | autotext | The auto text definition object. |
[out] | document | The document object. |
LO_RESULT LOAutoTextDefinitionGetIndex | ( | LOAutoTextDefinitionRef | autotext, |
size_t * | index | ||
) |
Gets the index of the specified auto text definition.
[in] | autotext | The auto text definition object. |
[out] | index | The index of the auto text definition. |
LO_RESULT LOAutoTextDefinitionGetMandatory | ( | LOAutoTextDefinitionRef | autotext, |
bool * | is_mandatory | ||
) |
Gets whether the specified auto text definition is a mandatory definition. Mandatory auto text definitions may not be removed from a document, and they may not be created through the API, but they may be modified.
[in] | autotext | The auto text definition object. |
[out] | is_mandatory | Whether it is a mandatory auto text definition. |
LO_RESULT LOAutoTextDefinitionGetName | ( | LOAutoTextDefinitionRef | autotext, |
SUStringRef * | name | ||
) |
Gets the name of the specified auto text definition.
[in] | autotext | The auto text definition object. |
[out] | name | The auto text definition name string. |
LO_RESULT LOAutoTextDefinitionGetPageNumberStartIndex | ( | LOAutoTextDefinitionRef | autotext, |
int * | start_index | ||
) |
Gets the index the page number auto text definition starts numbering on.
[in] | autotext | The auto text definition object. |
[out] | start_index | The starting index. |
LO_RESULT LOAutoTextDefinitionGetPageNumberStartPage | ( | LOAutoTextDefinitionRef | autotext, |
LOPageRef * | page | ||
) |
Gets the page the page number auto text definition starts numbering on.
[in] | autotext | The auto text definition object. |
[out] | page | The page object. |
LO_RESULT LOAutoTextDefinitionGetPageNumberStyle | ( | LOAutoTextDefinitionRef | autotext, |
LOAutoTextDefinitionNumberingStyle * | numbering_style | ||
) |
Gets the numbering style of the specified page number auto text definition.
[in] | autotext | The auto text definition object. |
[out] | numbering_style | The style of numbering. |
LO_RESULT LOAutoTextDefinitionGetTag | ( | LOAutoTextDefinitionRef | autotext, |
SUStringRef * | tag | ||
) |
Gets the tag string of the specified auto text definition.
[in] | autotext | The auto text definition object. |
[out] | tag | The auto text definition tag string. |
LO_RESULT LOAutoTextDefinitionGetType | ( | LOAutoTextDefinitionRef | autotext, |
LOAutoTextDefinitionType * | type | ||
) |
Gets the type of the specified auto text definition.
[in] | autotext | The auto text definition object. |
[out] | type | The auto text definition type. |
LO_RESULT LOAutoTextDefinitionSetCustomText | ( | LOAutoTextDefinitionRef | autotext, |
const char * | custom_text | ||
) |
Sets the text string of the specified custom auto text definition.
[in] | autotext | The auto text definition object. |
[in] | custom_text | The auto text definition custom text string. |
LO_RESULT LOAutoTextDefinitionSetDateFormat | ( | LOAutoTextDefinitionRef | autotext, |
const char * | date_format | ||
) |
Sets the date format string of the specified date auto text definition.
[in] | autotext | The auto text definition object. |
[in] | date_format | The auto text definition date format string. |
LO_RESULT LOAutoTextDefinitionSetDisplayFileExtension | ( | LOAutoTextDefinitionRef | autotext, |
bool | is_display_file_ext | ||
) |
Sets whether the file extension is displayed for the specified file auto text definition.
[in] | autotext | The auto text definition object. |
[in] | is_display_file_ext | Boolean signifying if the full path is being displayed. |
LO_RESULT LOAutoTextDefinitionSetDisplayFullPath | ( | LOAutoTextDefinitionRef | autotext, |
bool | is_display_full_path | ||
) |
Sets whether the full path is displayed for the specified file auto text definition.
[in] | autotext | The auto text definition object. |
[in] | is_display_full_path | Boolean signifying if the full path is being displayed. |
LO_RESULT LOAutoTextDefinitionSetName | ( | LOAutoTextDefinitionRef | autotext, |
const char * | name | ||
) |
Sets the name of the specified auto text definition.
[in] | autotext | The auto text definition object. |
[out] | name | The auto text definition name string. |
LO_RESULT LOAutoTextDefinitionSetPageNumberStartIndex | ( | LOAutoTextDefinitionRef | autotext, |
int | start_index | ||
) |
Sets the index the page number auto text definition starts numbering on.
[in] | autotext | The auto text definition object. |
[out] | start_index | The starting index. |
LO_RESULT LOAutoTextDefinitionSetPageNumberStartPage | ( | LOAutoTextDefinitionRef | autotext, |
LOPageRef | page | ||
) |
Sets the page the page number auto text definition starts numbering on.
[in] | autotext | The auto text definition object. |
[in] | page | The page object. |
LO_RESULT LOAutoTextDefinitionSetPageNumberStyle | ( | LOAutoTextDefinitionRef | autotext, |
LOAutoTextDefinitionNumberingStyle | numbering_style | ||
) |
Sets the numbering style of the specified page number auto text definition.
[in] | autotext | The auto text definition object. |
[out] | numbering_style | The style of numbering. |