1 // This file has been generated by Py++.
2 
3 #include "boost/python.hpp"
4 #include "generators/include/python_CEGUI.h"
5 #include "TextComponent.pypp.hpp"
6 
7 namespace bp = boost::python;
8 
9 struct TextComponent_wrapper : CEGUI::TextComponent, bp::wrapper< CEGUI::TextComponent > {
10 
TextComponent_wrapperTextComponent_wrapper11     TextComponent_wrapper( )
12     : CEGUI::TextComponent( )
13       , bp::wrapper< CEGUI::TextComponent >(){
14         // null constructor
15 
16     }
17 
TextComponent_wrapperTextComponent_wrapper18     TextComponent_wrapper(::CEGUI::TextComponent const & obj )
19     : CEGUI::TextComponent( boost::ref(obj) )
20       , bp::wrapper< CEGUI::TextComponent >(){
21         // copy constructor
22 
23     }
24 
getFontObjectTextComponent_wrapper25     ::CEGUI::Font const * getFontObject( ::CEGUI::Window const & window ) const {
26         return CEGUI::TextComponent::getFontObject( boost::ref(window) );
27     }
28 
handleFontRenderSizeChangeTextComponent_wrapper29     virtual bool handleFontRenderSizeChange( ::CEGUI::Window & window, ::CEGUI::Font const * font ) const  {
30         if( bp::override func_handleFontRenderSizeChange = this->get_override( "handleFontRenderSizeChange" ) )
31             return func_handleFontRenderSizeChange( boost::ref(window), boost::python::ptr(font) );
32         else{
33             return this->CEGUI::TextComponent::handleFontRenderSizeChange( boost::ref(window), boost::python::ptr(font) );
34         }
35     }
36 
default_handleFontRenderSizeChangeTextComponent_wrapper37     bool default_handleFontRenderSizeChange( ::CEGUI::Window & window, ::CEGUI::Font const * font ) const  {
38         return CEGUI::TextComponent::handleFontRenderSizeChange( boost::ref(window), boost::python::ptr(font) );
39     }
40 
render_implTextComponent_wrapper41     virtual void render_impl( ::CEGUI::Window & srcWindow, ::CEGUI::Rectf & destRect, ::CEGUI::ColourRect const * modColours, ::CEGUI::Rectf const * clipper, bool clipToDisplay ) const {
42         if( bp::override func_render_impl = this->get_override( "render_impl" ) )
43             func_render_impl( boost::ref(srcWindow), boost::ref(destRect), boost::python::ptr(modColours), boost::python::ptr(clipper), clipToDisplay );
44         else{
45             this->CEGUI::TextComponent::render_impl( boost::ref(srcWindow), boost::ref(destRect), boost::python::ptr(modColours), boost::python::ptr(clipper), clipToDisplay );
46         }
47     }
48 
default_render_implTextComponent_wrapper49     virtual void default_render_impl( ::CEGUI::Window & srcWindow, ::CEGUI::Rectf & destRect, ::CEGUI::ColourRect const * modColours, ::CEGUI::Rectf const * clipper, bool clipToDisplay ) const {
50         CEGUI::TextComponent::render_impl( boost::ref(srcWindow), boost::ref(destRect), boost::python::ptr(modColours), boost::python::ptr(clipper), clipToDisplay );
51     }
52 
setupStringFormatterTextComponent_wrapper53     void setupStringFormatter( ::CEGUI::Window const & window, ::CEGUI::RenderedString const & rendered_string ) const {
54         CEGUI::TextComponent::setupStringFormatter( boost::ref(window), boost::ref(rendered_string) );
55     }
56 
initColoursRectTextComponent_wrapper57     void initColoursRect( ::CEGUI::Window const & wnd, ::CEGUI::ColourRect const * modCols, ::CEGUI::ColourRect & cr ) const {
58         CEGUI::FalagardComponentBase::initColoursRect( boost::ref(wnd), boost::python::ptr(modCols), boost::ref(cr) );
59     }
60 
writeColoursXMLTextComponent_wrapper61     bool writeColoursXML( ::CEGUI::XMLSerializer & xml_stream ) const {
62         return CEGUI::FalagardComponentBase::writeColoursXML( boost::ref(xml_stream) );
63     }
64 
65 };
66 
register_TextComponent_class()67 void register_TextComponent_class(){
68 
69     { //::CEGUI::TextComponent
70         typedef bp::class_< TextComponent_wrapper, bp::bases< CEGUI::FalagardComponentBase > > TextComponent_exposer_t;
71         TextComponent_exposer_t TextComponent_exposer = TextComponent_exposer_t( "TextComponent", "*!\n\
72         \n\
73             Class that encapsulates information for a text component.\n\
74         *\n", bp::init< >() );
75         bp::scope TextComponent_scope( TextComponent_exposer );
76         TextComponent_exposer.def( bp::init< CEGUI::TextComponent const & >(( bp::arg("obj") )) );
77         { //::CEGUI::TextComponent::getEffectiveFont
78 
79             typedef ::CEGUI::String ( ::CEGUI::TextComponent::*getEffectiveFont_function_type )( ::CEGUI::Window const & ) const;
80 
81             TextComponent_exposer.def(
82                 "getEffectiveFont"
83                 , getEffectiveFont_function_type( &::CEGUI::TextComponent::getEffectiveFont )
84                 , ( bp::arg("wnd") )
85                 , "*\n\
86             \n\
87                 Return a copy of the name of the font that will actually be used\n\
88                 when rendering this TextComponent.\n\
89             *\n" );
90 
91         }
92         { //::CEGUI::TextComponent::getEffectiveText
93 
94             typedef ::CEGUI::String ( ::CEGUI::TextComponent::*getEffectiveText_function_type )( ::CEGUI::Window const & ) const;
95 
96             TextComponent_exposer.def(
97                 "getEffectiveText"
98                 , getEffectiveText_function_type( &::CEGUI::TextComponent::getEffectiveText )
99                 , ( bp::arg("wnd") )
100                 , "*\n\
101             \n\
102                 Return a copy of the actual text string that will be used when\n\
103                 rendering this TextComponent.\n\
104             *\n" );
105 
106         }
107         { //::CEGUI::TextComponent::getEffectiveVisualText
108 
109             typedef ::CEGUI::String ( ::CEGUI::TextComponent::*getEffectiveVisualText_function_type )( ::CEGUI::Window const & ) const;
110 
111             TextComponent_exposer.def(
112                 "getEffectiveVisualText"
113                 , getEffectiveVisualText_function_type( &::CEGUI::TextComponent::getEffectiveVisualText )
114                 , ( bp::arg("wnd") )
115                 , "*\n\
116             \n\
117                 Return a copy of the actual text - with visual ordering - that\n\
118                 will be used when rendering this TextComponent.\n\
119             *\n" );
120 
121         }
122         { //::CEGUI::TextComponent::getFont
123 
124             typedef ::CEGUI::String const & ( ::CEGUI::TextComponent::*getFont_function_type )(  ) const;
125 
126             TextComponent_exposer.def(
127                 "getFont"
128                 , getFont_function_type( &::CEGUI::TextComponent::getFont )
129                 , bp::return_value_policy< bp::copy_const_reference >()
130                 , "*!\n\
131                     \n\
132                         Return the name of the font set to be used when rendering this\n\
133                         TextComponent.\n\
134             \n\
135                     \note\n\
136                         This returns the name of the font set directly to the TextComponent,\n\
137                         which may or may not be the actual font that will be used -\n\
138                         since the actual font may be sourced from a property or the main\n\
139                         font setting on a window that the TextComponent is rendered to, or\n\
140                         the default font. To get the actual font name that will be used,\n\
141                         call the getEffectiveFont function instead.\n\
142             \n\
143                     @return\n\
144                         String object containing the name of a font\n\
145                     *\n" );
146 
147         }
148         { //::CEGUI::TextComponent::getFontObject
149 
150             typedef ::CEGUI::Font const * ( TextComponent_wrapper::*getFontObject_function_type )( ::CEGUI::Window const & ) const;
151 
152             TextComponent_exposer.def(
153                 "getFontObject"
154                 , getFontObject_function_type( &TextComponent_wrapper::getFontObject )
155                 , ( bp::arg("window") )
156                 , bp::return_value_policy< bp::reference_existing_object >()
157                 , "! helper to get the font object to use\n" );
158 
159         }
160         { //::CEGUI::TextComponent::getFontPropertySource
161 
162             typedef ::CEGUI::String const & ( ::CEGUI::TextComponent::*getFontPropertySource_function_type )(  ) const;
163 
164             TextComponent_exposer.def(
165                 "getFontPropertySource"
166                 , getFontPropertySource_function_type( &::CEGUI::TextComponent::getFontPropertySource )
167                 , bp::return_value_policy< bp::copy_const_reference >()
168                 , "*!\n\
169                     \n\
170                         Return the name of the property that will be used to determine the font to use for\
171                         rendering\n\
172                         the text string for this TextComponent.\n\
173             \n\
174                     @return\n\
175                         String object holding the name of a Propery.\n\
176                     *\n" );
177 
178         }
179         { //::CEGUI::TextComponent::getHorizontalFormatting
180 
181             typedef ::CEGUI::HorizontalTextFormatting ( ::CEGUI::TextComponent::*getHorizontalFormatting_function_type )( ::CEGUI::Window const & ) const;
182 
183             TextComponent_exposer.def(
184                 "getHorizontalFormatting"
185                 , getHorizontalFormatting_function_type( &::CEGUI::TextComponent::getHorizontalFormatting )
186                 , ( bp::arg("wnd") )
187                 , "*!\n\
188                     \n\
189                         Return the current horizontal formatting setting for this TextComponent.\n\
190             \n\
191                     @return\n\
192                         One of the HorizontalTextFormatting enumerated values.\n\
193                     *\n" );
194 
195         }
196         { //::CEGUI::TextComponent::getHorizontalFormattingFromComponent
197 
198             typedef ::CEGUI::HorizontalTextFormatting ( ::CEGUI::TextComponent::*getHorizontalFormattingFromComponent_function_type )(  ) const;
199 
200             TextComponent_exposer.def(
201                 "getHorizontalFormattingFromComponent"
202                 , getHorizontalFormattingFromComponent_function_type( &::CEGUI::TextComponent::getHorizontalFormattingFromComponent )
203                 , "*!\n\
204                     \n\
205                         Directly returns the horizontal formatting which was set for the ImageryComponent.\n\
206             \n\
207                     @return\n\
208                         The HorizontalTextFormatting enum.\n\
209                     *\n" );
210 
211         }
212         { //::CEGUI::TextComponent::getHorizontalFormattingPropertySource
213 
214             typedef ::CEGUI::String const & ( ::CEGUI::TextComponent::*getHorizontalFormattingPropertySource_function_type )(  ) const;
215 
216             TextComponent_exposer.def(
217                 "getHorizontalFormattingPropertySource"
218                 , getHorizontalFormattingPropertySource_function_type( &::CEGUI::TextComponent::getHorizontalFormattingPropertySource )
219                 , bp::return_value_policy< bp::copy_const_reference >()
220                 , "*!\n\
221                     \n\
222                         Returns the name of the property that will be used to obtain the horizontal\n\
223                         formatting to use for this ImageryComponent or an empty string if none is set.\n\
224             \n\
225                     @return\n\
226                         A String containing the name of the property\n\
227                     *\n" );
228 
229         }
230         { //::CEGUI::TextComponent::getHorizontalTextExtent
231 
232             typedef float ( ::CEGUI::TextComponent::*getHorizontalTextExtent_function_type )( ::CEGUI::Window const & ) const;
233 
234             TextComponent_exposer.def(
235                 "getHorizontalTextExtent"
236                 , getHorizontalTextExtent_function_type( &::CEGUI::TextComponent::getHorizontalTextExtent )
237                 , ( bp::arg("window") )
238                 , "! return the horizontal pixel extent of the formatted rendered string.\n" );
239 
240         }
241         { //::CEGUI::TextComponent::getText
242 
243             typedef ::CEGUI::String const & ( ::CEGUI::TextComponent::*getText_function_type )(  ) const;
244 
245             TextComponent_exposer.def(
246                 "getText"
247                 , getText_function_type( &::CEGUI::TextComponent::getText )
248                 , bp::return_value_policy< bp::copy_const_reference >()
249                 , "*!\n\
250                     \n\
251                         Return the text set for this TextComponent.\n\
252             \n\
253                     \note\n\
254                         This returns the text string set directly to the TextComponent,\n\
255                         which may or may not be the actual string that will be used -\n\
256                         since the actual string may be sourced from a property or the main\n\
257                         text string from a window that the TextComponent is rendered to.\n\
258                         To get the actual string, call the getEffectiveText function\n\
259                         instead.\n\
260                     *\n" );
261 
262         }
263         { //::CEGUI::TextComponent::getTextPropertySource
264 
265             typedef ::CEGUI::String const & ( ::CEGUI::TextComponent::*getTextPropertySource_function_type )(  ) const;
266 
267             TextComponent_exposer.def(
268                 "getTextPropertySource"
269                 , getTextPropertySource_function_type( &::CEGUI::TextComponent::getTextPropertySource )
270                 , bp::return_value_policy< bp::copy_const_reference >()
271                 , "*!\n\
272                     \n\
273                         Return the name of the property that will be used to determine the text string to\
274                         render\n\
275                         for this TextComponent.\n\
276             \n\
277                     @return\n\
278                         String object holding the name of a Propery.\n\
279                     *\n" );
280 
281         }
282         { //::CEGUI::TextComponent::getTextVisual
283 
284             typedef ::CEGUI::String const & ( ::CEGUI::TextComponent::*getTextVisual_function_type )(  ) const;
285 
286             TextComponent_exposer.def(
287                 "getTextVisual"
288                 , getTextVisual_function_type( &::CEGUI::TextComponent::getTextVisual )
289                 , bp::return_value_policy< bp::copy_const_reference >()
290                 , "*!\n\
291                     \n\
292                         return text string with  e visual ordering of glyphs.\n\
293             \n\
294                     \note\n\
295                         This returns the visual text derived from the string set directly to\n\
296                         the TextComponent, which may or may not be the actual string that\n\
297                         will be used - since the actual string may be sourced from a\n\
298                         property or the main text string from a window that the\n\
299                         TextComponent is rendered to. To get the actual visual string, call\n\
300                         the getEffectiveVisualText function instead.\n\
301                     *\n" );
302 
303         }
304         { //::CEGUI::TextComponent::getVerticalFormatting
305 
306             typedef ::CEGUI::VerticalTextFormatting ( ::CEGUI::TextComponent::*getVerticalFormatting_function_type )( ::CEGUI::Window const & ) const;
307 
308             TextComponent_exposer.def(
309                 "getVerticalFormatting"
310                 , getVerticalFormatting_function_type( &::CEGUI::TextComponent::getVerticalFormatting )
311                 , ( bp::arg("wnd") )
312                 , "*!\n\
313                     \n\
314                         Return the current vertical formatting setting for this TextComponent.\n\
315             \n\
316                     @return\n\
317                         One of the VerticalTextFormatting enumerated values.\n\
318                     *\n" );
319 
320         }
321         { //::CEGUI::TextComponent::getVerticalFormattingFromComponent
322 
323             typedef ::CEGUI::VerticalTextFormatting ( ::CEGUI::TextComponent::*getVerticalFormattingFromComponent_function_type )(  ) const;
324 
325             TextComponent_exposer.def(
326                 "getVerticalFormattingFromComponent"
327                 , getVerticalFormattingFromComponent_function_type( &::CEGUI::TextComponent::getVerticalFormattingFromComponent )
328                 , "*!\n\
329                     \n\
330                         Directly returns the vertical formatting which was set for the ImageryComponent.\n\
331             \n\
332                     @return\n\
333                         The VerticalTextFormatting enum.\n\
334                     *\n" );
335 
336         }
337         { //::CEGUI::TextComponent::getVerticalFormattingPropertySource
338 
339             typedef ::CEGUI::String const & ( ::CEGUI::TextComponent::*getVerticalFormattingPropertySource_function_type )(  ) const;
340 
341             TextComponent_exposer.def(
342                 "getVerticalFormattingPropertySource"
343                 , getVerticalFormattingPropertySource_function_type( &::CEGUI::TextComponent::getVerticalFormattingPropertySource )
344                 , bp::return_value_policy< bp::copy_const_reference >()
345                 , "*!\n\
346                     \n\
347                         Returns the name of the property that will be used to obtain the vertical\n\
348                         formatting to use for this ImageryComponent or an empty string if none is set.\n\
349             \n\
350                     @return\n\
351                         A String containing the name of the property\n\
352                     *\n" );
353 
354         }
355         { //::CEGUI::TextComponent::getVerticalTextExtent
356 
357             typedef float ( ::CEGUI::TextComponent::*getVerticalTextExtent_function_type )( ::CEGUI::Window const & ) const;
358 
359             TextComponent_exposer.def(
360                 "getVerticalTextExtent"
361                 , getVerticalTextExtent_function_type( &::CEGUI::TextComponent::getVerticalTextExtent )
362                 , ( bp::arg("window") )
363                 , "! return the vertical pixel extent of the formatted rendered string.\n" );
364 
365         }
366         { //::CEGUI::TextComponent::handleFontRenderSizeChange
367 
368             typedef bool ( ::CEGUI::TextComponent::*handleFontRenderSizeChange_function_type )( ::CEGUI::Window &,::CEGUI::Font const * ) const;
369             typedef bool ( TextComponent_wrapper::*default_handleFontRenderSizeChange_function_type )( ::CEGUI::Window &,::CEGUI::Font const * ) const;
370 
371             TextComponent_exposer.def(
372                 "handleFontRenderSizeChange"
373                 , handleFontRenderSizeChange_function_type(&::CEGUI::TextComponent::handleFontRenderSizeChange)
374                 , default_handleFontRenderSizeChange_function_type(&TextComponent_wrapper::default_handleFontRenderSizeChange)
375                 , ( bp::arg("window"), bp::arg("font") ) );
376 
377         }
378         { //::CEGUI::TextComponent::isFontFetchedFromProperty
379 
380             typedef bool ( ::CEGUI::TextComponent::*isFontFetchedFromProperty_function_type )(  ) const;
381 
382             TextComponent_exposer.def(
383                 "isFontFetchedFromProperty"
384                 , isFontFetchedFromProperty_function_type( &::CEGUI::TextComponent::isFontFetchedFromProperty )
385                 , "*!\n\
386                     \n\
387                         Return whether this TextComponent fetches it's font via a property on the target\
388                         window.\n\
389             \n\
390                     @return\n\
391                         - true if the font comes via a Propery.\n\
392                         - false if the font is defined explicitly, or will come from the target window.\n\
393                     *\n" );
394 
395         }
396         { //::CEGUI::TextComponent::isTextFetchedFromProperty
397 
398             typedef bool ( ::CEGUI::TextComponent::*isTextFetchedFromProperty_function_type )(  ) const;
399 
400             TextComponent_exposer.def(
401                 "isTextFetchedFromProperty"
402                 , isTextFetchedFromProperty_function_type( &::CEGUI::TextComponent::isTextFetchedFromProperty )
403                 , "*!\n\
404                     \n\
405                         Return whether this TextComponent fetches it's text string via a property on the target\
406                         window.\n\
407             \n\
408                     @return\n\
409                         - true if the text string comes via a Propery.\n\
410                         - false if the text string is defined explicitly, or will come from the target window.\n\
411                     *\n" );
412 
413         }
414         { //::CEGUI::TextComponent::operator=
415 
416             typedef ::CEGUI::TextComponent & ( ::CEGUI::TextComponent::*assign_function_type )( ::CEGUI::TextComponent const & ) ;
417 
418             TextComponent_exposer.def(
419                 "assign"
420                 , assign_function_type( &::CEGUI::TextComponent::operator= )
421                 , ( bp::arg("other") )
422                 , bp::return_self< >() );
423 
424         }
425         { //::CEGUI::TextComponent::render_impl
426 
427             typedef void ( TextComponent_wrapper::*render_impl_function_type )( ::CEGUI::Window &,::CEGUI::Rectf &,::CEGUI::ColourRect const *,::CEGUI::Rectf const *,bool ) const;
428 
429             TextComponent_exposer.def(
430                 "render_impl"
431                 , render_impl_function_type( &TextComponent_wrapper::default_render_impl )
432                 , ( bp::arg("srcWindow"), bp::arg("destRect"), bp::arg("modColours"), bp::arg("clipper"), bp::arg("clipToDisplay") )
433                 , "implemets abstract from base\n" );
434 
435         }
436         { //::CEGUI::TextComponent::setFont
437 
438             typedef void ( ::CEGUI::TextComponent::*setFont_function_type )( ::CEGUI::String const & ) ;
439 
440             TextComponent_exposer.def(
441                 "setFont"
442                 , setFont_function_type( &::CEGUI::TextComponent::setFont )
443                 , ( bp::arg("font") )
444                 , "*!\n\
445                     \n\
446                         Set the name of a font to be used when rendering this TextComponent.\n\
447             \n\
448                     \note\n\
449                         Setting this may not set the actual font that will be used\n\
450                         when rendering the TextComponent.  The acutal font used will\n\
451                         depend upon whether a font source property is set and whether the\n\
452                         font name set here is set to the empty string or not.\n\
453             \n\
454                     @param font\n\
455                         String containing name of a font\n\
456                     *\n" );
457 
458         }
459         { //::CEGUI::TextComponent::setFontPropertySource
460 
461             typedef void ( ::CEGUI::TextComponent::*setFontPropertySource_function_type )( ::CEGUI::String const & ) ;
462 
463             TextComponent_exposer.def(
464                 "setFontPropertySource"
465                 , setFontPropertySource_function_type( &::CEGUI::TextComponent::setFontPropertySource )
466                 , ( bp::arg("property") )
467                 , "*!\n\
468                     \n\
469                         Set the name of the property that will be used to determine the font to use for\
470                         rendering\n\
471                         the text string of this TextComponent.\n\
472             \n\
473                     @param property\n\
474                         String object holding the name of a Propery.  The property should access a valid font\
475                         name.\n\
476             \n\
477                     @return\n\
478                         Nothing.\n\
479                     *\n" );
480 
481         }
482         { //::CEGUI::TextComponent::setHorizontalFormatting
483 
484             typedef void ( ::CEGUI::TextComponent::*setHorizontalFormatting_function_type )( ::CEGUI::HorizontalTextFormatting ) ;
485 
486             TextComponent_exposer.def(
487                 "setHorizontalFormatting"
488                 , setHorizontalFormatting_function_type( &::CEGUI::TextComponent::setHorizontalFormatting )
489                 , ( bp::arg("fmt") )
490                 , "*!\n\
491                     \n\
492                         Set the horizontal formatting setting for this TextComponent.\n\
493             \n\
494                     @param fmt\n\
495                         One of the HorizontalTextFormatting enumerated values.\n\
496             \n\
497                     @return\n\
498                         Nothing.\n\
499                     *\n" );
500 
501         }
502         { //::CEGUI::TextComponent::setHorizontalFormattingPropertySource
503 
504             typedef void ( ::CEGUI::TextComponent::*setHorizontalFormattingPropertySource_function_type )( ::CEGUI::String const & ) ;
505 
506             TextComponent_exposer.def(
507                 "setHorizontalFormattingPropertySource"
508                 , setHorizontalFormattingPropertySource_function_type( &::CEGUI::TextComponent::setHorizontalFormattingPropertySource )
509                 , ( bp::arg("property_name") )
510                 , "*!\n\
511             \n\
512                 Set the name of a property that will be used to obtain the horizontal\n\
513                 formatting to use for this ImageryComponent.\n\
514             *\n" );
515 
516         }
517         { //::CEGUI::TextComponent::setText
518 
519             typedef void ( ::CEGUI::TextComponent::*setText_function_type )( ::CEGUI::String const & ) ;
520 
521             TextComponent_exposer.def(
522                 "setText"
523                 , setText_function_type( &::CEGUI::TextComponent::setText )
524                 , ( bp::arg("text") )
525                 , "*!\n\
526                     \n\
527                         Set the text string for this TextComponent.\n\
528             \n\
529                     \note\n\
530                         Setting this string may not set the actual string that will be used\n\
531                         when rendering the TextComponent.  The acutal string used will\n\
532                         depend upon whether a text source property is set and whether this\n\
533                         string is set to the empty string or not.\n\
534             \n\
535                     @param text\n\
536                         String containing text to set on the TextComponent.\n\
537                     *\n" );
538 
539         }
540         { //::CEGUI::TextComponent::setTextPropertySource
541 
542             typedef void ( ::CEGUI::TextComponent::*setTextPropertySource_function_type )( ::CEGUI::String const & ) ;
543 
544             TextComponent_exposer.def(
545                 "setTextPropertySource"
546                 , setTextPropertySource_function_type( &::CEGUI::TextComponent::setTextPropertySource )
547                 , ( bp::arg("property") )
548                 , "*!\n\
549                     \n\
550                         Set the name of the property that will be used to determine the text string to render\n\
551                         for this TextComponent.\n\
552             \n\
553                     @param property\n\
554                         String object holding the name of a Propery.  The property can contain any text string\
555                         to render.\n\
556             \n\
557                     @return\n\
558                         Nothing.\n\
559                     *\n" );
560 
561         }
562         { //::CEGUI::TextComponent::setVerticalFormatting
563 
564             typedef void ( ::CEGUI::TextComponent::*setVerticalFormatting_function_type )( ::CEGUI::VerticalTextFormatting ) ;
565 
566             TextComponent_exposer.def(
567                 "setVerticalFormatting"
568                 , setVerticalFormatting_function_type( &::CEGUI::TextComponent::setVerticalFormatting )
569                 , ( bp::arg("fmt") )
570                 , "*!\n\
571                     \n\
572                         Set the vertical formatting setting for this TextComponent.\n\
573             \n\
574                     @param fmt\n\
575                         One of the VerticalTextFormatting enumerated values.\n\
576             \n\
577                     @return\n\
578                         Nothing.\n\
579                     *\n" );
580 
581         }
582         { //::CEGUI::TextComponent::setVerticalFormattingPropertySource
583 
584             typedef void ( ::CEGUI::TextComponent::*setVerticalFormattingPropertySource_function_type )( ::CEGUI::String const & ) ;
585 
586             TextComponent_exposer.def(
587                 "setVerticalFormattingPropertySource"
588                 , setVerticalFormattingPropertySource_function_type( &::CEGUI::TextComponent::setVerticalFormattingPropertySource )
589                 , ( bp::arg("property_name") )
590                 , "*!\n\
591             \n\
592                 Set the name of a property that will be used to obtain the vertical\n\
593                 formatting to use for this ImageryComponent.\n\
594             *\n" );
595 
596         }
597         { //::CEGUI::TextComponent::setupStringFormatter
598 
599             typedef void ( TextComponent_wrapper::*setupStringFormatter_function_type )( ::CEGUI::Window const &,::CEGUI::RenderedString const & ) const;
600 
601             TextComponent_exposer.def(
602                 "setupStringFormatter"
603                 , setupStringFormatter_function_type( &TextComponent_wrapper::setupStringFormatter )
604                 , ( bp::arg("window"), bp::arg("rendered_string") )
605                 , "! helper to set up an appropriate FormattedRenderedString\n" );
606 
607         }
608         { //::CEGUI::TextComponent::writeXMLToStream
609 
610             typedef void ( ::CEGUI::TextComponent::*writeXMLToStream_function_type )( ::CEGUI::XMLSerializer & ) const;
611 
612             TextComponent_exposer.def(
613                 "writeXMLToStream"
614                 , writeXMLToStream_function_type( &::CEGUI::TextComponent::writeXMLToStream )
615                 , ( bp::arg("xml_stream") )
616                 , "*!\n\
617                     \n\
618                         Writes an xml representation of this TextComponent to  out_stream.\n\
619             \n\
620                     @param xml_stream\n\
621                         Stream where xml data should be output.\n\
622             \n\
623             \n\
624                     @return\n\
625                         Nothing.\n\
626                     *\n" );
627 
628         }
629         { //::CEGUI::FalagardComponentBase::initColoursRect
630 
631             typedef void ( TextComponent_wrapper::*initColoursRect_function_type )( ::CEGUI::Window const &,::CEGUI::ColourRect const *,::CEGUI::ColourRect & ) const;
632 
633             TextComponent_exposer.def(
634                 "initColoursRect"
635                 , initColoursRect_function_type( &TextComponent_wrapper::initColoursRect )
636                 , ( bp::arg("wnd"), bp::arg("modCols"), bp::arg("cr") ) );
637 
638         }
639         { //::CEGUI::FalagardComponentBase::writeColoursXML
640 
641             typedef bool ( TextComponent_wrapper::*writeColoursXML_function_type )( ::CEGUI::XMLSerializer & ) const;
642 
643             TextComponent_exposer.def(
644                 "writeColoursXML"
645                 , writeColoursXML_function_type( &TextComponent_wrapper::writeColoursXML )
646                 , ( bp::arg("xml_stream") )
647                 , "*!\n\
648                 \n\
649                     Writes xml for the colours to a OutStream.\n\
650                     Will prefer property colours before explicit.\n\
651             \n\
652                 \note\n\
653                     This is intended as a helper function for sub-classes when outputting\n\
654                     xml to a stream.\n\
655             \n\
656                 @return\n\
657                     - true if xml element was written.\n\
658                     - false if nothing was output due to the formatting not being set\n\
659                       (sub-class may then choose to do something else.)\n\
660                 *\n" );
661 
662         }
663     }
664 
665 }
666