1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: swafopt.hxx,v $
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>
36 class SvStringsISortDtor
;
40 // Klasse fuer Optionen vom Autoformat
41 struct SvxSwAutoFmtFlags
44 Font aByInputBulletFont
;
45 const SvStringsISortDtor
* pAutoCmpltList
; // only valid inside the Dialog!!!
48 sal_Unicode cByInputBullet
;
50 USHORT nAutoCmpltWordLen
, nAutoCmpltListLen
;
51 USHORT nAutoCmpltExpandKey
;
55 BOOL bReplaceQuote
: 1;
56 BOOL bAutoCorrect
: 1;
57 BOOL bCptlSttSntnc
: 1;
59 BOOL bChkFontAttr
: 1;
61 BOOL bChgUserColl
: 1;
64 BOOL bAFmtByInput
: 1;
65 BOOL bDelEmptyNode
: 1;
68 BOOL bChgFracionSymbol
: 1;
69 BOOL bChgOrdinalNumber
: 1;
70 BOOL bChgToEnEmDash
: 1;
71 BOOL bChgWeightUnderl
: 1;
72 BOOL bSetINetAttr
: 1;
75 BOOL bCreateTable
: 1;
76 BOOL bReplaceStyles
: 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
104 SvxSwAutoFmtFlags( const SvxSwAutoFmtFlags
& rAFFlags
) { *this = rAFFlags
; }
105 SvxSwAutoFmtFlags
& operator=( const SvxSwAutoFmtFlags
& );
108 }//end of namespace binfilter