diff --git a/writerfilter/source/ooxml/resourcestools.xsl b/writerfilter/source/ooxml/resourcestools.xsl
index 5c31c3b57342..c1b0f1afd17f 100644
--- a/writerfilter/source/ooxml/resourcestools.xsl
+++ b/writerfilter/source/ooxml/resourcestools.xsl
@@ -5,9 +5,9 @@
*
* $RCSfile: resourcestools.xsl,v $
*
- * $Revision: 1.34 $
+ * $Revision: 1.35 $
*
- * last change: $Author: fridrich_strba $ $Date: 2007-05-22 19:40:48 $
+ * last change: $Author: hbrinkm $ $Date: 2007-05-23 15:37:21 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -439,9 +439,11 @@ public:
virtual OOXMLContext::Pointer_t element(TokenEnum_t nToken);
virtual OOXMLContext::Pointer_t elementFromRefs(TokenEnum_t nToken);
- virtual bool attribute(TokenEnum_t nToken, const rtl::OUString & rValue); virtual doctok::Id getId(TokenEnum_t nToken);
+ virtual bool lcl_attribute(TokenEnum_t nToken,
+ const rtl::OUString & rValue);
+ virtual doctok::Id getId(TokenEnum_t nToken);
virtual doctok::Id getIdFromRefs(TokenEnum_t nToken);
- virtual void characters(const rtl::OUString & str);
+ virtual void lcl_characters(const rtl::OUString & str);
virtual string getType() const { return "
@@ -589,7 +591,7 @@ OOXMLContext::Pointer_t
void
- ::characters(const rtl::OUString & sText)
+ ::lcl_characters(const rtl::OUString & sText)
{
@@ -601,7 +603,7 @@ void
- ::characters(sText);
+ ::lcl_characters(sText);
@@ -809,6 +811,20 @@ doctok::Id
break;
+
+
+
+
+
+
+
+
+ checkId(rValue);
+
+
+ break;
+
+
@@ -921,6 +937,9 @@ doctok::Id
+
+
+
@@ -930,10 +949,10 @@ bool
- ::attribute(TokenEnum_t nToken, const rtl::OUString & rValue)
+ ::lcl_attribute(TokenEnum_t nToken, const rtl::OUString & rValue)
- ::attribute(TokenEnum_t /*nToken*/, const rtl::OUString & /*rValue*/)
+ ::lcl_attribute(TokenEnum_t /*nToken*/, const rtl::OUString & /*rValue*/)
@@ -945,10 +964,8 @@ bool
{
- case OOXML_TOKENS_END: // prevent warning
- break;
default:
- break;
+ ;
}
@@ -1049,9 +1066,35 @@ bool
{
+
+
+ if (isForwardEvents())
+ mrStream.utext(sFtnEdnRef, 1);
+
+
+
+ if (isForwardEvents())
+ mrStream.utext(sFtnEdnSep, 1);
+
+
+
+ if (isForwardEvents())
+ mrStream.utext(sFtnEdnCont, 1);
+
+
+
+ if (isForwardEvents())
+ mrStream.utext(sPgNum, 1);
+
+
+
+ if (isForwardEvents())
+ mrStream.utext(sTab, 1);
+
- mrStream.utext(reinterpret_cast<const sal_uInt8 *>(sCR.getStr()), sCR.getLength());
+ if (isForwardEvents())
+ mrStream.utext(sCR, 1);