Update ooo320-m1
[ooovba.git] / binfilter / inc / bf_svx / swafopt.hxx
blob7b4b2c59e95d5e937cc6636abdeb0a989f3e594a
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: swafopt.hxx,v $
10 * $Revision: 1.5 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _SVXSWAFOPT_HXX
31 #define _SVXSWAFOPT_HXX
33 #ifndef _VCL_FONT_HXX //autogen
34 #include <vcl/font.hxx>
35 #endif
36 class SvStringsISortDtor;
37 namespace binfilter {
40 // Klasse fuer Optionen vom Autoformat
41 struct SvxSwAutoFmtFlags
43 Font aBulletFont;
44 Font aByInputBulletFont;
45 const SvStringsISortDtor* pAutoCmpltList; // only valid inside the Dialog!!!
47 sal_Unicode cBullet;
48 sal_Unicode cByInputBullet;
50 USHORT nAutoCmpltWordLen, nAutoCmpltListLen;
51 USHORT nAutoCmpltExpandKey;
53 BYTE nRightMargin;
55 BOOL bReplaceQuote : 1;
56 BOOL bAutoCorrect : 1;
57 BOOL bCptlSttSntnc : 1;
58 BOOL bCptlSttWrd : 1;
59 BOOL bChkFontAttr : 1;
61 BOOL bChgUserColl : 1;
62 BOOL bChgEnumNum : 1;
64 BOOL bAFmtByInput : 1;
65 BOOL bDelEmptyNode : 1;
66 BOOL bSetNumRule : 1;
68 BOOL bChgFracionSymbol : 1;
69 BOOL bChgOrdinalNumber : 1;
70 BOOL bChgToEnEmDash : 1;
71 BOOL bChgWeightUnderl : 1;
72 BOOL bSetINetAttr : 1;
74 BOOL bSetBorder : 1;
75 BOOL bCreateTable : 1;
76 BOOL bReplaceStyles : 1;
77 BOOL bDummy : 1;
79 BOOL bWithRedlining : 1;
81 BOOL bRightMargin : 1;
83 BOOL bAutoCompleteWords : 1;
84 BOOL bAutoCmpltCollectWords : 1;
85 BOOL bAutoCmpltEndless : 1;
86 // -- under NT hier starts a new long
87 BOOL bAutoCmpltAppendBlanc : 1;
88 BOOL bAutoCmpltShowAsTip : 1;
90 BOOL bAFmtDelSpacesAtSttEnd : 1;
91 BOOL bAFmtDelSpacesBetweenLines : 1;
92 BOOL bAFmtByInpDelSpacesAtSttEnd : 1;
93 BOOL bAFmtByInpDelSpacesBetweenLines : 1;
95 BOOL bAutoCmpltKeepList : 1;
97 // some dummies for any new options
98 BOOL bDummy5 : 1,
99 bDummy6 : 1,
100 bDummy7 : 1,
101 bDummy8 : 1
104 SvxSwAutoFmtFlags( const SvxSwAutoFmtFlags& rAFFlags ) { *this = rAFFlags; }
105 SvxSwAutoFmtFlags& operator=( const SvxSwAutoFmtFlags& );
108 }//end of namespace binfilter
109 #endif