◆ type_base
◆ Document_XML()
GlomBakery::Document_XML::Document_XML |
( |
| ) |
|
◆ ~Document_XML()
GlomBakery::Document_XML::~Document_XML |
( |
| ) |
|
|
override |
◆ add_indenting_white_space_to_node()
void GlomBakery::Document_XML::add_indenting_white_space_to_node |
( |
xmlpp::Node * |
node = 0 , |
|
|
const Glib::ustring & |
start_indent = Glib::ustring() |
|
) |
| |
|
protected |
Put each node on its own line and add white space for indenting, even if there are child text nodes.
set_write_formatted() does not cause nodes to be indented if there are child text nodes, because it assumes that the white space is then significant.
◆ get_dtd_name()
std::string GlomBakery::Document_XML::get_dtd_name |
( |
| ) |
const |
◆ get_dtd_root_node_name()
Glib::ustring GlomBakery::Document_XML::get_dtd_root_node_name |
( |
| ) |
const |
◆ get_node_document() [1/2]
const xmlpp::Element* GlomBakery::Document_XML::get_node_document |
( |
| ) |
const |
|
protected |
◆ get_node_document() [2/2]
xmlpp::Element* GlomBakery::Document_XML::get_node_document |
( |
| ) |
|
|
protected |
◆ get_xml()
◆ load_after()
bool GlomBakery::Document_XML::load_after |
( |
int & |
failure_code | ) |
|
|
overridevirtual |
Allow app to update icons/title bar.
overrideable. Does anything which should be done after the data has been loaded from disk, but before updating the View.
- Parameters
-
failure_code | Used to return a custom error code that is understood by your application. This must be greater than zero. |
Reimplemented from GlomBakery::Document.
◆ save_before()
bool GlomBakery::Document_XML::save_before |
( |
| ) |
|
|
overridevirtual |
overrideable.
Does anything which should be done before the view has saved its data, before writing to disk..
Reimplemented from GlomBakery::Document.
◆ set_dtd_name()
void GlomBakery::Document_XML::set_dtd_name |
( |
const std::string & |
strVal | ) |
|
◆ set_dtd_root_node_name()
Set the root node name and (optionally) the xmlns ID to be written when writing the document.
The root node name is also used when reading documents.
◆ Util_DOM_Write()
void GlomBakery::Document_XML::Util_DOM_Write |
( |
Glib::ustring & |
refstrXML | ) |
const |
|
protected |
◆ m_dom_document
xmlpp::Document* GlomBakery::Document_XML::m_dom_document |
|
protected |
◆ m_dom_parser
xmlpp::DomParser GlomBakery::Document_XML::m_dom_parser |
|
protected |
◆ m_dtd_name
◆ m_root_node_name
◆ m_root_xmlns
◆ m_write_formatted
bool GlomBakery::Document_XML::m_write_formatted |
|
protected |
The documentation for this class was generated from the following file:
- libglom/document/bakery/document_xml.h