LibreOffice Module forms (master) 1
|
#include <serialization_app_xml.hxx>
Public Member Functions | |
CSerializationAppXML () | |
virtual void | serialize () override |
start the serialization process More... | |
virtual css::uno::Reference< css::io::XInputStream > | getInputStream () override |
get the serialized bytes. More... | |
Public Member Functions inherited from CSerialization | |
virtual | ~CSerialization () |
void | setSource (const css::uno::Reference< css::xml::dom::XDocumentFragment > &aFragment) |
sets the XObject that is to serialized More... | |
virtual void | serialize ()=0 |
start the serialization process More... | |
virtual css::uno::Reference< css::io::XInputStream > | getInputStream ()=0 |
get the serialized bytes. More... | |
Private Member Functions | |
void | serialize_node (const css::uno::Reference< css::xml::dom::XNode > &aNode) |
Private Attributes | |
css::uno::Reference< css::io::XPipe > | m_xBuffer |
Additional Inherited Members | |
Protected Attributes inherited from CSerialization | |
css::uno::Reference< css::xml::dom::XDocumentFragment > | m_aFragment |
Definition at line 26 of file serialization_app_xml.hxx.
CSerializationAppXML::CSerializationAppXML | ( | ) |
Definition at line 53 of file serialization_app_xml.cxx.
References create(), and getProcessComponentContext().
|
overridevirtual |
get the serialized bytes.
reads up to buffer->getLength() bytes and returns the number of bytes read. returns -1 on error
Implements CSerialization.
Definition at line 59 of file serialization_app_xml.cxx.
References m_xBuffer.
Referenced by lcl_serializeForDisplay().
|
overridevirtual |
start the serialization process
Implements CSerialization.
Definition at line 113 of file serialization_app_xml.cxx.
References CSerialization::m_aFragment, m_xBuffer, and serialize_node().
Referenced by lcl_serializeForDisplay().
|
private |
Definition at line 67 of file serialization_app_xml.cxx.
References DBG_UNHANDLED_EXCEPTION, ENSURE_OR_RETURN_VOID, Exception, comphelper::getProcessComponentContext(), and m_xBuffer.
Referenced by serialize().
|
private |
Definition at line 29 of file serialization_app_xml.hxx.
Referenced by getInputStream(), serialize(), and serialize_node().