Go to the documentation of this file.
38 #ifndef STAR_OBJECT_SMALL_GRAPHIC
39 # define STAR_OBJECT_SMALL_GRAPHIC
49 class OutlinerParaObject;
54 class SdrGraphicAttribute;
55 class SdrGraphicCaption;
56 class SdrGraphicCircle;
58 class SdrGraphicGraph;
59 class SdrGraphicGroup;
60 class SdrGraphicMeasure;
100 std::shared_ptr<StarObjectSmallGraphicInternal::SdrGraphic>
readSVDRObject(
StarZone &zone,
int identifier);
140 std::vector<std::shared_ptr<StarObjectSmallGraphicInternal::SDRUserData> > &data);
146 std::shared_ptr<StarObjectSmallGraphicInternal::SDRUserData>
readSCHUObject(
StarZone &zone,
int identifier);
149 std::shared_ptr<StarObjectSmallGraphicInternal::SDRUserData>
readSDUDObject(
StarZone &zone,
int identifier);
Internal: virtual class to store a Sdr graphic page.
Definition: StarObjectSmallGraphic.cxx:1236
std::shared_ptr< STOFFListener > STOFFListenerPtr
a smart pointer of STOFFListener
Definition: libstaroffice_internal.hxx:487
librevenge::RVNGPropertyList m_propertyList
the property list
Definition: STOFFGraphicStyle.hxx:66
std::vector< std::shared_ptr< StarObjectSmallGraphic > > m_child
the child
Definition: StarObjectSmallGraphic.cxx:510
bool operator!=(STOFFSubDocument const &doc) const final
operator!=
Definition: StarObjectSmallGraphic.cxx:215
bool m_flags[6]
a list of flag
Definition: StarObjectSmallGraphic.cxx:378
~SDUDGraphicAnimation() override
destructor
Definition: StarObjectSmallGraphic.cxx:1687
bool readSVDRObjectGroup(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicGroup &graphic)
try to read the object group zone
Definition: StarObjectSmallGraphic.cxx:2539
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:1137
STOFFGraphicStyle m_graphic
the graphic style
Definition: StarState.hxx:177
Internal: virtual class to store a Sdr graphic text.
Definition: StarObjectSmallGraphic.cxx:527
bool m_booleans[5]
some bool : hasSound, playFull, sound[second], playFull[second], dim[hide]
Definition: StarObjectSmallGraphic.cxx:1679
void setSize(STOFFVec2f const &size)
utility function to set a size in point
Definition: STOFFPosition.hxx:108
static bool readOLEDirectory(std::shared_ptr< STOFFOLEParser > oleParser, std::shared_ptr< STOFFOLEParser::OleDirectory > ole, STOFFEmbeddedObject &image, std::shared_ptr< StarObject > &object)
try to read a Ole directory
Definition: StarFileManager.cxx:301
void addToPath(librevenge::RVNGPropertyListVector &path, bool isClosed, double relUnit, STOFFVec2f const &decal) const
add the polygon to a path
Definition: StarGraphicStruct.cxx:678
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:877
int m_textKind
the text kind
Definition: StarObjectSmallGraphic.cxx:612
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
std::vector< Point > m_points
the list of points
Definition: StarGraphicStruct.hxx:191
int m_depth
the depth
Definition: StarObjectSmallGraphic.cxx:131
friend std::ostream & operator<<(std::ostream &o, OutlinerParaObject const &obj)
operator<<
Definition: StarObjectSmallGraphic.cxx:149
STOFFColor m_backgroundColor
the background color
Definition: StarObjectSmallGraphic.cxx:133
STOFFVec2i m_limits[2]
the limits start, end
Definition: StarObjectSmallGraphic.cxx:1671
friend std::ostream & operator<<(std::ostream &o, GluePoint const &pt)
operator<<
Definition: StarObjectSmallGraphic.cxx:82
friend std::ostream & operator<<(std::ostream &o, SdrGraphicCaption const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:707
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:907
Internal: virtual class to store a SCHU graphic.
Definition: StarObjectSmallGraphic.cxx:1463
STOFFVec2f convertVectorInPoint(STOFFVec2f const &val) const
return the relative units
Definition: StarState.hxx:160
Definition: STOFFGraphicShape.hxx:49
void updateStyle(StarState &state, STOFFListenerPtr listener) const
try to update the style
Definition: StarObjectSmallGraphic.cxx:1090
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool inMasterPage) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:967
std::string print() const override
basic print function
Definition: StarObjectSmallGraphic.cxx:1621
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
bool openRecord()
try to open a classic record: size (32 bytes) + size-4 bytes
Definition: StarZone.cxx:455
friend std::ostream & operator<<(std::ostream &o, Zone const &zone)
operator<<
Definition: StarObjectSmallGraphic.cxx:119
StarObjectSmallGraphic & operator=(StarObjectSmallGraphic const &orig)=delete
SdrGraphicPath(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:1279
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:1307
Class to store a graphic.
Definition: StarGraphicStruct.hxx:104
bool send(STOFFListenerPtr &listener)
try to send the text to the listener
Definition: StarObjectSmallGraphic.cxx:169
Command m_command
the command
Definition: STOFFGraphicShape.hxx:65
STOFFFrameStyle m_frame
the frame style
Definition: StarState.hxx:175
STOFFBox2< float > STOFFBox2f
STOFFBox2 of float.
Definition: libstaroffice_internal.hxx:1131
int m_order
the presentation order
Definition: StarObjectSmallGraphic.cxx:1683
Class to store a polygon.
Definition: StarGraphicStruct.hxx:122
SdrGraphicOLE(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:1128
friend std::ostream & operator<<(std::ostream &o, SdrGraphicMeasure const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1097
~SDUDGraphic() override
destructor
Definition: StarObjectSmallGraphic.cxx:1599
void updateTransformProperties(librevenge::RVNGPropertyList &list, double relUnit) const
try to update the transformation
Definition: StarObjectSmallGraphic.cxx:544
bool closeSDRHeader(std::string const &debugName)
close a zone header
Definition: StarZone.cxx:436
std::shared_ptr< StarGraphicStruct::StarGraphic > m_graphic
the graphic
Definition: StarObjectSmallGraphic.cxx:1030
Internal: virtual class to store a Sdr graphic graph.
Definition: StarObjectSmallGraphic.cxx:944
SdrGraphic(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:290
Definition: StarItem.hxx:120
Definition: STOFFGraphicShape.hxx:49
STOFFEmbeddedObject m_background
the background bitmap
Definition: StarObjectSmallGraphic.cxx:135
librevenge::RVNGPropertyList m_propertyList
the property
Definition: STOFFGraphicShape.hxx:69
Internal: virtual class to store a Sdr graphic edge.
Definition: StarObjectSmallGraphic.cxx:1049
friend std::ostream & operator<<(std::ostream &o, SCHUGraphic const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1513
int m_row
the row
Definition: StarObjectSmallGraphic.cxx:1550
abstract class used to store a subdocument (with a comparison function)
Definition: STOFFSubDocument.hxx:41
Graphic(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:252
a structure used to define a picture shape
Definition: STOFFGraphicShape.hxx:45
bool sendTextZone(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object)
try to send the text zone to the listener
Definition: StarObjectSmallGraphic.cxx:569
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:1287
std::shared_ptr< StarItem > m_captionItem
the caption attributes
Definition: StarObjectSmallGraphic.cxx:748
Class to store a frame style.
Definition: STOFFFrameStyle.hxx:45
T x() const
first element
Definition: libstaroffice_internal.hxx:593
void updateStyle(StarState &state, STOFFListenerPtr listener) const
try to update the style
Definition: StarObjectSmallGraphic.cxx:806
int m_page
the page
Definition: StarObjectSmallGraphic.cxx:1267
STOFFVec2f m_origin
the origin in point
Definition: STOFFPosition.hxx:147
virtual std::string print() const
basic print function
Definition: StarObjectSmallGraphic.cxx:259
librevenge::RVNGString m_sheetStyle
the sheet style name
Definition: StarObjectSmallGraphic.cxx:445
STOFFBox2< int > STOFFBox2i
STOFFBox2 of int.
Definition: libstaroffice_internal.hxx:1129
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:1494
std::vector< GluePoint > m_polygon
a polygon
Definition: StarObjectSmallGraphic.cxx:376
Internal: virtual class to store a Sdr graphic circle.
Definition: StarObjectSmallGraphic.cxx:756
void updateStyle(StarState &state, STOFFListenerPtr) const
try to update the graphic style
Definition: StarObjectSmallGraphic.cxx:330
SdrGraphicAttribute(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:392
std::shared_ptr< StarItemPool > getNewItemPool(StarItemPool::Type type)
returns a new item pool for this document
Definition: StarObject.cxx:142
STOFFVec2i m_dimension
the dimension
Definition: StarObjectSmallGraphic.cxx:92
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool inMasterPage) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:1501
bool readSdrObject(StarZone &zone)
try to read a object zone: "DrOb'
Definition: StarObjectSmallGraphic.cxx:1745
~SdrGraphicCircle() final
destructor
Definition: StarObjectSmallGraphic.cxx:831
SdrGraphicGraph()
constructor
Definition: StarObjectSmallGraphic.cxx:948
bool readString(std::vector< uint32_t > &string, int encoding=-1) const
try to read an unicode string
Definition: StarZone.hxx:220
SdrGraphicUno()
constructor
Definition: StarObjectSmallGraphic.cxx:1409
SCHUGraphic(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:1467
Internal: virtual class to store a outliner paragraph object.
Definition: StarObjectSmallGraphic.cxx:104
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool inMasterPage) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:478
~SubDocument() final
destructor
Definition: StarObjectSmallGraphic.cxx:212
Definition: STOFFGraphicShape.hxx:49
librevenge::RVNGString m_graphNames[3]
the name, filename, the filtername
Definition: StarObjectSmallGraphic.cxx:1034
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:774
Internal: virtual class to store a graphic.
Definition: StarObjectSmallGraphic.cxx:248
Internal: virtual class to store a Sdr graphic rectangle.
Definition: StarObjectSmallGraphic.cxx:631
Zone()
constructor
Definition: StarObjectSmallGraphic.cxx:110
friend std::ostream & operator<<(std::ostream &o, SdrGraphicPath const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1294
STOFFBox2i m_textRectangle
the text rectangle
Definition: StarObjectSmallGraphic.cxx:614
bool openSCHHeader()
open a zone header present in a SCH file
Definition: StarZone.cxx:341
the class to store a color
Definition: libstaroffice_internal.hxx:189
std::shared_ptr< SdrGraphicGroup > m_group
the group node
Definition: StarObjectSmallGraphic.cxx:1554
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: STOFFPosition.hxx:47
bool readBitmap(StarZone &zone, bool inFileHeader, long lastPos, librevenge::RVNGBinaryData &data, std::string &type)
low level
Definition: StarBitmap.cxx:214
std::string print() const override
basic print function
Definition: StarObjectSmallGraphic.cxx:1457
void updateStyle(StarState &state, STOFFListenerPtr listener) const
try to update the style
Definition: StarObjectSmallGraphic.cxx:999
bool m_overwritten
overwritten flag
Definition: StarObjectSmallGraphic.cxx:1114
friend std::ostream & operator<<(std::ostream &o, SdrGraphicGroup const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:497
int m_id
the id
Definition: StarObjectSmallGraphic.cxx:96
the main class to read/.
Definition: StarBitmap.hxx:62
class to store an state: ie.
Definition: StarState.hxx:67
std::string getName() const final
return the object name
Definition: StarObjectSmallGraphic.cxx:1481
bool m_percent
a flag to know if this is percent
Definition: StarObjectSmallGraphic.cxx:100
friend std::ostream & operator<<(std::ostream &o, SdrGraphicCircle const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:813
std::vector< Zone > m_zones
the list of zones: version<=3
Definition: StarObjectSmallGraphic.cxx:193
int m_identifier
the type
Definition: StarObjectSmallGraphic.cxx:276
small class use to define a embedded object
Definition: libstaroffice_internal.hxx:408
bool readSVDRObjectCaption(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicCaption &graphic)
try to read the object caption zone
Definition: StarObjectSmallGraphic.cxx:2075
int m_values[8]
the values: presentation effect, speed, clickAction, presentation effect[second], speed[second],...
Definition: StarObjectSmallGraphic.cxx:1673
friend std::ostream & operator<<(std::ostream &o, SdrGraphicGraph const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1006
STOFFVec2f convertPointInPoint(STOFFVec2f const &val) const
return the relative units
Definition: StarState.hxx:155
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool inMasterPage) override
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:643
~SdrGraphicRect() override
destructor
Definition: StarObjectSmallGraphic.cxx:684
static std::string str()
Definition: STOFFDebug.hxx:203
STOFFBox2f m_bdbox
the shape bdbox in twip
Definition: STOFFGraphicShape.hxx:67
bool readSDRObjectConnection(StarZone &zone)
try to read a SDR object connection
Definition: StarObjectSmallGraphic.cxx:2949
bool isWhite() const
return true if the color is white
Definition: libstaroffice_internal.hxx:282
std::shared_ptr< StarGraphicStruct::StarGraphic > m_graphic
the graphic
Definition: StarObjectSmallGraphic.cxx:1226
bool openSDRHeader(std::string &magic)
open a zone header present in a SDR file
Definition: StarZone.cxx:403
std::shared_ptr< StarObjectSmallGraphicInternal::Graphic > readFmFormObject(StarZone &zone, int identifier)
try to read a FM01 object
Definition: StarObjectSmallGraphic.cxx:3347
int m_groupShearWink
the shear wink
Definition: StarObjectSmallGraphic.cxx:518
void updateStyle(StarState &state, STOFFListenerPtr listener) const
try to update the style
Definition: StarObjectSmallGraphic.cxx:408
std::shared_ptr< StarItem > m_graphItem
the graph attributes
Definition: StarObjectSmallGraphic.cxx:1040
bool readSVDRObjectGraph(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicGraph &graphic)
try to read the object graph zone
Definition: StarObjectSmallGraphic.cxx:2396
Internal: virtual class to store a glue point.
Definition: StarObjectSmallGraphic.cxx:69
std::string print() const override
basic print function
Definition: StarObjectSmallGraphic.cxx:562
SdrGraphicCaption()
constructor
Definition: StarObjectSmallGraphic.cxx:694
friend std::ostream & operator<<(std::ostream &o, StarObjectSmallGraphic const &graphic)
small operator<< to print the content of the small graphic object
Definition: StarObjectSmallGraphic.cxx:1717
std::vector< STOFFVec2i > m_polygon
the polygon
Definition: StarObjectSmallGraphic.cxx:1669
bool closeSCHHeader(std::string const &debugName)
close a zone header
Definition: StarZone.cxx:366
librevenge::RVNGString m_filenameLink
a picture link
Definition: libstaroffice_internal.hxx:456
bool m_flags[3]
some flags : active, dim[previous], isMovie
Definition: StarObjectSmallGraphic.cxx:1677
~SdrGraphicAttribute() override
destructor
Definition: StarObjectSmallGraphic.cxx:448
~SdrGraphicGroup() final
destructor
Definition: StarObjectSmallGraphic.cxx:521
T y() const
second element
Definition: libstaroffice_internal.hxx:598
SdrGraphicCircle(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:760
~SdrGraphicMeasure() final
destructor
Definition: StarObjectSmallGraphic.cxx:1119
STOFFVec2< T > size() const
the box size
Definition: libstaroffice_internal.hxx:995
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:485
int m_layerId
the layer id
Definition: StarObjectSmallGraphic.cxx:372
~SdrGraphic() override
destructor
Definition: StarObjectSmallGraphic.cxx:383
std::string print() const override
basic print function
Definition: StarObjectSmallGraphic.cxx:1585
SubDocumentType
Definition: libstaroffice_internal.hxx:185
bool readSVDRObjectMeasure(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicMeasure &graphic)
try to read the object measure zone
Definition: StarObjectSmallGraphic.cxx:2630
int m_column
the column
Definition: StarObjectSmallGraphic.cxx:1548
SubDocument(std::shared_ptr< OutlinerParaObject > &text)
Definition: StarObjectSmallGraphic.cxx:207
Internal: virtual class to store a Sdr graphic.
Definition: StarObjectSmallGraphic.cxx:286
librevenge::RVNGString m_unoName
the uno name
Definition: StarObjectSmallGraphic.cxx:1431
Definition: STOFFGraphicShape.hxx:49
a zone in a StarOffice file
Definition: StarZone.hxx:56
virtual ~Graphic()
destructor
Definition: StarObjectSmallGraphic.cxx:279
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
Internal: virtual class to store a Sdr graphic path.
Definition: StarObjectSmallGraphic.cxx:1275
~SdrGraphicCaption() final
destructor
Definition: StarObjectSmallGraphic.cxx:751
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
std::string print() const override
basic print function
Definition: StarObjectSmallGraphic.cxx:667
~StarObjectSmallGraphic() override
destructor
Definition: StarObjectSmallGraphic.cxx:1713
friend std::ostream & operator<<(std::ostream &o, SdrGraphic const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:350
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:767
bool readSVDRObjectRect(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicRect &graphic)
try to read the object rect zone
Definition: StarObjectSmallGraphic.cxx:2839
SdrGraphicEdge()
constructor
Definition: StarObjectSmallGraphic.cxx:871
STOFFBox2i m_bdbox
the bdbox
Definition: StarObjectSmallGraphic.cxx:370
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:700
std::string getName() const override
return the object name
Definition: StarObjectSmallGraphic.cxx:1574
GluePoint(int x=0, int y=0)
constructor
Definition: StarObjectSmallGraphic.cxx:73
STOFFVec2i m_anchorPosition
the anchor position
Definition: StarObjectSmallGraphic.cxx:374
std::shared_ptr< StarObjectSmallGraphicInternal::SdrGraphic > readSVDRObject(StarZone &zone, int identifier)
try to read a SVDr object
Definition: StarObjectSmallGraphic.cxx:1824
SdrGraphicGroup(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:458
std::vector< STOFFVec2i > m_captionPolygon
a polygon
Definition: StarObjectSmallGraphic.cxx:746
~SdrGraphicEdge() final
destructor
Definition: StarObjectSmallGraphic.cxx:939
Definition: STOFFDebug.hxx:194
the main class to read a small StarOffice text zone
Definition: StarObjectSmallText.hxx:58
int m_textShearWink
the shear wink
Definition: StarObjectSmallGraphic.cxx:618
bool m_isEditDoc
true if the object is a edit document
Definition: StarObjectSmallGraphic.cxx:199
~SdrGraphicOLE() final
destructor
Definition: StarObjectSmallGraphic.cxx:1231
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
std::shared_ptr< StarItem > m_measureItem
the measure attributes
Definition: StarObjectSmallGraphic.cxx:1116
STOFFVec2f m_offset
internal: an offset used to retrieve the local position in a DrawingLayer
Definition: STOFFPosition.hxx:151
Internal: virtual class to store a user data.
Definition: StarObjectSmallGraphic.cxx:1440
void setAnchor(AnchorTo anchor)
set the anchor
Definition: STOFFPosition.hxx:121
int m_id
the id
Definition: StarObjectSmallGraphic.cxx:1542
std::shared_ptr< StarItem > m_edgeItem
the edge attributes
Definition: StarObjectSmallGraphic.cxx:934
bool readSDRUserDataList(StarZone &zone, bool inRecord, std::vector< std::shared_ptr< StarObjectSmallGraphicInternal::SDRUserData > > &data)
try to read a SDR userData list
Definition: StarObjectSmallGraphic.cxx:3312
friend std::ostream & operator<<(std::ostream &o, SdrGraphicAttribute const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:430
STOFFBox2i m_graphRectangle
the rectangle
Definition: StarObjectSmallGraphic.cxx:1032
std::vector< std::shared_ptr< StarItem > > m_itemList
the list of star item
Definition: StarObjectSmallGraphic.cxx:443
STOFFPosition m_position
the position
Definition: STOFFFrameStyle.hxx:73
bool readSDRObjectSurrogate(StarZone &zone)
try to read a SDR object surrogate
Definition: StarObjectSmallGraphic.cxx:2999
std::vector< StarGraphicStruct::StarPolygon > m_pathPolygons
the path polygon
Definition: StarObjectSmallGraphic.cxx:1304
Internal: virtual class to store a Sdr graphic uno.
Definition: StarObjectSmallGraphic.cxx:1405
std::string print() const override
basic print function
Definition: StarObjectSmallGraphic.cxx:401
std::string getName() const override
return the object name
Definition: StarObjectSmallGraphic.cxx:1449
bool readSDROutlinerParaObject(StarZone &zone, StarObjectSmallGraphicInternal::OutlinerParaObject &object)
try to read a outliner para object
Definition: StarObjectSmallGraphic.cxx:3045
int m_textDrehWink
the dreh wink: rotation?
Definition: StarObjectSmallGraphic.cxx:616
bool readSVDRObjectPath(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicPath &graphic)
try to read the object path zone
Definition: StarObjectSmallGraphic.cxx:2744
std::string getName() const override
return the object name
Definition: StarObjectSmallGraphic.cxx:303
int m_adjust
the adjust data
Definition: StarObjectSmallGraphic.cxx:1544
std::shared_ptr< STOFFOLEParser > m_oleParser
the ole parser
Definition: StarObjectSmallGraphic.cxx:1228
STOFFColor m_colors[2]
the colors
Definition: StarObjectSmallGraphic.cxx:1675
STOFFBox2i m_textBound
the text bound
Definition: StarObjectSmallGraphic.cxx:622
State()
constructor
Definition: StarObjectSmallGraphic.cxx:1694
void parse(STOFFListenerPtr &listener, libstoff::SubDocumentType type) final
the parser function
Definition: StarObjectSmallGraphic.cxx:232
Information m_info
the information record
Definition: StarObjectSmallGraphic.cxx:936
Internal: virtual class to store a Sdr graphic OLE.
Definition: StarObjectSmallGraphic.cxx:1124
std::shared_ptr< Graphic > m_graphic
the graphic object
Definition: StarObjectSmallGraphic.cxx:1699
~SdrGraphicText() override
destructor
Definition: StarObjectSmallGraphic.cxx:625
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:960
STOFFVec2< float > STOFFVec2f
STOFFVec2 of float.
Definition: libstaroffice_internal.hxx:767
friend std::ostream & operator<<(std::ostream &o, SDUDGraphic const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1592
SdrGraphicText(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:531
Internal: the structures of a StarObjectSmallGraphic.
Definition: StarObjectSmallGraphic.cxx:65
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:1248
Internal: virtual class to store a Sdr graphic attribute.
Definition: StarObjectSmallGraphic.cxx:388
Definition: STOFFGraphicShape.hxx:49
int m_direction
the esc direction
Definition: StarObjectSmallGraphic.cxx:94
friend std::ostream & operator<<(std::ostream &o, SDUDGraphicAnimation const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1628
Definition: STOFFGraphicShape.hxx:49
librevenge::RVNGString m_colorName
the color name
Definition: StarObjectSmallGraphic.cxx:137
Internal: the state of a StarObjectSmallGraphic.
Definition: StarObjectSmallGraphic.cxx:1692
int m_version
the version
Definition: StarObjectSmallGraphic.cxx:191
std::vector< int > m_edgePolygonFlags
the edge polygon flags
Definition: StarObjectSmallGraphic.cxx:931
std::ostream & operator<<(std::ostream &o, StarObjectSmallGraphic const &graphic)
Definition: StarObjectSmallGraphic.cxx:1717
bool m_hasGraphicLink
flag to know if the image has a graphic link
Definition: StarObjectSmallGraphic.cxx:1038
int m_eckRag
the eckRag?
Definition: StarObjectSmallGraphic.cxx:681
bool readSDRGluePoint(StarZone &zone, StarObjectSmallGraphicInternal::GluePoint &point)
try to read a SDR gluepoint
Definition: StarObjectSmallGraphic.cxx:3180
Definition: STOFFPosition.hxx:51
std::shared_ptr< StarObjectSmallText > m_textZone
list of text zone: version==4
Definition: StarObjectSmallGraphic.cxx:195
std::shared_ptr< STOFFOLEParser > m_oleParser
the ole parser
Definition: StarObject.hxx:143
int m_groupDrehWink
the dreh wink: rotation?
Definition: StarObjectSmallGraphic.cxx:516
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:724
std::shared_ptr< OutlinerParaObject > m_outlinerParaObject
the outliner object
Definition: StarObjectSmallGraphic.cxx:620
librevenge::RVNGString m_oleNames[2]
the persist and the program name
Definition: StarObjectSmallGraphic.cxx:1224
STOFFVec2i m_measurePoints[2]
the points
Definition: StarObjectSmallGraphic.cxx:1112
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:471
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool inPageMaster=false)
try to send a object to the listener
Definition: StarObjectSmallGraphic.cxx:1724
a structure to keep a point and a flag
Definition: StarGraphicStruct.hxx:126
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:1062
bool m_hasRefPoint
flag to know if we use the ref point
Definition: StarObjectSmallGraphic.cxx:514
static void addPos(long)
Definition: STOFFDebug.hxx:223
std::shared_ptr< StarObjectSmallText > m_text
the text
Definition: StarObjectSmallGraphic.cxx:129
static void addDelimiter(long, char)
Definition: STOFFDebug.hxx:225
~SdrGraphicUno() final
destructor
Definition: StarObjectSmallGraphic.cxx:1434
bool readSVDRObjectOLE(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicOLE &graphic)
try to read the object OLE zone
Definition: StarObjectSmallGraphic.cxx:2672
~SdrGraphicPage() override
destructor
Definition: StarObjectSmallGraphic.cxx:1270
Internal: virtual class to store a SDUD graphic.
Definition: StarObjectSmallGraphic.cxx:1563
Internal: virtual class to store a SDUD graphic animation.
Definition: StarObjectSmallGraphic.cxx:1604
float m_angles[2]
the two angles
Definition: StarObjectSmallGraphic.cxx:826
bool readSVDRObjectEdge(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicEdge &graphic)
try to read the object edge zone
Definition: StarObjectSmallGraphic.cxx:2171
std::shared_ptr< GlobalState > m_global
global state
Definition: StarState.hxx:165
librevenge::RVNGString m_groupName
the group name
Definition: StarObjectSmallGraphic.cxx:508
friend std::ostream & operator<<(std::ostream &o, SdrGraphicEdge const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:884
Definition: STOFFDebug.hxx:210
~SdrGraphicGraph() override
destructor
Definition: StarObjectSmallGraphic.cxx:1043
bool send(STOFFListenerPtr &, STOFFFrameStyle const &, StarObject &, bool) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:1255
AnchorTo m_anchorTo
anchor position
Definition: STOFFPosition.hxx:145
bool closeRecord(std::string const &debugName)
try to close a record
Definition: StarZone.hxx:147
STOFFVec2i m_refPoint
the ref point
Definition: StarObjectSmallGraphic.cxx:512
friend std::ostream & operator<<(std::ostream &o, SdrGraphicUno const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1424
std::shared_ptr< StarObjectSmallGraphicInternal::SDRUserData > readSDRUserData(StarZone &zone, bool inRecord)
try to read a SDR userData
Definition: StarObjectSmallGraphic.cxx:3243
void addStyleTo(librevenge::RVNGPropertyList &propList) const
add style to the propList
Definition: STOFFFrameStyle.cxx:66
Internal: the subdocument of a StarObjectSmallGraphic.
Definition: StarObjectSmallGraphic.cxx:204
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:1417
SDUDGraphicAnimation()
constructor
Definition: StarObjectSmallGraphic.cxx:1608
bool m_mirrored
flag to know if the image is mirrored
Definition: StarObjectSmallGraphic.cxx:1036
SDUDGraphic(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:1567
std::shared_ptr< OutlinerParaObject > m_text
the text
Definition: StarObjectSmallGraphic.cxx:229
std::shared_ptr< StarObjectSmallGraphicInternal::SDRUserData > readSDUDObject(StarZone &zone, int identifier)
try to read a SDDU object
Definition: StarObjectSmallGraphic.cxx:3468
#define M_PI
Definition: libstaroffice_internal.hxx:52
friend std::ostream & operator<<(std::ostream &o, SdrGraphicRect const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:674
int m_align
the alignment
Definition: StarObjectSmallGraphic.cxx:98
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
friend std::ostream & operator<<(std::ostream &o, SdrGraphicOLE const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1208
std::shared_ptr< StarObjectSmallGraphicInternal::SDRUserData > readSCHUObject(StarZone &zone, int identifier)
try to read a SCHU object
Definition: StarObjectSmallGraphic.cxx:3407
int m_orientation
the orientation
Definition: StarObjectSmallGraphic.cxx:1546
bool readSVDRObjectText(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicText &graphic)
try to read the object text zone
Definition: StarObjectSmallGraphic.cxx:2867
virtual std::string getName() const =0
return the object name
Internal: virtual class to store a Sdr graphic group.
Definition: StarObjectSmallGraphic.cxx:454
std::vector< int > m_depthList
list of depth data
Definition: StarObjectSmallGraphic.cxx:197
virtual bool send(STOFFListenerPtr &, STOFFFrameStyle const &, StarObject &, bool)
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:266
~SCHUGraphic() final
destructor
Definition: StarObjectSmallGraphic.cxx:1557
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool inMasterPage) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:1144
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:1069
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
small struct use to define a Zone: v<=3
Definition: StarObjectSmallGraphic.cxx:108
SDRUserData(int id=-1)
Definition: StarObjectSmallGraphic.cxx:1444
SdrGraphicRect(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:635
Definition: StarItemPool.hxx:75
Definition: STOFFPosition.hxx:51
bool readSVDRObjectCircle(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicCircle &graphic)
try to read the object circle zone
Definition: StarObjectSmallGraphic.cxx:2128
STOFFVec2< int > STOFFVec2i
STOFFVec2 of int.
Definition: libstaroffice_internal.hxx:763
bool readSVDRObjectHeader(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphic &graphic)
try to read the first zone of SVDr object
Definition: StarObjectSmallGraphic.cxx:2293
bool readSVDRObjectAttrib(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicAttribute &graphic)
try to read the object attrib zone
Definition: StarObjectSmallGraphic.cxx:2000
double m_factor
the factor
Definition: StarObjectSmallGraphic.cxx:1552
SdrGraphicPage()
constructor
Definition: StarObjectSmallGraphic.cxx:1240
friend std::ostream & operator<<(std::ostream &o, SdrGraphicPage const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1261
friend std::ostream & operator<<(std::ostream &o, SdrGraphicText const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:600
void setOrigin(STOFFVec2f const &origin)
utility function to set a origin in point
Definition: STOFFPosition.hxx:101
std::shared_ptr< StarItem > m_circleItem
the circle attributes
Definition: StarObjectSmallGraphic.cxx:828
static STOFFColor white()
return the white color
Definition: libstaroffice_internal.hxx:238
Definition: StarItemPool.hxx:75
the main class to read a small StarOffice graphic zone
Definition: StarObjectSmallGraphic.hxx:81
std::string print() const override
basic print function
Definition: StarObjectSmallGraphic.cxx:343
long getRecordLastPosition() const
returns the actual record last position
Definition: StarZone.hxx:200
std::vector< std::shared_ptr< StarObjectSmallGraphicInternal::SDRUserData > > m_userDataList
the user data list
Definition: StarObjectSmallGraphic.cxx:380
std::vector< STOFFVec2i > m_edgePolygon
the edge polygon
Definition: StarObjectSmallGraphic.cxx:929
std::shared_ptr< StarObjectSmallGraphicInternal::State > m_graphicState
the state
Definition: StarObjectSmallGraphic.hxx:157
Internal: virtual class to store a Sdr graphic edge.
Definition: StarObjectSmallGraphic.cxx:836
librevenge::RVNGString m_names[3]
the names : sound file, bookmark, sound file[second]
Definition: StarObjectSmallGraphic.cxx:1681
StarState getState(StarObject &object, STOFFListenerPtr listener, STOFFFrameStyle const &) const
return a pool corresponding to an object
Definition: StarObjectSmallGraphic.cxx:321
bool readSDRGluePointList(StarZone &zone, std::vector< StarObjectSmallGraphicInternal::GluePoint > &listPoints)
try to read a SDR gluepoint list
Definition: StarObjectSmallGraphic.cxx:3211
bool isEmpty() const
return true if the picture contains no data
Definition: libstaroffice_internal.hxx:422
Internal: virtual class to store a Sdr graphic caption.
Definition: StarObjectSmallGraphic.cxx:690
OutlinerParaObject()
constructor
Definition: StarObjectSmallGraphic.cxx:140
int getHeaderVersion() const
returns the StarOffice header version (if set)
Definition: StarZone.hxx:94
void add(librevenge::RVNGBinaryData const &binaryData, std::string const &type="image/pict")
add a picture
Definition: libstaroffice_internal.hxx:433
StarObjectSmallGraphic(StarObject const &orig, bool duplicateState)
constructor
Definition: StarObjectSmallGraphic.cxx:1707
SdrGraphicMeasure()
constructor
Definition: StarObjectSmallGraphic.cxx:1053
Generated on Mon Jan 20 2020 23:02:17 for libstaroffice by
doxygen 1.8.16