bump product version to 4.1.6.2
[LibreOffice.git] / cui / source / options / securityoptions.hxx
blob2b49d20d38b83c810216602e101aa4cd4959ad94
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 _SVX_SECURITYOPTIONS_HXX
20 #define _SVX_SECURITYOPTIONS_HXX
22 #include <vcl/button.hxx>
23 #include <vcl/dialog.hxx>
24 #include <vcl/fixed.hxx>
26 #include "readonlyimage.hxx"
28 class SvtSecurityOptions;
30 //........................................................................
31 namespace svx
33 //........................................................................
35 //====================================================================
36 //= class SecurityOptionsDialog
37 //====================================================================
38 class SecurityOptionsDialog : public ModalDialog
40 private:
41 CheckBox* m_pSaveOrSendDocsCB;
42 CheckBox* m_pSignDocsCB;
43 CheckBox* m_pPrintDocsCB;
44 CheckBox* m_pCreatePdfCB;
46 CheckBox* m_pRemovePersInfoCB;
47 CheckBox* m_pRecommPasswdCB;
48 CheckBox* m_pCtrlHyperlinkCB;
51 public:
52 SecurityOptionsDialog( Window* pParent, SvtSecurityOptions* pOptions );
53 ~SecurityOptionsDialog();
55 bool IsSaveOrSendDocsChecked() const { return m_pSaveOrSendDocsCB->IsChecked() != sal_False; }
56 bool IsSignDocsChecked() const { return m_pSignDocsCB->IsChecked() != sal_False; }
57 bool IsPrintDocsChecked() const { return m_pPrintDocsCB->IsChecked() != sal_False; }
58 bool IsCreatePdfChecked() const { return m_pCreatePdfCB->IsChecked() != sal_False; }
59 bool IsRemovePersInfoChecked() const { return m_pRemovePersInfoCB->IsChecked() != sal_False; }
60 bool IsRecommPasswdChecked() const { return m_pRecommPasswdCB->IsChecked() != sal_False; }
61 bool IsCtrlHyperlinkChecked() const { return m_pCtrlHyperlinkCB->IsChecked() != sal_False; }
64 //........................................................................
65 } // namespace svx
66 //........................................................................
68 #endif // #ifndef _SVX_SECURITYOPTIONS_HXX
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */