Internal: the textbox of a HMWKGraph. More...
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<< |
Internal: the textbox of a HMWKGraph.
HMWKGraphInternal::TextBox::TextBox | ( | Frame const & | orig, |
bool | isComment | ||
) | [inline] |
constructor
HMWKGraphInternal::TextBox::~TextBox | ( | ) | [inline] |
destructor
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
std::ostream& operator<< | ( | std::ostream & | o, |
TextBox const & | textbox | ||
) | [friend] |
operator<<
a flag to know if this is a comment textbox
float HMWKGraphInternal::TextBox::m_dim[2] |
two auxilliary dim for memo textbox
Referenced by print(), HMWKGraph::sendTextBox(), and TextBox().
std::string HMWKGraphInternal::TextBox::m_extra |
a flag to know if this textbox is linked to a previous box
Referenced by addTo(), isLinked(), HMWKGraph::prepareStructures(), and HMWKGraph::sendTextBox().
std::vector<long> HMWKGraphInternal::TextBox::m_linkedIdList |
the list of linked remaining textbox id
Referenced by addTo(), isLinked(), HMWKGraph::prepareStructures(), and print().
the text file id
Referenced by HMWKGraph::canCreateGraphic(), print(), HMWKGraph::sendFrame(), HMWKGraph::sendGroup(), HMWKGraph::sendGroupChild(), and HMWKGraph::sendTextBox().