StarObjectSmallGraphic.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; c-default-style: "k&r"; indent-tabs-mode: nil; tab-width: 2; c-basic-offset: 2 -*- */
2
3 /* libstaroffice
4 * Version: MPL 2.0 / LGPLv2+
5 *
6 * The contents of this file are subject to the Mozilla Public License Version
7 * 2.0 (the "License"); you may not use this file except in compliance with
8 * the License or as specified alternatively below. You may obtain a copy of
9 * the License at http://www.mozilla.org/MPL/
10 *
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
14 * License.
15 *
16 * Major Contributor(s):
17 * Copyright (C) 2002 William Lachance (wrlach@gmail.com)
18 * Copyright (C) 2002,2004 Marc Maurer (uwog@uwog.net)
19 * Copyright (C) 2004-2006 Fridrich Strba (fridrich.strba@bluewin.ch)
20 * Copyright (C) 2006, 2007 Andrew Ziem
21 * Copyright (C) 2011, 2012 Alonso Laurent (alonso@loria.fr)
22 *
23 *
24 * All Rights Reserved.
25 *
26 * For minor contributions see the git repository.
27 *
28 * Alternatively, the contents of this file may be used under the terms of
29 * the GNU Lesser General Public License Version 2 or later (the "LGPLv2+"),
30 * in which case the provisions of the LGPLv2+ are applicable
31 * instead of those above.
32 */
33
34 /*
35 * Parser to convert a small graphic zone/OLE in a StarOffice document
36 *
37 */
38 #ifndef STAR_OBJECT_SMALL_GRAPHIC
39 # define STAR_OBJECT_SMALL_GRAPHIC
40
41 #include <vector>
42
43 #include "libstaroffice_internal.hxx"
44 #include "StarObject.hxx"
45
46 namespace StarObjectSmallGraphicInternal
47 {
48 class GluePoint;
49 class OutlinerParaObject;
50
51 class Graphic;
52 // SDR graphic
53 class SdrGraphic;
54 class SdrGraphicAttribute;
55 class SdrGraphicCaption;
56 class SdrGraphicCircle;
57 class SdrGraphicEdge;
58 class SdrGraphicGraph;
59 class SdrGraphicGroup;
60 class SdrGraphicMeasure;
61 class SdrGraphicOLE;
62 class SdrGraphicPath;
63 class SdrGraphicRect;
64 class SdrGraphicText;
65
66 // SDR User data
67 class SDRUserData;
68
69 struct State;
70 }
71
72 class STOFFFrameStyle;
73
74 class StarZone;
75
81 class StarObjectSmallGraphic : public StarObject
82 {
83 public:
85 StarObjectSmallGraphic(StarObject const &orig, bool duplicateState);
87 ~StarObjectSmallGraphic() override;
89 bool readSdrObject(StarZone &zone);
91 bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool inPageMaster=false);
93 friend std::ostream &operator<<(std::ostream &o, StarObjectSmallGraphic const &graphic);
94
95 protected:
96 //
97 // low level
98 //
100 std::shared_ptr<StarObjectSmallGraphicInternal::SdrGraphic> readSVDRObject(StarZone &zone, int identifier);
102 bool readSVDRObjectHeader(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphic &graphic);
104 bool readSVDRObjectAttrib(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicAttribute &graphic);
106 bool readSVDRObjectText(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicText &graphic);
108 bool readSVDRObjectRect(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicRect &graphic);
110 bool readSVDRObjectCaption(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicCaption &graphic);
112 bool readSVDRObjectCircle(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicCircle &graphic);
114 bool readSVDRObjectEdge(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicEdge &graphic);
116 bool readSVDRObjectGraph(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicGraph &graphic);
118 bool readSVDRObjectGroup(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicGroup &graphic);
120 bool readSVDRObjectMeasure(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicMeasure &graphic);
122 bool readSVDRObjectOLE(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicOLE &graphic);
124 bool readSVDRObjectPath(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicPath &graphic);
125
127 bool readSDRGluePoint(StarZone &zone, StarObjectSmallGraphicInternal::GluePoint &point);
129 bool readSDRGluePointList(StarZone &zone, std::vector<StarObjectSmallGraphicInternal::GluePoint> &listPoints);
131 bool readSDRObjectConnection(StarZone &zone);
133 bool readSDRObjectSurrogate(StarZone &zone);
135 bool readSDROutlinerParaObject(StarZone &zone, StarObjectSmallGraphicInternal::OutlinerParaObject &object);
137 std::shared_ptr<StarObjectSmallGraphicInternal::SDRUserData> readSDRUserData(StarZone &zone, bool inRecord);
139 bool readSDRUserDataList(StarZone &zone, bool inRecord,
140 std::vector<std::shared_ptr<StarObjectSmallGraphicInternal::SDRUserData> > &data);
141
143 std::shared_ptr<StarObjectSmallGraphicInternal::Graphic> readFmFormObject(StarZone &zone, int identifier);
144
146 std::shared_ptr<StarObjectSmallGraphicInternal::SDRUserData> readSCHUObject(StarZone &zone, int identifier);
147
149 std::shared_ptr<StarObjectSmallGraphicInternal::SDRUserData> readSDUDObject(StarZone &zone, int identifier);
150
151 protected:
152 //
153 // data
154 //
155
157 std::shared_ptr<StarObjectSmallGraphicInternal::State> m_graphicState;
158 private:
159 StarObjectSmallGraphic &operator=(StarObjectSmallGraphic const &orig) = delete;
160 };
161 #endif
162 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
StarFileManager.hxx
StarObjectSmallGraphicInternal::SdrGraphicPage
Internal: virtual class to store a Sdr graphic page.
Definition: StarObjectSmallGraphic.cxx:1236
STOFFListenerPtr
std::shared_ptr< STOFFListener > STOFFListenerPtr
a smart pointer of STOFFListener
Definition: libstaroffice_internal.hxx:491
STOFFGraphicStyle::m_propertyList
librevenge::RVNGPropertyList m_propertyList
the property list
Definition: STOFFGraphicStyle.hxx:66
StarObjectSmallGraphicInternal::SdrGraphicGroup::m_child
std::vector< std::shared_ptr< StarObjectSmallGraphic > > m_child
the child
Definition: StarObjectSmallGraphic.cxx:510
StarObjectSmallGraphicInternal::SubDocument::operator!=
bool operator!=(STOFFSubDocument const &doc) const final
operator!=
Definition: StarObjectSmallGraphic.cxx:215
StarObjectSmallGraphicInternal::SdrGraphic::m_flags
bool m_flags[6]
a list of flag
Definition: StarObjectSmallGraphic.cxx:378
StarObjectSmallGraphicInternal::SDUDGraphicAnimation::~SDUDGraphicAnimation
~SDUDGraphicAnimation() override
destructor
Definition: StarObjectSmallGraphic.cxx:1687
StarObjectSmallGraphic::readSVDRObjectGroup
bool readSVDRObjectGroup(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicGroup &graphic)
try to read the object group zone
Definition: StarObjectSmallGraphic.cxx:2539
StarObjectSmallGraphicInternal::SdrGraphicOLE::print
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:1137
StarState::m_graphic
STOFFGraphicStyle m_graphic
the graphic style
Definition: StarState.hxx:177
StarObjectSmallGraphicInternal::SdrGraphicText
Internal: virtual class to store a Sdr graphic text.
Definition: StarObjectSmallGraphic.cxx:527
StarObjectSmallGraphicInternal::SDUDGraphicAnimation::m_booleans
bool m_booleans[5]
some bool : hasSound, playFull, sound[second], playFull[second], dim[hide]
Definition: StarObjectSmallGraphic.cxx:1679
STOFFPosition::setSize
void setSize(STOFFVec2f const &size)
utility function to set a size in point
Definition: STOFFPosition.hxx:108
StarObjectSmallGraphicInternal::SdrGraphicEdge::Information::Information
Information()
constructor
Definition: StarObjectSmallGraphic.cxx:842
StarObjectSmallGraphicInternal::SdrGraphicEdge::Information::m_angles
int m_angles[2]
two angles
Definition: StarObjectSmallGraphic.cxx:864
StarFileManager::readOLEDirectory
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
STOFFVec2< int >
StarGraphicStruct::StarPolygon::addToPath
void addToPath(librevenge::RVNGPropertyListVector &path, bool isClosed, double relUnit, STOFFVec2f const &decal) const
add the polygon to a path
Definition: StarGraphicStruct.cxx:678
StarObjectSmallGraphicInternal::SdrGraphicEdge::print
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:877
StarObjectSmallGraphicInternal::SdrGraphicText::m_textKind
int m_textKind
the text kind
Definition: StarObjectSmallGraphic.cxx:612
STOFFEntry
basic class to store an entry in a file This contained :
Definition: STOFFEntry.hxx:46
libstoff::getString
librevenge::RVNGString getString(std::vector< uint32_t > const &unicode)
transform a unicode string in a RNVGString
Definition: libstaroffice_internal.cxx:63
StarGraphicStruct::StarPolygon::m_points
std::vector< Point > m_points
the list of points
Definition: StarGraphicStruct.hxx:191
StarObjectSmallGraphicInternal::OutlinerParaObject::Zone::m_depth
int m_depth
the depth
Definition: StarObjectSmallGraphic.cxx:131
StarObjectSmallGraphicInternal::OutlinerParaObject::operator<<
friend std::ostream & operator<<(std::ostream &o, OutlinerParaObject const &obj)
operator<<
Definition: StarObjectSmallGraphic.cxx:149
StarObjectSmallGraphicInternal::OutlinerParaObject::Zone::m_backgroundColor
STOFFColor m_backgroundColor
the background color
Definition: StarObjectSmallGraphic.cxx:133
StarObjectSmallGraphicInternal::SDUDGraphicAnimation::m_limits
STOFFVec2i m_limits[2]
the limits start, end
Definition: StarObjectSmallGraphic.cxx:1671
StarObjectSmallGraphicInternal::GluePoint::operator<<
friend std::ostream & operator<<(std::ostream &o, GluePoint const &pt)
operator<<
Definition: StarObjectSmallGraphic.cxx:82
StarObjectSmallGraphicInternal::SdrGraphicCaption::operator<<
friend std::ostream & operator<<(std::ostream &o, SdrGraphicCaption const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:707
StarZone::ascii
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
StarObjectSmallGraphicInternal::SdrGraphicEdge::send
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:907
StarObjectSmallGraphicInternal::SCHUGraphic
Internal: virtual class to store a SCHU graphic.
Definition: StarObjectSmallGraphic.cxx:1463
StarState::convertVectorInPoint
STOFFVec2f convertVectorInPoint(STOFFVec2f const &val) const
return the relative units
Definition: StarState.hxx:160
STOFFGraphicShape::C_Rectangle
@ C_Rectangle
Definition: STOFFGraphicShape.hxx:49
StarObjectSmallGraphicInternal::SdrGraphicMeasure::updateStyle
void updateStyle(StarState &state, STOFFListenerPtr listener) const
try to update the style
Definition: StarObjectSmallGraphic.cxx:1090
StarObjectSmallGraphicInternal::SdrGraphicGraph::send
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool inMasterPage) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:967
StarObjectSmallGraphicInternal::SDUDGraphicAnimation::print
std::string print() const override
basic print function
Definition: StarObjectSmallGraphic.cxx:1621
STOFF_DEBUG_MSG
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
StarZone::openRecord
bool openRecord()
try to open a classic record: size (32 bytes) + size-4 bytes
Definition: StarZone.cxx:455
StarObjectSmallGraphicInternal::OutlinerParaObject::Zone::operator<<
friend std::ostream & operator<<(std::ostream &o, Zone const &zone)
operator<<
Definition: StarObjectSmallGraphic.cxx:119
StarObjectSmallGraphic::operator=
StarObjectSmallGraphic & operator=(StarObjectSmallGraphic const &orig)=delete
StarObjectSmallGraphicInternal::SdrGraphicPath::SdrGraphicPath
SdrGraphicPath(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:1279
StarObjectSmallGraphicInternal::SdrGraphicPath::send
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:1307
StarGraphicStruct::StarGraphic
Class to store a graphic.
Definition: StarGraphicStruct.hxx:104
StarObjectSmallGraphicInternal::OutlinerParaObject::send
bool send(STOFFListenerPtr &listener)
try to send the text to the listener
Definition: StarObjectSmallGraphic.cxx:169
STOFFGraphicShape::m_command
Command m_command
the command
Definition: STOFFGraphicShape.hxx:65
StarState::m_frame
STOFFFrameStyle m_frame
the frame style
Definition: StarState.hxx:175
STOFFBox2f
STOFFBox2< float > STOFFBox2f
STOFFBox2 of float.
Definition: libstaroffice_internal.hxx:1135
StarObjectSmallGraphicInternal::SDUDGraphicAnimation::m_order
int m_order
the presentation order
Definition: StarObjectSmallGraphic.cxx:1683
StarGraphicStruct::StarPolygon
Class to store a polygon.
Definition: StarGraphicStruct.hxx:122
StarObjectSmallGraphicInternal::SdrGraphicOLE::SdrGraphicOLE
SdrGraphicOLE(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:1128
StarObjectSmallGraphicInternal::SdrGraphicMeasure::operator<<
friend std::ostream & operator<<(std::ostream &o, SdrGraphicMeasure const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1097
StarObjectSmallGraphicInternal::SDUDGraphic::~SDUDGraphic
~SDUDGraphic() override
destructor
Definition: StarObjectSmallGraphic.cxx:1599
StarObjectSmallGraphicInternal::SdrGraphicText::updateTransformProperties
void updateTransformProperties(librevenge::RVNGPropertyList &list, double relUnit) const
try to update the transformation
Definition: StarObjectSmallGraphic.cxx:544
StarZone::closeSDRHeader
bool closeSDRHeader(std::string const &debugName)
close a zone header
Definition: StarZone.cxx:436
StarObjectSmallGraphicInternal::SdrGraphicGraph::m_graphic
std::shared_ptr< StarGraphicStruct::StarGraphic > m_graphic
the graphic
Definition: StarObjectSmallGraphic.cxx:1030
StarObjectSmallGraphicInternal::SdrGraphicGraph
Internal: virtual class to store a Sdr graphic graph.
Definition: StarObjectSmallGraphic.cxx:944
StarObjectSmallGraphicInternal::SdrGraphic::SdrGraphic
SdrGraphic(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:290
StarItemStyle::F_Paragraph
@ F_Paragraph
Definition: StarItem.hxx:120
STOFFGraphicShape::C_Polygon
@ C_Polygon
Definition: STOFFGraphicShape.hxx:49
StarObjectSmallGraphicInternal::OutlinerParaObject::Zone::m_background
STOFFEmbeddedObject m_background
the background bitmap
Definition: StarObjectSmallGraphic.cxx:135
STOFFGraphicShape::m_propertyList
librevenge::RVNGPropertyList m_propertyList
the property
Definition: STOFFGraphicShape.hxx:69
StarObjectSmallGraphicInternal::SdrGraphicMeasure
Internal: virtual class to store a Sdr graphic edge.
Definition: StarObjectSmallGraphic.cxx:1049
StarObjectSmallGraphicInternal::SCHUGraphic::operator<<
friend std::ostream & operator<<(std::ostream &o, SCHUGraphic const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1513
StarGraphicStruct.hxx
StarObjectSmallGraphicInternal::SCHUGraphic::m_row
int m_row
the row
Definition: StarObjectSmallGraphic.cxx:1550
STOFFSubDocument
abstract class used to store a subdocument (with a comparison function)
Definition: STOFFSubDocument.hxx:41
StarObjectSmallGraphicInternal::Graphic::Graphic
Graphic(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:252
STOFFGraphicShape
a structure used to define a picture shape
Definition: STOFFGraphicShape.hxx:45
StarObjectSmallGraphicInternal::SdrGraphicText::sendTextZone
bool sendTextZone(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object)
try to send the text zone to the listener
Definition: StarObjectSmallGraphic.cxx:569
StarObjectSmallGraphicInternal::SdrGraphicPath::print
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:1287
StarObjectSmallGraphicInternal::SdrGraphicCaption::m_captionItem
std::shared_ptr< StarItem > m_captionItem
the caption attributes
Definition: StarObjectSmallGraphic.cxx:748
STOFFFrameStyle
Class to store a frame style.
Definition: STOFFFrameStyle.hxx:45
STOFFVec2::x
T x() const
first element
Definition: libstaroffice_internal.hxx:597
StarObjectSmallGraphicInternal::SdrGraphicCircle::updateStyle
void updateStyle(StarState &state, STOFFListenerPtr listener) const
try to update the style
Definition: StarObjectSmallGraphic.cxx:806
StarObjectSmallGraphicInternal::SdrGraphicPage::m_page
int m_page
the page
Definition: StarObjectSmallGraphic.cxx:1267
STOFFPosition::m_origin
STOFFVec2f m_origin
the origin in point
Definition: STOFFPosition.hxx:147
StarObjectSmallGraphicInternal::Graphic::print
virtual std::string print() const
basic print function
Definition: StarObjectSmallGraphic.cxx:259
StarObjectSmallGraphicInternal::SdrGraphicAttribute::m_sheetStyle
librevenge::RVNGString m_sheetStyle
the sheet style name
Definition: StarObjectSmallGraphic.cxx:445
STOFFBox2i
STOFFBox2< int > STOFFBox2i
STOFFBox2 of int.
Definition: libstaroffice_internal.hxx:1133
StarObjectSmallGraphicInternal::SCHUGraphic::print
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:1494
StarObjectSmallText.hxx
StarObjectSmallGraphicInternal::SdrGraphic::m_polygon
std::vector< GluePoint > m_polygon
a polygon
Definition: StarObjectSmallGraphic.cxx:376
StarObjectSmallGraphicInternal::SdrGraphicCircle
Internal: virtual class to store a Sdr graphic circle.
Definition: StarObjectSmallGraphic.cxx:756
StarObjectSmallGraphicInternal::SdrGraphic::updateStyle
void updateStyle(StarState &state, STOFFListenerPtr) const
try to update the graphic style
Definition: StarObjectSmallGraphic.cxx:330
StarObjectSmallGraphicInternal::SdrGraphicAttribute::SdrGraphicAttribute
SdrGraphicAttribute(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:392
StarObject::getNewItemPool
std::shared_ptr< StarItemPool > getNewItemPool(StarItemPool::Type type)
returns a new item pool for this document
Definition: StarObject.cxx:142
StarObjectSmallGraphicInternal::GluePoint::m_dimension
STOFFVec2i m_dimension
the dimension
Definition: StarObjectSmallGraphic.cxx:92
StarObjectSmallGraphicInternal::SCHUGraphic::send
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool inMasterPage) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:1501
StarObjectSmallGraphic::readSdrObject
bool readSdrObject(StarZone &zone)
try to read a object zone: "DrOb'
Definition: StarObjectSmallGraphic.cxx:1745
StarObjectSmallGraphicInternal::SdrGraphicCircle::~SdrGraphicCircle
~SdrGraphicCircle() final
destructor
Definition: StarObjectSmallGraphic.cxx:831
StarObjectSmallGraphicInternal::SdrGraphicGraph::SdrGraphicGraph
SdrGraphicGraph()
constructor
Definition: StarObjectSmallGraphic.cxx:948
StarZone::readString
bool readString(std::vector< uint32_t > &string, int encoding=-1) const
try to read an unicode string
Definition: StarZone.hxx:220
StarObjectSmallGraphicInternal::SdrGraphicUno::SdrGraphicUno
SdrGraphicUno()
constructor
Definition: StarObjectSmallGraphic.cxx:1409
StarObjectSmallGraphicInternal::SCHUGraphic::SCHUGraphic
SCHUGraphic(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:1467
StarObjectSmallGraphicInternal::OutlinerParaObject
Internal: virtual class to store a outliner paragraph object.
Definition: StarObjectSmallGraphic.cxx:104
StarObjectSmallGraphicInternal::SdrGraphicGroup::send
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool inMasterPage) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:478
StarObjectSmallGraphicInternal::SubDocument::~SubDocument
~SubDocument() final
destructor
Definition: StarObjectSmallGraphic.cxx:212
STOFFBox2< int >
STOFFGraphicShape::C_Ellipse
@ C_Ellipse
Definition: STOFFGraphicShape.hxx:49
StarObjectSmallGraphicInternal::SdrGraphicGraph::m_graphNames
librevenge::RVNGString m_graphNames[3]
the name, filename, the filtername
Definition: StarObjectSmallGraphic.cxx:1034
StarObjectSmallGraphicInternal::SdrGraphicCircle::send
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:774
StarObjectSmallGraphicInternal::Graphic
Internal: virtual class to store a graphic.
Definition: StarObjectSmallGraphic.cxx:248
StarObjectSmallGraphicInternal::SdrGraphicRect
Internal: virtual class to store a Sdr graphic rectangle.
Definition: StarObjectSmallGraphic.cxx:631
StarObjectSmallGraphicInternal::OutlinerParaObject::Zone::Zone
Zone()
constructor
Definition: StarObjectSmallGraphic.cxx:110
StarObjectSmallGraphicInternal::SdrGraphicPath::operator<<
friend std::ostream & operator<<(std::ostream &o, SdrGraphicPath const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1294
StarObjectSmallGraphicInternal::SdrGraphicText::m_textRectangle
STOFFBox2i m_textRectangle
the text rectangle
Definition: StarObjectSmallGraphic.cxx:614
StarZone::openSCHHeader
bool openSCHHeader()
open a zone header present in a SCH file
Definition: StarZone.cxx:341
STOFFColor
the class to store a color
Definition: libstaroffice_internal.hxx:189
StarObjectSmallGraphicInternal::SCHUGraphic::m_group
std::shared_ptr< SdrGraphicGroup > m_group
the group node
Definition: StarObjectSmallGraphic.cxx:1554
STOFFPosition
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: STOFFPosition.hxx:47
StarBitmap::readBitmap
bool readBitmap(StarZone &zone, bool inFileHeader, long lastPos, librevenge::RVNGBinaryData &data, std::string &type)
low level
Definition: StarBitmap.cxx:214
StarObjectSmallGraphicInternal::SDRUserData::print
std::string print() const override
basic print function
Definition: StarObjectSmallGraphic.cxx:1457
StarObjectSmallGraphicInternal::SdrGraphicGraph::updateStyle
void updateStyle(StarState &state, STOFFListenerPtr listener) const
try to update the style
Definition: StarObjectSmallGraphic.cxx:999
StarObjectSmallGraphicInternal::SdrGraphicMeasure::m_overwritten
bool m_overwritten
overwritten flag
Definition: StarObjectSmallGraphic.cxx:1114
StarObjectSmallGraphicInternal::SdrGraphicEdge::Information::m_orthoForm
int m_orthoForm
orthogonal form
Definition: StarObjectSmallGraphic.cxx:868
StarObjectSmallGraphicInternal::SdrGraphicGroup::operator<<
friend std::ostream & operator<<(std::ostream &o, SdrGraphicGroup const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:497
StarObjectSmallGraphicInternal::GluePoint::m_id
int m_id
the id
Definition: StarObjectSmallGraphic.cxx:96
StarBitmap
the main class to read/.
Definition: StarBitmap.hxx:62
StarState
class to store an state: ie.
Definition: StarState.hxx:67
StarObjectSmallGraphicInternal::SCHUGraphic::getName
std::string getName() const final
return the object name
Definition: StarObjectSmallGraphic.cxx:1481
StarObjectSmallGraphicInternal::GluePoint::m_percent
bool m_percent
a flag to know if this is percent
Definition: StarObjectSmallGraphic.cxx:100
StarObjectSmallGraphicInternal::SdrGraphicCircle::operator<<
friend std::ostream & operator<<(std::ostream &o, SdrGraphicCircle const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:813
StarObjectSmallGraphicInternal::OutlinerParaObject::m_zones
std::vector< Zone > m_zones
the list of zones: version<=3
Definition: StarObjectSmallGraphic.cxx:193
StarObjectSmallGraphicInternal::Graphic::m_identifier
int m_identifier
the type
Definition: StarObjectSmallGraphic.cxx:276
STOFFEmbeddedObject
small class use to define a embedded object
Definition: libstaroffice_internal.hxx:408
libstaroffice_internal.hxx
StarObjectSmallGraphic::readSVDRObjectCaption
bool readSVDRObjectCaption(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicCaption &graphic)
try to read the object caption zone
Definition: StarObjectSmallGraphic.cxx:2075
StarObjectSmallGraphicInternal::SDUDGraphicAnimation::m_values
int m_values[8]
the values: presentation effect, speed, clickAction, presentation effect[second], speed[second],...
Definition: StarObjectSmallGraphic.cxx:1673
StarObjectSmallGraphicInternal::SdrGraphicGraph::operator<<
friend std::ostream & operator<<(std::ostream &o, SdrGraphicGraph const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1006
StarState::convertPointInPoint
STOFFVec2f convertPointInPoint(STOFFVec2f const &val) const
return the relative units
Definition: StarState.hxx:155
StarObjectSmallGraphicInternal::SdrGraphicRect::send
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool inMasterPage) override
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:643
StarObjectSmallGraphicInternal::SdrGraphicRect::~SdrGraphicRect
~SdrGraphicRect() override
destructor
Definition: StarObjectSmallGraphic.cxx:684
libstoff::DebugStream::str
static std::string str()
Definition: STOFFDebug.hxx:203
STOFFGraphicShape::m_bdbox
STOFFBox2f m_bdbox
the shape bdbox in twip
Definition: STOFFGraphicShape.hxx:67
StarObjectSmallGraphic::readSDRObjectConnection
bool readSDRObjectConnection(StarZone &zone)
try to read a SDR object connection
Definition: StarObjectSmallGraphic.cxx:2949
STOFFColor::isWhite
bool isWhite() const
return true if the color is white
Definition: libstaroffice_internal.hxx:282
StarObjectSmallGraphicInternal::SdrGraphicOLE::m_graphic
std::shared_ptr< StarGraphicStruct::StarGraphic > m_graphic
the graphic
Definition: StarObjectSmallGraphic.cxx:1226
StarZone::openSDRHeader
bool openSDRHeader(std::string &magic)
open a zone header present in a SDR file
Definition: StarZone.cxx:403
StarObjectSmallGraphic::readFmFormObject
std::shared_ptr< StarObjectSmallGraphicInternal::Graphic > readFmFormObject(StarZone &zone, int identifier)
try to read a FM01 object
Definition: StarObjectSmallGraphic.cxx:3347
StarObjectSmallGraphicInternal::SdrGraphicGroup::m_groupShearWink
int m_groupShearWink
the shear wink
Definition: StarObjectSmallGraphic.cxx:518
StarObjectSmallGraphicInternal::SdrGraphicAttribute::updateStyle
void updateStyle(StarState &state, STOFFListenerPtr listener) const
try to update the style
Definition: StarObjectSmallGraphic.cxx:408
StarObjectSmallGraphicInternal::SdrGraphicGraph::m_graphItem
std::shared_ptr< StarItem > m_graphItem
the graph attributes
Definition: StarObjectSmallGraphic.cxx:1040
STOFFTextListener.hxx
StarObjectSmallGraphic::readSVDRObjectGraph
bool readSVDRObjectGraph(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicGraph &graphic)
try to read the object graph zone
Definition: StarObjectSmallGraphic.cxx:2396
StarObjectSmallGraphicInternal::GluePoint
Internal: virtual class to store a glue point.
Definition: StarObjectSmallGraphic.cxx:69
StarObjectSmallGraphicInternal::SdrGraphicText::print
std::string print() const override
basic print function
Definition: StarObjectSmallGraphic.cxx:562
STOFFSubDocument.hxx
StarObjectSmallGraphicInternal::SdrGraphicCaption::SdrGraphicCaption
SdrGraphicCaption()
constructor
Definition: StarObjectSmallGraphic.cxx:694
StarObjectSmallGraphic::operator<<
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
StarObjectSmallGraphicInternal::SDUDGraphicAnimation::m_polygon
std::vector< STOFFVec2i > m_polygon
the polygon
Definition: StarObjectSmallGraphic.cxx:1669
StarZone::closeSCHHeader
bool closeSCHHeader(std::string const &debugName)
close a zone header
Definition: StarZone.cxx:366
STOFFEmbeddedObject::m_filenameLink
librevenge::RVNGString m_filenameLink
a picture link
Definition: libstaroffice_internal.hxx:460
StarObjectSmallGraphicInternal::SDUDGraphicAnimation::m_flags
bool m_flags[3]
some flags : active, dim[previous], isMovie
Definition: StarObjectSmallGraphic.cxx:1677
StarObjectSmallGraphicInternal::SdrGraphicAttribute::~SdrGraphicAttribute
~SdrGraphicAttribute() override
destructor
Definition: StarObjectSmallGraphic.cxx:448
StarObjectSmallGraphicInternal::SdrGraphicGroup::~SdrGraphicGroup
~SdrGraphicGroup() final
destructor
Definition: StarObjectSmallGraphic.cxx:521
STOFFVec2::y
T y() const
second element
Definition: libstaroffice_internal.hxx:602
STOFFListener.hxx
StarObjectSmallGraphicInternal::SdrGraphicCircle::SdrGraphicCircle
SdrGraphicCircle(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:760
StarObjectSmallGraphicInternal::SdrGraphicMeasure::~SdrGraphicMeasure
~SdrGraphicMeasure() final
destructor
Definition: StarObjectSmallGraphic.cxx:1119
STOFFBox2::size
STOFFVec2< T > size() const
the box size
Definition: libstaroffice_internal.hxx:999
STOFFInputStreamPtr
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:489
StarObjectSmallGraphicInternal::SdrGraphic::m_layerId
int m_layerId
the layer id
Definition: StarObjectSmallGraphic.cxx:372
StarObjectSmallGraphicInternal::SdrGraphic::~SdrGraphic
~SdrGraphic() override
destructor
Definition: StarObjectSmallGraphic.cxx:383
StarObjectSmallGraphicInternal::SDUDGraphic::print
std::string print() const override
basic print function
Definition: StarObjectSmallGraphic.cxx:1585
libstoff::SubDocumentType
SubDocumentType
Definition: libstaroffice_internal.hxx:185
StarObjectSmallGraphic::readSVDRObjectMeasure
bool readSVDRObjectMeasure(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicMeasure &graphic)
try to read the object measure zone
Definition: StarObjectSmallGraphic.cxx:2630
StarObjectSmallGraphicInternal::SCHUGraphic::m_column
int m_column
the column
Definition: StarObjectSmallGraphic.cxx:1548
StarObjectSmallGraphicInternal::SubDocument::SubDocument
SubDocument(std::shared_ptr< OutlinerParaObject > &text)
Definition: StarObjectSmallGraphic.cxx:207
StarObjectSmallGraphicInternal::SdrGraphic
Internal: virtual class to store a Sdr graphic.
Definition: StarObjectSmallGraphic.cxx:286
StarObjectSmallGraphicInternal::SdrGraphicUno::m_unoName
librevenge::RVNGString m_unoName
the uno name
Definition: StarObjectSmallGraphic.cxx:1431
STOFFGraphicShape::C_Connector
@ C_Connector
Definition: STOFFGraphicShape.hxx:49
StarZone
a zone in a StarOffice file
Definition: StarZone.hxx:56
StarObjectSmallGraphicInternal::Graphic::~Graphic
virtual ~Graphic()
destructor
Definition: StarObjectSmallGraphic.cxx:279
StarZone::getRecordLevel
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
StarObjectSmallGraphicInternal::SdrGraphicPath
Internal: virtual class to store a Sdr graphic path.
Definition: StarObjectSmallGraphic.cxx:1275
StarObjectSmallGraphicInternal::SdrGraphicCaption::~SdrGraphicCaption
~SdrGraphicCaption() final
destructor
Definition: StarObjectSmallGraphic.cxx:751
StarObject
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
StarObjectSmallGraphicInternal::SdrGraphicRect::print
std::string print() const override
basic print function
Definition: StarObjectSmallGraphic.cxx:667
StarObjectSmallGraphic::~StarObjectSmallGraphic
~StarObjectSmallGraphic() override
destructor
Definition: StarObjectSmallGraphic.cxx:1713
StarObjectSmallGraphicInternal::SdrGraphic::operator<<
friend std::ostream & operator<<(std::ostream &o, SdrGraphic const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:350
StarObjectSmallGraphicInternal::SdrGraphicCircle::print
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:767
StarObjectSmallGraphic::readSVDRObjectRect
bool readSVDRObjectRect(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicRect &graphic)
try to read the object rect zone
Definition: StarObjectSmallGraphic.cxx:2839
StarObjectSmallGraphicInternal::SdrGraphicEdge::SdrGraphicEdge
SdrGraphicEdge()
constructor
Definition: StarObjectSmallGraphic.cxx:871
StarObjectSmallGraphicInternal::SdrGraphic::m_bdbox
STOFFBox2i m_bdbox
the bdbox
Definition: StarObjectSmallGraphic.cxx:370
StarObjectSmallGraphicInternal::SdrGraphicCaption::print
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:700
StarObjectSmallGraphicInternal::SDUDGraphic::getName
std::string getName() const override
return the object name
Definition: StarObjectSmallGraphic.cxx:1574
StarObjectSmallGraphicInternal::GluePoint::GluePoint
GluePoint(int x=0, int y=0)
constructor
Definition: StarObjectSmallGraphic.cxx:73
StarObjectSmallGraphicInternal::SdrGraphic::m_anchorPosition
STOFFVec2i m_anchorPosition
the anchor position
Definition: StarObjectSmallGraphic.cxx:374
StarObjectSmallGraphic::readSVDRObject
std::shared_ptr< StarObjectSmallGraphicInternal::SdrGraphic > readSVDRObject(StarZone &zone, int identifier)
try to read a SVDr object
Definition: StarObjectSmallGraphic.cxx:1824
StarObjectSmallGraphicInternal::SdrGraphicGroup::SdrGraphicGroup
SdrGraphicGroup(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:458
StarObjectSmallGraphicInternal::SdrGraphicCaption::m_captionPolygon
std::vector< STOFFVec2i > m_captionPolygon
a polygon
Definition: StarObjectSmallGraphic.cxx:746
StarObjectSmallGraphicInternal::SdrGraphicEdge::~SdrGraphicEdge
~SdrGraphicEdge() final
destructor
Definition: StarObjectSmallGraphic.cxx:939
libstoff::DebugStream
Definition: STOFFDebug.hxx:194
StarObjectSmallGraphicInternal::SdrGraphicEdge::Information::m_n
int m_n[3]
some values: nObj1Lines, nObj2Lines, middleLines
Definition: StarObjectSmallGraphic.cxx:866
StarObjectSmallText
the main class to read a small StarOffice text zone
Definition: StarObjectSmallText.hxx:58
StarObjectSmallGraphicInternal::SdrGraphicText::m_textShearWink
int m_textShearWink
the shear wink
Definition: StarObjectSmallGraphic.cxx:618
StarObjectSmallGraphicInternal::OutlinerParaObject::m_isEditDoc
bool m_isEditDoc
true if the object is a edit document
Definition: StarObjectSmallGraphic.cxx:199
StarObjectSmallGraphicInternal::SdrGraphicOLE::~SdrGraphicOLE
~SdrGraphicOLE() final
destructor
Definition: StarObjectSmallGraphic.cxx:1231
StarObject::findItemPool
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
STOFFGraphicStyle.hxx
StarObjectSmallGraphicInternal::SdrGraphicMeasure::m_measureItem
std::shared_ptr< StarItem > m_measureItem
the measure attributes
Definition: StarObjectSmallGraphic.cxx:1116
STOFFPosition::m_offset
STOFFVec2f m_offset
internal: an offset used to retrieve the local position in a DrawingLayer
Definition: STOFFPosition.hxx:151
StarObjectSmallGraphicInternal::SDRUserData
Internal: virtual class to store a user data.
Definition: StarObjectSmallGraphic.cxx:1440
STOFFPosition::setAnchor
void setAnchor(AnchorTo anchor)
set the anchor
Definition: STOFFPosition.hxx:121
StarObjectSmallGraphicInternal::SCHUGraphic::m_id
int m_id
the id
Definition: StarObjectSmallGraphic.cxx:1542
STOFFGraphicShape.hxx
StarObjectSmallGraphicInternal::SdrGraphicEdge::m_edgeItem
std::shared_ptr< StarItem > m_edgeItem
the edge attributes
Definition: StarObjectSmallGraphic.cxx:934
StarObjectSmallGraphic::readSDRUserDataList
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
StarObjectSmallGraphicInternal::SdrGraphicAttribute::operator<<
friend std::ostream & operator<<(std::ostream &o, SdrGraphicAttribute const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:430
StarObjectSmallGraphicInternal::SdrGraphicGraph::m_graphRectangle
STOFFBox2i m_graphRectangle
the rectangle
Definition: StarObjectSmallGraphic.cxx:1032
StarObjectSmallGraphicInternal::SdrGraphicAttribute::m_itemList
std::vector< std::shared_ptr< StarItem > > m_itemList
the list of star item
Definition: StarObjectSmallGraphic.cxx:443
STOFFFrameStyle::m_position
STOFFPosition m_position
the position
Definition: STOFFFrameStyle.hxx:73
StarObjectSmallGraphic::readSDRObjectSurrogate
bool readSDRObjectSurrogate(StarZone &zone)
try to read a SDR object surrogate
Definition: StarObjectSmallGraphic.cxx:2999
StarObjectSmallGraphicInternal::SdrGraphicPath::m_pathPolygons
std::vector< StarGraphicStruct::StarPolygon > m_pathPolygons
the path polygon
Definition: StarObjectSmallGraphic.cxx:1304
StarObjectSmallGraphicInternal::SdrGraphicUno
Internal: virtual class to store a Sdr graphic uno.
Definition: StarObjectSmallGraphic.cxx:1405
StarObjectSmallGraphicInternal::SdrGraphicAttribute::print
std::string print() const override
basic print function
Definition: StarObjectSmallGraphic.cxx:401
StarObjectSmallGraphicInternal::SDRUserData::getName
std::string getName() const override
return the object name
Definition: StarObjectSmallGraphic.cxx:1449
StarObjectSmallGraphic::readSDROutlinerParaObject
bool readSDROutlinerParaObject(StarZone &zone, StarObjectSmallGraphicInternal::OutlinerParaObject &object)
try to read a outliner para object
Definition: StarObjectSmallGraphic.cxx:3045
StarObjectSmallGraphicInternal::SdrGraphicText::m_textDrehWink
int m_textDrehWink
the dreh wink: rotation?
Definition: StarObjectSmallGraphic.cxx:616
StarObjectSmallGraphic::readSVDRObjectPath
bool readSVDRObjectPath(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicPath &graphic)
try to read the object path zone
Definition: StarObjectSmallGraphic.cxx:2744
StarObjectSmallGraphicInternal::SdrGraphic::getName
std::string getName() const override
return the object name
Definition: StarObjectSmallGraphic.cxx:303
StarObjectSmallGraphicInternal::SCHUGraphic::m_adjust
int m_adjust
the adjust data
Definition: StarObjectSmallGraphic.cxx:1544
StarObjectSmallGraphicInternal::SdrGraphicOLE::m_oleParser
std::shared_ptr< STOFFOLEParser > m_oleParser
the ole parser
Definition: StarObjectSmallGraphic.cxx:1228
StarObjectSmallGraphicInternal::SDUDGraphicAnimation::m_colors
STOFFColor m_colors[2]
the colors
Definition: StarObjectSmallGraphic.cxx:1675
StarObjectSmallGraphicInternal::SdrGraphicText::m_textBound
STOFFBox2i m_textBound
the text bound
Definition: StarObjectSmallGraphic.cxx:622
StarObjectSmallGraphicInternal::State::State
State()
constructor
Definition: StarObjectSmallGraphic.cxx:1694
StarObjectSmallGraphicInternal::SubDocument::parse
void parse(STOFFListenerPtr &listener, libstoff::SubDocumentType type) final
the parser function
Definition: StarObjectSmallGraphic.cxx:232
StarObjectSmallGraphicInternal::SdrGraphicEdge::m_info
Information m_info
the information record
Definition: StarObjectSmallGraphic.cxx:936
StarObjectSmallGraphicInternal::SdrGraphicOLE
Internal: virtual class to store a Sdr graphic OLE.
Definition: StarObjectSmallGraphic.cxx:1124
StarObjectSmallGraphicInternal::State::m_graphic
std::shared_ptr< Graphic > m_graphic
the graphic object
Definition: StarObjectSmallGraphic.cxx:1699
StarObjectSmallGraphicInternal::SdrGraphicText::~SdrGraphicText
~SdrGraphicText() override
destructor
Definition: StarObjectSmallGraphic.cxx:625
StarObjectSmallGraphicInternal::SdrGraphicGraph::print
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:960
STOFFVec2f
STOFFVec2< float > STOFFVec2f
STOFFVec2 of float.
Definition: libstaroffice_internal.hxx:771
StarObjectSmallGraphicInternal::SDUDGraphic::operator<<
friend std::ostream & operator<<(std::ostream &o, SDUDGraphic const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1592
StarObjectMath.hxx
StarObjectSmallGraphicInternal::SdrGraphicText::SdrGraphicText
SdrGraphicText(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:531
StarObjectSmallGraphicInternal
Internal: the structures of a StarObjectSmallGraphic.
Definition: StarObjectSmallGraphic.cxx:65
StarObjectSmallGraphicInternal::SdrGraphicPage::print
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:1248
StarObjectText.hxx
StarObjectSmallGraphicInternal::SdrGraphicEdge::Information
the information record
Definition: StarObjectSmallGraphic.cxx:840
StarObjectSmallGraphicInternal::SdrGraphicAttribute
Internal: virtual class to store a Sdr graphic attribute.
Definition: StarObjectSmallGraphic.cxx:388
STOFFGraphicShape::C_Path
@ C_Path
Definition: STOFFGraphicShape.hxx:49
StarObjectSmallGraphicInternal::GluePoint::m_direction
int m_direction
the esc direction
Definition: StarObjectSmallGraphic.cxx:94
StarObjectSmallGraphicInternal::SDUDGraphicAnimation::operator<<
friend std::ostream & operator<<(std::ostream &o, SDUDGraphicAnimation const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1628
STOFFGraphicShape::C_Polyline
@ C_Polyline
Definition: STOFFGraphicShape.hxx:49
StarObjectSmallGraphicInternal::OutlinerParaObject::Zone::m_colorName
librevenge::RVNGString m_colorName
the color name
Definition: StarObjectSmallGraphic.cxx:137
StarObjectSmallGraphicInternal::State
Internal: the state of a StarObjectSmallGraphic.
Definition: StarObjectSmallGraphic.cxx:1692
StarObjectSmallGraphicInternal::OutlinerParaObject::m_version
int m_version
the version
Definition: StarObjectSmallGraphic.cxx:191
StarObjectSmallGraphicInternal::SdrGraphicEdge::m_edgePolygonFlags
std::vector< int > m_edgePolygonFlags
the edge polygon flags
Definition: StarObjectSmallGraphic.cxx:931
operator<<
std::ostream & operator<<(std::ostream &o, StarObjectSmallGraphic const &graphic)
Definition: StarObjectSmallGraphic.cxx:1717
StarObjectSmallGraphicInternal::SdrGraphicGraph::m_hasGraphicLink
bool m_hasGraphicLink
flag to know if the image has a graphic link
Definition: StarObjectSmallGraphic.cxx:1038
StarObjectSmallGraphicInternal::SdrGraphicRect::m_eckRag
int m_eckRag
the eckRag?
Definition: StarObjectSmallGraphic.cxx:681
StarObjectSmallGraphic::readSDRGluePoint
bool readSDRGluePoint(StarZone &zone, StarObjectSmallGraphicInternal::GluePoint &point)
try to read a SDR gluepoint
Definition: StarObjectSmallGraphic.cxx:3180
STOFFPosition::Page
@ Page
Definition: STOFFPosition.hxx:51
StarObjectSmallGraphicInternal::OutlinerParaObject::m_textZone
std::shared_ptr< StarObjectSmallText > m_textZone
list of text zone: version==4
Definition: StarObjectSmallGraphic.cxx:195
StarObject::m_oleParser
std::shared_ptr< STOFFOLEParser > m_oleParser
the ole parser
Definition: StarObject.hxx:143
StarObjectSmallGraphicInternal::SdrGraphicGroup::m_groupDrehWink
int m_groupDrehWink
the dreh wink: rotation?
Definition: StarObjectSmallGraphic.cxx:516
StarState.hxx
StarObjectSmallGraphicInternal::SdrGraphicCaption::send
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:724
StarObjectSmallGraphicInternal::SdrGraphicText::m_outlinerParaObject
std::shared_ptr< OutlinerParaObject > m_outlinerParaObject
the outliner object
Definition: StarObjectSmallGraphic.cxx:620
StarObjectSmallGraphicInternal::SdrGraphicOLE::m_oleNames
librevenge::RVNGString m_oleNames[2]
the persist and the program name
Definition: StarObjectSmallGraphic.cxx:1224
StarObjectSmallGraphicInternal::SdrGraphicMeasure::m_measurePoints
STOFFVec2i m_measurePoints[2]
the points
Definition: StarObjectSmallGraphic.cxx:1112
StarObjectSmallGraphicInternal::SdrGraphicGroup::print
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:471
StarObjectSmallGraphic::send
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool inPageMaster=false)
try to send a object to the listener
Definition: StarObjectSmallGraphic.cxx:1724
StarBitmap.hxx
StarGraphicStruct::StarPolygon::Point
a structure to keep a point and a flag
Definition: StarGraphicStruct.hxx:126
StarObjectSmallGraphicInternal::SdrGraphicMeasure::print
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:1062
StarObjectSmallGraphicInternal::SdrGraphicGroup::m_hasRefPoint
bool m_hasRefPoint
flag to know if we use the ref point
Definition: StarObjectSmallGraphic.cxx:514
libstoff::DebugFile::addPos
static void addPos(long)
Definition: STOFFDebug.hxx:223
StarObjectSmallGraphicInternal::OutlinerParaObject::Zone::m_text
std::shared_ptr< StarObjectSmallText > m_text
the text
Definition: StarObjectSmallGraphic.cxx:129
libstoff::DebugFile::addDelimiter
static void addDelimiter(long, char)
Definition: STOFFDebug.hxx:225
StarObjectSmallGraphicInternal::SdrGraphicUno::~SdrGraphicUno
~SdrGraphicUno() final
destructor
Definition: StarObjectSmallGraphic.cxx:1434
StarObjectSmallGraphic::readSVDRObjectOLE
bool readSVDRObjectOLE(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicOLE &graphic)
try to read the object OLE zone
Definition: StarObjectSmallGraphic.cxx:2672
StarObject.hxx
StarZone.hxx
StarObjectSmallGraphicInternal::SdrGraphicPage::~SdrGraphicPage
~SdrGraphicPage() override
destructor
Definition: StarObjectSmallGraphic.cxx:1270
StarObjectSmallGraphicInternal::SDUDGraphic
Internal: virtual class to store a SDUD graphic.
Definition: StarObjectSmallGraphic.cxx:1563
StarObjectSmallGraphicInternal::SDUDGraphicAnimation
Internal: virtual class to store a SDUD graphic animation.
Definition: StarObjectSmallGraphic.cxx:1604
StarObjectSmallGraphicInternal::SdrGraphicCircle::m_angles
float m_angles[2]
the two angles
Definition: StarObjectSmallGraphic.cxx:826
StarObjectSmallGraphic::readSVDRObjectEdge
bool readSVDRObjectEdge(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicEdge &graphic)
try to read the object edge zone
Definition: StarObjectSmallGraphic.cxx:2171
StarState::m_global
std::shared_ptr< GlobalState > m_global
global state
Definition: StarState.hxx:165
StarObjectSmallGraphicInternal::SdrGraphicGroup::m_groupName
librevenge::RVNGString m_groupName
the group name
Definition: StarObjectSmallGraphic.cxx:508
StarObjectSmallGraphicInternal::SdrGraphicEdge::operator<<
friend std::ostream & operator<<(std::ostream &o, SdrGraphicEdge const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:884
libstoff::DebugFile
Definition: STOFFDebug.hxx:210
StarObjectSmallGraphicInternal::SdrGraphicEdge::Information::operator<<
friend std::ostream & operator<<(std::ostream &o, Information const &info)
operator=
Definition: StarObjectSmallGraphic.cxx:849
StarObjectSmallGraphicInternal::SdrGraphicGraph::~SdrGraphicGraph
~SdrGraphicGraph() override
destructor
Definition: StarObjectSmallGraphic.cxx:1043
StarObjectSmallGraphicInternal::SdrGraphicPage::send
bool send(STOFFListenerPtr &, STOFFFrameStyle const &, StarObject &, bool) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:1255
STOFFPosition::m_anchorTo
AnchorTo m_anchorTo
anchor position
Definition: STOFFPosition.hxx:145
StarZone::closeRecord
bool closeRecord(std::string const &debugName)
try to close a record
Definition: StarZone.hxx:147
StarObjectSmallGraphicInternal::SdrGraphicGroup::m_refPoint
STOFFVec2i m_refPoint
the ref point
Definition: StarObjectSmallGraphic.cxx:512
StarObjectSmallGraphicInternal::SdrGraphicUno::operator<<
friend std::ostream & operator<<(std::ostream &o, SdrGraphicUno const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1424
StarObjectSmallGraphic::readSDRUserData
std::shared_ptr< StarObjectSmallGraphicInternal::SDRUserData > readSDRUserData(StarZone &zone, bool inRecord)
try to read a SDR userData
Definition: StarObjectSmallGraphic.cxx:3243
STOFFFrameStyle::addStyleTo
void addStyleTo(librevenge::RVNGPropertyList &propList) const
add style to the propList
Definition: STOFFFrameStyle.cxx:66
StarObjectSmallGraphicInternal::SubDocument
Internal: the subdocument of a StarObjectSmallGraphic.
Definition: StarObjectSmallGraphic.cxx:204
StarObjectSmallGraphicInternal::SdrGraphicUno::print
std::string print() const final
basic print function
Definition: StarObjectSmallGraphic.cxx:1417
StarObjectSmallGraphicInternal::SDUDGraphicAnimation::SDUDGraphicAnimation
SDUDGraphicAnimation()
constructor
Definition: StarObjectSmallGraphic.cxx:1608
StarObjectSmallGraphicInternal::SdrGraphicGraph::m_mirrored
bool m_mirrored
flag to know if the image is mirrored
Definition: StarObjectSmallGraphic.cxx:1036
StarObjectSmallGraphicInternal::SDUDGraphic::SDUDGraphic
SDUDGraphic(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:1567
StarObjectSmallGraphicInternal::SubDocument::m_text
std::shared_ptr< OutlinerParaObject > m_text
the text
Definition: StarObjectSmallGraphic.cxx:229
StarObjectSmallGraphic::readSDUDObject
std::shared_ptr< StarObjectSmallGraphicInternal::SDRUserData > readSDUDObject(StarZone &zone, int identifier)
try to read a SDDU object
Definition: StarObjectSmallGraphic.cxx:3468
M_PI
#define M_PI
Definition: libstaroffice_internal.hxx:52
StarObjectSmallGraphicInternal::SdrGraphicRect::operator<<
friend std::ostream & operator<<(std::ostream &o, SdrGraphicRect const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:674
StarObjectSmallGraphicInternal::GluePoint::m_align
int m_align
the alignment
Definition: StarObjectSmallGraphic.cxx:98
libstoff::DebugFile::addNote
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
StarObjectSmallGraphicInternal::SdrGraphicOLE::operator<<
friend std::ostream & operator<<(std::ostream &o, SdrGraphicOLE const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1208
StarObjectSmallGraphic::readSCHUObject
std::shared_ptr< StarObjectSmallGraphicInternal::SDRUserData > readSCHUObject(StarZone &zone, int identifier)
try to read a SCHU object
Definition: StarObjectSmallGraphic.cxx:3407
StarObjectSmallGraphicInternal::SCHUGraphic::m_orientation
int m_orientation
the orientation
Definition: StarObjectSmallGraphic.cxx:1546
StarObjectSmallGraphic::readSVDRObjectText
bool readSVDRObjectText(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicText &graphic)
try to read the object text zone
Definition: StarObjectSmallGraphic.cxx:2867
StarObjectSmallGraphicInternal::Graphic::getName
virtual std::string getName() const =0
return the object name
StarObjectSmallGraphicInternal::SdrGraphicGroup
Internal: virtual class to store a Sdr graphic group.
Definition: StarObjectSmallGraphic.cxx:454
StarObjectSmallGraphicInternal::OutlinerParaObject::m_depthList
std::vector< int > m_depthList
list of depth data
Definition: StarObjectSmallGraphic.cxx:197
StarObjectSmallGraphicInternal::Graphic::send
virtual bool send(STOFFListenerPtr &, STOFFFrameStyle const &, StarObject &, bool)
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:266
StarObjectSmallGraphicInternal::SCHUGraphic::~SCHUGraphic
~SCHUGraphic() final
destructor
Definition: StarObjectSmallGraphic.cxx:1557
StarObjectSmallGraphicInternal::SdrGraphicOLE::send
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool inMasterPage) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:1144
StarObjectSmallGraphic.hxx
StarObjectSmallGraphicInternal::SdrGraphicMeasure::send
bool send(STOFFListenerPtr &listener, STOFFFrameStyle const &pos, StarObject &object, bool) final
try to send the graphic to the listener
Definition: StarObjectSmallGraphic.cxx:1069
StarZone::input
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
StarObjectSmallGraphicInternal::SdrGraphicEdge::Information::m_points
STOFFVec2i m_points[5]
some points: obj1Line2, obj1Line3, obj2Line2, obj2Line3, middleLine
Definition: StarObjectSmallGraphic.cxx:862
StarObjectSmallGraphicInternal::OutlinerParaObject::Zone
small struct use to define a Zone: v<=3
Definition: StarObjectSmallGraphic.cxx:108
StarObjectSmallGraphicInternal::SDRUserData::SDRUserData
SDRUserData(int id=-1)
Definition: StarObjectSmallGraphic.cxx:1444
StarObjectSmallGraphicInternal::SdrGraphicRect::SdrGraphicRect
SdrGraphicRect(int id)
constructor
Definition: StarObjectSmallGraphic.cxx:635
StarItemPool::T_VCControlPool
@ T_VCControlPool
Definition: StarItemPool.hxx:75
STOFFPosition::Unknown
@ Unknown
Definition: STOFFPosition.hxx:51
StarObjectSmallGraphic::readSVDRObjectCircle
bool readSVDRObjectCircle(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicCircle &graphic)
try to read the object circle zone
Definition: StarObjectSmallGraphic.cxx:2128
STOFFVec2i
STOFFVec2< int > STOFFVec2i
STOFFVec2 of int.
Definition: libstaroffice_internal.hxx:767
StarObjectSmallGraphic::readSVDRObjectHeader
bool readSVDRObjectHeader(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphic &graphic)
try to read the first zone of SVDr object
Definition: StarObjectSmallGraphic.cxx:2293
StarObjectSmallGraphic::readSVDRObjectAttrib
bool readSVDRObjectAttrib(StarZone &zone, StarObjectSmallGraphicInternal::SdrGraphicAttribute &graphic)
try to read the object attrib zone
Definition: StarObjectSmallGraphic.cxx:2000
StarObjectSmallGraphicInternal::SCHUGraphic::m_factor
double m_factor
the factor
Definition: StarObjectSmallGraphic.cxx:1552
StarObjectSmallGraphicInternal::SdrGraphicPage::SdrGraphicPage
SdrGraphicPage()
constructor
Definition: StarObjectSmallGraphic.cxx:1240
StarObjectSmallGraphicInternal::SdrGraphicPage::operator<<
friend std::ostream & operator<<(std::ostream &o, SdrGraphicPage const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:1261
StarObjectSmallGraphicInternal::SdrGraphicText::operator<<
friend std::ostream & operator<<(std::ostream &o, SdrGraphicText const &graph)
print object data
Definition: StarObjectSmallGraphic.cxx:600
STOFFPosition::setOrigin
void setOrigin(STOFFVec2f const &origin)
utility function to set a origin in point
Definition: STOFFPosition.hxx:101
StarObjectSmallGraphicInternal::SdrGraphicCircle::m_circleItem
std::shared_ptr< StarItem > m_circleItem
the circle attributes
Definition: StarObjectSmallGraphic.cxx:828
STOFFColor::white
static STOFFColor white()
return the white color
Definition: libstaroffice_internal.hxx:238
StarItemPool.hxx
StarItemPool::T_XOutdevPool
@ T_XOutdevPool
Definition: StarItemPool.hxx:75
StarObjectSmallGraphic
the main class to read a small StarOffice graphic zone
Definition: StarObjectSmallGraphic.hxx:81
StarAttribute.hxx
StarObjectSmallGraphicInternal::SdrGraphic::print
std::string print() const override
basic print function
Definition: StarObjectSmallGraphic.cxx:343
StarZone::getRecordLastPosition
long getRecordLastPosition() const
returns the actual record last position
Definition: StarZone.hxx:200
StarObjectSmallGraphicInternal::SdrGraphic::m_userDataList
std::vector< std::shared_ptr< StarObjectSmallGraphicInternal::SDRUserData > > m_userDataList
the user data list
Definition: StarObjectSmallGraphic.cxx:380
StarObjectSmallGraphicInternal::SdrGraphicEdge::m_edgePolygon
std::vector< STOFFVec2i > m_edgePolygon
the edge polygon
Definition: StarObjectSmallGraphic.cxx:929
StarObjectSmallGraphic::m_graphicState
std::shared_ptr< StarObjectSmallGraphicInternal::State > m_graphicState
the state
Definition: StarObjectSmallGraphic.hxx:157
StarObjectSmallGraphicInternal::SdrGraphicEdge
Internal: virtual class to store a Sdr graphic edge.
Definition: StarObjectSmallGraphic.cxx:836
StarObjectSmallGraphicInternal::SDUDGraphicAnimation::m_names
librevenge::RVNGString m_names[3]
the names : sound file, bookmark, sound file[second]
Definition: StarObjectSmallGraphic.cxx:1681
StarObjectSmallGraphicInternal::SdrGraphic::getState
StarState getState(StarObject &object, STOFFListenerPtr listener, STOFFFrameStyle const &) const
return a pool corresponding to an object
Definition: StarObjectSmallGraphic.cxx:321
StarObjectSmallGraphic::readSDRGluePointList
bool readSDRGluePointList(StarZone &zone, std::vector< StarObjectSmallGraphicInternal::GluePoint > &listPoints)
try to read a SDR gluepoint list
Definition: StarObjectSmallGraphic.cxx:3211
STOFFEmbeddedObject::isEmpty
bool isEmpty() const
return true if the picture contains no data
Definition: libstaroffice_internal.hxx:426
StarObjectSmallGraphicInternal::SdrGraphicCaption
Internal: virtual class to store a Sdr graphic caption.
Definition: StarObjectSmallGraphic.cxx:690
StarObjectSmallGraphicInternal::OutlinerParaObject::OutlinerParaObject
OutlinerParaObject()
constructor
Definition: StarObjectSmallGraphic.cxx:140
StarZone::getHeaderVersion
int getHeaderVersion() const
returns the StarOffice header version (if set)
Definition: StarZone.hxx:94
STOFFEmbeddedObject::add
void add(librevenge::RVNGBinaryData const &binaryData, std::string const &type="image/pict")
add a picture
Definition: libstaroffice_internal.hxx:437
StarObjectSmallGraphic::StarObjectSmallGraphic
StarObjectSmallGraphic(StarObject const &orig, bool duplicateState)
constructor
Definition: StarObjectSmallGraphic.cxx:1707
StarObjectChart.hxx
StarObjectSmallGraphicInternal::SdrGraphicMeasure::SdrGraphicMeasure
SdrGraphicMeasure()
constructor
Definition: StarObjectSmallGraphic.cxx:1053