LibreOffice Module framework (master) 1
|
#include <acceleratorconfigurationwriter.hxx>
Public Member Functions | |
AcceleratorConfigurationWriter (const AcceleratorCache &rContainer, css::uno::Reference< css::xml::sax::XDocumentHandler > xConfig) | |
connect this new writer instance to an outside container, which should be flushed to the underlying XML configuration. More... | |
~AcceleratorConfigurationWriter () | |
does nothing real ... More... | |
void | flush () |
TODO. More... | |
Private Member Functions | |
void | impl_ts_writeKeyCommandPair (const css::awt::KeyEvent &aKey, const OUString &sCommand, const css::uno::Reference< css::xml::sax::XDocumentHandler > &xConfig) |
TODO. More... | |
Private Attributes | |
css::uno::Reference< css::xml::sax::XDocumentHandler > | m_xConfig |
needed to write the xml configuration. More... | |
const AcceleratorCache & | m_rContainer |
reference to the outside container, where this writer must work on. More... | |
Definition at line 29 of file acceleratorconfigurationwriter.hxx.
framework::AcceleratorConfigurationWriter::AcceleratorConfigurationWriter | ( | const AcceleratorCache & | rContainer, |
css::uno::Reference< css::xml::sax::XDocumentHandler > | xConfig | ||
) |
connect this new writer instance to an outside container, which should be flushed to the underlying XML configuration.
rContainer | a reference to the outside container. |
xConfig | used to write the configuration there. |
Definition at line 36 of file acceleratorconfigurationwriter.cxx.
framework::AcceleratorConfigurationWriter::~AcceleratorConfigurationWriter | ( | ) |
does nothing real ...
Definition at line 43 of file acceleratorconfigurationwriter.cxx.
void framework::AcceleratorConfigurationWriter::flush | ( | ) |
TODO.
Definition at line 47 of file acceleratorconfigurationwriter.cxx.
References framework::AL_ELEMENT_ACCELERATORLIST, framework::AcceleratorCache::getAllKeys(), framework::AcceleratorCache::getCommandByKey(), impl_ts_writeKeyCommandPair(), m_rContainer, and m_xConfig.
Referenced by framework::XMLBasedAcceleratorConfiguration::impl_ts_save(), and framework::XCUBasedAcceleratorConfiguration::storeToStorage().
|
private |
TODO.
Definition at line 90 of file acceleratorconfigurationwriter.cxx.
References framework::AL_ELEMENT_ITEM, framework::KeyMapping::get(), and framework::KeyMapping::mapCodeToIdentifier().
Referenced by flush().
|
private |
reference to the outside container, where this writer must work on.
Definition at line 41 of file acceleratorconfigurationwriter.hxx.
Referenced by flush().
|
private |
needed to write the xml configuration.
Definition at line 37 of file acceleratorconfigurationwriter.hxx.
Referenced by flush().