summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtparai.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/txtparai.cxx')
-rw-r--r--xmloff/source/text/txtparai.cxx44
1 files changed, 0 insertions, 44 deletions
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx
index a8a9d3321530..c6dd03170b29 100644
--- a/xmloff/source/text/txtparai.cxx
+++ b/xmloff/source/text/txtparai.cxx
@@ -52,13 +52,11 @@
#include "XMLChangeImportContext.hxx"
#include "txtlists.hxx"
-
// OD 2004-04-21 #i26791#
#include <txtparaimphint.hxx>
class XMLHints_Impl : public boost::ptr_vector<XMLHint_Impl> {};
// OD 2004-04-21 #i26791#
-
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::text;
@@ -68,7 +66,6 @@ using namespace ::xmloff::token;
using ::com::sun::star::container::XEnumerationAccess;
using ::com::sun::star::container::XEnumeration;
-
TYPEINIT1( XMLCharContext, SvXMLImportContext );
XMLCharContext::XMLCharContext(
@@ -124,7 +121,6 @@ XMLCharContext::XMLCharContext(
XMLCharContext::~XMLCharContext()
{
}
-// -----------------------------------------------------------------------------
void XMLCharContext::EndElement()
{
if ( !m_nCount )
@@ -146,7 +142,6 @@ void XMLCharContext::EndElement()
}
}
}
-// -----------------------------------------------------------------------------
void XMLCharContext::InsertControlCharacter(sal_Int16 _nControl)
{
GetImport().GetTextImport()->InsertControlCharacter( _nControl );
@@ -156,8 +151,6 @@ void XMLCharContext::InsertString(const OUString& _sString)
GetImport().GetTextImport()->InsertString( _sString );
}
-// ---------------------------------------------------------------------
-
/** import start of reference (<text:reference-start>) */
class XMLStartReferenceContext_Impl : public SvXMLImportContext
{
@@ -229,8 +222,6 @@ sal_Bool XMLStartReferenceContext_Impl::FindName(
return bNameOK;
}
-// ---------------------------------------------------------------------
-
/** import end of reference (<text:reference-end>) */
class XMLEndReferenceContext_Impl : public SvXMLImportContext
{
@@ -279,8 +270,6 @@ XMLEndReferenceContext_Impl::XMLEndReferenceContext_Impl(
}
}
-// ---------------------------------------------------------------------
-
class XMLImpSpanContext_Impl : public SvXMLImportContext
{
const OUString sTextFrame;
@@ -322,7 +311,6 @@ public:
virtual void Characters( const OUString& rChars );
};
-// ---------------------------------------------------------------------
class XMLImpHyperlinkContext_Impl : public SvXMLImportContext
{
@@ -452,8 +440,6 @@ void XMLImpHyperlinkContext_Impl::Characters( const OUString& rChars )
GetImport().GetTextImport()->InsertString( rChars, rIgnoreLeadingSpace );
}
-// ---------------------------------------------------------------------
-
class XMLImpRubyBaseContext_Impl : public SvXMLImportContext
{
XMLHints_Impl& rHints;
@@ -518,8 +504,6 @@ void XMLImpRubyBaseContext_Impl::Characters( const OUString& rChars )
GetImport().GetTextImport()->InsertString( rChars, rIgnoreLeadingSpace );
}
-// ---------------------------------------------------------------------
-
class XMLImpRubyContext_Impl : public SvXMLImportContext
{
XMLHints_Impl& rHints;
@@ -553,8 +537,6 @@ public:
void AppendText( const OUString& s ) { m_sText += s; }
};
-// ---------------------------------------------------------------------
-
class XMLImpRubyTextContext_Impl : public SvXMLImportContext
{
XMLImpRubyContext_Impl & m_rRubyContext;
@@ -614,8 +596,6 @@ void XMLImpRubyTextContext_Impl::Characters( const OUString& rChars )
m_rRubyContext.AppendText( rChars );
}
-// ---------------------------------------------------------------------
-
TYPEINIT1( XMLImpRubyContext_Impl, SvXMLImportContext );
XMLImpRubyContext_Impl::XMLImpRubyContext_Impl(
@@ -690,8 +670,6 @@ SvXMLImportContext *XMLImpRubyContext_Impl::CreateChildContext(
return pContext;
}
-// ---------------------------------------------------------------------
-
/** for text:meta and text:meta-field
*/
class XMLMetaImportContextBase : public SvXMLImportContext
@@ -815,9 +793,6 @@ void XMLMetaImportContextBase::ProcessAttribute(sal_uInt16 const i_nPrefix,
}
}
-
-// ---------------------------------------------------------------------
-
/** text:meta */
class XMLMetaImportContext : public XMLMetaImportContextBase
{
@@ -917,8 +892,6 @@ void XMLMetaImportContext::InsertMeta(
}
}
-// ---------------------------------------------------------------------
-
/** text:meta-field */
class XMLMetaFieldImportContext : public XMLMetaImportContextBase
{
@@ -1015,10 +988,6 @@ void XMLMetaFieldImportContext::InsertMeta(
}
}
-
-// ---------------------------------------------------------------------
-
-
/**
* Process index marks.
*
@@ -1072,7 +1041,6 @@ protected:
const OUString& rServiceName);
};
-
TYPEINIT1( XMLIndexMarkImportContext_Impl, SvXMLImportContext );
XMLIndexMarkImportContext_Impl::XMLIndexMarkImportContext_Impl(
@@ -1240,7 +1208,6 @@ static const sal_Char sAPI_com_sun_star_text_UserIndexMark[] =
static const sal_Char sAPI_com_sun_star_text_DocumentIndexMark[] =
"com.sun.star.text.DocumentIndexMark";
-
void XMLIndexMarkImportContext_Impl::GetServiceName(
OUString& sServiceName,
enum XMLTextPElemTokens eToken)
@@ -1287,7 +1254,6 @@ void XMLIndexMarkImportContext_Impl::GetServiceName(
}
}
-
sal_Bool XMLIndexMarkImportContext_Impl::CreateMark(
Reference<beans::XPropertySet>& rPropSet,
const OUString& rServiceName)
@@ -1306,7 +1272,6 @@ sal_Bool XMLIndexMarkImportContext_Impl::CreateMark(
return sal_False;
}
-
class XMLTOCMarkImportContext_Impl : public XMLIndexMarkImportContext_Impl
{
const OUString sLevel;
@@ -1332,7 +1297,6 @@ protected:
TYPEINIT1( XMLTOCMarkImportContext_Impl, XMLIndexMarkImportContext_Impl );
-
XMLTOCMarkImportContext_Impl::XMLTOCMarkImportContext_Impl(
SvXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLocalName,
enum XMLTextPElemTokens nTok, XMLHints_Impl& rHnts) :
@@ -1445,7 +1409,6 @@ void XMLUserIndexMarkImportContext_Impl::ProcessAttribute(
}
}
-
class XMLAlphaIndexMarkImportContext_Impl : public XMLIndexMarkImportContext_Impl
{
const OUString sPrimaryKey;
@@ -1540,9 +1503,6 @@ void XMLAlphaIndexMarkImportContext_Impl::ProcessAttribute(
}
}
-
-// ---------------------------------------------------------------------
-
TYPEINIT1( XMLImpSpanContext_Impl, SvXMLImportContext );
XMLImpSpanContext_Impl::XMLImpSpanContext_Impl(
@@ -1861,8 +1821,6 @@ void XMLImpSpanContext_Impl::Characters( const OUString& rChars )
GetImport().GetTextImport()->InsertString( sChars, rIgnoreLeadingSpace );
}
-// ---------------------------------------------------------------------
-
TYPEINIT1( XMLParaContext, SvXMLImportContext );
XMLParaContext::XMLParaContext(
@@ -2287,8 +2245,6 @@ void XMLParaContext::Characters( const OUString& rChars )
GetImport().GetTextImport()->InsertString( sChars, bIgnoreLeadingSpace );
}
-
-
TYPEINIT1( XMLNumberedParaContext, SvXMLImportContext );
XMLNumberedParaContext::XMLNumberedParaContext(