summaryrefslogtreecommitdiff
path: root/include/sax
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-03-05 18:46:37 +0100
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-03-05 20:24:01 +0100
commit693f1dee0b994b92d1256cdd9a82f642d0c3b5cd (patch)
tree404fe81a1764d679a6f1c269f720b2ae7c2518b1 /include/sax
parent7452e530c01193de2dedf54b2f91e797f341f19e (diff)
sax: FastAttributeList - add attribute in a specific namespace
This change is inspired by startElementNS & singleElementNS which have namespace as first parameter to define the namespace of an element. Some attributes of a element can be in different namespace but until now FastAttributeList "add" method did not have a namespace parameter. This commit adds "addNS" which accepts namespace as a first parameter. Change-Id: Iebf8b5e890c17f00a56923efc3506580eed070a9
Diffstat (limited to 'include/sax')
-rw-r--r--include/sax/fastattribs.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sax/fastattribs.hxx b/include/sax/fastattribs.hxx
index 71bd4679aca1..29ed1f913e8f 100644
--- a/include/sax/fastattribs.hxx
+++ b/include/sax/fastattribs.hxx
@@ -80,6 +80,7 @@ public:
void clear();
void add( sal_Int32 nToken, const sal_Char* pValue, size_t nValueLength = 0 );
void add( sal_Int32 nToken, const OString& rValue );
+ void addNS( sal_Int32 nNamespaceToken, sal_Int32 nToken, const OString& rValue );
void addUnknown( const OUString& rNamespaceURL, const OString& rName, const sal_Char* pValue );
void addUnknown( const OString& rName, const sal_Char* pValue );