Go to the documentation of this file.
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,
char cKind=
'_');
128 std::shared_ptr<SWFieldManagerInternal::State>
m_state;
FieldSetExp(Field const &orig)
copy constructor
Definition: SWFieldManager.cxx:798
static void updateDatabaseName(librevenge::RVNGString const &name, librevenge::RVNGPropertyList &pList)
Definition: SWFieldManager.cxx:54
std::shared_ptr< STOFFListener > STOFFListenerPtr
a smart pointer of STOFFListener
Definition: libstaroffice_internal.hxx:487
~FieldDateTime() final
destructor
Definition: SWFieldManager.cxx:345
librevenge::RVNGString m_userString
the userString
Definition: SWFieldManager.cxx:680
void print(std::ostream &o) const final
print a field
Definition: SWFieldManager.cxx:896
librevenge::RVNGString m_textNumber
the number as text
Definition: SWFieldManager.cxx:909
a field
Definition: libstaroffice_internal.hxx:363
bool m_isOn
a flag to know if isOn
Definition: SWFieldManager.cxx:684
basic class to store an entry in a file This contained :
Definition: STOFFEntry.hxx:46
librevenge::RVNGString getString(std::vector< uint32_t > const &unicode)
transform a unicode string in a RNVGString
Definition: libstaroffice_internal.cxx:63
Internal: a set expr field.
Definition: SWFieldManager.cxx:785
librevenge::RVNGString m_scriptType
the scriptType
Definition: SWFieldManager.cxx:777
std::shared_ptr< SWFieldManagerInternal::Field > readField(StarZone &zone, char cKind='_')
try to read a field type
Definition: SWFieldManager.cxx:1025
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
bool getPoolName(int poolId, librevenge::RVNGString &res) const
try to return a pool name
Definition: StarZone.hxx:235
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
int isCompatibleWith(int vers) const
checks if the document is compatible with vers
Definition: StarZone.hxx:99
FieldJumpEdit()
constructor
Definition: SWFieldManager.cxx:597
long m_longNumber
the number as num
Definition: SWFieldManager.cxx:911
bool send(STOFFListenerPtr &listener, StarState &state) const final
add to send the zone data
Definition: SWFieldManager.cxx:626
abstract class used to store a subdocument (with a comparison function)
Definition: STOFFSubDocument.hxx:41
void print(std::ostream &o) const final
print a field
Definition: SWFieldManager.cxx:613
int m_offset
the offset
Definition: SWFieldManager.cxx:682
SubDocument(librevenge::RVNGString const &text)
Definition: SWFieldManager.cxx:957
void print(std::ostream &o) const final
print a field
Definition: SWFieldManager.cxx:546
librevenge::RVNGString m_condition
the condition
Definition: SWFieldManager.cxx:905
~FieldScript() final
destructor
Definition: SWFieldManager.cxx:780
double m_doubleValue
double
Definition: SWFieldManager.hxx:91
int m_type
the field type
Definition: SWFieldManager.hxx:79
~FieldDBField() final
destructor
Definition: SWFieldManager.cxx:421
Internal: a set field field.
Definition: SWFieldManager.cxx:872
bool m_hidden
the hidden flag
Definition: SWFieldManager.cxx:475
FieldDateTime(Field const &orig)
copy constructor
Definition: SWFieldManager.cxx:323
bool readString(std::vector< uint32_t > &string, int encoding=-1) const
try to read an unicode string
Definition: StarZone.hxx:220
Internal: a DB field field.
Definition: SWFieldManager.cxx:388
librevenge::RVNGString m_condition
the condition
Definition: SWFieldManager.cxx:477
void closeFlagZone()
close the cflag zone
Definition: StarZone.cxx:618
void appendUnicode(uint32_t val, librevenge::RVNGString &buffer)
adds an unicode character to a string
Definition: libstaroffice_internal.cxx:81
bool send(STOFFListenerPtr &listener, StarState &state) const final
add to send the zone data
Definition: SWFieldManager.cxx:484
librevenge::RVNGString m_target
the target
Definition: SWFieldManager.cxx:561
Internal: a hidden text/para field.
Definition: SWFieldManager.cxx:451
class to store an state: ie.
Definition: StarState.hxx:67
Internal: a jump edit field.
Definition: SWFieldManager.cxx:595
static void reset()
Definition: STOFFDebug.hxx:228
virtual void print(std::ostream &o) const
print a field
Definition: SWFieldManager.cxx:76
static std::string str()
Definition: STOFFDebug.hxx:203
SWFieldManager()
constructor
Definition: SWFieldManager.cxx:1016
librevenge::RVNGString m_formula
the formula
Definition: SWFieldManager.cxx:826
bool openSCRecord()
try to open a SC record: size (32 bytes) + size bytes
Definition: StarZone.cxx:483
FieldDateTime()
constructor
Definition: SWFieldManager.cxx:319
int m_seqVal
the seq value
Definition: SWFieldManager.cxx:830
~FieldJumpEdit() final
destructor
Definition: SWFieldManager.cxx:622
long m_offset
the offset
Definition: SWFieldManager.cxx:342
std::shared_ptr< SWFieldManagerInternal::State > m_state
the state
Definition: SWFieldManager.hxx:128
void print(std::ostream &o) const final
print a field
Definition: SWFieldManager.cxx:813
std::shared_ptr< SWFieldManagerInternal::Field > readPersistField(StarZone &zone, long lastPos)
try to read a persist field type
Definition: SWFieldManager.cxx:1901
bool closeSWRecord(char type, std::string const &debugName)
try to close a record
Definition: StarZone.hxx:177
void print(std::ostream &o) const final
print a field
Definition: SWFieldManager.cxx:406
int m_subType
the subtype
Definition: SWFieldManager.hxx:81
librevenge::RVNGString m_url
the url
Definition: SWFieldManager.cxx:559
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:485
librevenge::RVNGPropertyList m_propertyList
the property list
Definition: libstaroffice_internal.hxx:371
SubDocumentType
Definition: libstaroffice_internal.hxx:185
the main class to read/.
Definition: SWFieldManager.hxx:109
a zone in a StarOffice file
Definition: StarZone.hxx:56
Field()
constructor
Definition: SWFieldManager.hxx:55
FieldSetField(Field const &orig)
copy constructor
Definition: SWFieldManager.cxx:883
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
librevenge::RVNGString m_prompt
the prompt
Definition: SWFieldManager.cxx:828
~FieldSetField() final
destructor
Definition: SWFieldManager.cxx:914
Internal: a field.
Definition: SWFieldManager.hxx:53
void parse(STOFFListenerPtr &listener, libstoff::SubDocumentType type) final
the parser function
Definition: SWFieldManager.cxx:982
~FieldPageNumber() final
destructor
Definition: SWFieldManager.cxx:687
Internal: a script field.
Definition: SWFieldManager.cxx:750
~SubDocument() override
destructor
Definition: SWFieldManager.cxx:962
void print(std::ostream &o) const final
print a field
Definition: SWFieldManager.cxx:468
bool send(STOFFListenerPtr &listener, StarState &state) const final
add to send the zone data
Definition: SWFieldManager.cxx:918
FieldSetField()
constructor
Definition: SWFieldManager.cxx:874
void print(std::ostream &o) const final
print a field
Definition: SWFieldManager.cxx:331
Definition: STOFFDebug.hxx:194
friend std::ostream & operator<<(std::ostream &o, Field const &field)
operator<<
Definition: SWFieldManager.hxx:69
~FieldINet() final
destructor
Definition: SWFieldManager.cxx:566
FieldPageNumber()
constructor
Definition: SWFieldManager.cxx:655
FieldINet()
constructor
Definition: SWFieldManager.cxx:526
Internal: the structures of a SWFieldManager.
Definition: StarState.hxx:60
bool closeSCRecord(std::string const &debugName)
try to close a record
Definition: StarZone.hxx:165
bool send(STOFFListenerPtr &listener, StarState &state) const final
add to send the zone data
Definition: SWFieldManager.cxx:691
long m_time
the time
Definition: SWFieldManager.cxx:340
bool send(STOFFListenerPtr &listener, StarState &state) const final
add to send the zone data
Definition: SWFieldManager.cxx:349
long m_date
the date
Definition: SWFieldManager.cxx:742
Internal: a pageNumber field.
Definition: SWFieldManager.cxx:653
Internal: the state of a SWFieldManager.
Definition: SWFieldManager.cxx:945
~FieldHiddenText() final
destructor
Definition: SWFieldManager.cxx:480
FieldJumpEdit(Field const &orig)
copy constructor
Definition: SWFieldManager.cxx:603
FieldPageNumber(Field const &orig)
copy constructor
Definition: SWFieldManager.cxx:663
librevenge::RVNGString m_code
the code
Definition: SWFieldManager.cxx:775
std::vector< librevenge::RVNGString > m_libNames
the lib names
Definition: SWFieldManager.cxx:563
librevenge::RVNGString m_name
the name
Definition: SWFieldManager.hxx:85
librevenge::RVNGString m_text
the text
Definition: SWFieldManager.cxx:979
bool send(STOFFListenerPtr &listener, StarState &state) const final
add to send the zone data
Definition: SWFieldManager.cxx:841
virtual bool send(STOFFListenerPtr &listener, StarState &state) const
add to send the zone data
Definition: SWFieldManager.cxx:110
virtual ~SWFieldManager()
destructor
Definition: SWFieldManager.cxx:1021
void print(std::ostream &o) const final
print a field
Definition: SWFieldManager.cxx:671
void print(std::ostream &o) const final
print a field
Definition: SWFieldManager.cxx:768
int m_level
the chapter level
Definition: SWFieldManager.hxx:93
long m_dateTime
the dateTime
Definition: SWFieldManager.cxx:338
librevenge::RVNGString m_content
the content
Definition: SWFieldManager.hxx:87
FieldINet(Field const &orig)
copy constructor
Definition: SWFieldManager.cxx:534
static void addPos(long)
Definition: STOFFDebug.hxx:223
bool send(STOFFListenerPtr &listener, StarState &state) const final
add to send the zone data
Definition: SWFieldManager.cxx:570
static void addDelimiter(long, char)
Definition: STOFFDebug.hxx:225
bool send(STOFFListenerPtr &listener, StarState &state) const final
add to send the zone data
Definition: SWFieldManager.cxx:994
std::string m_HRef
the href field
Definition: libstaroffice_internal.hxx:385
State()
constructor
Definition: SWFieldManager.cxx:947
librevenge::RVNGString m_dbName
the dbName
Definition: SWFieldManager.cxx:414
std::shared_ptr< GlobalState > m_global
global state
Definition: StarState.hxx:165
Definition: STOFFDebug.hxx:210
char m_delim
the deliminator
Definition: SWFieldManager.cxx:834
librevenge::RVNGString m_textValue
the value text
Definition: SWFieldManager.hxx:89
void print(std::ostream &o) const final
print a field
Definition: SWFieldManager.cxx:733
virtual ~Field()
destructor
Definition: SWFieldManager.cxx:72
FieldHiddenText(Field const &orig)
copy constructor
Definition: SWFieldManager.cxx:460
Internal: a set field field.
Definition: SWFieldManager.cxx:524
void splitString(librevenge::RVNGString const &string, librevenge::RVNGString const &delim, librevenge::RVNGString &string1, librevenge::RVNGString &string2)
split a string in two. If the delimiter is not present, string1=string
Definition: libstaroffice_internal.cxx:414
int m_fieldType
the field type
Definition: SWFieldManager.cxx:824
long m_longNumber
the number as num
Definition: SWFieldManager.cxx:418
librevenge::RVNGString m_colName
the column name
Definition: SWFieldManager.cxx:416
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
Internal: a postit field.
Definition: SWFieldManager.cxx:713
librevenge::RVNGString m_dbName
the dbName
Definition: SWFieldManager.cxx:907
FieldDBField()
constructor
Definition: SWFieldManager.cxx:390
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
FieldDBField(Field const &orig)
copy constructor
Definition: SWFieldManager.cxx:398
~FieldPostIt() final
destructor
Definition: SWFieldManager.cxx:745
FieldSetExp()
constructor
Definition: SWFieldManager.cxx:787
librevenge::RVNGString m_author
the author
Definition: SWFieldManager.cxx:740
a link
Definition: libstaroffice_internal.hxx:375
unsigned char openFlagZone()
try to open a cflag zone
Definition: StarZone.cxx:611
int m_seqNo
the seq number
Definition: SWFieldManager.cxx:832
bool operator!=(STOFFSubDocument const &doc) const final
operator!=
Definition: SWFieldManager.cxx:965
long getRecordLastPosition() const
returns the actual record last position
Definition: StarZone.hxx:200
FieldHiddenText()
constructor
Definition: SWFieldManager.cxx:453
librevenge::RVNGString m_help
the help
Definition: SWFieldManager.cxx:619
FieldScript(Field const &orig)
copy constructor
Definition: SWFieldManager.cxx:759
FieldPostIt(Field const &orig)
copy constructor
Definition: SWFieldManager.cxx:722
int m_format
the field format
Definition: SWFieldManager.hxx:83
Internal: the subdocument of a SWFieldManger.
Definition: SWFieldManager.cxx:954
~FieldSetExp() final
destructor
Definition: SWFieldManager.cxx:837
FieldScript()
constructor
Definition: SWFieldManager.cxx:752
FieldPostIt()
constructor
Definition: SWFieldManager.cxx:715
bool openSWRecord(char &type)
try to open a SW record: type + size (24 bytes)
Definition: StarZone.cxx:507
Internal: a fixed date time field.
Definition: SWFieldManager.cxx:317
bool send(STOFFListenerPtr &listener, StarState &state) const final
add to send the zone data
Definition: SWFieldManager.cxx:425
Generated on Mon Jan 20 2020 23:02:18 for libstaroffice by
doxygen 1.8.16