diff --git a/writerfilter/source/doctok/resourcesimpl.xsl b/writerfilter/source/doctok/resourcesimpl.xsl index 5c9b92eb32c6..d879ce10c4e1 100644 --- a/writerfilter/source/doctok/resourcesimpl.xsl +++ b/writerfilter/source/doctok/resourcesimpl.xsl @@ -5,9 +5,9 @@ * * $RCSfile: resourcesimpl.xsl,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: hbrinkm $ $Date: 2007-04-24 12:44:42 $ + * last change: $Author: hbrinkm $ $Date: 2007-06-04 08:41:22 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -49,9 +49,9 @@ * * $RCSfile: resourcesimpl.xsl,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: hbrinkm $ $Date: 2007-04-24 12:44:42 $ + * last change: $Author: hbrinkm $ $Date: 2007-06-04 08:41:22 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -88,6 +88,10 @@ #include <WW8OutputWithDepth.hxx> #endif +#ifndef INCLUDED_SPRMIDS_HXX +#include <resourcemodel/sprmids.hxx> +#endif + namespace doctok { extern WW8OutputWithDepth output; @@ -178,10 +182,10 @@ using namespace ::std; - void + void ::init() - { + { @@ -192,7 +196,7 @@ using namespace ::std; initImpl(); - } + } @@ -225,27 +229,30 @@ using namespace ::std; - void + + void ::resolve(Properties & - ) + ) ::resolveLocal(Properties & - ) + ) - { - + { - dump(output); + + dump(output); - try { + + try + { @@ -283,7 +290,7 @@ using namespace ::std; '>"); - WW8StructBase::dump(o); + WW8StructBase::dump(o); @@ -298,17 +305,16 @@ using namespace ::std; - { - WW8Value::Pointer_t pVal = createValue(get_ + { + WW8Value::Pointer_t pVal = createValue(get_ ()); - rHandler.attribute( + rHandler.attribute( , *pVal); - } - + } @@ -322,37 +328,36 @@ using namespace ::std; - { - sal_uInt32 nCount = get_ + { + sal_uInt32 nCount = get_ - _count(); - - for (sal_uInt32 n = 0; n < nCount; ++n) - { - WW8Value::Pointer_t pVal = createValue(get_ - - (n)); - rHandler.attribute( - - - - , *pVal); - } - } + _count(); + for (sal_uInt32 n = 0; n < nCount; ++n) + { + WW8Value::Pointer_t pVal = createValue(get_ + + (n)); + rHandler.attribute( + + + + , *pVal); + } + } - { - WW8StringValue aVal(get_ - - ()); - rHandler.attribute( - - - - , aVal); - } - + { + WW8StringValue aVal(get_ + + ()); + rHandler.attribute( + + + + + , aVal); + } @@ -385,7 +390,7 @@ using namespace ::std; (n)); } - } + } @@ -397,10 +402,15 @@ using namespace ::std; o.addItem(" " << "=\"" + aVal.toString() + "\""); - } + } - doctok::dump(o, "", get_()); + + doctok::dump(o, " + + ", get_ + + ()); diff --git a/writerfilter/source/doctok/resourcetools.xsl b/writerfilter/source/doctok/resourcetools.xsl index 010fff116aaf..70aafdd0b477 100644 --- a/writerfilter/source/doctok/resourcetools.xsl +++ b/writerfilter/source/doctok/resourcetools.xsl @@ -5,9 +5,9 @@ * * $RCSfile: resourcetools.xsl,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: hbrinkm $ $Date: 2007-05-29 15:33:16 $ + * last change: $Author: hbrinkm $ $Date: 2007-06-04 08:41:22 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -150,19 +150,37 @@ + SprmIdToString::SprmIdToString() -{ +{ map < sal_uInt32, string > - mMap[] = ""; + + + + + mMap[ + + ] = " + + "; + + } + - + + sprm: + + + + + @@ -171,8 +189,7 @@ SprmIdToString::SprmIdToString() case - : // - + : @@ -249,10 +266,15 @@ namespace NS_sprm { - + sprm: + + + + + sed "s/ @@ -266,9 +288,7 @@ sed "s/ /g" < $1 > $1.out && mv $1.out $1 - -} - +