StarGraphicAttribute.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  * file to read/parse StarOffice graphic attributes
36  *
37  */
38 #ifndef STAR_GRAPHIC_ATTRIBUTE
39 # define STAR_GRAPHIC_ATTRIBUTE
40 
41 #include <map>
42 
44 
45 class StarAttribute;
46 
48 namespace StarGraphicAttribute
49 {
51 void addInitTo(std::map<int, std::shared_ptr<StarAttribute> > &whichToAttributeMap);
52 }
53 
54 #endif
55 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
StarAttribute::SDRATTR_MEASURETEXTAUTOANGLEVIEW
Definition: StarAttribute.hxx:555
StarAttribute::SDRATTR_EDGELINE2DELTA
Definition: StarAttribute.hxx:526
StarGraphicAttribute::StarGAttributeNamedHatch::m_angle
int m_angle
the angle
Definition: StarGraphicAttribute.cxx:883
StarAttribute::SDRATTR_ECKENRADIUS
Definition: StarAttribute.hxx:486
StarAttribute::SDRATTR_CAPTIONESCREL
Definition: StarAttribute.hxx:473
StarAttribute::SDRATTR_SHADOWYDIST
Definition: StarAttribute.hxx:456
STOFFGraphicStyle::m_propertyList
librevenge::RVNGPropertyList m_propertyList
the property list
Definition: STOFFGraphicStyle.hxx:66
StarAttribute::SDRATTR_MEASURERESERVE07
Definition: StarAttribute.hxx:561
StarGraphicAttribute::StarGAttributeNamed::printData
void printData(libstoff::DebugStream &o) const override
debug function to print the data
Definition: StarGraphicAttribute.cxx:608
StarAttribute::SDRATTR_SHADOWRESERVE1
Definition: StarAttribute.hxx:460
StarGraphicAttribute::StarGAttributeCrop::m_leftTop
STOFFVec2i m_leftTop
the cropping left/top
Definition: StarGraphicAttribute.cxx:592
StarGraphicAttribute::StarGAttributeFraction
an integer attribute
Definition: StarGraphicAttribute.cxx:104
StarAttribute::SDRATTR_TEXT_ANIDELAY
Definition: StarAttribute.hxx:505
StarAttribute
virtual class used to store the different attribute
Definition: StarAttribute.hxx:62
StarState::m_graphic
STOFFGraphicStyle m_graphic
the graphic style
Definition: StarState.hxx:177
StarGraphicAttribute::StarGAttributeUInt::StarGAttributeUInt
StarGAttributeUInt(Type type, std::string const &debugName, int intSize, unsigned int value)
constructor
Definition: StarGraphicAttribute.cxx:180
StarAttribute::SDRATTR_GRAFINVERT
Definition: StarAttribute.hxx:630
StarAttribute::SDRATTR_GRAFMODE
Definition: StarAttribute.hxx:631
StarAttribute::SDRATTR_EDGENODE1VERTDIST
Definition: StarAttribute.hxx:519
StarAttribute::SDRATTR_ROTATEANGLE
Definition: StarAttribute.hxx:589
StarAttribute::SDRATTR_SET_CIRC
Definition: StarAttribute.hxx:571
StarAttribute::SDRATTR_TEXT_MAXFRAMEWIDTH
Definition: StarAttribute.hxx:497
StarAttribute::SDRATTR_OBJMOVEPROTECT
Definition: StarAttribute.hxx:573
STOFFVec2< int >
StarAttribute::SDRATTR_RESERVE15
Definition: StarAttribute.hxx:510
StarAttribute::SDRATTR_SET_EDGE
Definition: StarAttribute.hxx:536
STOFFFont::m_shadowColor
STOFFColor m_shadowColor
the shadow color
Definition: STOFFFont.hxx:86
StarAttribute::SDRATTR_CIRCKIND
Definition: StarAttribute.hxx:564
StarGraphicAttribute::StarGAttributeNamedColor::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarGraphicAttribute.cxx:714
libstoff::getString
librevenge::RVNGString getString(std::vector< uint32_t > const &unicode)
transform a unicode string in a RNVGString
Definition: libstaroffice_internal.cxx:63
StarAttribute::SDRATTR_TEXT_LOWERDIST
Definition: StarAttribute.hxx:493
StarGraphicStruct::StarPolygon::m_points
std::vector< Point > m_points
the list of points
Definition: StarGraphicStruct.hxx:191
StarAttribute::XATTR_FILLGRADIENT
Definition: StarAttribute.hxx:404
StarAttribute::Type
Type
the attribute list
Definition: StarAttribute.hxx:66
StarAttribute::SDRATTR_ONEPOSITIONY
Definition: StarAttribute.hxx:584
StarAttribute::XATTR_FILLSTYLE
Definition: StarAttribute.hxx:402
StarZone::ascii
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
StarAttribute::SDRATTR_SHADOWPERSP
Definition: StarAttribute.hxx:459
StarAttribute::SDRATTR_ONESIZEWIDTH
Definition: StarAttribute.hxx:585
StarAttribute::XATTR_LINEENDCENTER
Definition: StarAttribute.hxx:393
StarGraphicAttribute::StarGAttributeNamedGradient::m_enable
bool m_enable
a flag to know if the gradient is enable
Definition: StarGraphicAttribute.cxx:825
STOFF_DEBUG_MSG
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
StarGraphicAttribute::StarGAttributeNamedGradient::m_colors
STOFFColor m_colors[2]
the colors
Definition: StarGraphicAttribute.cxx:833
StarAttribute::SDRATTR_SET_MISC
Definition: StarAttribute.hxx:515
StarAttribute::SDRATTR_HORZSHEARALL
Definition: StarAttribute.hxx:601
StarAttribute::SDRATTR_ONEPOSITIONX
Definition: StarAttribute.hxx:583
StarGraphicAttribute::StarGAttributeBoxInfo::m_distance
int m_distance
the distance
Definition: StarGraphicAttribute.cxx:555
StarGraphicStruct::StarPolygon
Class to store a polygon.
Definition: StarGraphicStruct.hxx:122
StarAttribute::SDRATTR_EDGENODE2VERTDIST
Definition: StarAttribute.hxx:521
StarGraphicAttribute::StarGAttributeItemSet::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:235
StarGraphicAttribute::StarGAttributeColor::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:88
StarAttribute::m_type
Type m_type
the type
Definition: StarAttribute.hxx:805
STOFFColor::black
static STOFFColor black()
return the back color
Definition: libstaroffice_internal.hxx:233
StarAttribute::SDRATTR_EDGERESERVE09
Definition: StarAttribute.hxx:535
StarAttribute::SDRATTR_GRAFCONTRAST
Definition: StarAttribute.hxx:627
StarGraphicAttribute::StarGAttributeNamedHatch::StarGAttributeNamedHatch
StarGAttributeNamedHatch(Type type, std::string const &debugName)
constructor
Definition: StarGraphicAttribute.cxx:845
StarAttribute::SDRATTR_MOVEX
Definition: StarAttribute.hxx:591
StarAttribute::SDRATTR_SHEARANGLE
Definition: StarAttribute.hxx:590
StarAttribute::SDRATTR_TEXT_AUTOGROWWIDTH
Definition: StarAttribute.hxx:498
StarAttribute::XATTR_FILLBMP_TILEOFFSETX
Definition: StarAttribute.hxx:415
StarAttribute::SDRATTR_RESIZEYONE
Definition: StarAttribute.hxx:594
StarAttribute::XATTR_LINETRANSPARENCE
Definition: StarAttribute.hxx:394
StarAttribute::SDRATTR_TEXT_ANICOUNT
Definition: StarAttribute.hxx:504
StarAttribute::SDRATTR_TEXT_HORZADJUST
Definition: StarAttribute.hxx:499
StarAttribute::SDRATTR_XMLATTRIBUTES
Definition: StarAttribute.hxx:509
StarAttribute::SDRATTR_NOTPERSISTRESERVE15
Definition: StarAttribute.hxx:621
StarAttribute::SDRATTR_CAPTIONGAP
Definition: StarAttribute.hxx:470
STOFFGraphicStyle::m_hasBackground
bool m_hasBackground
true if background attribute is set
Definition: STOFFGraphicStyle.hxx:68
StarGraphicStruct.hxx
StarAttribute::SDRATTR_VERTSHEARONE
Definition: StarAttribute.hxx:597
StarGraphicAttribute::StarGAttributeFraction::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarGraphicAttribute.cxx:122
StarGraphicAttribute::StarGAttributeFraction::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:115
StarAttribute::SDRATTR_GRAFGREEN
Definition: StarAttribute.hxx:624
StarAttribute::XATTR_FILLFLOATTRANSPARENCE
Definition: StarAttribute.hxx:413
StarAttribute::SDRATTR_TEXT_ANISTOPINSIDE
Definition: StarAttribute.hxx:503
StarAttribute::SDRATTR_SHADOWTRANSPARENCE
Definition: StarAttribute.hxx:457
StarGraphicAttribute::addAttributeUInt
void addAttributeUInt(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName, int numBytes, unsigned int defValue)
add a unsigned int attribute
Definition: StarGraphicAttribute.cxx:501
StarGraphicAttribute::StarGAttributeFraction::m_denominator
int m_denominator
Definition: StarGraphicAttribute.cxx:135
StarGraphicAttribute::StarGAttributeColor::StarGAttributeColor
StarGAttributeColor(Type type, std::string const &debugName, STOFFColor const &value)
constructor
Definition: StarGraphicAttribute.cxx:81
StarAttribute::XATTR_SET_LINE
Definition: StarAttribute.hxx:401
StarAttribute::SDRATTR_SET_CAPTION
Definition: StarAttribute.hxx:482
StarGraphicAttribute::StarGAttributeItemSet
a list of item attribute of StarAttributeInternal
Definition: StarGraphicAttribute.cxx:224
StarAttribute::SDRATTR_MEASURETEXTUPSIDEDOWN
Definition: StarAttribute.hxx:548
StarGraphicAttribute::StarGAttributeInt::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:166
StarAttribute::SDRATTR_SET_GRAF
Definition: StarAttribute.hxx:637
StarAttribute::XATTR_FILLCOLOR
Definition: StarAttribute.hxx:403
StarAttribute::SDRATTR_ROTATEALL
Definition: StarAttribute.hxx:600
StarAttribute::SDRATTR_TEXT_CONTOURFRAME
Definition: StarAttribute.hxx:507
StarZone::readString
bool readString(std::vector< uint32_t > &string, int encoding=-1) const
try to read an unicode string
Definition: StarZone.hxx:220
StarGraphicAttribute::StarGAttributeNamedColor::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarGraphicAttribute.cxx:1179
StarAttribute::SDRATTR_TEXT_RIGHTDIST
Definition: StarAttribute.hxx:491
StarAttribute::XATTR_FILLRESERVED2
Definition: StarAttribute.hxx:421
StarAttribute::SDRATTR_CIRCSTARTANGLE
Definition: StarAttribute.hxx:565
StarGraphicAttribute::StarGAttributeBoxInfo::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarGraphicAttribute.cxx:994
StarAttribute::SDRATTR_SHADOWCOLOR
Definition: StarAttribute.hxx:454
StarAttribute::SDRATTR_EDGELINEDELTAANZ
Definition: StarAttribute.hxx:524
STOFFBorderLine
a border line
Definition: libstaroffice_internal.hxx:326
StarGraphicAttribute::StarGAttributeBoxInfo::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarGraphicAttribute.cxx:537
STOFFColor::str
std::string str() const
print the color in the form #rrggbb
Definition: libstaroffice_internal.cxx:226
StarAttribute::SDRATTR_GRAFGAMMA
Definition: StarAttribute.hxx:628
StarAttribute::XATTR_FILLBACKGROUND
Definition: StarAttribute.hxx:420
StarAttribute::XATTR_FORMTXTSHDWCOLOR
Definition: StarAttribute.hxx:439
StarGraphicAttribute::StarGAttributeUInt::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a graphic style
Definition: StarGraphicAttribute.cxx:334
StarGraphicAttribute::StarGAttributeNamed::m_namedId
int m_namedId
the name id
Definition: StarGraphicAttribute.cxx:624
StarGraphicAttribute::StarGAttributeVoid
a void attribute
Definition: StarGraphicAttribute.cxx:197
STOFFColor
the class to store a color
Definition: libstaroffice_internal.hxx:189
StarAttribute::SDRATTR_EDGERESERVE02
Definition: StarAttribute.hxx:528
StarGraphicAttribute::StarGAttributeNamedGradient::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarGraphicAttribute.cxx:804
StarAttribute::SDRATTR_TRANSFORMREF2X
Definition: StarAttribute.hxx:605
StarAttribute::SDRATTR_MEASURELINEDIST
Definition: StarAttribute.hxx:541
StarGraphicAttribute::addAttributeVoid
void addAttributeVoid(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName)
add a void attribute
Definition: StarGraphicAttribute.cxx:506
StarAttribute::SDRATTR_SHADOW
Definition: StarAttribute.hxx:453
StarGraphicAttribute::StarGAttributeColor::~StarGAttributeColor
~StarGAttributeColor() final
destructor
Definition: StarGraphicAttribute.cxx:99
StarAttribute::SDRATTR_TRANSFORMREF1Y
Definition: StarAttribute.hxx:604
StarAttribute::XATTR_LINEDASH
Definition: StarAttribute.hxx:385
StarBitmap::readBitmap
bool readBitmap(StarZone &zone, bool inFileHeader, long lastPos, librevenge::RVNGBinaryData &data, std::string &type)
low level
Definition: StarBitmap.cxx:214
StarAttribute::ATTR_SC_BORDER_INNER
Definition: StarAttribute.hxx:224
StarAttribute::SDRATTR_RESERVE19
Definition: StarAttribute.hxx:514
StarAttribute::SDRATTR_EDGENODE1HORZDIST
Definition: StarAttribute.hxx:518
StarAttribute::SDRATTR_CIRCRESERVE0
Definition: StarAttribute.hxx:567
StarBitmap
the main class to read/.
Definition: StarBitmap.hxx:62
StarState
class to store an state: ie.
Definition: StarState.hxx:67
StarAttribute::XATTR_FILLBMP_SIZELOG
Definition: StarAttribute.hxx:414
StarGraphicAttribute::StarGAttributeNamedDash::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarGraphicAttribute.cxx:1207
StarGraphicAttribute::StarGAttributeNamedColor::m_color
STOFFColor m_color
the color
Definition: StarGraphicAttribute.cxx:724
StarGraphicAttribute::StarGAttributeColor
a character color attribute
Definition: StarGraphicAttribute.cxx:77
STOFFEmbeddedObject::addAsFillImageTo
bool addAsFillImageTo(librevenge::RVNGPropertyList &propList) const
add the link property to a graph style as bitmap
Definition: libstaroffice_internal.cxx:297
StarGraphicAttribute::StarGAttributeNamedDash::StarGAttributeNamedDash
StarGAttributeNamedDash(Type type, std::string const &debugName)
constructor
Definition: StarGraphicAttribute.cxx:732
StarGraphicAttribute::StarGAttributeNamedArrow
a arrow's named attribute
Definition: StarGraphicAttribute.cxx:628
STOFFEmbeddedObject
small class use to define a embedded object
Definition: libstaroffice_internal.hxx:408
StarGraphicAttribute::StarGAttributeCrop
a crop attribute
Definition: StarGraphicAttribute.cxx:563
StarAttribute::SDRATTR_TEXTDIRECTION
Definition: StarAttribute.hxx:607
libstaroffice_internal.hxx
StarGraphicAttribute::StarGAttributeBoxInfo::m_flags
int m_flags
some flags: setTable, setDist, setMinDist
Definition: StarGraphicAttribute.cxx:559
StarAttribute::SDRATTR_MEASURETEXTHPOS
Definition: StarAttribute.hxx:539
StarGraphicAttribute::StarGAttributeBool::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a graphic style
Definition: StarGraphicAttribute.cxx:249
StarAttribute::SDRATTR_GRAFRESERVE6
Definition: StarAttribute.hxx:636
StarAttribute::SDRATTR_ALLPOSITIONY
Definition: StarAttribute.hxx:580
StarGraphicAttribute::StarGAttributeNamedDash::m_distance
int m_distance
the distance
Definition: StarGraphicAttribute.cxx:773
libstoff::DebugStream::str
static std::string str()
Definition: STOFFDebug.hxx:203
StarGraphicAttribute::StarGAttributeNamedGradient::m_angle
int m_angle
the angle
Definition: StarGraphicAttribute.cxx:827
STOFFPageSpan.hxx
StarGraphicAttribute::StarGAttributeVoid::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:208
STOFFParagraph.hxx
StarAttribute::XATTR_FILLBMP_POSOFFSETY
Definition: StarAttribute.hxx:419
StarAttribute::XATTR_FILLBMP_STRETCH
Definition: StarAttribute.hxx:417
StarGraphicAttribute::StarGAttributeNamedHatch::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarGraphicAttribute.cxx:863
StarAttribute::SDRATTR_RESIZEXALL
Definition: StarAttribute.hxx:598
StarAttribute::XATTR_FILLRESERVED_LAST
Definition: StarAttribute.hxx:430
StarAttribute::XATTR_FILLBMP_SIZEY
Definition: StarAttribute.hxx:412
StarAttribute::SDRATTR_MEASUREHELPLINE1LEN
Definition: StarAttribute.hxx:544
StarGraphicAttribute::StarGAttributeNamedArrow::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarGraphicAttribute.cxx:647
StarAttribute::XATTR_FILLBMP_TILE
Definition: StarAttribute.hxx:409
StarGraphicAttribute::StarGAttributeNamedHatch::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:854
StarGraphicAttribute::StarGAttributeNamedHatch::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarGraphicAttribute.cxx:1268
STOFFBorderLine::m_distance
int m_distance
the border distance
Definition: libstaroffice_internal.hxx:359
StarGraphicAttribute::addAttributeInt
void addAttributeInt(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName, int numBytes, int defValue)
add a int attribute
Definition: StarGraphicAttribute.cxx:496
StarGraphicAttribute::StarGAttributeItemSet::StarGAttributeItemSet
StarGAttributeItemSet(Type type, std::string const &debugName, std::vector< STOFFVec2i > const &limits)
constructor
Definition: StarGraphicAttribute.cxx:228
StarAttribute::SDRATTR_EDGEKIND
Definition: StarAttribute.hxx:517
StarGraphicAttribute::StarGAttributeCrop::m_rightBottom
STOFFVec2i m_rightBottom
the cropping right/bottom
Definition: StarGraphicAttribute.cxx:594
StarGraphicAttribute::StarGAttributeNamedDash::m_lengths
int m_lengths[2]
the lengths of dot/dash
Definition: StarGraphicAttribute.cxx:771
StarAttributeUInt
a unsigned integer attribute
Definition: StarAttribute.hxx:946
StarAttribute::SDRATTR_MEASURETEXTFIXEDANGLE
Definition: StarAttribute.hxx:557
StarAttribute::SDRATTR_TEXT_AUTOGROWHEIGHT
Definition: StarAttribute.hxx:488
StarAttributeInt::m_value
int m_value
Definition: StarAttribute.hxx:940
StarGraphicAttribute::StarGAttributeBoxInfo::m_borderList
std::vector< STOFFBorderLine > m_borderList
the boxInfo list: top, left, right, bottom
Definition: StarGraphicAttribute.cxx:557
StarAttribute::XATTR_LINESTARTCENTER
Definition: StarAttribute.hxx:392
STOFFInputStreamPtr
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:485
StarAttribute::SDRATTR_GRAFRESERVE3
Definition: StarAttribute.hxx:633
StarAttribute::SDRATTR_CAPTIONESCABS
Definition: StarAttribute.hxx:474
StarGraphicAttribute::addAttributeBool
void addAttributeBool(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName, bool defValue)
add a bool attribute
Definition: StarGraphicAttribute.cxx:481
StarAttribute::XATTR_LINESTYLE
Definition: StarAttribute.hxx:384
StarGraphicAttribute::StarGAttributeFraction::StarGAttributeFraction
StarGAttributeFraction(Type type, std::string const &debugName)
constructor
Definition: StarGraphicAttribute.cxx:108
StarAttribute::SDRATTR_NOTPERSISTRESERVE2
Definition: StarAttribute.hxx:608
StarZone
a zone in a StarOffice file
Definition: StarZone.hxx:56
STOFFCellStyle.hxx
StarZone::getRecordLevel
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
StarObject
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
StarGraphicAttribute::StarGAttributeNamedGradient::m_gradientType
int m_gradientType
the gradient type
Definition: StarGraphicAttribute.cxx:823
StarGraphicAttribute::StarGAttributeBoxInfo
a box info attribute
Definition: StarGraphicAttribute.cxx:518
StarGraphicAttribute::StarGAttributeNamedDash
a dash's named attribute
Definition: StarGraphicAttribute.cxx:728
StarAttribute::SDRATTR_ALLPOSITIONX
Definition: StarAttribute.hxx:579
StarAttribute::SDRATTR_TEXT_ANIDIRECTION
Definition: StarAttribute.hxx:501
StarAttribute::SDRATTR_CAPTIONESCDIR
Definition: StarAttribute.hxx:471
StarAttribute::SDRATTR_SHADOWXDIST
Definition: StarAttribute.hxx:455
StarAttribute::XATTR_SET_TEXT
Definition: StarAttribute.hxx:450
StarAttribute::SDRATTR_LOGICSIZEWIDTH
Definition: StarAttribute.hxx:587
StarState::m_font
STOFFFont m_font
the font
Definition: StarState.hxx:182
StarAttribute::SDRATTR_SHADOW3D
Definition: StarAttribute.hxx:458
StarAttribute::SDRATTR_ONESIZEHEIGHT
Definition: StarAttribute.hxx:586
StarAttributeUInt::m_value
unsigned int m_value
Definition: StarAttribute.hxx:978
StarGraphicAttribute::StarGAttributeNamedArrow::StarGAttributeNamedArrow
StarGAttributeNamedArrow(Type type, std::string const &debugName)
constructor
Definition: StarGraphicAttribute.cxx:632
StarAttribute::SDRATTR_CIRCENDANGLE
Definition: StarAttribute.hxx:566
StarGraphicAttribute::StarGAttributeNamed::StarGAttributeNamed
StarGAttributeNamed(Type type, std::string const &debugName)
constructor
Definition: StarGraphicAttribute.cxx:602
StarAttribute::SDRATTR_RESIZEXONE
Definition: StarAttribute.hxx:593
StarGraphicAttribute::addAttributeColor
void addAttributeColor(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName, STOFFColor const &defValue)
add a color attribute
Definition: StarGraphicAttribute.cxx:486
StarAttribute::SDRATTR_CAPTIONFIXEDANGLE
Definition: StarAttribute.hxx:468
StarAttribute::SDRATTR_ALLSIZEWIDTH
Definition: StarAttribute.hxx:581
libstoff::DebugStream
Definition: STOFFDebug.hxx:194
StarGraphicStruct::StarPolygon::empty
bool empty() const
returns true if the polygon is empty
Definition: StarGraphicStruct.hxx:175
StarGraphicAttribute::StarGAttributeUInt
a character unsigned integer attribute
Definition: StarGraphicAttribute.cxx:176
StarGraphicAttribute::StarGAttributeFraction::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarGraphicAttribute.cxx:138
StarGraphicAttribute::StarGAttributeFraction::m_numerator
int m_numerator
Definition: StarGraphicAttribute.cxx:133
StarGraphicAttribute::StarGAttributeVoid::StarGAttributeVoid
StarGAttributeVoid(Type type, std::string const &debugName)
constructor
Definition: StarGraphicAttribute.cxx:201
StarGraphicAttribute::StarGAttributeNamedBitmap
a bitmap's named attribute
Definition: StarGraphicAttribute.cxx:661
StarGraphicAttribute::StarGAttributeNamedDash::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:741
STOFFGraphicStyle.hxx
StarGraphicAttribute::StarGAttributeInt::StarGAttributeInt
StarGAttributeInt(Type type, std::string const &debugName, int intSize, int value)
constructor
Definition: StarGraphicAttribute.cxx:159
STOFFBorderLine::m_inWidth
int m_inWidth
the inline width in TWIP
Definition: libstaroffice_internal.hxx:355
StarAttribute::XATTR_LINEJOINT
Definition: StarAttribute.hxx:395
StarGraphicAttribute::StarGAttributeBool
a character bool attribute
Definition: StarGraphicAttribute.cxx:55
StarAttributeBool::m_value
bool m_value
Definition: StarAttribute.hxx:841
StarGraphicAttribute::StarGAttributeNamed::m_named
librevenge::RVNGString m_named
the named
Definition: StarGraphicAttribute.cxx:622
StarBitmap::getData
bool getData(librevenge::RVNGBinaryData &data, std::string &type) const
try to convert the read data in ppm
Definition: StarBitmap.cxx:201
StarAttribute::XATTR_LINEEND
Definition: StarAttribute.hxx:389
StarAttributeColor
a color attribute
Definition: StarAttribute.hxx:845
StarAttribute::XATTR_LINESTARTWIDTH
Definition: StarAttribute.hxx:390
StarGraphicAttribute::StarGAttributeNamedArrow::m_polygon
StarGraphicStruct::StarPolygon m_polygon
the polygon
Definition: StarGraphicAttribute.cxx:657
StarAttribute::SDRATTR_OBJSIZEPROTECT
Definition: StarAttribute.hxx:574
StarAttribute::XATTR_LINECOLOR
Definition: StarAttribute.hxx:387
StarAttribute::SDRATTR_ROTATEONE
Definition: StarAttribute.hxx:595
StarAttribute::SDRATTR_MEASUREHELPLINE2LEN
Definition: StarAttribute.hxx:545
StarAttribute::SDRATTR_MEASUREOVERHANG
Definition: StarAttribute.hxx:549
StarAttribute::SDRATTR_EDGENODE2HORZDIST
Definition: StarAttribute.hxx:520
StarGraphicAttribute::StarGAttributeNamedGradient::m_offsets
int m_offsets[2]
the x offsets
Definition: StarGraphicAttribute.cxx:835
StarAttribute::SDRATTR_MEASUREKIND
Definition: StarAttribute.hxx:538
StarGraphicAttribute::StarGAttributeNamedHatch::m_distance
int m_distance
the distance
Definition: StarGraphicAttribute.cxx:881
StarGraphicAttribute::StarGAttributeCrop::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:574
StarAttribute::SDRATTR_MEASUREBELOWREFEDGE
Definition: StarAttribute.hxx:546
StarAttribute::SDRATTR_VERTSHEARALL
Definition: StarAttribute.hxx:602
StarGraphicAttribute::StarGAttributeNamedColor::StarGAttributeNamedColor
StarGAttributeNamedColor(Type type, std::string const &debugName, STOFFColor const &defColor)
constructor
Definition: StarGraphicAttribute.cxx:699
StarAttribute::SDRATTR_SHADOWRESERVE5
Definition: StarAttribute.hxx:464
STOFFBorderLine::m_color
STOFFColor m_color
the border color
Definition: libstaroffice_internal.hxx:357
StarAttribute::SDRATTR_HORZSHEARONE
Definition: StarAttribute.hxx:596
StarAttribute::SDRATTR_MEASURETEXTAUTOANGLE
Definition: StarAttribute.hxx:554
StarGraphicAttribute::addAttributeFraction
void addAttributeFraction(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName)
add a fraction attribute
Definition: StarGraphicAttribute.cxx:491
StarAttribute::XATTR_FILLHATCH
Definition: StarAttribute.hxx:405
StarAttribute::SDRATTR_TEXT_LEFTDIST
Definition: StarAttribute.hxx:490
StarAttribute::SDRATTR_MEASURETEXTVPOS
Definition: StarAttribute.hxx:540
StarAttribute::XATTR_LINEWIDTH
Definition: StarAttribute.hxx:386
StarAttribute::SDRATTR_CAPTIONRESERVE5
Definition: StarAttribute.hxx:481
StarAttributeItemSet
a list of item attribute of StarAttributeInternal
Definition: StarAttribute.hxx:1023
StarAttribute::SDRATTR_TEXT_ANIKIND
Definition: StarAttribute.hxx:500
StarAttribute::SDRATTR_SET_SHADOW
Definition: StarAttribute.hxx:465
StarGraphicAttribute::StarGAttributeNamedHatch::m_hatchType
int m_hatchType
the type
Definition: StarGraphicAttribute.cxx:877
StarAttribute::SDRATTR_TEXT_UPPERDIST
Definition: StarAttribute.hxx:492
StarGraphicAttribute::StarGAttributeNamedHatch::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a graphic style
Definition: StarGraphicAttribute.cxx:978
StarAttribute::SDRATTR_TRANSFORMREF1X
Definition: StarAttribute.hxx:603
StarAttribute::SDRATTR_CIRCRESERVE3
Definition: StarAttribute.hxx:570
StarGraphicAttribute::StarGAttributeNamedGradient
a gradient's named attribute
Definition: StarGraphicAttribute.cxx:777
StarAttribute::SDRATTR_MEASURESHOWUNIT
Definition: StarAttribute.hxx:552
StarGraphicAttribute::StarGAttributeNamedGradient::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a graphic style
Definition: StarGraphicAttribute.cxx:953
StarGraphicAttribute::StarGAttributeNamedHatch::m_color
STOFFColor m_color
the color
Definition: StarGraphicAttribute.cxx:879
StarAttribute::SDRATTR_GRAFBLUE
Definition: StarAttribute.hxx:625
StarState.hxx
StarAttribute::SDRATTR_SET_MEASURE
Definition: StarAttribute.hxx:562
StarState::convertInPoint
double convertInPoint(double val) const
return the relative units
Definition: StarState.hxx:150
StarAttribute::XATTR_LINERESERVED2
Definition: StarAttribute.hxx:396
StarGraphicAttribute::StarGAttributeItemSet::~StarGAttributeItemSet
~StarGAttributeItemSet() final
destructor
Definition: StarGraphicAttribute.cxx:245
StarGraphicAttribute::StarGAttributeBoxInfo::StarGAttributeBoxInfo
StarGAttributeBoxInfo(Type type, std::string const &debugName)
constructor
Definition: StarGraphicAttribute.cxx:522
StarBitmap.hxx
libstoff::DebugFile::addPos
static void addPos(long)
Definition: STOFFDebug.hxx:223
StarAttribute::SDRATTR_CAPTIONLINELEN
Definition: StarAttribute.hxx:475
StarGraphicAttribute::StarGAttributeCrop::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarGraphicAttribute.cxx:583
StarAttribute::SDRATTR_MEASUREHELPLINEOVERHANG
Definition: StarAttribute.hxx:542
StarAttribute::SDRATTR_MEASUREHELPLINEDIST
Definition: StarAttribute.hxx:543
StarAttribute::SDRATTR_GRAFCROP
Definition: StarAttribute.hxx:632
StarObject.hxx
StarZone.hxx
StarAttribute::XATTR_FILLBMP_POSOFFSETX
Definition: StarAttribute.hxx:418
StarGraphicAttribute::StarGAttributeNamedGradient::m_intensities
int m_intensities[2]
the intensities
Definition: StarGraphicAttribute.cxx:837
StarGraphicAttribute::StarGAttributeNamedBitmap::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:671
StarAttribute::SDRATTR_TEXT_MAXFRAMEHEIGHT
Definition: StarAttribute.hxx:495
StarGraphicAttribute::StarGAttributeVoid::~StarGAttributeVoid
~StarGAttributeVoid() final
destructor
Definition: StarGraphicAttribute.cxx:219
StarGraphicAttribute::StarGAttributeNamedDash::m_numbers
int m_numbers[2]
the number of dot/dash
Definition: StarGraphicAttribute.cxx:769
StarAttribute::SDRATTR_CAPTIONESCISREL
Definition: StarAttribute.hxx:472
StarGraphicAttribute::addInitTo
void addInitTo(std::map< int, std::shared_ptr< StarAttribute > > &map)
adds graphic attribute to the general it to attribute map
Definition: StarGraphicAttribute.cxx:1301
STOFFGraphicStyle::m_protections
bool m_protections[3]
the protection: move, size, printable
Definition: STOFFGraphicStyle.hxx:70
StarState::m_global
std::shared_ptr< GlobalState > m_global
global state
Definition: StarState.hxx:165
StarAttributeVoid
void attribute of StarAttribute
Definition: StarAttribute.hxx:1058
StarAttribute::SDRATTR_TEXT_ANIAMOUNT
Definition: StarAttribute.hxx:506
libstoff::DebugFile
Definition: STOFFDebug.hxx:210
StarGraphicAttribute::StarGAttributeNamedColor::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:705
StarAttribute::XATTR_FILLBMP_TILEOFFSETY
Definition: StarAttribute.hxx:416
StarGraphicAttribute::StarGAttributeNamedBitmap::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarGraphicAttribute.cxx:1098
StarAttribute::SDRATTR_TEXT_MINFRAMEWIDTH
Definition: StarAttribute.hxx:496
StarAttribute::SDRATTR_CAPTIONTYPE
Definition: StarAttribute.hxx:467
StarAttribute::SDRATTR_EDGELINE3DELTA
Definition: StarAttribute.hxx:527
StarGraphicAttribute::StarGAttributeBool::StarGAttributeBool
StarGAttributeBool(Type type, std::string const &debugName, bool value)
constructor
Definition: StarGraphicAttribute.cxx:59
StarAttribute::m_debugName
std::string m_debugName
the debug name
Definition: StarAttribute.hxx:807
StarAttribute::SDRATTR_CAPTIONFITLINELEN
Definition: StarAttribute.hxx:476
StarAttribute::XATTR_FILLBMP_SIZEX
Definition: StarAttribute.hxx:411
StarGraphicAttribute::StarGAttributeCrop::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a graphic style
Definition: StarGraphicAttribute.cxx:886
StarAttribute::XATTR_FILLTRANSPARENCE
Definition: StarAttribute.hxx:407
StarGraphicAttribute::StarGAttributeNamedDash::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a graphic style
Definition: StarGraphicAttribute.cxx:942
StarAttribute::SDRATTR_GRAFLUMINANCE
Definition: StarAttribute.hxx:626
StarGraphicAttribute::StarGAttributeBoxInfo::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:530
StarGraphicAttribute::StarGAttributeNamedHatch
a hatch's named attribute
Definition: StarGraphicAttribute.cxx:841
StarGraphicAttribute::StarGAttributeNamedDash::m_dashStyle
int m_dashStyle
the style: XDASH_RECT, XDASH_ROUND, XDASH_RECTRELATIVE, XDASH_ROUNDRELATIVE
Definition: StarGraphicAttribute.cxx:767
StarAttribute::SDRATTR_MEASURETEXTROTA90
Definition: StarAttribute.hxx:547
StarGraphicAttribute::StarGAttributeNamedArrow::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarGraphicAttribute.cxx:1058
StarAttribute::XATTR_LINERESERVED_LAST
Definition: StarAttribute.hxx:400
StarGraphicAttribute::StarGAttributeInt::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a graphic style
Definition: StarGraphicAttribute.cxx:288
StarAttribute::SDRATTR_GRAFRED
Definition: StarAttribute.hxx:623
StarGraphicAttribute::StarGAttributeNamedBitmap::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a graphic style
Definition: StarGraphicAttribute.cxx:919
libstoff::DebugFile::addNote
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
StarGraphicAttribute::StarGAttributeNamedDash::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarGraphicAttribute.cxx:750
StarGraphicAttribute::StarGAttributeNamed
a named attribute
Definition: StarGraphicAttribute.cxx:598
StarGraphicAttribute::StarGAttributeNamedColor
a color's named attribute
Definition: StarGraphicAttribute.cxx:695
StarAttribute::SDRATTR_MEASURERESERVE05
Definition: StarAttribute.hxx:559
StarAttribute::SDRATTR_CAPTIONANGLE
Definition: StarAttribute.hxx:469
StarGraphicAttribute::StarGAttributeNamedBitmap::m_bitmap
STOFFEmbeddedObject m_bitmap
the bitmap
Definition: StarGraphicAttribute.cxx:691
StarAttribute::SDRATTR_MEASUREDECIMALPLACES
Definition: StarAttribute.hxx:558
StarAttribute::XATTR_SET_FILL
Definition: StarAttribute.hxx:431
StarGraphicAttribute.hxx
StarAttribute::XATTR_FILLBMP_POS
Definition: StarAttribute.hxx:410
StarAttribute::SDRATTR_MEASUREUNIT
Definition: StarAttribute.hxx:550
StarGraphicAttribute::StarGAttributeNamedGradient::m_step
int m_step
the step
Definition: StarGraphicAttribute.cxx:831
StarGraphicAttribute::StarGAttributeNamedBitmap::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarGraphicAttribute.cxx:680
StarAttribute::SDRATTR_LAYERID
Definition: StarAttribute.hxx:576
StarZone::input
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
StarAttribute::SDRATTR_LOGICSIZEHEIGHT
Definition: StarAttribute.hxx:588
StarGraphicStruct::StarPolygon::convert
bool convert(librevenge::RVNGString &path, librevenge::RVNGString &viewbox, double relUnit, STOFFVec2f const &decal) const
convert a path in a string and update the bdbox
Definition: StarGraphicStruct.cxx:716
STOFFVec2i
STOFFVec2< int > STOFFVec2i
STOFFVec2 of int.
Definition: libstaroffice_internal.hxx:763
StarAttribute::SDRATTR_EDGELINE1DELTA
Definition: StarAttribute.hxx:525
StarGraphicAttribute::StarGAttributeNamedColor::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font/graphic style
Definition: StarGraphicAttribute.cxx:930
StarAttribute::SDRATTR_MOVEY
Definition: StarAttribute.hxx:592
StarGraphicAttribute::StarGAttributeCrop::StarGAttributeCrop
StarGAttributeCrop(Type type, std::string const &debugName)
constructor
Definition: StarGraphicAttribute.cxx:567
StarGraphicAttribute::StarGAttributeUInt::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:185
StarGraphicAttribute::StarGAttributeInt
a character integer attribute
Definition: StarGraphicAttribute.cxx:155
StarAttribute::SDRATTR_RESIZEYALL
Definition: StarAttribute.hxx:599
StarGraphicAttribute::StarGAttributeNamedGradient::m_border
int m_border
the border
Definition: StarGraphicAttribute.cxx:829
StarAttribute::SDRATTR_TEXT_VERTADJUST
Definition: StarAttribute.hxx:494
STOFFFont.hxx
StarAttribute::XATTR_GRADIENTSTEPCOUNT
Definition: StarAttribute.hxx:408
StarAttribute::SDRATTR_EDGENODE2GLUEDIST
Definition: StarAttribute.hxx:523
StarAttribute::SDRATTR_CAPTIONRESERVE1
Definition: StarAttribute.hxx:477
StarGraphicAttribute::StarGAttributeNamedGradient::StarGAttributeNamedGradient
StarGAttributeNamedGradient(Type type, std::string const &debugName)
constructor
Definition: StarGraphicAttribute.cxx:781
StarGraphicAttribute::StarGAttributeNamedArrow::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a graphic style
Definition: StarGraphicAttribute.cxx:900
STOFFColor::white
static STOFFColor white()
return the white color
Definition: libstaroffice_internal.hxx:238
StarItemPool.hxx
StarGraphicAttribute::StarGAttributeVoid::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a graphic style
Definition: StarGraphicAttribute.cxx:473
StarGraphicAttribute::StarGAttributeNamedGradient::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:795
StarGraphicAttribute::StarGAttributeCrop::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarGraphicAttribute.cxx:1026
StarAttribute::XATTR_LINEENDWIDTH
Definition: StarAttribute.hxx:391
StarAttribute.hxx
StarAttribute::SDRATTR_OBJPRINTABLE
Definition: StarAttribute.hxx:575
StarAttribute::SDRATTR_EDGENODE1GLUEDIST
Definition: StarAttribute.hxx:522
StarAttribute::SDRATTR_GRAFTRANSPARENCE
Definition: StarAttribute.hxx:629
StarGraphicAttribute
namespace used to contain graphic attributes (and some cell attributes which are similar)
Definition: StarGraphicAttribute.cxx:52
StarAttribute::SDRATTR_MEASURESCALE
Definition: StarAttribute.hxx:551
StarAttribute::XATTR_FILLBITMAP
Definition: StarAttribute.hxx:406
StarGraphicAttribute::StarGAttributeNamedGradient::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarGraphicAttribute.cxx:1235
StarAttribute::SDRATTR_TRANSFORMREF2Y
Definition: StarAttribute.hxx:606
StarGraphicAttribute::StarGAttributeNamedArrow::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:638
StarAttribute::SDRATTR_TEXT_ANISTARTINSIDE
Definition: StarAttribute.hxx:502
STOFFBorderLine::m_outWidth
int m_outWidth
the outline width in TWIP
Definition: libstaroffice_internal.hxx:353
StarGraphicAttribute::StarGAttributeBool::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarGraphicAttribute.cxx:64
StarGraphicAttribute::StarGAttributeNamedBitmap::StarGAttributeNamedBitmap
StarGAttributeNamedBitmap(Type type, std::string const &debugName)
constructor
Definition: StarGraphicAttribute.cxx:665
StarAttribute::SDRATTR_MEASURETEXTISFIXEDANGLE
Definition: StarAttribute.hxx:556
StarAttributeInt
an integer attribute
Definition: StarAttribute.hxx:907
StarAttribute::XATTR_LINESTART
Definition: StarAttribute.hxx:388
StarGraphicAttribute::StarGAttributeNamed::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) override
read a zone
Definition: StarGraphicAttribute.cxx:1045
StarAttribute::SDRATTR_TEXT_FITTOSIZE
Definition: StarAttribute.hxx:489
STOFFEmbeddedObject::isEmpty
bool isEmpty() const
return true if the picture contains no data
Definition: libstaroffice_internal.hxx:422
StarAttribute::SDRATTR_TEXT_MINFRAMEHEIGHT
Definition: StarAttribute.hxx:487
StarAttribute::SDRATTR_ALLSIZEHEIGHT
Definition: StarAttribute.hxx:582
STOFFEmbeddedObject::add
void add(librevenge::RVNGBinaryData const &binaryData, std::string const &type="image/pict")
add a picture
Definition: libstaroffice_internal.hxx:433
StarAttributeBool
a boolean attribute
Definition: StarAttribute.hxx:814

Generated on Mon Jan 20 2020 23:02:17 for libstaroffice by doxygen 1.8.16