38#ifndef SW_FIELDMANAGER
39# define SW_FIELDMANAGER
77 virtual void print(std::ostream &o)
const;
119 std::shared_ptr<SWFieldManagerInternal::Field>
readField(
StarZone &zone,
unsigned char cKind=
'_');
128 std::shared_ptr<SWFieldManagerInternal::State>
m_state;
the main class to read/.
Definition: SWFieldManager.hxx:110
SWFieldManager()
constructor
Definition: SWFieldManager.cxx:1016
virtual ~SWFieldManager()
destructor
Definition: SWFieldManager.cxx:1021
std::shared_ptr< SWFieldManagerInternal::State > m_state
the state
Definition: SWFieldManager.hxx:128
std::shared_ptr< SWFieldManagerInternal::Field > readField(StarZone &zone, unsigned char cKind='_')
try to read a field type
Definition: SWFieldManager.cxx:1025
std::shared_ptr< SWFieldManagerInternal::Field > readPersistField(StarZone &zone, long lastPos)
try to read a persist field type
Definition: SWFieldManager.cxx:1901
class to store an state: ie.
Definition: StarState.hxx:68
a zone in a StarOffice file
Definition: StarZone.hxx:57
std::shared_ptr< STOFFListener > STOFFListenerPtr
a smart pointer of STOFFListener
Definition: libstaroffice_internal.hxx:491
Internal: the structures of a SWFieldManager.
Definition: StarState.hxx:61
Internal: a field.
Definition: SWFieldManager.hxx:53
Field(const Field &)=default
copy constructor
int m_type
the field type
Definition: SWFieldManager.hxx:79
virtual bool send(STOFFListenerPtr &listener, StarState &state) const
add to send the zone data
Definition: SWFieldManager.cxx:110
librevenge::RVNGString m_content
the content
Definition: SWFieldManager.hxx:87
double m_doubleValue
double
Definition: SWFieldManager.hxx:91
int m_subType
the subtype
Definition: SWFieldManager.hxx:81
friend std::ostream & operator<<(std::ostream &o, Field const &field)
operator<<
Definition: SWFieldManager.hxx:69
virtual ~Field()
destructor
Definition: SWFieldManager.cxx:72
int m_level
the chapter level
Definition: SWFieldManager.hxx:93
Field()
constructor
Definition: SWFieldManager.hxx:55
librevenge::RVNGString m_textValue
the value text
Definition: SWFieldManager.hxx:89
virtual void print(std::ostream &o) const
print a field
Definition: SWFieldManager.cxx:76
librevenge::RVNGString m_name
the name
Definition: SWFieldManager.hxx:85
int m_format
the field format
Definition: SWFieldManager.hxx:83
Internal: the state of a SWFieldManager.
Definition: SWFieldManager.cxx:945