<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>libglom-1.14: Glom::LayoutItem_WithFormatting Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceGlom.html">Glom</a>::<a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html">LayoutItem_WithFormatting</a> </div> </div> <div class="contents"> <h1>Glom::LayoutItem_WithFormatting Class Reference</h1><!-- doxytag: class="Glom::LayoutItem_WithFormatting" --><!-- doxytag: inherits="Glom::LayoutItem" --> <p>A base class for all layout items that may have formatting options. <a href="#_details">More...</a></p> <p>Inherits <a class="el" href="classGlom_1_1LayoutItem.html">Glom::LayoutItem</a>.</p> <p>Inherited by <a class="el" href="classGlom_1_1LayoutItem__Button.html">Glom::LayoutItem_Button</a>, <a class="el" href="classGlom_1_1LayoutItem__Field.html">Glom::LayoutItem_Field</a>, and <a class="el" href="classGlom_1_1LayoutItem__Text.html">Glom::LayoutItem_Text</a>.</p> <div class="dynheader"> Collaboration diagram for Glom::LayoutItem_WithFormatting:</div> <div class="dynsection"> <div class="center"><img src="classGlom_1_1LayoutItem__WithFormatting__coll__graph.png" border="0" usemap="#Glom_1_1LayoutItem__WithFormatting_coll__map" alt="Collaboration graph"/></div> <map name="Glom_1_1LayoutItem__WithFormatting_coll__map" id="Glom_1_1LayoutItem__WithFormatting_coll__map"> <area shape="rect" href="classGlom_1_1LayoutItem.html" title="Glom::LayoutItem" alt="" coords="1327,471,1452,500"/><area shape="rect" href="classGlom_1_1TranslatableItem.html" title="TranslatableItem have a map of translation strings - one string for each locale." alt="" coords="912,419,1067,448"/><area shape="rect" href="classGlom_1_1Relationship.html" title="Glom::Relationship" alt="" coords="2077,351,2208,380"/><area shape="rect" href="classGlom_1_1sharedptr.html" title="Glom::sharedptr\< TranslatableItem \>" alt="" coords="1272,359,1507,388"/><area shape="rect" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00564.html" title="std::map\< Glib::ustring, Glib::ustring \>" alt="" coords="495,524,737,553"/><area shape="rect" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00564.html" title="std::map\< _Key, _Tp, _Compare, _Alloc \>" alt="" coords="5,524,272,553"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html" title="Glib::ustring" alt="" coords="571,235,661,264"/><area shape="rect" href="classGlom_1_1FieldFormatting.html" title="Glom::FieldFormatting" alt="" coords="3159,205,3308,235"/><area shape="rect" href="classGlom_1_1NumericFormat.html" title="Glom::NumericFormat" alt="" coords="1099,25,1248,55"/><area shape="rect" href="classGlom_1_1UsesRelationship.html" title="Glom::UsesRelationship" alt="" coords="2789,276,2949,305"/><area shape="rect" href="classGlom_1_1sharedptr.html" title="Glom::sharedptr\< const Relationship \>" alt="" coords="2336,296,2581,325"/><area shape="rect" href="classGlom_1_1HasTitleSingular.html" title="HasTitleSingular instances may have a (translated) singular form of their title." alt="" coords="1647,359,1801,388"/><area shape="rect" href="classGlom_1_1sharedptr.html" title="A ref-counting smart-pointer for the underlying C++ object." alt="" coords="904,301,1075,331"/><area shape="rect" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00551.html" title="std::list\< Gnome::Gda::Value \>" alt="" coords="2768,205,2971,235"/><area shape="rect" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00551.html" title="std::list\< _Tp, _Alloc \>" alt="" coords="2381,179,2536,208"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGlom_1_1LayoutItem__WithFormatting-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html#a3af7021b565392474390d225bcf6840e">LayoutItem_WithFormatting</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html#ab362e44a2c211cd24a8372871a85a6db">LayoutItem_WithFormatting</a> (const <a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html">LayoutItem_WithFormatting</a>& src)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html">LayoutItem_WithFormatting</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html#aa0c0c041d7c00e11d8414a18b9d43b82">operator=</a> (const <a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html">LayoutItem_WithFormatting</a>& src)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html#aec0e9171c508e98e8dfb2fe1686024f0">~LayoutItem_WithFormatting</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html#abc75b88f0302d9faf23a010dde2c52ef">operator==</a> (const <a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html">LayoutItem_WithFormatting</a>& src) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classGlom_1_1FieldFormatting.html">FieldFormatting</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html#aeba371dfb49f97e92ce115ef3a297808">get_formatting_used</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the field formatting used by this layout item, which may be either custom field formatting or the default field formatting. <a href="#aeba371dfb49f97e92ce115ef3a297808"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <br class="typebreak"/> <a class="el" href="classGlom_1_1FieldFormatting.html#a9e0dd58899dc50f6128742a2f531f709">FieldFormatting::HorizontalAlignment</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html#ad7fcdcffa05187c345675e793fa56559">get_formatting_used_horizontal_alignment</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the alignment for the formatting used (see <a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html#aeba371dfb49f97e92ce115ef3a297808" title="Get the field formatting used by this layout item, which may be either custom field...">get_formatting_used()</a>), choosing an appropriate alignment if it is set to HORIZONTAL_ALIGNMENT_AUTO. <a href="#ad7fcdcffa05187c345675e793fa56559"></a><br/></td></tr> <tr><td colspan="2"><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlom_1_1FieldFormatting.html">FieldFormatting</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html#a649bca5ff5f9e2f1a14d897b80d59c7a">m_formatting</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A base class for all layout items that may have formatting options. </p> <p>See <a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html#aeba371dfb49f97e92ce115ef3a297808" title="Get the field formatting used by this layout item, which may be either custom field...">get_formatting_used()</a>. </p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a3af7021b565392474390d225bcf6840e"></a><!-- doxytag: member="Glom::LayoutItem_WithFormatting::LayoutItem_WithFormatting" ref="a3af7021b565392474390d225bcf6840e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Glom::LayoutItem_WithFormatting::LayoutItem_WithFormatting </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ab362e44a2c211cd24a8372871a85a6db"></a><!-- doxytag: member="Glom::LayoutItem_WithFormatting::LayoutItem_WithFormatting" ref="ab362e44a2c211cd24a8372871a85a6db" args="(const LayoutItem_WithFormatting &src)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Glom::LayoutItem_WithFormatting::LayoutItem_WithFormatting </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html">LayoutItem_WithFormatting</a>& </td> <td class="paramname"> <em>src</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="aec0e9171c508e98e8dfb2fe1686024f0"></a><!-- doxytag: member="Glom::LayoutItem_WithFormatting::~LayoutItem_WithFormatting" ref="aec0e9171c508e98e8dfb2fe1686024f0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Glom::LayoutItem_WithFormatting::~LayoutItem_WithFormatting </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aeba371dfb49f97e92ce115ef3a297808"></a><!-- doxytag: member="Glom::LayoutItem_WithFormatting::get_formatting_used" ref="aeba371dfb49f97e92ce115ef3a297808" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const <a class="el" href="classGlom_1_1FieldFormatting.html">FieldFormatting</a>& Glom::LayoutItem_WithFormatting::get_formatting_used </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get the field formatting used by this layout item, which may be either custom field formatting or the default field formatting. </p> <p>Reimplemented in <a class="el" href="classGlom_1_1LayoutItem__Field.html#a21a4fa8e655e979e49246d11c5154444">Glom::LayoutItem_Field</a>.</p> </div> </div> <a class="anchor" id="ad7fcdcffa05187c345675e793fa56559"></a><!-- doxytag: member="Glom::LayoutItem_WithFormatting::get_formatting_used_horizontal_alignment" ref="ad7fcdcffa05187c345675e793fa56559" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classGlom_1_1FieldFormatting.html#a9e0dd58899dc50f6128742a2f531f709">FieldFormatting::HorizontalAlignment</a> Glom::LayoutItem_WithFormatting::get_formatting_used_horizontal_alignment </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get the alignment for the formatting used (see <a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html#aeba371dfb49f97e92ce115ef3a297808" title="Get the field formatting used by this layout item, which may be either custom field...">get_formatting_used()</a>), choosing an appropriate alignment if it is set to HORIZONTAL_ALIGNMENT_AUTO. </p> <p>Note that this never returns HORIZONTAL_ALIGNMENT_AUTO. </p> <p>Reimplemented in <a class="el" href="classGlom_1_1LayoutItem__Field.html#a25f5b99cdca4e2961fb5f8d2cff5d990">Glom::LayoutItem_Field</a>.</p> </div> </div> <a class="anchor" id="aa0c0c041d7c00e11d8414a18b9d43b82"></a><!-- doxytag: member="Glom::LayoutItem_WithFormatting::operator=" ref="aa0c0c041d7c00e11d8414a18b9d43b82" args="(const LayoutItem_WithFormatting &src)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html">LayoutItem_WithFormatting</a>& Glom::LayoutItem_WithFormatting::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html">LayoutItem_WithFormatting</a>& </td> <td class="paramname"> <em>src</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented from <a class="el" href="classGlom_1_1LayoutItem.html#aa68eb6b1540dda91d1e5db768e8a6cc1">Glom::LayoutItem</a>.</p> <p>Reimplemented in <a class="el" href="classGlom_1_1LayoutItem__Button.html#acf38a587ada5b5385f32ddcd089e79c1">Glom::LayoutItem_Button</a>, <a class="el" href="classGlom_1_1LayoutItem__Field.html#a51ab08b4c2fe1e3216278205ccd8345c">Glom::LayoutItem_Field</a>, <a class="el" href="classGlom_1_1LayoutItem__Text.html#aa2cde544e052ad1b4fdcd6492ec145f4">Glom::LayoutItem_Text</a>, and <a class="el" href="classGlom_1_1LayoutItem__FieldSummary.html#a16cf05d7a4fc348180853e32d95bff86">Glom::LayoutItem_FieldSummary</a>.</p> </div> </div> <a class="anchor" id="abc75b88f0302d9faf23a010dde2c52ef"></a><!-- doxytag: member="Glom::LayoutItem_WithFormatting::operator==" ref="abc75b88f0302d9faf23a010dde2c52ef" args="(const LayoutItem_WithFormatting &src) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Glom::LayoutItem_WithFormatting::operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html">LayoutItem_WithFormatting</a>& </td> <td class="paramname"> <em>src</em></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented from <a class="el" href="classGlom_1_1LayoutItem.html#ad07e79bf80a127b9581039b504bda49f">Glom::LayoutItem</a>.</p> <p>Reimplemented in <a class="el" href="classGlom_1_1LayoutItem__Button.html#acd7d494fd05a26c1a54911fcff348ffa">Glom::LayoutItem_Button</a>, <a class="el" href="classGlom_1_1LayoutItem__Field.html#a3a2ac0bc68570560609f8226aef49ff9">Glom::LayoutItem_Field</a>, <a class="el" href="classGlom_1_1LayoutItem__Text.html#a1a27554f574c0489086afc6b8962c0c5">Glom::LayoutItem_Text</a>, and <a class="el" href="classGlom_1_1LayoutItem__FieldSummary.html#a543e2195dd01dfd706ee9974c51cee13">Glom::LayoutItem_FieldSummary</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a649bca5ff5f9e2f1a14d897b80d59c7a"></a><!-- doxytag: member="Glom::LayoutItem_WithFormatting::m_formatting" ref="a649bca5ff5f9e2f1a14d897b80d59c7a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGlom_1_1FieldFormatting.html">FieldFormatting</a> <a class="el" href="classGlom_1_1LayoutItem__WithFormatting.html#a649bca5ff5f9e2f1a14d897b80d59c7a">Glom::LayoutItem_WithFormatting::m_formatting</a></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>libglom/data_structure/layout/layoutitem_withformatting.h</li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Wed May 26 01:04:09 2010 for libglom-1.14 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>