merge the formfield patch from ooo-build
[ooovba.git] / writerperfect / source / filter / SectionStyle.hxx
blob2e914824b550cd07f129736f447189a273cb0867
1 /* SectionStyle: Stores (and writes) section-based information (e.g.: a column
2 * change needs a new section) that is needed at the head of an OO document.
4 * Copyright (C) 2002-2003 William Lachance (william.lachance@sympatico.ca)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 * For further information visit http://libwpd.sourceforge.net
24 /* "This product is not manufactured, approved, or supported by
25 * Corel Corporation or Corel Corporation Limited."
27 #ifndef _SECTIONSTYLE_H
28 #define _SECTIONSTYLE_H
29 #if defined _MSC_VER
30 #pragma warning( push, 1 )
31 #endif
32 #include <libwpd/libwpd.h>
33 #include <libwpd/WPXPropertyListVector.h>
34 #if defined _MSC_VER
35 #pragma warning( pop )
36 #endif
38 #include "Style.hxx"
39 #include "WriterProperties.hxx"
42 class SectionStyle : public Style
44 public:
45 SectionStyle(const WPXPropertyList &xPropList, const WPXPropertyListVector &xColumns, const char *psName);
46 virtual void write(DocumentHandler *pHandler) const;
48 private:
49 WPXPropertyList mPropList;
50 WPXPropertyListVector mColumns;
52 #endif