WPS8TextInternal::Notes Struct Reference

Internal: class to store the note position. More...

Classes

struct  Compare
 internal struct used to create sorted map More...

Public Member Functions

 Notes ()
 constructor
 Notes (Notes const &orig)
 copy constructor
Notesoperator= (Notes const &orig)
 copy operator
WPSEntry getCorrespondanceEntry (long offset) const

Public Attributes

int m_zoneNote
 the id of the zone which corresponds to the data
int m_zoneCorr
 the id of the zone which called/used this data
WPSContentListener::NoteType m_type
 the note type : footnote or endnote
bool m_note
 a flag to know if this is the note content
Notes const * m_corr
 a pointer to the corresponding notes
std::vector< long > m_positions
 the positions of the data in the file

Friends

std::ostream & operator<< (std::ostream &o, Notes const &note)
 operator <<

Detailed Description

Internal: class to store the note position.

Constructor & Destructor Documentation

◆ Notes() [1/2]

WPS8TextInternal::Notes::Notes ( )
inline

◆ Notes() [2/2]

WPS8TextInternal::Notes::Notes ( Notes const & orig)
inline

copy constructor

Member Function Documentation

◆ getCorrespondanceEntry()

WPSEntry WPS8TextInternal::Notes::getCorrespondanceEntry ( long offset) const
inline

Referenced by WPS8Text::readText().

◆ operator=()

Notes & WPS8TextInternal::Notes::operator= ( Notes const & orig)
inline

copy operator

◆ operator<<

std::ostream & operator<< ( std::ostream & o,
Notes const & note )
friend

operator <<

Member Data Documentation

◆ m_corr

Notes const* WPS8TextInternal::Notes::m_corr

a pointer to the corresponding notes

Referenced by getCorrespondanceEntry(), Notes(), Notes(), operator=(), and WPS8Text::readText().

◆ m_note

bool WPS8TextInternal::Notes::m_note

a flag to know if this is the note content

Referenced by Notes(), Notes(), operator=(), and WPS8Text::readText().

◆ m_positions

std::vector<long> WPS8TextInternal::Notes::m_positions

the positions of the data in the file

Referenced by getCorrespondanceEntry(), Notes(), Notes(), operator<<, operator=(), and WPS8Text::readNotes().

◆ m_type

◆ m_zoneCorr

int WPS8TextInternal::Notes::m_zoneCorr

the id of the zone which called/used this data

Referenced by Notes(), Notes(), WPS8TextInternal::Notes::Compare::operator()(), operator<<, operator=(), and WPS8Text::readNotes().

◆ m_zoneNote

int WPS8TextInternal::Notes::m_zoneNote

the id of the zone which corresponds to the data

Referenced by Notes(), Notes(), WPS8TextInternal::Notes::Compare::operator()(), operator<<, operator=(), and WPS8Text::readNotes().


The documentation for this struct was generated from the following file:

Generated on Mon Aug 11 2025 01:14:11 for libwps by doxygen 1.14.0