summaryrefslogtreecommitdiff
path: root/writerperfect/source/filter
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/source/filter')
-rw-r--r--writerperfect/source/filter/DocumentCollector.cxx3
-rw-r--r--writerperfect/source/filter/DocumentCollector.hxx3
-rw-r--r--writerperfect/source/filter/DocumentElement.cxx3
-rw-r--r--writerperfect/source/filter/DocumentElement.hxx3
-rw-r--r--writerperfect/source/filter/DocumentHandler.cxx3
-rw-r--r--writerperfect/source/filter/DocumentHandler.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/ListStyle.cxx3
-rw-r--r--writerperfect/source/filter/ListStyle.hxx3
-rw-r--r--writerperfect/source/filter/PageSpan.cxx2
-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.cxx3
-rw-r--r--writerperfect/source/filter/TextRunStyle.hxx3
-rw-r--r--writerperfect/source/filter/WriterProperties.hxx3
21 files changed, 62 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/DocumentCollector.hxx b/writerperfect/source/filter/DocumentCollector.hxx
index a1e7fbc6de11..218cc686a3bf 100644
--- a/writerperfect/source/filter/DocumentCollector.hxx
+++ b/writerperfect/source/filter/DocumentCollector.hxx
@@ -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 target file
@@ -200,3 +201,5 @@ private:
};
#endif
+
+/* 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/DocumentElement.hxx b/writerperfect/source/filter/DocumentElement.hxx
index bcfabd8015d8..3481359278c2 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.
*
@@ -97,3 +98,5 @@ private:
};
#endif
+
+/* 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/DocumentHandler.hxx b/writerperfect/source/filter/DocumentHandler.hxx
index 350157d17aa8..82a82132fec8 100644
--- a/writerperfect/source/filter/DocumentHandler.hxx
+++ b/writerperfect/source/filter/DocumentHandler.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#ifndef _OODOCUMENTHANDLER_HXX_
#define _OODOCUMENTHANDLER_HXX_
@@ -29,3 +30,5 @@ private:
};
#endif // _OODOCUMENTHANDLER_HXX_
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/FilterInternal.hxx b/writerperfect/source/filter/FilterInternal.hxx
index adc993c6d9d3..1275f7d13091 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 (william.lachance@sympatico.ca)
@@ -29,3 +30,5 @@
const float fDefaultSideMargin = 1.0f; // inches
const float fDefaultPageWidth = 8.5f; // inches (OOo required default: we will handle this later)
const float fDefaultPageHeight = 11.0f; // inches
+
+/* 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/FontStyle.hxx b/writerperfect/source/filter/FontStyle.hxx
index be44cf140471..8d16b13c41ba 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.
*
@@ -50,3 +51,5 @@ private:
WPXString msFontPitch;
};
#endif
+
+/* 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/ListStyle.hxx b/writerperfect/source/filter/ListStyle.hxx
index b2ebb07ef799..c3549344a682 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.
*
@@ -99,3 +100,5 @@ public:
void updateListLevel(const int iLevel, const WPXPropertyList &xPropList);
};
#endif
+
+/* 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/PageSpan.hxx b/writerperfect/source/filter/PageSpan.hxx
index 7edbfaee8002..f2165d4062f4 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)
*
@@ -63,3 +64,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 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/SectionStyle.hxx b/writerperfect/source/filter/SectionStyle.hxx
index 2e914824b550..eaf4410a497e 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.
*
@@ -50,3 +51,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 f7e2233e0b80..7232a028a69b 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.
*
@@ -61,3 +62,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 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/TableStyle.hxx b/writerperfect/source/filter/TableStyle.hxx
index a4c7116edb6d..eee08706c22d 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.
*
@@ -78,3 +79,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 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/filter/TextRunStyle.hxx b/writerperfect/source/filter/TextRunStyle.hxx
index 7d5905e9d412..2bc29ed84be4 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.
@@ -67,3 +68,5 @@ private:
WPXPropertyList mPropList;
};
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/WriterProperties.hxx b/writerperfect/source/filter/WriterProperties.hxx
index 8b6466ac406c..ea539125fe57 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.
*
@@ -34,3 +35,5 @@
#define IMP_DEFAULT_FONT_PITCH "variable"
#define IMP_DEFAULT_FONT_COLOR (new RGBSColor(0x00,0x00,0x00,0x64))
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */