a field More...
#include <libmwaw_internal.hxx>
Public Types | |
| enum | Type { None , PageCount , PageNumber , Date , Time , Title , Database , BookmarkStart , BookmarkEnd } |
| Defines some basic type for field. More... | |
Public Member Functions | |
| MWAWField (Type type) | |
| basic constructor | |
| MWAWField (MWAWField &&)=default | |
| MWAWField (MWAWField const &)=default | |
| MWAWField & | operator= (MWAWField const &)=default |
| MWAWField & | operator= (MWAWField &&)=default |
| bool | addTo (librevenge::RVNGPropertyList &propList) const |
| add the link property to proplist (if possible) | |
| librevenge::RVNGString | getString () const |
| returns a string corresponding to the field (if possible) */ | |
Public Attributes | |
| Type | m_type |
| the type | |
| libmwaw::NumberingType | m_numberingType |
| the number type ( for number field ) | |
| std::string | m_DTFormat |
| the date/time format using strftime format if defined | |
| std::string | m_data |
| the database/link field ( if defined ) or the bookmark name | |
a field
| enum MWAWField::Type |
|
inlineexplicit |
basic constructor
|
default |
|
default |
| bool MWAWField::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add the link property to proplist (if possible)
Referenced by MWAWGraphicListener::insertField(), MWAWPresentationListener::insertField(), MWAWSpreadsheetListener::insertField(), and MWAWTextListener::insertField().
| librevenge::RVNGString MWAWField::getString | ( | ) | const |
returns a string corresponding to the field (if possible) */
Referenced by MWAWGraphicListener::insertField(), MWAWPresentationListener::insertField(), MWAWSpreadsheetListener::insertField(), and MWAWTextListener::insertField().
| std::string MWAWField::m_data |
the database/link field ( if defined ) or the bookmark name
Referenced by addTo(), getString(), and RagTime5Text::send().
| std::string MWAWField::m_DTFormat |
the date/time format using strftime format if defined
Referenced by addTo(), MindWrtParserInternal::Field::getField(), RagTimeTextInternal::Token::getField(), RagTimeText::send(), ScriptWriterParser::send(), WriteNowText::send(), DocMkrText::sendFooter(), ActaParser::sendHeaderFooter(), JazzWriterParser::sendPLC(), BeagleWksText::sendText(), ClarisDrawText::sendText(), ClarisWksText::sendText(), HanMacWrdJText::sendText(), HanMacWrdKText::sendText(), MsWrdText::sendText(), NisusWrtText::sendText(), PowerPoint7Text::sendText(), StudentWritingCParser::sendText(), GreatWksTextInternal::Token::sendTo(), and WordMakerParser::sendZone().
| libmwaw::NumberingType MWAWField::m_numberingType |
the number type ( for number field )
Referenced by addTo(), MWAWHeaderFooter::insertPageNumberParagraph(), and SpringBoardParser::sendHeaderFooter().
| Type MWAWField::m_type |