StarFrameAttribute.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 frame attributes
36 *
37 */
38 #ifndef STAR_FRAME_ATTRIBUTE
39 # define STAR_FRAME_ATTRIBUTE
40
41 #include <map>
42
43 #include "libstaroffice_internal.hxx"
44
45 class StarAttribute;
46
48 namespace StarFrameAttribute
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:
StarFrameAttribute::StarFAttributeBrush
a brush attribute
Definition: StarFrameAttribute.cxx:328
StarFrameAttribute::StarFAttributeShadow::m_color
STOFFColor m_color
the color
Definition: StarFrameAttribute.cxx:593
STOFFPosition::Paragraph
@ Paragraph
Definition: STOFFPosition.hxx:51
StarFrameAttribute::StarFAttributeFrameSize::m_height
long m_height
the height
Definition: StarFrameAttribute.cxx:404
STOFFGraphicStyle::m_propertyList
librevenge::RVNGPropertyList m_propertyList
the property list
Definition: STOFFGraphicStyle.hxx:66
StarFrameAttribute::StarFAttributeLineNumbering
a line numbering attribute
Definition: StarFrameAttribute.cxx:410
StarFrameAttribute::StarFAttributeBrush::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarFrameAttribute.cxx:347
StarFrameAttribute::StarFAttributeOrientation::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarFrameAttribute.cxx:1262
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
StarGraphicStruct::StarBrush::m_position
int m_position
the position(none, lt, mt, rt, lm, mm, rm, lb, mb, rb, area, tiled)
Definition: StarGraphicStruct.hxx:94
STOFFPosition::setSize
void setSize(STOFFVec2f const &size)
utility function to set a size in point
Definition: STOFFPosition.hxx:108
StarAttribute::ATTR_FRM_HORI_ORIENT
@ ATTR_FRM_HORI_ORIENT
Definition: StarAttribute.hxx:161
STOFFVec2< int >
StarFrameAttribute::StarFAttributeShadow::m_transparency
int m_transparency
the trans?
Definition: StarFrameAttribute.cxx:591
StarState::m_break
int m_break
a page/column break: 1=columnBefore, 2=columnAfter, 3=columnBoth, 4=pageBefore, 5=pageAfter,...
Definition: StarState.hxx:170
StarFrameAttribute::StarFAttributeBool::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:58
StarAttribute::Type
Type
the attribute list
Definition: StarAttribute.hxx:66
StarFrameAttribute::StarFAttributeBorder::m_distance
int m_distance
the distance
Definition: StarFrameAttribute.cxx:320
StarFrameAttribute::StarFAttributeLineNumbering::StarFAttributeLineNumbering
StarFAttributeLineNumbering(Type type, std::string const &debugName)
constructor
Definition: StarFrameAttribute.cxx:414
StarZone::ascii
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
StarFrameAttribute::StarFAttributeUInt::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a frame style
Definition: StarFrameAttribute.cxx:193
STOFF_DEBUG_MSG
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
StarFrameAttribute::StarFAttributeBrush::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a cell/font/graphic style
Definition: StarFrameAttribute.cxx:743
StarFrameAttribute::StarFAttributeFrameSize::m_width
long m_width
the width
Definition: StarFrameAttribute.cxx:402
StarFrameAttribute::StarFAttributeFrameSize::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarFrameAttribute.cxx:382
StarState::m_frame
STOFFFrameStyle m_frame
the frame style
Definition: StarState.hxx:175
StarFrameAttribute::StarFAttributeShadow::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a cell/graphic style
Definition: StarFrameAttribute.cxx:1018
StarFrameAttribute::StarFAttributeShadow
a shadow attribute
Definition: StarFrameAttribute.cxx:547
StarFrameAttribute::StarFAttributeOrientation::StarFAttributeOrientation
StarFAttributeOrientation(Type type, std::string const &debugName)
constructor
Definition: StarFrameAttribute.cxx:502
StarAttribute::m_type
Type m_type
the type
Definition: StarAttribute.hxx:805
StarFrameAttribute::StarFAttributeLRSpace::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a paragraph/page
Definition: StarFrameAttribute.cxx:888
StarFrameAttribute::StarFAttributeLineNumbering::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:421
StarFrameAttribute::StarFAttributeSurround
a surround attribute
Definition: StarFrameAttribute.cxx:601
StarFrameAttribute::StarFAttributeVoid::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:168
StarFrameAttribute::StarFAttributeLRSpace::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:461
StarFrameAttribute::StarFAttributeShadow::m_fillColor
STOFFColor m_fillColor
the fill color
Definition: StarFrameAttribute.cxx:595
StarGraphicStruct.hxx
StarFrameAttribute::StarFAttributeOrientation::m_relat
int m_relat
the relative position, FRAME, PRTAREA, CHAR, PG_LEFT, PG_RIGTH, FRM_LEFT, FRM_RIGHT,...
Definition: StarFrameAttribute.cxx:541
StarFrameAttribute::StarFAttributeLRSpace::StarFAttributeLRSpace
StarFAttributeLRSpace(Type type, std::string const &debugName)
constructor
Definition: StarFrameAttribute.cxx:452
StarGraphicStruct::StarBrush::hasUniqueColor
bool hasUniqueColor() const
returns true is the brush has unique color
Definition: StarGraphicStruct.hxx:72
StarAttribute::ATTR_FRM_FRM_SIZE
@ ATTR_FRM_FRM_SIZE
Definition: StarAttribute.hxx:147
StarObjectSmallText.hxx
StarFrameAttribute::StarFAttributeOrientation::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:511
StarFrameAttribute::StarFAttributeVoid
a void attribute
Definition: StarFrameAttribute.cxx:157
StarFrameAttribute::StarFAttributeULSpace::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarFrameAttribute.cxx:1334
STOFFPosition::AnchorTo
AnchorTo
a list of enum used to defined the anchor
Definition: STOFFPosition.hxx:51
StarFrameAttribute::StarFAttributeSurround::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarFrameAttribute.cxx:621
StarFrameAttribute::StarFAttributeShadow::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:562
StarFrameAttribute::StarFAttributeVoid::StarFAttributeVoid
StarFAttributeVoid(Type type, std::string const &debugName)
constructor
Definition: StarFrameAttribute.cxx:161
StarAttribute::ATTR_FRM_BACKGROUND
@ ATTR_FRM_BACKGROUND
Definition: StarAttribute.hxx:163
StarFrameAttribute::StarFAttributeULSpace::m_propMargins
int m_propMargins[2]
the prop margins: top, bottom
Definition: StarFrameAttribute.cxx:681
STOFFFont::m_propertyList
librevenge::RVNGPropertyList m_propertyList
the property list
Definition: STOFFFont.hxx:88
STOFFPosition::Frame
@ Frame
Definition: STOFFPosition.hxx:51
STOFFBorderLine
a border line
Definition: libstaroffice_internal.hxx:326
StarFrameAttribute::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: StarFrameAttribute.cxx:209
STOFFColor::str
std::string str() const
print the color in the form #rrggbb
Definition: libstaroffice_internal.cxx:226
StarAttribute::ATTR_EE_PARA_OUTLLR_SPACE
@ ATTR_EE_PARA_OUTLLR_SPACE
Definition: StarAttribute.hxx:265
StarFrameAttribute::StarFAttributeOrientation::m_orient
int m_orient
the orientation: -horizontal:NONE,RIGHT,CENTER, LEFT,INSIDE,OUTSIDE,FULL, LEFT_AND_WIDTH -vertical:NO...
Definition: StarFrameAttribute.cxx:539
StarFrameAttribute::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: StarFrameAttribute.cxx:214
StarFrameAttribute::StarFAttributeLRSpace::m_margins
int m_margins[3]
the margins: left, right, firstline
Definition: StarFrameAttribute.cxx:488
StarFrameAttribute::StarFAttributeShadow::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarFrameAttribute.cxx:1283
STOFFColor
the class to store a color
Definition: libstaroffice_internal.hxx:189
StarFrameAttribute::StarFAttributeSurround::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarFrameAttribute.cxx:1312
StarFrameAttribute::StarFAttributeAnchor::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:245
StarFrameAttribute::StarFAttributeULSpace::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:654
StarAttributeUInt::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) override
read a zone
Definition: StarAttribute.cxx:515
STOFFFrameStyle::m_anchorIndex
int m_anchorIndex
the anchor index: used to relate to find the character related to at_char
Definition: STOFFFrameStyle.hxx:75
StarState
class to store an state: ie.
Definition: StarState.hxx:67
STOFFPosition::m_size
STOFFVec2f m_size
the size in point
Definition: STOFFPosition.hxx:149
StarFrameAttribute::addAttributeVoid
void addAttributeVoid(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName)
add a void attribute
Definition: StarFrameAttribute.cxx:224
StarFrameAttribute::StarFAttributeBrush::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarFrameAttribute.cxx:1159
StarFrameAttribute::StarFAttributeUInt::StarFAttributeUInt
StarFAttributeUInt(Type type, std::string const &debugName, int intSize, unsigned int value)
constructor
Definition: StarFrameAttribute.cxx:122
StarFrameAttribute::StarFAttributeLRSpace::m_textLeft
int m_textLeft
the text left
Definition: StarFrameAttribute.cxx:492
StarFrameAttribute::StarFAttributeVoid::~StarFAttributeVoid
~StarFAttributeVoid() final
destructor
Definition: StarFrameAttribute.cxx:179
STOFFEmbeddedObject
small class use to define a embedded object
Definition: libstaroffice_internal.hxx:408
STOFFCellStyle::m_propertyList
librevenge::RVNGPropertyList m_propertyList
the property list
Definition: STOFFCellStyle.hxx:63
StarGraphicStruct::StarBrush::getPattern
bool getPattern(STOFFEmbeddedObject &object, STOFFVec2i &sz) const
try to return a pattern corresponding to the brush
Definition: StarGraphicStruct.cxx:434
libstaroffice_internal.hxx
StarFrameAttribute::StarFAttributeAnchor
a anchor attribute
Definition: StarFrameAttribute.cxx:234
libstoff::DebugStream::str
static std::string str()
Definition: STOFFDebug.hxx:203
STOFFFrameStyle::m_propertyList
librevenge::RVNGPropertyList m_propertyList
the property list
Definition: STOFFFrameStyle.hxx:71
StarFrameAttribute::StarFAttributeColor::~StarFAttributeColor
~StarFAttributeColor() final
destructor
Definition: StarFrameAttribute.cxx:93
STOFFColor::isWhite
bool isWhite() const
return true if the color is white
Definition: libstaroffice_internal.hxx:282
StarFrameAttribute::StarFAttributeBool::StarFAttributeBool
StarFAttributeBool(Type type, std::string const &debugName, bool value)
constructor
Definition: StarFrameAttribute.cxx:53
StarFrameAttribute::StarFAttributeLRSpace::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarFrameAttribute.cxx:1218
StarFrameAttribute::StarFAttributeBorder::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarFrameAttribute.cxx:1119
StarFrameAttribute::StarFAttributeLineNumbering::m_start
long m_start
the name value
Definition: StarFrameAttribute.cxx:442
StarFrameAttribute::StarFAttributeFrameSize::m_frmType
int m_frmType
the type
Definition: StarFrameAttribute.cxx:400
StarFrameAttribute::StarFAttributeFrameSize::StarFAttributeFrameSize
StarFAttributeFrameSize(Type type, std::string const &debugName)
constructor
Definition: StarFrameAttribute.cxx:364
STOFFBorderLine::m_distance
int m_distance
the border distance
Definition: libstaroffice_internal.hxx:359
StarFrameAttribute::StarFAttributeLineNumbering::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a para
Definition: StarFrameAttribute.cxx:878
StarAttributeUInt
a unsigned integer attribute
Definition: StarAttribute.hxx:946
StarFrameAttribute::StarFAttributeFrameSize::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarFrameAttribute.cxx:864
StarAttribute::ATTR_FRM_SURROUND
@ ATTR_FRM_SURROUND
Definition: StarAttribute.hxx:159
StarFrameAttribute::StarFAttributeOrientation::m_posToggle
bool m_posToggle
a posToggle flag
Definition: StarFrameAttribute.cxx:543
StarGraphicStruct::StarBrush::getColor
bool getColor(STOFFColor &color) const
try to return a color corresponding to the brush
Definition: StarGraphicStruct.cxx:420
StarAttribute::ATTR_FRM_BREAK
@ ATTR_FRM_BREAK
Definition: StarAttribute.hxx:152
StarFrameAttribute::StarFAttributeShadow::m_width
int m_width
the width in twip
Definition: StarFrameAttribute.cxx:589
STOFFInputStreamPtr
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:489
StarFrameAttribute::StarFAttributeLineNumbering::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarFrameAttribute.cxx:1201
StarAttribute::ATTR_FRM_LR_SPACE
@ ATTR_FRM_LR_SPACE
Definition: StarAttribute.hxx:149
StarFrameAttribute::addInitTo
void addInitTo(std::map< int, std::shared_ptr< StarAttribute > > &map)
adds frame attribute to the general it to attribute map
Definition: StarFrameAttribute.cxx:1354
StarFrameAttribute::StarFAttributeInt
a character integer attribute
Definition: StarFrameAttribute.cxx:97
StarGraphicStruct::StarBrush
Class to store a brush.
Definition: StarGraphicStruct.hxx:51
StarFrameAttribute::StarFAttributeSurround::m_surround
int m_surround
the main value: NONE, THROUGH, PARALLEL, IDEAL, LEFT, RIGHT, END
Definition: StarFrameAttribute.cxx:637
StarZone
a zone in a StarOffice file
Definition: StarZone.hxx:56
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
StarFrameAttribute::StarFAttributeSurround::m_bools
bool m_bools[4]
the ideal,anchorOnly, contour, outside
Definition: StarFrameAttribute.cxx:639
StarFrameAttribute::StarFAttributeAnchor::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a cell/graphic/paragraph style
Definition: StarFrameAttribute.cxx:684
StarFrameAttribute::StarFAttributeOrientation::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarFrameAttribute.cxx:520
StarFrameAttribute::StarFAttributeAnchor::m_index
int m_index
the index (page?)
Definition: StarFrameAttribute.cxx:268
StarFrameAttribute::StarFAttributeBool::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a frame style
Definition: StarFrameAttribute.cxx:183
StarFrameAttribute::StarFAttributeULSpace::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarFrameAttribute.cxx:663
StarFrameAttribute::StarFAttributeOrientation
a orientation attribute
Definition: StarFrameAttribute.cxx:498
StarAttribute::ATTR_FRM_LAYOUT_SPLIT
@ ATTR_FRM_LAYOUT_SPLIT
Definition: StarAttribute.hxx:171
StarFrameAttribute::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: StarFrameAttribute.cxx:219
StarState::m_font
STOFFFont m_font
the font
Definition: StarState.hxx:182
StarAttribute::ATTR_FRM_SHADOW
@ ATTR_FRM_SHADOW
Definition: StarAttribute.hxx:165
StarAttributeUInt::m_value
unsigned int m_value
Definition: StarAttribute.hxx:978
StarFrameAttribute
namespace used to contain frame attributes
Definition: StarFrameAttribute.cxx:46
StarFrameAttribute::StarFAttributeBorder::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarFrameAttribute.cxx:292
libstoff::DebugStream
Definition: STOFFDebug.hxx:194
StarAttribute::ATTR_FRM_VERT_ORIENT
@ ATTR_FRM_VERT_ORIENT
Definition: StarAttribute.hxx:160
StarAttribute::ATTR_SC_SHADOW
@ ATTR_SC_SHADOW
Definition: StarAttribute.hxx:225
STOFFBorderLine::m_inWidth
int m_inWidth
the inline width in TWIP
Definition: libstaroffice_internal.hxx:355
StarAttribute::ATTR_CHR_BACKGROUND
@ ATTR_CHR_BACKGROUND
Definition: StarAttribute.hxx:88
STOFFPosition::m_propertyList
librevenge::RVNGPropertyList m_propertyList
the property list
Definition: STOFFPosition.hxx:153
STOFFPosition::setAnchor
void setAnchor(AnchorTo anchor)
set the anchor
Definition: STOFFPosition.hxx:121
StarFrameAttribute::StarFAttributeAnchor::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarFrameAttribute.cxx:1083
StarAttributeBool::m_value
bool m_value
Definition: StarAttribute.hxx:841
StarAttributeColor
a color attribute
Definition: StarAttribute.hxx:845
STOFFFrameStyle::m_position
STOFFPosition m_position
the position
Definition: STOFFFrameStyle.hxx:73
STOFFBorderLine::addTo
bool addTo(librevenge::RVNGPropertyList &propList, std::string which="") const
add the border property to proplist (if needed )
Definition: libstaroffice_internal.cxx:256
StarFrameAttribute::StarFAttributeBrush::m_brush
StarGraphicStruct::StarBrush m_brush
the brush
Definition: StarFrameAttribute.cxx:356
StarFrameAttribute::StarFAttributeColor
a character color attribute
Definition: StarFrameAttribute.cxx:71
StarFrameAttribute::StarFAttributeSurround::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a cell/graphic style
Definition: StarFrameAttribute.cxx:1042
STOFFVec2f
STOFFVec2< float > STOFFVec2f
STOFFVec2 of float.
Definition: libstaroffice_internal.hxx:771
StarFrameAttribute::StarFAttributeBool
a character bool attribute
Definition: StarFrameAttribute.cxx:49
StarFrameAttribute::StarFAttributeULSpace::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page/paragraph
Definition: StarFrameAttribute.cxx:1055
StarFrameAttribute::StarFAttributeUInt
a character unsigned integer attribute
Definition: StarFrameAttribute.cxx:118
STOFFBorderLine::m_color
STOFFColor m_color
the border color
Definition: libstaroffice_internal.hxx:357
StarFrameAttribute::StarFAttributeOrientation::m_position
int32_t m_position
the position in twip
Definition: StarFrameAttribute.cxx:534
StarFrameAttribute::StarFAttributeBorder::m_distances
int m_distances[4]
the padding distance: top, left, right, bottom
Definition: StarFrameAttribute.cxx:324
StarFrameAttribute::StarFAttributeFrameSize::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarFrameAttribute.cxx:1179
StarFrameAttribute::StarFAttributeLRSpace::m_propMargins
int m_propMargins[3]
the prop margins: left, right, firstline
Definition: StarFrameAttribute.cxx:490
StarFrameAttribute::StarFAttributeUInt::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarFrameAttribute.cxx:127
StarFrameAttribute::StarFAttributeAnchor::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarFrameAttribute.cxx:254
StarFrameAttribute::StarFAttributeULSpace::m_margins
int m_margins[2]
the margins: top, bottom
Definition: StarFrameAttribute.cxx:679
STOFF_N_ELEMENTS
#define STOFF_N_ELEMENTS(m)
Definition: libstaroffice_internal.hxx:119
StarFrameAttribute::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: StarFrameAttribute.cxx:204
StarFrameAttribute::StarFAttributeLRSpace::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarFrameAttribute.cxx:470
StarFrameAttribute::StarFAttributeFrameSize::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:373
STOFFPosition::Page
@ Page
Definition: STOFFPosition.hxx:51
StarFrameAttribute::StarFAttributeULSpace::StarFAttributeULSpace
StarFAttributeULSpace(Type type, std::string const &debugName)
constructor
Definition: StarFrameAttribute.cxx:647
StarState.hxx
StarFrameAttribute::StarFAttributeLineNumbering::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarFrameAttribute.cxx:430
StarState::convertInPoint
double convertInPoint(double val) const
return the relative units
Definition: StarState.hxx:150
StarState::m_cell
STOFFCellStyle m_cell
the cell style
Definition: StarState.hxx:173
StarAttribute::ATTR_FRM_UL_SPACE
@ ATTR_FRM_UL_SPACE
Definition: StarAttribute.hxx:150
libstoff::DebugFile::addPos
static void addPos(long)
Definition: STOFFDebug.hxx:223
StarFrameAttribute::StarFAttributeBorder::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a cell/graphic/paragraph style
Definition: StarFrameAttribute.cxx:715
StarFrameAttribute::StarFAttributeColor::StarFAttributeColor
StarFAttributeColor(Type type, std::string const &debugName, STOFFColor const &value)
constructor
Definition: StarFrameAttribute.cxx:75
StarFrameAttribute::StarFAttributeBorder::m_borders
STOFFBorderLine m_borders[4]
the border list: top, left, right, bottom
Definition: StarFrameAttribute.cxx:322
StarFrameAttribute::StarFAttributeFrameSize::m_percent
STOFFVec2i m_percent
the percent value
Definition: StarFrameAttribute.cxx:406
StarObject.hxx
StarZone.hxx
StarFrameAttribute::StarFAttributeUInt::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:145
StarFrameAttribute::StarFAttributeFrameSize
a frameSize attribute
Definition: StarFrameAttribute.cxx:360
StarFrameAttribute::StarFAttributeOrientation::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a cell style
Definition: StarFrameAttribute.cxx:934
StarFrameAttribute::StarFAttributeSurround::StarFAttributeSurround
StarFAttributeSurround(Type type, std::string const &debugName)
constructor
Definition: StarFrameAttribute.cxx:605
StarState::m_paragraph
STOFFParagraph m_paragraph
the paragraph style
Definition: StarState.hxx:180
StarFrameAttribute::StarFAttributeShadow::m_location
int m_location
the location 0-4
Definition: StarFrameAttribute.cxx:587
StarFrameAttribute::StarFAttributeULSpace
a top, bottom, ... attribute
Definition: StarFrameAttribute.cxx:643
STOFFPosition::CharBaseLine
@ CharBaseLine
Definition: STOFFPosition.hxx:51
StarFrameAttribute::StarFAttributeColor::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:82
StarState::m_global
std::shared_ptr< GlobalState > m_global
global state
Definition: StarState.hxx:165
StarAttributeVoid
void attribute of StarAttribute
Definition: StarAttribute.hxx:1058
libstoff::DebugFile
Definition: STOFFDebug.hxx:210
StarFrameAttribute::StarFAttributeInt::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:108
StarFrameAttribute::StarFAttributeBrush::StarFAttributeBrush
StarFAttributeBrush(Type type, std::string const &debugName)
constructor
Definition: StarFrameAttribute.cxx:332
StarAttribute::m_debugName
std::string m_debugName
the debug name
Definition: StarAttribute.hxx:807
StarGraphicStruct::StarBrush::read
bool read(StarZone &zone, int nVers, long endPos, StarObject &document)
try to read a brush
Definition: StarGraphicStruct.cxx:498
StarFrameAttribute::StarFAttributeBorder
a border attribute
Definition: StarFrameAttribute.cxx:272
StarAttribute::ATTR_SC_BACKGROUND
@ ATTR_SC_BACKGROUND
Definition: StarAttribute.hxx:221
StarFrameAttribute::StarFAttributeShadow::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarFrameAttribute.cxx:571
StarFrameAttribute::StarFAttributeBrush::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:338
libstoff::DebugFile::addNote
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
StarGraphicStruct::StarBrush::isEmpty
bool isEmpty() const
returns true if the brush is empty
Definition: StarGraphicStruct.hxx:67
StarAttribute::ATTR_FRM_LINENUMBER
@ ATTR_FRM_LINENUMBER
Definition: StarAttribute.hxx:174
StarFrameAttribute::StarFAttributeInt::StarFAttributeInt
StarFAttributeInt(Type type, std::string const &debugName, int intSize, int value)
constructor
Definition: StarFrameAttribute.cxx:101
StarFrameAttribute::StarFAttributeBorder::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:283
StarFrameAttribute::StarFAttributeLRSpace::m_autoFirst
bool m_autoFirst
a bool
Definition: StarFrameAttribute.cxx:494
STOFFParagraph::m_propertyList
librevenge::RVNGPropertyList m_propertyList
the properties
Definition: STOFFParagraph.hxx:73
StarZone::input
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
StarFrameAttribute::StarFAttributeLRSpace
a left, right, ... attribute
Definition: StarFrameAttribute.cxx:448
STOFFVec2i
STOFFVec2< int > STOFFVec2i
STOFFVec2 of int.
Definition: libstaroffice_internal.hxx:767
StarAttribute::ATTR_SC_BORDER
@ ATTR_SC_BORDER
Definition: StarAttribute.hxx:223
StarAttribute::ATTR_FRM_BOX
@ ATTR_FRM_BOX
Definition: StarAttribute.hxx:164
StarItemPool.hxx
StarAttribute.hxx
StarFrameAttribute.hxx
StarFrameAttribute::StarFAttributeBorder::StarFAttributeBorder
StarFAttributeBorder(Type type, std::string const &debugName)
constructor
Definition: StarFrameAttribute.cxx:276
STOFFPosition::Char
@ Char
Definition: STOFFPosition.hxx:51
StarFrameAttribute::StarFAttributeAnchor::StarFAttributeAnchor
StarFAttributeAnchor(Type type, std::string const &debugName)
constructor
Definition: StarFrameAttribute.cxx:238
StarFrameAttribute::StarFAttributeShadow::m_style
int m_style
the style
Definition: StarFrameAttribute.cxx:597
StarAttribute::ATTR_FRM_ANCHOR
@ ATTR_FRM_ANCHOR
Definition: StarAttribute.hxx:162
STOFFBorderLine::m_outWidth
int m_outWidth
the outline width in TWIP
Definition: libstaroffice_internal.hxx:353
StarAttribute::ATTR_SCH_SYMBOL_BRUSH
@ ATTR_SCH_SYMBOL_BRUSH
Definition: StarAttribute.hxx:378
StarAttributeInt
an integer attribute
Definition: StarAttribute.hxx:907
StarFrameAttribute::StarFAttributeSurround::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarFrameAttribute.cxx:612
StarGraphicStruct::StarBrush::m_transparency
int m_transparency
the transparency
Definition: StarGraphicStruct.hxx:85
StarFrameAttribute::StarFAttributeShadow::StarFAttributeShadow
StarFAttributeShadow(Type type, std::string const &debugName)
constructor
Definition: StarFrameAttribute.cxx:551
StarAttributeBool
a boolean attribute
Definition: StarAttribute.hxx:814
StarFrameAttribute::StarFAttributeInt::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a frame style
Definition: StarFrameAttribute.cxx:189
StarFrameAttribute::StarFAttributeAnchor::m_anchor
int m_anchor
the anchor
Definition: StarFrameAttribute.cxx:266
StarFrameAttribute::StarFAttributeLineNumbering::m_countLines
bool m_countLines
the countLines flag
Definition: StarFrameAttribute.cxx:444