1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef _SVTOOLS_CTLOPTIONS_HXX
20 #define _SVTOOLS_CTLOPTIONS_HXX
22 #include "svl/svldllapi.h"
23 #include <sal/types.h>
24 #include <svl/brdcst.hxx>
25 #include <svl/lstner.hxx>
26 #include <unotools/options.hxx>
28 class SvtCTLOptions_Impl
;
30 // class SvtCTLOptions --------------------------------------------------------
32 class SVL_DLLPUBLIC SvtCTLOptions
: public utl::detail::Options
35 SvtCTLOptions_Impl
* m_pImp
;
39 // bDontLoad is for referencing purposes only
40 SvtCTLOptions( bool bDontLoad
= false );
41 virtual ~SvtCTLOptions();
43 void SetCTLFontEnabled( bool _bEnabled
);
44 bool IsCTLFontEnabled() const;
46 void SetCTLSequenceChecking( bool _bEnabled
);
47 bool IsCTLSequenceChecking() const;
49 void SetCTLSequenceCheckingRestricted( bool _bEnable
);
50 bool IsCTLSequenceCheckingRestricted( void ) const;
52 void SetCTLSequenceCheckingTypeAndReplace( bool _bEnable
);
53 bool IsCTLSequenceCheckingTypeAndReplace() const;
60 void SetCTLCursorMovement( CursorMovement _eMovement
);
61 CursorMovement
GetCTLCursorMovement() const;
70 void SetCTLTextNumerals( TextNumerals _eNumerals
);
71 TextNumerals
GetCTLTextNumerals() const;
76 E_CTLSEQUENCECHECKING
,
79 E_CTLSEQUENCECHECKINGRESTRICTED
,
80 E_CTLSEQUENCECHECKINGTYPEANDREPLACE
82 bool IsReadOnly(EOption eOption
) const;
85 #endif // _SVTOOLS_CTLOPTIONS_HXX
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */