22#include <com/sun/star/beans/PropertyValue.hpp>
32using ::com::sun::star::beans::PropertyValue;
51 const OUString& rEventQName,
52 const Sequence<PropertyValue> & rValues,
60 OUString sLocation,
sName;
61 for(
const auto& rValue : rValues)
66 rValue.Value >>= sTmp;
74 rValue.Value >>=
sName;
79 if( !sLocation.isEmpty() )
81 OUString sTmp = sLocation +
":" +
sName;
92 bUseWhitespace,
false);
constexpr OUStringLiteral gsStarOffice(u"StarOffice")
constexpr OUStringLiteral gsApplication(u"application")
constexpr OUStringLiteral gsLibrary(u"Library")
constexpr OUStringLiteral gsMacroName(u"MacroName")
constexpr OUStringLiteral gsStarBasic(u"StarBasic")
const SvXMLNamespaceMap & GetNamespaceMap() const
void AddAttribute(sal_uInt16 nPrefix, const OUString &rName, const OUString &rValue)
OUString GetQNameByKey(sal_uInt16 nKey, const OUString &rLocalName, bool bCache=true) const
virtual void Export(SvXMLExport &rExport, const OUString &rEventName, const css::uno::Sequence< css::beans::PropertyValue > &rValues, bool bUseWhitespace) override
XMLStarBasicExportHandler()
virtual ~XMLStarBasicExportHandler() override
Handling of tokens in XML:
const OUString & GetXMLToken(enum XMLTokenEnum eToken)
return the OUString representation for eToken
constexpr sal_uInt16 XML_NAMESPACE_OOO
constexpr sal_uInt16 XML_NAMESPACE_SCRIPT