MsWksGraphInternal::TextBox Struct Referencefinal

Internal: the textbox of a MsWksGraph ( v2-v3) More...

Inheritance diagram for MsWksGraphInternal::TextBox:
MsWksGraphInternal::Zone

Public Member Functions

 TextBox (Zone const &z)
 constructor
 
 ~TextBox () final
 destructor
 
Type type () const final
 return the type
 
void print (std::ostream &o) const final
 operator<<
 
void fillFrame (MWAWGraphicStyle &style) const final
 add frame parameters to propList (if needed )
 
- Public Member Functions inherited from MsWksGraphInternal::Zone
 Zone ()
 constructor
 
 Zone (Zone const &)=default
 
Zoneoperator= (Zone const &)=default
 
Zoneoperator= (Zone &&)=default
 
virtual ~Zone ()
 destructor
 
virtual Type type () const
 return the type
 
virtual bool getBinaryData (MWAWInputStreamPtr, MWAWEmbeddedObject &picture) const
 return a binary data (if known)
 
virtual float needExtraBorderWidth () const
 return the extra border space ( if needed)
 
virtual void fillFrame (MWAWGraphicStyle &) const
 add frame parameters to propList (if needed )
 
MWAWBox2f getLocalBox (bool extendWithBord=true) const
 return the box
 
MWAWPosition getPosition (MWAWPosition::AnchorTo rel) const
 
virtual void print (std::ostream &o) const
 the virtual print function
 

Public Attributes

int m_numPositions
 the number of positions
 
std::vector< MWAWFontm_fontsList
 the list of fonts
 
std::vector< int > m_positions
 the list of positions
 
std::vector< int > m_formats
 the list of format
 
std::string m_text
 the text
 
MWAWParagraph::Justification m_justify
 the paragraph alignment
 
- Public Attributes inherited from MsWksGraphInternal::Zone
int m_subType
 the type
 
int m_zoneId
 the zone id
 
MWAWEntry m_pos
 the file position
 
long m_dataPos
 the data begin position
 
int m_fileId
 the file id
 
long m_ids [3]
 the zones id (main, previous, next)
 
int m_page
 the page
 
MWAWBox2f m_decal
 the local position
 
MWAWVec2f m_finalDecal
 the final local position
 
MWAWBox2f m_box
 local bdbox
 
int m_line
 the line position(v1)
 
MsWksGraph::Style m_style
 the style
 
int m_order
 the picture order
 
std::string m_extra
 extra data
 
bool m_doNotSend
 a flag used to know if we need to send the data ( or if this is the part of a sub group)
 
bool m_isSent
 true if the zone is send
 

Private Member Functions

 TextBox (TextBox const &)=delete
 
TextBoxoperator= (TextBox const &)=delete
 

Additional Inherited Members

- Public Types inherited from MsWksGraphInternal::Zone
enum  Type {
  Unknown , Shape , ChartZone , Group ,
  Pict , Text , Textv4 , Bitmap ,
  TableZone , OLE
}
 

Detailed Description

Internal: the textbox of a MsWksGraph ( v2-v3)

Constructor & Destructor Documentation

◆ TextBox() [1/2]

MsWksGraphInternal::TextBox::TextBox ( Zone const &  z)
inlineexplicit

constructor

◆ ~TextBox()

MsWksGraphInternal::TextBox::~TextBox ( )
final

destructor

◆ TextBox() [2/2]

MsWksGraphInternal::TextBox::TextBox ( TextBox const &  )
privatedelete

Member Function Documentation

◆ fillFrame()

void MsWksGraphInternal::TextBox::fillFrame ( MWAWGraphicStyle style) const
inlinefinalvirtual

add frame parameters to propList (if needed )

Reimplemented from MsWksGraphInternal::Zone.

◆ operator=()

TextBox & MsWksGraphInternal::TextBox::operator= ( TextBox const &  )
privatedelete

◆ print()

void MsWksGraphInternal::TextBox::print ( std::ostream &  o) const
inlinefinalvirtual

operator<<

Reimplemented from MsWksGraphInternal::Zone.

◆ type()

Type MsWksGraphInternal::TextBox::type ( ) const
inlinefinalvirtual

return the type

Reimplemented from MsWksGraphInternal::Zone.

Member Data Documentation

◆ m_fontsList

std::vector<MWAWFont> MsWksGraphInternal::TextBox::m_fontsList

the list of fonts

Referenced by MsWksGraph::readText().

◆ m_formats

std::vector<int> MsWksGraphInternal::TextBox::m_formats

the list of format

Referenced by MsWksGraph::readText().

◆ m_justify

MWAWParagraph::Justification MsWksGraphInternal::TextBox::m_justify

the paragraph alignment

Referenced by print().

◆ m_numPositions

int MsWksGraphInternal::TextBox::m_numPositions

the number of positions

Referenced by MsWksGraph::readText().

◆ m_positions

std::vector<int> MsWksGraphInternal::TextBox::m_positions

the list of positions

Referenced by MsWksGraph::readText().

◆ m_text

std::string MsWksGraphInternal::TextBox::m_text

the text

Referenced by MsWksGraph::readText().


The documentation for this struct was generated from the following file:

Generated on Wed May 3 2023 07:18:29 for libmwaw by doxygen 1.9.6