Go to the documentation of this file.
38 #ifndef STAR_OBJECT_SMALL_TEXT
39 # define STAR_OBJECT_SMALL_TEXT
70 bool send(std::shared_ptr<STOFFListener> listener,
int level=-1);
82 std::shared_ptr<StarObjectSmallTextInternal::State>
m_textState;
std::shared_ptr< STOFFListener > STOFFListenerPtr
a smart pointer of STOFFListener
Definition: libstaroffice_internal.hxx:487
class to store the paragraph properties
Definition: STOFFParagraph.hxx:47
librevenge::RVNGString getString(std::vector< uint32_t > const &unicode)
transform a unicode string in a RNVGString
Definition: libstaroffice_internal.cxx:63
bool send(STOFFListenerPtr &listener, StarState &mainState, StarState &editState, int level=-1) const
try to send the data to a listener
Definition: StarObjectSmallText.cxx:91
int m_break
a page/column break: 1=columnBefore, 2=columnAfter, 3=columnBoth, 4=pageBefore, 5=pageAfter,...
Definition: StarState.hxx:170
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
Definition: StarItem.hxx:120
std::string printChild() const
debug function to print the child field
Definition: StarItem.cxx:52
bool m_content
flag to know if this is a content zone
Definition: StarState.hxx:184
std::shared_ptr< SWFieldManagerInternal::Field > m_field
the field
Definition: StarState.hxx:196
std::shared_ptr< StarItemPool > getNewItemPool(StarItemPool::Type type)
returns a new item pool for this document
Definition: StarObject.cxx:142
bool readString(std::vector< uint32_t > &string, int encoding=-1) const
try to read an unicode string
Definition: StarZone.hxx:220
void addTo(librevenge::RVNGPropertyList &propList) const
add to the propList
Definition: STOFFFont.cxx:81
int m_listLevelIndex
the actual level index
Definition: STOFFParagraph.hxx:79
StarObjectSmallText(StarObject const &orig, bool duplicateState)
constructor
Definition: StarObjectSmallText.cxx:219
std::vector< Paragraph > m_paragraphList
the paragraphs
Definition: StarObjectSmallText.cxx:211
Internal: the state of a StarObjectSmallText.
Definition: StarObjectSmallText.cxx:203
std::shared_ptr< StarObjectSmallTextInternal::State > m_textState
the state
Definition: StarObjectSmallText.hxx:82
class to store an state: ie.
Definition: StarState.hxx:67
static std::string str()
Definition: STOFFDebug.hxx:203
std::vector< size_t > m_textSourcePosition
the text initial position
Definition: StarObjectSmallText.cxx:78
bool m_lineBreak
line break
Definition: STOFFFont.hxx:96
std::vector< std::shared_ptr< StarItem > > m_charItemList
the character item list
Definition: StarObjectSmallText.cxx:86
bool readItemSet(StarZone &zone, std::vector< STOFFVec2i > const &limits, long endPos, StarItemSet &itemSet, StarItemPool *pool=nullptr, bool isDirect=false)
try to read a list of item
Definition: StarObject.cxx:229
bool m_footnote
flag to know if this is a footnote
Definition: StarState.hxx:188
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:485
a zone in a StarOffice file
Definition: StarZone.hxx:56
Definition: StarItemPool.hxx:75
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
StarObjectSmallText & operator=(StarObjectSmallText const &orig)=delete
bool read(StarZone &zone, long lastPos)
try to read a small text object
Definition: StarObjectSmallText.cxx:252
Internal: the structures of a StarObjectSmallText.
Definition: StarObjectSmallText.cxx:57
STOFFFont m_font
the font
Definition: StarState.hxx:182
Definition: STOFFDebug.hxx:194
the main class to read a small StarOffice text zone
Definition: StarObjectSmallText.hxx:58
std::shared_ptr< StarItemPool > findItemPool(StarItemPool::Type type, bool isInside)
check if a pool corresponding to a given type is opened if so returned it.
Definition: StarObject.cxx:159
Class to store font.
Definition: STOFFFont.hxx:43
bool m_flyCnt
flag to know if this is a flyCnt
Definition: StarState.hxx:186
std::vector< uint32_t > m_text
the text
Definition: StarObjectSmallText.cxx:76
void reinitializeLineData()
reinit the local data: break, font, content, footnote, ...
Definition: StarState.cxx:92
Paragraph()
constructor
Definition: StarObjectSmallText.cxx:63
bool send(std::shared_ptr< STOFFListener > listener, int level=-1)
try to send a small text zone
Definition: StarObjectSmallText.cxx:229
static void addPos(long)
Definition: STOFFDebug.hxx:223
std::vector< STOFFVec2i > m_charLimitList
the character limit
Definition: StarObjectSmallText.cxx:88
STOFFParagraph m_paragraph
the paragraph style
Definition: StarState.hxx:180
Internal: a paragraph of StarObjectSmallText.
Definition: StarObjectSmallText.cxx:61
std::shared_ptr< GlobalState > m_global
global state
Definition: StarState.hxx:165
Definition: STOFFDebug.hxx:210
~StarObjectSmallText() override
destructor
Definition: StarObjectSmallText.cxx:225
std::map< int, std::shared_ptr< StarItem > > m_whichToItemMap
the list of item
Definition: StarItem.hxx:111
class to store a list of item
Definition: StarItem.hxx:87
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
bool m_tab
tab
Definition: STOFFFont.hxx:94
librevenge::RVNGString m_refMark
the ref mark
Definition: StarState.hxx:194
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
StarItemSet m_itemSet
the main item list
Definition: StarObjectSmallText.cxx:84
STOFFVec2< int > STOFFVec2i
STOFFVec2 of int.
Definition: libstaroffice_internal.hxx:763
librevenge::RVNGString m_link
the link url
Definition: StarState.hxx:192
Definition: StarItemPool.hxx:75
int m_family
the family
Definition: StarObjectSmallText.cxx:82
librevenge::RVNGString m_styleName
the style name
Definition: StarObjectSmallText.cxx:80
State()
constructor
Definition: StarObjectSmallText.cxx:205
Generated on Mon Jan 20 2020 23:02:17 for libstaroffice by
doxygen 1.8.16