summaryrefslogtreecommitdiffstats
path: root/include/sax
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-22 16:38:52 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-23 07:08:51 +0000
commite4acd26406056addac8c10e80d8cfaa48cedc7fc (patch)
tree96532a7c95d861d0bf6add09d0c8afd179756bbe /include/sax
parentcom::sun::star->css in include/i18nlangtag,i18nutil (diff)
downloadcore-e4acd26406056addac8c10e80d8cfaa48cedc7fc.tar.gz
core-e4acd26406056addac8c10e80d8cfaa48cedc7fc.zip
com::sun::star->css in include/linguistic to include/sfx2
Change-Id: Id69e293fda98ee6cf2cc3d3296a0cd2e06bd847e Reviewed-on: https://gerrit.libreoffice.org/19527 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sax')
-rw-r--r--include/sax/fastattribs.hxx22
-rw-r--r--include/sax/fastparser.hxx26
-rw-r--r--include/sax/fshelper.hxx10
-rw-r--r--include/sax/tools/converter.hxx34
-rw-r--r--include/sax/tools/documenthandleradapter.hxx88
5 files changed, 90 insertions, 90 deletions
diff --git a/include/sax/fastattribs.hxx b/include/sax/fastattribs.hxx
index b9640d5a5d3f..46c1b88a4697 100644
--- a/include/sax/fastattribs.hxx
+++ b/include/sax/fastattribs.hxx
@@ -43,7 +43,7 @@ struct UnknownAttribute
UnknownAttribute( const OUString& rNamespaceURL, const OString& rName, const OString& value );
UnknownAttribute( const OString& rName, const OString& value );
- void FillAttribute( ::com::sun::star::xml::Attribute* pAttrib ) const;
+ void FillAttribute( css::xml::Attribute* pAttrib ) const;
};
typedef std::vector< UnknownAttribute > UnknownAttributeList;
@@ -71,10 +71,10 @@ class SAX_DLLPUBLIC FastTokenHandlerBase
const char *pStr, size_t nLength = 0 );
};
-class SAX_DLLPUBLIC FastAttributeList : public ::cppu::WeakImplHelper1< ::com::sun::star::xml::sax::XFastAttributeList >
+class SAX_DLLPUBLIC FastAttributeList : public ::cppu::WeakImplHelper1< css::xml::sax::XFastAttributeList >
{
public:
- FastAttributeList( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastTokenHandler >& xTokenHandler,
+ FastAttributeList( const css::uno::Reference< css::xml::sax::XFastTokenHandler >& xTokenHandler,
FastTokenHandlerBase *pOptHandlerBase = NULL );
virtual ~FastAttributeList();
@@ -95,13 +95,13 @@ public:
bool getAsChar( sal_Int32 nToken, const char*& rPos ) const;
// XFastAttributeList
- virtual sal_Bool SAL_CALL hasAttribute( ::sal_Int32 Token ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getValueToken( ::sal_Int32 Token ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getOptionalValueToken( ::sal_Int32 Token, ::sal_Int32 Default ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getValue( ::sal_Int32 Token ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getOptionalValue( ::sal_Int32 Token ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::xml::Attribute > SAL_CALL getUnknownAttributes( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::xml::FastAttribute > SAL_CALL getFastAttributes() throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL hasAttribute( ::sal_Int32 Token ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getValueToken( ::sal_Int32 Token ) throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getOptionalValueToken( ::sal_Int32 Token, ::sal_Int32 Default ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getValue( ::sal_Int32 Token ) throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getOptionalValue( ::sal_Int32 Token ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::xml::Attribute > SAL_CALL getUnknownAttributes( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::xml::FastAttribute > SAL_CALL getFastAttributes() throw (css::uno::RuntimeException, std::exception) override;
private:
sal_Char *mpChunk; ///< buffer to store all attribute values - null terminated strings
@@ -112,7 +112,7 @@ private:
std::vector< sal_Int32 > maAttributeValues;
std::vector< sal_Int32 > maAttributeTokens;
UnknownAttributeList maUnknownAttributes;
- ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastTokenHandler > mxTokenHandler;
+ css::uno::Reference< css::xml::sax::XFastTokenHandler > mxTokenHandler;
FastTokenHandlerBase *mpTokenHandler;
};
diff --git a/include/sax/fastparser.hxx b/include/sax/fastparser.hxx
index a19b177c2094..9d156b1b0c5c 100644
--- a/include/sax/fastparser.hxx
+++ b/include/sax/fastparser.hxx
@@ -43,8 +43,8 @@ class FastSaxParserImpl;
// This class implements the external Parser interface
class FASTSAX_DLLPUBLIC FastSaxParser
: public ::cppu::WeakImplHelper2<
- ::com::sun::star::xml::sax::XFastParser,
- ::com::sun::star::lang::XServiceInfo >
+ css::xml::sax::XFastParser,
+ css::lang::XServiceInfo >
{
FastSaxParserImpl* mpImpl;
@@ -53,19 +53,19 @@ public:
virtual ~FastSaxParser();
// XFastParser
- virtual void SAL_CALL parseStream( const ::com::sun::star::xml::sax::InputSource& aInputSource ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setFastDocumentHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastDocumentHandler >& Handler ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setTokenHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastTokenHandler >& Handler ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL registerNamespace( const OUString& NamespaceURL, sal_Int32 NamespaceToken ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getNamespaceURL( const OUString& rPrefix ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setErrorHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XErrorHandler >& Handler ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setEntityResolver( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XEntityResolver >& Resolver ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setLocale( const ::com::sun::star::lang::Locale& rLocale ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL parseStream( const css::xml::sax::InputSource& aInputSource ) throw (css::xml::sax::SAXException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setFastDocumentHandler( const css::uno::Reference< css::xml::sax::XFastDocumentHandler >& Handler ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setTokenHandler( const css::uno::Reference< css::xml::sax::XFastTokenHandler >& Handler ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL registerNamespace( const OUString& NamespaceURL, sal_Int32 NamespaceToken ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getNamespaceURL( const OUString& rPrefix ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setErrorHandler( const css::uno::Reference< css::xml::sax::XErrorHandler >& Handler ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setEntityResolver( const css::uno::Reference< css::xml::sax::XEntityResolver >& Resolver ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setLocale( const css::lang::Locale& rLocale ) throw (css::uno::RuntimeException, std::exception) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (css::uno::RuntimeException, std::exception) override;
bool hasNamespaceURL( const OUString& rPrefix ) const;
};
diff --git a/include/sax/fshelper.hxx b/include/sax/fshelper.hxx
index 501dbcb7425f..e1046b12cbfc 100644
--- a/include/sax/fshelper.hxx
+++ b/include/sax/fshelper.hxx
@@ -62,7 +62,7 @@ namespace sax_fastparser {
enum class MergeMarks { APPEND = 0, PREPEND = 1, POSTPONE = 2, IGNORE = 3 };
-typedef ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList > XFastAttributeListRef;
+typedef css::uno::Reference< css::xml::sax::XFastAttributeList > XFastAttributeListRef;
class FastSaxSerializer;
@@ -70,7 +70,7 @@ class SAX_DLLPUBLIC FastSerializerHelper
{
public:
- FastSerializerHelper( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >& xOutputStream, bool bWriteHeader = true );
+ FastSerializerHelper( const css::uno::Reference< css::io::XOutputStream >& xOutputStream, bool bWriteHeader = true );
~FastSerializerHelper();
@@ -133,13 +133,13 @@ public:
FastSerializerHelper* writeId(sal_Int32 tokenId);
- ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > getOutputStream();
+ css::uno::Reference< css::io::XOutputStream > getOutputStream();
static FastAttributeList *createAttrList();
void mark(sal_Int32 nTag,
- const ::com::sun::star::uno::Sequence< sal_Int32 >& rOrder =
- ::com::sun::star::uno::Sequence< sal_Int32 >() );
+ const css::uno::Sequence< sal_Int32 >& rOrder =
+ css::uno::Sequence< sal_Int32 >() );
void mergeTopMarks(sal_Int32 nTag,
MergeMarks eMergeType = MergeMarks::APPEND );
diff --git a/include/sax/tools/converter.hxx b/include/sax/tools/converter.hxx
index 9626c108a7c3..d30e8b67bf0f 100644
--- a/include/sax/tools/converter.hxx
+++ b/include/sax/tools/converter.hxx
@@ -50,7 +50,7 @@ namespace sax {
their internal representation to the textual form used in xml
and back.
- All unit types are expressed as com::sun::star::util::MeasureUnit
+ All unit types are expressed as css::util::MeasureUnit
*/
@@ -60,15 +60,15 @@ public:
/** convert string to measure using optional min and max values*/
static bool convertMeasure( sal_Int32& rValue,
const OUString& rString,
- sal_Int16 nTargetUnit = ::com::sun::star::util::MeasureUnit::MM_100TH,
+ sal_Int16 nTargetUnit = css::util::MeasureUnit::MM_100TH,
sal_Int32 nMin = SAL_MIN_INT32,
sal_Int32 nMax = SAL_MAX_INT32 );
/** convert measure to string */
static void convertMeasure( OUStringBuffer& rBuffer,
sal_Int32 nMeasure,
- sal_Int16 SourceUnit = ::com::sun::star::util::MeasureUnit::MM_100TH,
- sal_Int16 nTargetUnit = ::com::sun::star::util::MeasureUnit::INCH );
+ sal_Int16 SourceUnit = css::util::MeasureUnit::MM_100TH,
+ sal_Int16 nTargetUnit = css::util::MeasureUnit::INCH );
/** convert string to boolean */
static bool convertBool( bool& rBool,
@@ -151,47 +151,47 @@ public:
/** convert util::Duration to ISO "duration" string */
static void convertDuration(OUStringBuffer& rBuffer,
- const ::com::sun::star::util::Duration& rDuration);
+ const css::util::Duration& rDuration);
/** convert ISO "duration" string to double; negative durations allowed */
static bool convertDuration(double & rfTime,
const OUString& rString);
/** convert ISO "duration" string to util::Duration */
- static bool convertDuration(::com::sun::star::util::Duration& rDuration,
+ static bool convertDuration(css::util::Duration& rDuration,
const OUString& rString);
/** convert util::Date to ISO "date" string */
static void convertDate( OUStringBuffer& rBuffer,
- const com::sun::star::util::Date& rDate,
+ const css::util::Date& rDate,
sal_Int16 const* pTimeZoneOffset);
/** convert util::DateTime to ISO "date" or "dateTime" string */
static void convertDateTime( OUStringBuffer& rBuffer,
- const com::sun::star::util::DateTime& rDateTime,
+ const css::util::DateTime& rDateTime,
sal_Int16 const* pTimeZoneOffset,
bool bAddTimeIf0AM = false );
/** convert util::DateTime to ISO "time" or "dateTime" string */
static void convertTimeOrDateTime(OUStringBuffer& rBuffer,
- const com::sun::star::util::DateTime& rDateTime,
+ const css::util::DateTime& rDateTime,
sal_Int16 const* pTimeZoneOffset);
/** convert ISO "date" or "dateTime" string to util::DateTime */
- static bool parseDateTime( com::sun::star::util::DateTime& rDateTime,
+ static bool parseDateTime( css::util::DateTime& rDateTime,
boost::optional<sal_Int16> * pTimeZoneOffset,
const OUString& rString );
/** convert ISO "time" or "dateTime" string to util::DateTime */
- static bool parseTimeOrDateTime(com::sun::star::util::DateTime& rDateTime,
+ static bool parseTimeOrDateTime(css::util::DateTime& rDateTime,
boost::optional<sal_Int16> * pTimeZoneOffset,
const OUString& rString);
/** convert ISO "date" or "dateTime" string to util::DateTime or
util::Date */
static bool parseDateOrDateTime(
- com::sun::star::util::Date * pDate,
- com::sun::star::util::DateTime & rDateTime,
+ css::util::Date * pDate,
+ css::util::DateTime & rDateTime,
bool & rbDateTime,
boost::optional<sal_Int16> * pTimeZoneOffset,
const OUString & rString );
@@ -202,16 +202,16 @@ public:
sal_Int32 nPos );
/** encodes the given byte sequence into Base64 */
- static void encodeBase64(OUStringBuffer& aStrBuffer, const com::sun::star::uno::Sequence<sal_Int8>& aPass);
+ static void encodeBase64(OUStringBuffer& aStrBuffer, const css::uno::Sequence<sal_Int8>& aPass);
// Decode a base 64 encoded string into a sequence of bytes. The first
// version can be used for attribute values only, because it does not
// return any chars left from conversion.
// For text submitted throgh the SAX characters call, the later method
// must be used!
- static void decodeBase64(com::sun::star::uno::Sequence<sal_Int8>& aPass, const OUString& sBuffer);
+ static void decodeBase64(css::uno::Sequence<sal_Int8>& aPass, const OUString& sBuffer);
- static sal_Int32 decodeBase64SomeChars(com::sun::star::uno::Sequence<sal_Int8>& aPass, const OUString& sBuffer);
+ static sal_Int32 decodeBase64SomeChars(css::uno::Sequence<sal_Int8>& aPass, const OUString& sBuffer);
static double GetConversionFactor(OUStringBuffer& rUnit, sal_Int16 nSourceUnit, sal_Int16 nTargetUnit);
static sal_Int16 GetUnitFromString(const OUString& rString, sal_Int16 nDefaultUnit);
@@ -219,7 +219,7 @@ public:
/** convert an Any to string (typesafe) */
static bool convertAny(OUStringBuffer& rsValue,
OUStringBuffer& rsType ,
- const ::com::sun::star::uno::Any& rValue);
+ const css::uno::Any& rValue);
};
diff --git a/include/sax/tools/documenthandleradapter.hxx b/include/sax/tools/documenthandleradapter.hxx
index 3a01addb935c..48edf604149a 100644
--- a/include/sax/tools/documenthandleradapter.hxx
+++ b/include/sax/tools/documenthandleradapter.hxx
@@ -24,76 +24,76 @@ namespace sax
*
* See filters/source/odfflatxml/FlatXml.cxx for an example.
*/
- class DocumentHandlerAdapter : public ::com::sun::star::xml::sax::XDocumentHandler
+ class DocumentHandlerAdapter : public css::xml::sax::XDocumentHandler
{
public:
// XDocumentHandler
virtual void SAL_CALL
- startDocument() throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override
+ startDocument() throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override
{
m_handler->startDocument();
}
virtual void SAL_CALL
- endDocument() throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override
+ endDocument() throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override
{
m_handler->endDocument();
}
virtual void SAL_CALL
startElement(const OUString& aName,
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttribs)
- throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override
+ const css::uno::Reference< css::xml::sax::XAttributeList > & xAttribs)
+ throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override
{
m_handler->startElement(aName, xAttribs);
}
virtual void SAL_CALL
- endElement(const OUString& aName) throw (::com::sun::star::xml::sax::SAXException,
- ::com::sun::star::uno::RuntimeException, std::exception) override
+ endElement(const OUString& aName) throw (css::xml::sax::SAXException,
+ css::uno::RuntimeException, std::exception) override
{
m_handler->endElement(aName);
}
virtual void SAL_CALL
- characters(const OUString& aChars) throw (::com::sun::star::xml::sax::SAXException,
- ::com::sun::star::uno::RuntimeException, std::exception) override
+ characters(const OUString& aChars) throw (css::xml::sax::SAXException,
+ css::uno::RuntimeException, std::exception) override
{
m_handler->characters(aChars);
}
virtual void SAL_CALL
- ignorableWhitespace(const OUString& aWhitespaces) throw (::com::sun::star::xml::sax::SAXException,
- ::com::sun::star::uno::RuntimeException, std::exception) override
+ ignorableWhitespace(const OUString& aWhitespaces) throw (css::xml::sax::SAXException,
+ css::uno::RuntimeException, std::exception) override
{
m_handler->ignorableWhitespace(aWhitespaces);
}
virtual void SAL_CALL
processingInstruction(const OUString& aTarget, const OUString& aData)
- throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override
+ throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override
{
m_handler->processingInstruction(aTarget, aData);
}
virtual void SAL_CALL
- setDocumentLocator(const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XLocator > & xLocator)
- throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override
+ setDocumentLocator(const css::uno::Reference< css::xml::sax::XLocator > & xLocator)
+ throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override
{
m_handler->setDocumentLocator(xLocator);
}
- DocumentHandlerAdapter(const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler >& delegate);
+ DocumentHandlerAdapter(const css::uno::Reference< css::xml::sax::XDocumentHandler >& delegate);
DocumentHandlerAdapter() :
- m_handler(::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > (0, ::com::sun::star::uno::UNO_QUERY))
+ m_handler(css::uno::Reference< css::xml::sax::XDocumentHandler > (0, css::uno::UNO_QUERY))
{
}
;
protected:
virtual void SAL_CALL
- setDelegate(const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler >& delegate)
+ setDelegate(const css::uno::Reference< css::xml::sax::XDocumentHandler >& delegate)
{
m_handler = delegate;
}
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > SAL_CALL
+ virtual css::uno::Reference< css::xml::sax::XDocumentHandler > SAL_CALL
getDelegate()
{
return m_handler;
@@ -105,7 +105,7 @@ namespace sax
}
private:
- ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > m_handler;
+ css::uno::Reference< css::xml::sax::XDocumentHandler > m_handler;
};
@@ -114,108 +114,108 @@ namespace sax
* It forwards all method calls to a delegate. An inheriting class only needs to override the
* methods it actually wants to modify.
*/
- class ExtendedDocumentHandlerAdapter : public ::com::sun::star::xml::sax::XExtendedDocumentHandler
+ class ExtendedDocumentHandlerAdapter : public css::xml::sax::XExtendedDocumentHandler
{
public:
// XDocumentHandler
virtual void SAL_CALL
- startDocument() throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override
+ startDocument() throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override
{
m_handler->startDocument();
}
virtual void SAL_CALL
- endDocument() throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override
+ endDocument() throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override
{
m_handler->endDocument();
}
virtual void SAL_CALL
startElement(const OUString& aName,
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttribs)
- throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override
+ const css::uno::Reference< css::xml::sax::XAttributeList > & xAttribs)
+ throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override
{
m_handler->startElement(aName, xAttribs);
}
virtual void SAL_CALL
- endElement(const OUString& aName) throw (::com::sun::star::xml::sax::SAXException,
- ::com::sun::star::uno::RuntimeException, std::exception) override
+ endElement(const OUString& aName) throw (css::xml::sax::SAXException,
+ css::uno::RuntimeException, std::exception) override
{
m_handler->endElement(aName);
}
virtual void SAL_CALL
- characters(const OUString& aChars) throw (::com::sun::star::xml::sax::SAXException,
- ::com::sun::star::uno::RuntimeException, std::exception) override
+ characters(const OUString& aChars) throw (css::xml::sax::SAXException,
+ css::uno::RuntimeException, std::exception) override
{
m_handler->characters(aChars);
}
virtual void SAL_CALL
- ignorableWhitespace(const OUString& aWhitespaces) throw (::com::sun::star::xml::sax::SAXException,
- ::com::sun::star::uno::RuntimeException, std::exception) override
+ ignorableWhitespace(const OUString& aWhitespaces) throw (css::xml::sax::SAXException,
+ css::uno::RuntimeException, std::exception) override
{
m_handler->ignorableWhitespace(aWhitespaces);
}
virtual void SAL_CALL
processingInstruction(const OUString& aTarget, const OUString& aData)
- throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override
+ throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override
{
m_handler->processingInstruction(aTarget, aData);
}
virtual void SAL_CALL
- setDocumentLocator(const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XLocator > & xLocator)
- throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override
+ setDocumentLocator(const css::uno::Reference< css::xml::sax::XLocator > & xLocator)
+ throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override
{
m_handler->setDocumentLocator(xLocator);
}
// XExtendedDocumentHandler
virtual void SAL_CALL
- startCDATA() throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override
+ startCDATA() throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override
{
m_handler->startCDATA();
}
virtual void SAL_CALL
- endCDATA() throw (::com::sun::star::uno::RuntimeException, std::exception) override
+ endCDATA() throw (css::uno::RuntimeException, std::exception) override
{
m_handler->endCDATA();
}
virtual void SAL_CALL
- comment(const OUString& sComment) throw (::com::sun::star::xml::sax::SAXException,
- ::com::sun::star::uno::RuntimeException, std::exception) override
+ comment(const OUString& sComment) throw (css::xml::sax::SAXException,
+ css::uno::RuntimeException, std::exception) override
{
m_handler->comment(sComment);
}
virtual void SAL_CALL
- unknown(const OUString& sString) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override
+ unknown(const OUString& sString) throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override
{
m_handler->unknown(sString);
}
virtual void SAL_CALL
- allowLineBreak() throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) override
+ allowLineBreak() throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override
{
m_handler->allowLineBreak();
}
protected:
ExtendedDocumentHandlerAdapter() :
- m_handler(::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XExtendedDocumentHandler > (0, ::com::sun::star::uno::UNO_QUERY))
+ m_handler(css::uno::Reference< css::xml::sax::XExtendedDocumentHandler > (0, css::uno::UNO_QUERY))
{
}
ExtendedDocumentHandlerAdapter(
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XExtendedDocumentHandler >& delegate) :
+ const css::uno::Reference< css::xml::sax::XExtendedDocumentHandler >& delegate) :
m_handler(delegate)
{
}
virtual void SAL_CALL
- setDelegate(const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XExtendedDocumentHandler >& delegate)
+ setDelegate(const css::uno::Reference< css::xml::sax::XExtendedDocumentHandler >& delegate)
{
m_handler = delegate;
}
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XExtendedDocumentHandler > SAL_CALL
+ virtual css::uno::Reference< css::xml::sax::XExtendedDocumentHandler > SAL_CALL
getDelegate()
{
return m_handler;
@@ -227,7 +227,7 @@ namespace sax
}
private:
- ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XExtendedDocumentHandler > m_handler;
+ css::uno::Reference< css::xml::sax::XExtendedDocumentHandler > m_handler;
};
}
#endif // INCLUDED_SAX_TOOLS_DOCUMENTHANDLERADAPTER_HXX