29#include <rtl/ustring.hxx>
45class LocalizedPropertyNode;
65 std::set< OUString >
const * existingDependencies)
override;
119 {
return State(theNode); }
123 {
return State(theNode, theName); }
NodeMapImpl::iterator iterator
void handleLocpropValue(xmlreader::XmlReader &reader, LocalizedPropertyNode *locprop)
void handlePropValue(xmlreader::XmlReader &reader, PropertyNode *prop)
void recordModification(bool addition)
virtual void endElement(xmlreader::XmlReader const &reader) override
void handlePlainGroupProp(xmlreader::XmlReader const &reader, GroupNode *group, NodeMap::iterator const &propertyIndex, std::u16string_view name, Type type, Operation operation, bool finalized)
void handleSetNode(xmlreader::XmlReader &reader, SetNode *set)
virtual bool startElement(xmlreader::XmlReader &reader, int nsId, xmlreader::Span const &name, std::set< OUString > const *existingDependencies) override
virtual xmlreader::XmlReader::Text getTextMode() override
void handleGroupProp(xmlreader::XmlReader &reader, GroupNode *group)
void handleComponentData(xmlreader::XmlReader &reader)
XcuParser(int layer, Data &data, Partial const *partial, Modifications *broadcastModifications, Additions *additions)
void handleUnknownGroupProp(xmlreader::XmlReader const &reader, GroupNode const *group, OUString const &name, Type type, Operation operation, bool finalized)
void handleItem(xmlreader::XmlReader &reader)
Modifications * broadcastModifications_
bool recordModifications_
void handleLocalizedGroupProp(xmlreader::XmlReader const &reader, LocalizedPropertyNode *property, OUString const &name, Type type, Operation operation, bool finalized)
virtual void characters(xmlreader::Span const &span) override
void handleGroupNode(xmlreader::XmlReader &reader, rtl::Reference< Node > const &group)
std::vector< OUString > path_
std::stack< State > state_
virtual ~XcuParser() override
static Operation parseOperation(xmlreader::Span const &text)
std::vector< std::vector< OUString > > Additions
static State Modify(rtl::Reference< Node > const &theNode)
State(rtl::Reference< Node > theNode, OUString theName)
rtl::Reference< Node > node
static State Insert(rtl::Reference< Node > const &theNode, OUString const &theName)
static State Ignore(bool thePop)
State(rtl::Reference< Node > theNode)