summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2010-10-12 15:56:41 +0200
committerJan Holesovsky <kendy@suse.cz>2010-10-13 10:57:42 +0200
commit46a924d34890f64e168ab247bcdad47cfc44a889 (patch)
tree50657330445e7061eb02de1fbf6428c5932061a3 /writerperfect
parentffa172e1b3418204ee759c0c67f8441cb208ad89 (diff)
Add vim/emacs modelines to all source files
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/filter/DocumentCollector.cxx3
-rw-r--r--writerperfect/source/filter/DocumentElement.cxx3
-rw-r--r--writerperfect/source/filter/DocumentHandler.cxx3
-rw-r--r--writerperfect/source/filter/FontStyle.cxx3
-rw-r--r--writerperfect/source/filter/ListStyle.cxx3
-rw-r--r--writerperfect/source/filter/PageSpan.cxx2
-rw-r--r--writerperfect/source/filter/SectionStyle.cxx3
-rw-r--r--writerperfect/source/filter/TableStyle.cxx3
-rw-r--r--writerperfect/source/filter/TextRunStyle.cxx3
-rw-r--r--writerperfect/source/stream/WPXSvStream.cxx3
-rw-r--r--writerperfect/source/wpdimp/WordPerfectCollector.cxx3
-rw-r--r--writerperfect/source/wpdimp/WordPerfectImportFilter.cxx3
-rw-r--r--writerperfect/source/wpdimp/wpft_genericfilter.cxx3
-rw-r--r--writerperfect/source/wpgimp/OdgExporter.cxx3
-rw-r--r--writerperfect/source/wpgimp/WPGImportFilter.cxx3
-rw-r--r--writerperfect/source/wpgimp/wpgimport_genericfilter.cxx3
-rw-r--r--writerperfect/source/wpsimp/MSWorksCollector.cxx3
-rw-r--r--writerperfect/source/wpsimp/MSWorksImportFilter.cxx3
-rw-r--r--writerperfect/source/wpsimp/msworks_genericfilter.cxx3
19 files changed, 56 insertions, 0 deletions
diff --git a/writerperfect/source/filter/DocumentCollector.cxx b/writerperfect/source/filter/DocumentCollector.cxx
index e20ce6bca132..c410e6095584 100644
--- a/writerperfect/source/filter/DocumentCollector.cxx
+++ b/writerperfect/source/filter/DocumentCollector.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* DocumentCollector: Collects sections and runs of text from a
* file (and styles to go along with them) and writes them
* to a Writer target document
@@ -929,3 +930,5 @@ void DocumentCollector::insertText(const WPXString &text)
DocumentElement *pText = new TextElement(text);
mpCurrentContentElements->push_back(pText);
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/DocumentElement.cxx b/writerperfect/source/filter/DocumentElement.cxx
index 38caf5780e15..2a92d488ec43 100644
--- a/writerperfect/source/filter/DocumentElement.cxx
+++ b/writerperfect/source/filter/DocumentElement.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* DocumentElement: The items we are collecting to be put into the Writer
* document: paragraph and spans of text, as well as section breaks.
*
@@ -100,3 +101,5 @@ void TextElement::write(DocumentHandler *pHandler) const
}
pHandler->characters(sTemp);
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/DocumentHandler.cxx b/writerperfect/source/filter/DocumentHandler.cxx
index 29f4c6300451..8d4cc9b820a7 100644
--- a/writerperfect/source/filter/DocumentHandler.cxx
+++ b/writerperfect/source/filter/DocumentHandler.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Copyright (C) 2004 William Lachance (william.lachance@sympatico.ca)
* Copyright (C) 2004 Net Integration Technologies (http://www.net-itech.com)
@@ -79,3 +80,5 @@ void DocumentHandler::characters(const WPXString &sCharacters)
OUString sCharU16(sCharacters.cstr(), strlen(sCharacters.cstr()), RTL_TEXTENCODING_UTF8);
mxHandler->characters(sCharU16);
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/FontStyle.cxx b/writerperfect/source/filter/FontStyle.cxx
index de7cc47002dc..69195f0f41c0 100644
--- a/writerperfect/source/filter/FontStyle.cxx
+++ b/writerperfect/source/filter/FontStyle.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* FontStyle: Stores (and writes) font-based information that is needed at
* the head of an OO document.
*
@@ -48,3 +49,5 @@ void FontStyle::write(DocumentHandler *pHandler) const
TagCloseElement styleClose("style:font-decl");
styleClose.write(pHandler);
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/ListStyle.cxx b/writerperfect/source/filter/ListStyle.cxx
index b320022caf56..3373d316dea1 100644
--- a/writerperfect/source/filter/ListStyle.cxx
+++ b/writerperfect/source/filter/ListStyle.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ListStyle: Stores (and writes) list-based information that is
* needed at the head of an OO document.
*
@@ -159,3 +160,5 @@ void ListStyle::write(DocumentHandler *pHandler) const
pHandler->endElement("text:list-style");
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/PageSpan.cxx b/writerperfect/source/filter/PageSpan.cxx
index 4ac5797e6d01..e3fab42eed7e 100644
--- a/writerperfect/source/filter/PageSpan.cxx
+++ b/writerperfect/source/filter/PageSpan.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* SectionStyle: Stores (and writes) section-based information (e.g.: a column
* break needs a new section) that is needed at the head of an OO document and
* is referenced throughout the entire document
@@ -171,3 +172,4 @@ void PageSpan::_writeHeaderFooter(const char *headerFooterTagName,
headerFooterClose.write(pHandler);
}
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/SectionStyle.cxx b/writerperfect/source/filter/SectionStyle.cxx
index 10e46d3612d2..73c5984fd53e 100644
--- a/writerperfect/source/filter/SectionStyle.cxx
+++ b/writerperfect/source/filter/SectionStyle.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* SectionStyle: Stores (and writes) section-based information (e.g.: a column
* break needs a new section) that is needed at the head of an OO document and
* is referenced throughout the entire document
@@ -84,3 +85,5 @@ void SectionStyle::write(DocumentHandler *pHandler) const
pHandler->endElement("style:style");
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/TableStyle.cxx b/writerperfect/source/filter/TableStyle.cxx
index 8d12427ba87b..1b00c35e3de4 100644
--- a/writerperfect/source/filter/TableStyle.cxx
+++ b/writerperfect/source/filter/TableStyle.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* TableStyle: Stores (and writes) table-based information that is
* needed at the head of an OO document.
*
@@ -161,3 +162,5 @@ void TableStyle::write(DocumentHandler *pHandler) const
for (TCSVIter iterTableCell = mTableCellStyles.begin() ; iterTableCell != mTableCellStyles.end(); iterTableCell++)
(*iterTableCell)->write(pHandler);
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/TextRunStyle.cxx b/writerperfect/source/filter/TextRunStyle.cxx
index 65f79780f61f..7e37d6def3b8 100644
--- a/writerperfect/source/filter/TextRunStyle.cxx
+++ b/writerperfect/source/filter/TextRunStyle.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* TextRunStyle: Stores (and writes) paragraph/span-style-based information
* (e.g.: a paragraph might be bold) that is needed at the head of an OO
* document.
@@ -165,3 +166,5 @@ void SpanStyle::write(DocumentHandler *pHandler) const
pHandler->endElement("style:properties");
pHandler->endElement("style:style");
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/stream/WPXSvStream.cxx b/writerperfect/source/stream/WPXSvStream.cxx
index 0fc62657786c..4485eb8f726c 100644
--- a/writerperfect/source/stream/WPXSvStream.cxx
+++ b/writerperfect/source/stream/WPXSvStream.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#include "WPXSvStream.h"
#include "filter/FilterInternal.hxx"
#include <tools/stream.hxx>
@@ -172,3 +173,5 @@ WPXInputStream * WPXSvInputStream::getDocumentOLEStream()
{
return getDocumentOLEStream( "PerfectOffice_MAIN" );
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/wpdimp/WordPerfectCollector.cxx b/writerperfect/source/wpdimp/WordPerfectCollector.cxx
index 9d32fdec0333..a5b57181af78 100644
--- a/writerperfect/source/wpdimp/WordPerfectCollector.cxx
+++ b/writerperfect/source/wpdimp/WordPerfectCollector.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* WordPerfectCollector: Collects sections and runs of text from a
* wordperfect file (and styles to go along with them) and writes them
* to a Writer target document
@@ -52,3 +53,5 @@ bool WordPerfectCollector::parseSourceDocument(WPSInputStream &input)
return true;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/wpdimp/WordPerfectImportFilter.cxx b/writerperfect/source/wpdimp/WordPerfectImportFilter.cxx
index e8977fb9150c..560940814838 100644
--- a/writerperfect/source/wpdimp/WordPerfectImportFilter.cxx
+++ b/writerperfect/source/wpdimp/WordPerfectImportFilter.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* WordPerfectImportFilter: Sets up the filter, and calls DocumentCollector
* to do the actual filtering
*
@@ -285,3 +286,5 @@ Sequence< OUString > SAL_CALL WordPerfectImportFilter::getSupportedServiceNames(
{
return WordPerfectImportFilter_getSupportedServiceNames();
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/wpdimp/wpft_genericfilter.cxx b/writerperfect/source/wpdimp/wpft_genericfilter.cxx
index c117b93af3c7..36378097ed35 100644
--- a/writerperfect/source/wpdimp/wpft_genericfilter.cxx
+++ b/writerperfect/source/wpdimp/wpft_genericfilter.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* genericfilter: mostly generic code for registering the filter
*
* Portions of this code Copyright 2000 by Sun Microsystems, Inc.
@@ -96,3 +97,5 @@ void * SAL_CALL component_getFactory(
return pRet;
}
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/wpgimp/OdgExporter.cxx b/writerperfect/source/wpgimp/OdgExporter.cxx
index d87ce086547d..36d13948ae8f 100644
--- a/writerperfect/source/wpgimp/OdgExporter.cxx
+++ b/writerperfect/source/wpgimp/OdgExporter.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* libwpg
* Copyright (C) 2006 Ariya Hidayat (ariya@kde.org)
* Copyright (C) 2006-2007 Fridrich Strba (fridrich.strba@bluewin.ch)
@@ -508,3 +509,5 @@ WPXString OdgExporter::doubleToString(const double value)
{
return WPXString((char *)::rtl::math::doubleToString(value, rtl_math_StringFormat_F, 4, '.').getStr());
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/wpgimp/WPGImportFilter.cxx b/writerperfect/source/wpgimp/WPGImportFilter.cxx
index 5d890beb845b..75283cf4fb73 100644
--- a/writerperfect/source/wpgimp/WPGImportFilter.cxx
+++ b/writerperfect/source/wpgimp/WPGImportFilter.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* WPGImportFilter: Sets up the filter, and calls OdgExporter
* to do the actual filtering
*
@@ -300,3 +301,5 @@ Sequence< OUString > SAL_CALL WPGImportFilter::getSupportedServiceNames( )
#endif
return WPGImportFilter_getSupportedServiceNames();
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/wpgimp/wpgimport_genericfilter.cxx b/writerperfect/source/wpgimp/wpgimport_genericfilter.cxx
index 07f2b5211967..16fd6e8719bd 100644
--- a/writerperfect/source/wpgimp/wpgimport_genericfilter.cxx
+++ b/writerperfect/source/wpgimp/wpgimport_genericfilter.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* genericfilter: mostly generic code for registering the filter
*
* Portions of this code Copyright 2000 by Sun Microsystems, Inc.
@@ -97,3 +98,5 @@ void * SAL_CALL component_getFactory(
return pRet;
}
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/wpsimp/MSWorksCollector.cxx b/writerperfect/source/wpsimp/MSWorksCollector.cxx
index f562365a7941..20934c2ba69e 100644
--- a/writerperfect/source/wpsimp/MSWorksCollector.cxx
+++ b/writerperfect/source/wpsimp/MSWorksCollector.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* MSWorksCollector: Collects sections and runs of text from a
* wordperfect file (and styles to go along with them) and writes them
* to a Writer target document
@@ -46,3 +47,5 @@ bool MSWorksCollector::parseSourceDocument(WPSInputStream &input)
return true;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/wpsimp/MSWorksImportFilter.cxx b/writerperfect/source/wpsimp/MSWorksImportFilter.cxx
index eed5f00280bf..b8818dc548d2 100644
--- a/writerperfect/source/wpsimp/MSWorksImportFilter.cxx
+++ b/writerperfect/source/wpsimp/MSWorksImportFilter.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* MSWorksImportFilter: Sets up the filter, and calls DocumentCollector
* to do the actual filtering
*
@@ -275,3 +276,5 @@ Sequence< OUString > SAL_CALL MSWorksImportFilter::getSupportedServiceNames( )
{
return MSWorksImportFilter_getSupportedServiceNames();
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/wpsimp/msworks_genericfilter.cxx b/writerperfect/source/wpsimp/msworks_genericfilter.cxx
index 5371711b5ac5..8d6e7c6fdf62 100644
--- a/writerperfect/source/wpsimp/msworks_genericfilter.cxx
+++ b/writerperfect/source/wpsimp/msworks_genericfilter.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* genericfilter: mostly generic code for registering the filter
*
* Portions of this code Copyright 2000 by Sun Microsystems, Inc.
@@ -97,3 +98,5 @@ void * SAL_CALL component_getFactory(
return pRet;
}
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */