38 #ifndef STAR_ITEM_POOL_HXX
39 # define STAR_ITEM_POOL_HXX
56 namespace StarItemPoolInternal
109 std::set<librevenge::RVNGString> done;
115 std::set<librevenge::RVNGString> done;
140 shared_ptr<StarItem>
createItem(
int which,
int surrogateId,
bool localId);
149 shared_ptr<StarItemPoolInternal::State>
m_state;
class to store an item: ie.
Definition: StarItem.hxx:53
bool isSecondaryPool() const
returns true if a pool is a secondary pool
Definition: StarItemPool.cxx:883
int getVersion() const
returns the pool version
Definition: StarItemPool.cxx:901
Definition: StarItemPool.hxx:75
shared_ptr< StarAttribute > readAttribute(StarZone &zone, int which, int vers, long endPos)
try to read an attribute
Definition: StarItemPool.cxx:920
StarItemStyle const * findStyleWithFamily(librevenge::RVNGString const &style, int family) const
try to find a style with a name and a family style
Definition: StarItemPool.cxx:2020
Type
the known item pool
Definition: StarItemPool.hxx:75
bool readV2(StarZone &zone, StarItemPool *master)
try to read a "ItemPool" zone (version 2)
Definition: StarItemPool.cxx:1165
shared_ptr< StarItem > readItem(StarZone &zone, bool isDirect, long endPos)
read a item
Definition: StarItemPool.cxx:995
bool isInside() const
returns true if we are reading the pool
Definition: StarItemPool.hxx:94
Definition: StarItemPool.hxx:75
void defineParagraphStyle(STOFFListenerPtr listener, librevenge::RVNGString const &styleName, StarObject &object) const
define a paragraph style
Definition: StarItemPool.hxx:113
shared_ptr< StarItem > loadSurrogate(StarZone &zone, uint16_t &nWhich, bool localId, libstoff::DebugStream &f)
try to load a surrogate
Definition: StarItemPool.cxx:1116
Definition: StarItemPool.hxx:75
virtual ~StarItemPool()
destructor
Definition: StarItemPool.cxx:874
Definition: StarItemPool.hxx:75
bool m_isInside
true if the pool is open
Definition: StarItemPool.hxx:147
Definition: StarItemPool.hxx:75
bool readV1(StarZone &zone, StarItemPool *master)
try to read a "ItemPool" zone (version 1)
Definition: StarItemPool.cxx:1422
shared_ptr< StarItem > createItem(int which, int surrogateId, bool localId)
create an item for futher reading
Definition: StarItemPool.cxx:911
bool readStyles(StarZone &zone, StarObject &doc)
try to read the styles, ie a "StyleItemPool" zone
Definition: StarItemPool.cxx:1749
shared_ptr< STOFFListener > STOFFListenerPtr
a smart pointer of STOFFListener
Definition: libstaroffice_internal.hxx:476
bool read(StarZone &zone)
try to read a "ItemPool" zone
Definition: StarItemPool.cxx:946
virtual class used to store the different attribute
Definition: StarAttribute.hxx:62
void updateStyles()
try to update the style
Definition: StarItemPool.cxx:1946
shared_ptr< StarItemPoolInternal::State > m_state
the state
Definition: StarItemPool.hxx:149
class to store a list of item
Definition: StarItem.hxx:79
void clean()
clean the pool's list of attributes, ...
Definition: StarItemPool.cxx:878
brief class used to stored the style
Definition: StarItem.hxx:104
void addSecondaryPool(shared_ptr< StarItemPool > secondary)
add a secondary pool
Definition: StarItemPool.cxx:888
the main class to read/.
Definition: StarItemPool.hxx:70
Definition: STOFFDebug.hxx:182
StarItemPool(StarObject &document, Type type)
constructor
Definition: StarItemPool.cxx:869
void updateUsingStyles(StarItemSet &itemSet) const
update a itemset by adding attribute corresponding to its styles
Definition: StarItemPool.cxx:2115
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
Definition: StarItemPool.hxx:75
Definition: StarItemPool.hxx:75
Type getType() const
returns the pool type
Definition: StarItemPool.cxx:906
Internal: the state of a StarItemPool.
Definition: StarItemPool.cxx:335