summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/filter/DocumentElement.cxx3
-rw-r--r--writerperfect/source/filter/DocumentElement.hxx3
-rw-r--r--writerperfect/source/filter/FilterInternal.hxx3
-rw-r--r--writerperfect/source/filter/FontStyle.cxx3
-rw-r--r--writerperfect/source/filter/FontStyle.hxx3
-rw-r--r--writerperfect/source/filter/InternalHandler.cxx3
-rw-r--r--writerperfect/source/filter/InternalHandler.hxx3
-rw-r--r--writerperfect/source/filter/ListStyle.cxx3
-rw-r--r--writerperfect/source/filter/ListStyle.hxx3
-rw-r--r--writerperfect/source/filter/OdfDocumentHandler.hxx3
-rw-r--r--writerperfect/source/filter/OdgGenerator.cxx2
-rw-r--r--writerperfect/source/filter/OdgGenerator.hxx3
-rw-r--r--writerperfect/source/filter/OdtGenerator.cxx3
-rw-r--r--writerperfect/source/filter/OdtGenerator.hxx3
-rw-r--r--writerperfect/source/filter/PageSpan.cxx3
-rw-r--r--writerperfect/source/filter/PageSpan.hxx3
-rw-r--r--writerperfect/source/filter/SectionStyle.cxx3
-rw-r--r--writerperfect/source/filter/SectionStyle.hxx3
-rw-r--r--writerperfect/source/filter/Style.hxx3
-rw-r--r--writerperfect/source/filter/TableStyle.cxx3
-rw-r--r--writerperfect/source/filter/TableStyle.hxx3
-rw-r--r--writerperfect/source/filter/TextRunStyle.cxx2
-rw-r--r--writerperfect/source/filter/TextRunStyle.hxx3
-rw-r--r--writerperfect/source/filter/WriterProperties.hxx3
24 files changed, 70 insertions, 0 deletions
diff --git a/writerperfect/source/filter/DocumentElement.cxx b/writerperfect/source/filter/DocumentElement.cxx
index f42331c527bc..e523f07d4101 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.
*
@@ -71,3 +72,5 @@ void TextElement::write(OdfDocumentHandler *pHandler) const
return;
pHandler->characters(msTextBuf);
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/DocumentElement.hxx b/writerperfect/source/filter/DocumentElement.hxx
index 6de5db3d8eb2..b191de50b678 100644
--- a/writerperfect/source/filter/DocumentElement.hxx
+++ b/writerperfect/source/filter/DocumentElement.hxx
@@ -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.
*
@@ -95,3 +96,5 @@ private:
};
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/FilterInternal.hxx b/writerperfect/source/filter/FilterInternal.hxx
index 6b7a78ef24b8..04a0561a25b1 100644
--- a/writerperfect/source/filter/FilterInternal.hxx
+++ b/writerperfect/source/filter/FilterInternal.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* FilterInternal: Debugging information
*
* Copyright (C) 2002-2003 William Lachance (wrlach@gmail.com)
@@ -44,3 +45,5 @@ struct ltstr
};
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/FontStyle.cxx b/writerperfect/source/filter/FontStyle.cxx
index 509fa16e02ec..e9a5be195d84 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(OdfDocumentHandler *pHandler) const
TagCloseElement styleClose("style:font-face");
styleClose.write(pHandler);
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/FontStyle.hxx b/writerperfect/source/filter/FontStyle.hxx
index 7f1a44e3f613..c146eed9acc2 100644
--- a/writerperfect/source/filter/FontStyle.hxx
+++ b/writerperfect/source/filter/FontStyle.hxx
@@ -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.
*
@@ -44,3 +45,5 @@ private:
WPXString msFontPitch;
};
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/InternalHandler.cxx b/writerperfect/source/filter/InternalHandler.cxx
index 8582047f0b0b..32b6e438fca7 100644
--- a/writerperfect/source/filter/InternalHandler.cxx
+++ b/writerperfect/source/filter/InternalHandler.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Copyright (C) 2007 Fridrich Strba (fridrich.strba@bluewin.ch)
*
@@ -52,3 +53,5 @@ void InternalHandler::characters(const WPXString &sCharacters)
{
mpElements->push_back(new CharDataElement(sCharacters.cstr()));
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/InternalHandler.hxx b/writerperfect/source/filter/InternalHandler.hxx
index a0f16382e347..dde0c7679991 100644
--- a/writerperfect/source/filter/InternalHandler.hxx
+++ b/writerperfect/source/filter/InternalHandler.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Copyright (C) 2007 Fridrich Strba (fridrich.strba@bluewin.ch)
*
@@ -44,3 +45,5 @@ private:
std::vector<DocumentElement *> *mpElements;
};
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/ListStyle.cxx b/writerperfect/source/filter/ListStyle.cxx
index f9720b9010c4..7d7a59b5e2f1 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.
*
@@ -181,3 +182,5 @@ void ListStyle::write(OdfDocumentHandler *pHandler) const
pHandler->endElement("text:list-style");
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/ListStyle.hxx b/writerperfect/source/filter/ListStyle.hxx
index 32f2d9c65a3d..882b1266320a 100644
--- a/writerperfect/source/filter/ListStyle.hxx
+++ b/writerperfect/source/filter/ListStyle.hxx
@@ -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.
*
@@ -93,3 +94,5 @@ public:
void updateListLevel(const int iLevel, const WPXPropertyList &xPropList);
};
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/OdfDocumentHandler.hxx b/writerperfect/source/filter/OdfDocumentHandler.hxx
index 0b7288cb09ef..db66715e040c 100644
--- a/writerperfect/source/filter/OdfDocumentHandler.hxx
+++ b/writerperfect/source/filter/OdfDocumentHandler.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Copyright (C) 2004 William Lachance (wlach@interlog.com)
* Copyright (C) 2004 Net Integration Technologies (http://www.net-itech.com)
@@ -43,3 +44,5 @@ public:
virtual void characters(const WPXString &sCharacters) = 0;
};
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/OdgGenerator.cxx b/writerperfect/source/filter/OdgGenerator.cxx
index 179ef5e80d2a..602e6b7d901b 100644
--- a/writerperfect/source/filter/OdgGenerator.cxx
+++ b/writerperfect/source/filter/OdgGenerator.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 Fridrich Strba (fridrich.strba@bluewin.ch)
@@ -1405,3 +1406,4 @@ void OdgGenerator::insertText(WPXString const &text)
mpImpl->mBodyElements.push_back(pText);
}
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/OdgGenerator.hxx b/writerperfect/source/filter/OdgGenerator.hxx
index 7296935b8ae1..55d8eea77d9a 100644
--- a/writerperfect/source/filter/OdgGenerator.hxx
+++ b/writerperfect/source/filter/OdgGenerator.hxx
@@ -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)
*
@@ -65,3 +66,5 @@ private:
};
#endif // __ODGEXPORTER_HXX__
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/OdtGenerator.cxx b/writerperfect/source/filter/OdtGenerator.cxx
index 8c12e6f967f6..008871a358fa 100644
--- a/writerperfect/source/filter/OdtGenerator.cxx
+++ b/writerperfect/source/filter/OdtGenerator.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* OdtGenerator: 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
@@ -1465,3 +1466,5 @@ void OdtGenerator::registerEmbeddedObjectHandler(const WPXString &mimeType, OdfE
{
mpImpl->mObjectHandlers[mimeType] = objectHandler;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/OdtGenerator.hxx b/writerperfect/source/filter/OdtGenerator.hxx
index 1b7f5268f88b..d2b224fc0061 100644
--- a/writerperfect/source/filter/OdtGenerator.hxx
+++ b/writerperfect/source/filter/OdtGenerator.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* OdtGenerator: Collects sections and runs of text from a
* wordperfect file (and styles to go along with them) and writes them
* to a target file
@@ -117,3 +118,5 @@ private:
OdtGeneratorPrivate *mpImpl;
};
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/PageSpan.cxx b/writerperfect/source/filter/PageSpan.cxx
index 277537e57450..bee269dd8dde 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
@@ -272,3 +273,5 @@ void PageSpan::_writeHeaderFooter(const char *headerFooterTagName,
(*iter)->write(pHandler);
}
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/PageSpan.hxx b/writerperfect/source/filter/PageSpan.hxx
index c991fd41f0ff..4cf2246b5a50 100644
--- a/writerperfect/source/filter/PageSpan.hxx
+++ b/writerperfect/source/filter/PageSpan.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* PageSpan: Stores (and writes) page-based information (e.g.: margins,
* headers/footers)
*
@@ -58,3 +59,5 @@ private:
std::vector<DocumentElement *> * mpFooterLeftContent;
};
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/SectionStyle.cxx b/writerperfect/source/filter/SectionStyle.cxx
index 8d49ef5004c3..7ca547f6aea8 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(OdfDocumentHandler *pHandler) const
pHandler->endElement("style:style");
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/SectionStyle.hxx b/writerperfect/source/filter/SectionStyle.hxx
index 7b5379af29be..3fced0d10eeb 100644
--- a/writerperfect/source/filter/SectionStyle.hxx
+++ b/writerperfect/source/filter/SectionStyle.hxx
@@ -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
* change needs a new section) that is needed at the head of an OO document.
*
@@ -44,3 +45,5 @@ private:
WPXPropertyListVector mColumns;
};
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/Style.hxx b/writerperfect/source/filter/Style.hxx
index d68ed26fc6da..4d4177667944 100644
--- a/writerperfect/source/filter/Style.hxx
+++ b/writerperfect/source/filter/Style.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* Style: A base class from which all other styles are inherited, includes
* a name.
*
@@ -56,3 +57,5 @@ class Style
WPXString msName;
};
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/TableStyle.cxx b/writerperfect/source/filter/TableStyle.cxx
index 6bb4bb95a7c4..75f420e5b6ae 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.
*
@@ -162,3 +163,5 @@ void TableStyle::write(OdfDocumentHandler *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/TableStyle.hxx b/writerperfect/source/filter/TableStyle.hxx
index f60993d7ea38..cbde69af9e36 100644
--- a/writerperfect/source/filter/TableStyle.hxx
+++ b/writerperfect/source/filter/TableStyle.hxx
@@ -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.
*
@@ -74,3 +75,5 @@ private:
std::vector<TableRowStyle *> mTableRowStyles;
};
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/TextRunStyle.cxx b/writerperfect/source/filter/TextRunStyle.cxx
index c4fdd3c6996c..c4f9d2558314 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.
@@ -194,3 +195,4 @@ WPXString propListToStyleKey(const WPXPropertyList & xPropList)
}
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/TextRunStyle.hxx b/writerperfect/source/filter/TextRunStyle.hxx
index c9e104d97621..88f47cc756ac 100644
--- a/writerperfect/source/filter/TextRunStyle.hxx
+++ b/writerperfect/source/filter/TextRunStyle.hxx
@@ -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.
@@ -64,3 +65,5 @@ private:
WPXString propListToStyleKey(const WPXPropertyList & xPropList);
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/WriterProperties.hxx b/writerperfect/source/filter/WriterProperties.hxx
index 8b61b65ced43..dba3595a19e8 100644
--- a/writerperfect/source/filter/WriterProperties.hxx
+++ b/writerperfect/source/filter/WriterProperties.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* WriterProperties: A grab bag of writer-specific properties which we use
* define here for later use.
*
@@ -33,3 +34,5 @@
#define IMP_DEFAULT_FONT_SIZE 12.0
#define IMP_DEFAULT_FONT_PITCH "variable"
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */