Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

desaxe::SetText_body< Obj_Type > Class Template Reference

#include <simple_actions.h>

Inheritance diagram for desaxe::SetText_body< Obj_Type >:

Inheritance graph
[legend]
Collaboration diagram for desaxe::SetText_body< Obj_Type >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef void(Obj_Type::* FunType )(const Xml_string &)

Public Member Functions

 SetText_body (FunType set)
void begin (const Xml_string &, Xml_attr)
void chars (const Xml_string &chunk)
void end (const Xml_string &tag)

Private Attributes

FunType setT
Xml_string txt


Detailed Description

template<class Obj_Type>
class desaxe::SetText_body< Obj_Type >

Collects text (PCDATA) chunks and later stores it in the topmost object on the stack. This is only called once at the close tag of the current pattern. WARNING: not safe for nesting

Definition at line 534 of file simple_actions.h.


Member Typedef Documentation

template<class Obj_Type>
typedef void(Obj_Type::* desaxe::SetText_body< Obj_Type >::FunType)(const Xml_string &)


Constructor & Destructor Documentation

template<class Obj_Type>
desaxe::SetText_body< Obj_Type >::SetText_body ( FunType  set  )  [inline]

Definition at line 539 of file simple_actions.h.


Member Function Documentation

template<class Obj_Type>
void desaxe::SetText_body< Obj_Type >::begin ( const Xml_string ,
Xml_attr   
) [inline, virtual]

Reimplemented from desaxe::Action_body.

Definition at line 542 of file simple_actions.h.

References desaxe::SetText_body< Obj_Type >::txt.

template<class Obj_Type>
void desaxe::SetText_body< Obj_Type >::chars ( const Xml_string chunk  )  [inline, virtual]

Reimplemented from desaxe::Action_body.

Definition at line 547 of file simple_actions.h.

References desaxe::SetText_body< Obj_Type >::txt.

template<class Obj_Type>
void desaxe::SetText_body< Obj_Type >::end ( const Xml_string tag  )  [inline, virtual]


Member Data Documentation

template<class Obj_Type>
FunType desaxe::SetText_body< Obj_Type >::setT [private]

Definition at line 559 of file simple_actions.h.

Referenced by desaxe::SetText_body< Obj_Type >::end().

template<class Obj_Type>
Xml_string desaxe::SetText_body< Obj_Type >::txt [private]


The documentation for this class was generated from the following file:
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.