38 #ifndef STAR_ITEM_POOL_HXX 39 # define STAR_ITEM_POOL_HXX 75 enum Type { T_ChartPool, T_EditEnginePool, T_SpreadsheetPool, T_VCControlPool, T_WriterPool, T_XOutdevPool, T_Unknown };
84 void addSecondaryPool(std::shared_ptr<StarItemPool> secondary);
86 bool isSecondaryPool()
const;
90 int getVersion()
const;
105 void updateUsingStyles(
StarItemSet &itemSet)
const;
109 std::set<librevenge::RVNGString> done;
110 defineGraphicStyle(listener, styleName,
object, done);
115 std::set<librevenge::RVNGString> done;
116 defineParagraphStyle(listener, styleName,
object, done);
119 StarItemStyle const *findStyleWithFamily(librevenge::RVNGString
const &style,
int family)
const;
121 std::shared_ptr<StarAttribute> readAttribute(
StarZone &zone,
int which,
int vers,
long endPos);
123 std::shared_ptr<StarItem> readItem(
StarZone &zone,
bool isDirect,
long endPos);
129 void setRelativeUnit(
double relUnit);
131 double getRelativeUnit()
const;
134 void defineGraphicStyle(
STOFFListenerPtr listener, librevenge::RVNGString
const &styleName,
StarObject &
object, std::set<librevenge::RVNGString> &done)
const;
136 void defineParagraphStyle(
STOFFListenerPtr listener, librevenge::RVNGString
const &styleName,
StarObject &
object, std::set<librevenge::RVNGString> &done)
const;
143 std::shared_ptr<StarItem> createItem(
int which,
int surrogateId,
bool localId);
152 std::shared_ptr<StarItemPoolInternal::State>
m_state;
class to store an item: ie.
Definition: StarItem.hxx:53
Type
the known item pool
Definition: StarItemPool.hxx:75
std::shared_ptr< StarItemPoolInternal::State > m_state
the state
Definition: StarItemPool.hxx:152
bool isInside() const
returns true if we are reading the pool
Definition: StarItemPool.hxx:94
bool m_isInside
true if the pool is open
Definition: StarItemPool.hxx:150
virtual class used to store the different attribute
Definition: StarAttribute.hxx:62
void defineParagraphStyle(STOFFListenerPtr &listener, librevenge::RVNGString const &styleName, StarObject &object) const
define a paragraph style
Definition: StarItemPool.hxx:113
class to store a list of item
Definition: StarItem.hxx:87
brief class used to stored the style
Definition: StarItem.hxx:115
void clean()
clean the state
Definition: StarItemPool.cxx:382
Internal: the structures of a StarItemPool.
Definition: StarItemPool.cxx:56
the main class to read/.
Definition: StarItemPool.hxx:70
Definition: STOFFDebug.hxx:194
std::shared_ptr< STOFFListener > STOFFListenerPtr
a smart pointer of STOFFListener
Definition: libstaroffice_internal.hxx:487
void defineGraphicStyle(STOFFListenerPtr &listener, librevenge::RVNGString const &styleName, StarObject &object) const
define a graphic style
Definition: StarItemPool.hxx:107
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
a zone in a StarOffice file
Definition: StarZone.hxx:56
Internal: the state of a StarItemPool.
Definition: StarItemPool.cxx:354