HMWKGraphInternal::TextBox Struct Reference

Internal: the textbox of a HMWKGraph. More...

Inheritance diagram for HMWKGraphInternal::TextBox:
HMWKGraphInternal::Frame

List of all members.

Public Member Functions

 TextBox (Frame const &orig, bool isComment)
 constructor
 ~TextBox ()
 destructor
bool isLinked () const
 returns true if the box is linked to other textbox
void addTo (WPXPropertyList &frames, WPXPropertyList &tbExtra) const
 add property to frame extra values
std::string print () const
 print local data

Public Attributes

bool m_commentBox
 a flag to know if this is a comment textbox
long m_textFileId
 the text file id
float m_dim [2]
 two auxilliary dim for memo textbox
std::vector< long > m_linkedIdList
 the list of linked remaining textbox id
bool m_isLinked
 a flag to know if this textbox is linked to a previous box
std::string m_extra
 extra data

Friends

std::ostream & operator<< (std::ostream &o, TextBox const &textbox)
 operator<<

Detailed Description

Internal: the textbox of a HMWKGraph.


Constructor & Destructor Documentation

HMWKGraphInternal::TextBox::TextBox ( Frame const &  orig,
bool  isComment 
) [inline]

constructor

destructor


Member Function Documentation

void HMWKGraphInternal::TextBox::addTo ( WPXPropertyList &  frames,
WPXPropertyList &  tbExtra 
) const [inline]

add property to frame extra values

Referenced by HMWKGraph::sendTextBox().

bool HMWKGraphInternal::TextBox::isLinked ( ) const [inline]

returns true if the box is linked to other textbox

Referenced by HMWKGraph::canCreateGraphic(), HMWKGraph::sendFrame(), and HMWKGraph::sendGroupChild().

std::string HMWKGraphInternal::TextBox::print ( ) const [inline]

print local data


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
TextBox const &  textbox 
) [friend]

operator<<


Member Data Documentation

a flag to know if this is a comment textbox

two auxilliary dim for memo textbox

Referenced by print(), HMWKGraph::sendTextBox(), and TextBox().

extra data

Reimplemented from HMWKGraphInternal::Frame.

Referenced by print().

a flag to know if this textbox is linked to a previous box

Referenced by addTo(), isLinked(), HMWKGraph::prepareStructures(), and HMWKGraph::sendTextBox().

the list of linked remaining textbox id

Referenced by addTo(), isLinked(), HMWKGraph::prepareStructures(), and print().


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