![]() | InDesign SDK 20.5 |
#include <TextVariableInfo.h>
Public Types | |
| enum | ScopeStyles { kSection = 0, kDocument } |
| enum | UseStyles { kFirstInPage = 0, kLastInPage } |
| typedef object_type | data_type |
Public Member Functions | |
| bool16 | operator== (const AddVariableInfo &other) const |
| bool16 | operator!= (const AddVariableInfo &other) const |
| const WideString & | GetName () const |
| void | SetName (const WideString &s) |
| const WideString & | GetContents () const |
| void | SetContents (const WideString &s) |
| const ClassID | GetBaseTypeID () const |
| void | SetBaseTypeID (ClassID id) |
| const ClassID | GetFormatterID () const |
| void | SetFormatterID (ClassID id) |
| const UID | GetUID () const |
| void | SetUID (UID uid) |
| int32 | GetFlags () const |
| void | SetFlags (int32 b) |
| const WideString & | GetTextBefore () const |
| void | SetTextBefore (const WideString &s) |
| const WideString & | GetTextAfter () const |
| void | SetTextAfter (const WideString &s) |
| ScopeStyles | GetScope () const |
| void | SetScope (AddVariableInfo::ScopeStyles scope) |
| UseStyles | GetUse () const |
| void | SetUse (AddVariableInfo::UseStyles use) |
| bool16 | GetDeleteEndPunctuation () const |
| void | SetDeleteEndPunctuation (bool16 b) |
| bool16 | GetIncludeExtension () const |
| void | SetIncludePath (bool16 b) |
| bool16 | GetIncludePath () const |
| void | SetIncludeExtension (bool16 b) |
| bool16 | GetEmperorDate () const |
| void | SetEmperorDate (bool16 b) |
Friends | |
| class | TextVariableImpl |
Variable information for adding a new variable to the table of variables.
Helper enum for the scope types of the TotalPagesVariable's flags
Helper enum for the bit types of the Char/ParaVariable's flags
| inline |
Get class id of the base variable (e.g. Custom Text Variable, Date Variable, etc)
| inline |
Gets contents
| bool16 AddVariableInfo::GetEmperorDate | ( | ) | const |
Get Emperor Date
| inline |
Get Flags (generally recommend using flag getters instead as this contains variable specific flags)
| inline |
Get class that can format this variable
| bool16 AddVariableInfo::GetIncludeExtension | ( | ) | const |
Get Include path extension
| bool16 AddVariableInfo::GetIncludePath | ( | ) | const |
Get Include Path
| ScopeStyles AddVariableInfo::GetScope | ( | ) | const |
Get Scope
| inline |
Get string to place after the calculated part of the variable.
| inline |
Get string to place before the calculated part of the variable.
| inline |
Get uid of desired style (running header footer only)
| UseStyles AddVariableInfo::GetUse | ( | ) | const |
Get Use
| bool16 AddVariableInfo::operator== | ( | const AddVariableInfo & | other | ) | const |
equality
| inline |
Set class id of the base variable (e.g. Custom Text Variable, Date Variable, etc)
| inline |
Sets contents
| void AddVariableInfo::SetEmperorDate | ( | bool16 | b | ) |
Set Emperor Date
| inline |
Set Flags (generally recommend using flag setters instead)
| inline |
Set formmater ID
| void AddVariableInfo::SetIncludeExtension | ( | bool16 | b | ) |
Set Include Path
| void AddVariableInfo::SetIncludePath | ( | bool16 | b | ) |
Set Include path extension
| inline |
Sets name
| void AddVariableInfo::SetScope | ( | AddVariableInfo::ScopeStyles | scope | ) |
Set Scope
| inline |
Set string to place after the calculated part of the variable.
| inline |
Set string to place before the calculated part of the variable.
| inline |
Set uid of desired style (running header footer only)
| void AddVariableInfo::SetUse | ( | AddVariableInfo::UseStyles | use | ) |
Set Use