1*c4eee24dSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*c4eee24dSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*c4eee24dSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*c4eee24dSAndrew Rist * distributed with this work for additional information 6*c4eee24dSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*c4eee24dSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*c4eee24dSAndrew Rist * "License"); you may not use this file except in compliance 9*c4eee24dSAndrew Rist * with the License. You may obtain a copy of the License at 10*c4eee24dSAndrew Rist * 11*c4eee24dSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*c4eee24dSAndrew Rist * 13*c4eee24dSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*c4eee24dSAndrew Rist * software distributed under the License is distributed on an 15*c4eee24dSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*c4eee24dSAndrew Rist * KIND, either express or implied. See the License for the 17*c4eee24dSAndrew Rist * specific language governing permissions and limitations 18*c4eee24dSAndrew Rist * under the License. 19*c4eee24dSAndrew Rist * 20*c4eee24dSAndrew Rist *************************************************************/ 21*c4eee24dSAndrew Rist 22*c4eee24dSAndrew Rist 23cdf0e10cSrcweir #ifndef _SVX_SECURITYOPTIONS_HXX 24cdf0e10cSrcweir #define _SVX_SECURITYOPTIONS_HXX 25cdf0e10cSrcweir 26cdf0e10cSrcweir #include <vcl/button.hxx> 27cdf0e10cSrcweir #include <vcl/dialog.hxx> 28cdf0e10cSrcweir #include <vcl/fixed.hxx> 29cdf0e10cSrcweir 30cdf0e10cSrcweir #include "readonlyimage.hxx" 31cdf0e10cSrcweir 32cdf0e10cSrcweir class SvtSecurityOptions; 33cdf0e10cSrcweir 34cdf0e10cSrcweir //........................................................................ 35cdf0e10cSrcweir namespace svx 36cdf0e10cSrcweir { 37cdf0e10cSrcweir //........................................................................ 38cdf0e10cSrcweir 39cdf0e10cSrcweir //==================================================================== 40cdf0e10cSrcweir //= class SecurityOptionsDialog 41cdf0e10cSrcweir //==================================================================== 42cdf0e10cSrcweir class SecurityOptionsDialog : public ModalDialog 43cdf0e10cSrcweir { 44cdf0e10cSrcweir private: 45cdf0e10cSrcweir FixedLine m_aWarningsFL; 46cdf0e10cSrcweir FixedInfo m_aWarningsFI; 47cdf0e10cSrcweir ReadOnlyImage m_aSaveOrSendDocsFI; 48cdf0e10cSrcweir CheckBox m_aSaveOrSendDocsCB; 49cdf0e10cSrcweir ReadOnlyImage m_aSignDocsFI; 50cdf0e10cSrcweir CheckBox m_aSignDocsCB; 51cdf0e10cSrcweir ReadOnlyImage m_aPrintDocsFI; 52cdf0e10cSrcweir CheckBox m_aPrintDocsCB; 53cdf0e10cSrcweir ReadOnlyImage m_aCreatePdfFI; 54cdf0e10cSrcweir CheckBox m_aCreatePdfCB; 55cdf0e10cSrcweir 56cdf0e10cSrcweir FixedLine m_aOptionsFL; 57cdf0e10cSrcweir ReadOnlyImage m_aRemovePersInfoFI; 58cdf0e10cSrcweir CheckBox m_aRemovePersInfoCB; 59cdf0e10cSrcweir ReadOnlyImage m_aRecommPasswdFI; 60cdf0e10cSrcweir CheckBox m_aRecommPasswdCB; 61cdf0e10cSrcweir ReadOnlyImage m_aCtrlHyperlinkFI; 62cdf0e10cSrcweir CheckBox m_aCtrlHyperlinkCB; 63cdf0e10cSrcweir 64cdf0e10cSrcweir FixedLine m_aButtonsFL; 65cdf0e10cSrcweir OKButton m_aOKBtn; 66cdf0e10cSrcweir CancelButton m_aCancelBtn; 67cdf0e10cSrcweir HelpButton m_aHelpBtn; 68cdf0e10cSrcweir 69cdf0e10cSrcweir public: 70cdf0e10cSrcweir SecurityOptionsDialog( Window* pParent, SvtSecurityOptions* pOptions ); 71cdf0e10cSrcweir ~SecurityOptionsDialog(); 72cdf0e10cSrcweir IsSaveOrSendDocsChecked() const73cdf0e10cSrcweir inline bool IsSaveOrSendDocsChecked() const { return m_aSaveOrSendDocsCB.IsChecked() != sal_False; } IsSignDocsChecked() const74cdf0e10cSrcweir inline bool IsSignDocsChecked() const { return m_aSignDocsCB.IsChecked() != sal_False; } IsPrintDocsChecked() const75cdf0e10cSrcweir inline bool IsPrintDocsChecked() const { return m_aPrintDocsCB.IsChecked() != sal_False; } IsCreatePdfChecked() const76cdf0e10cSrcweir inline bool IsCreatePdfChecked() const { return m_aCreatePdfCB.IsChecked() != sal_False; } IsRemovePersInfoChecked() const77cdf0e10cSrcweir inline bool IsRemovePersInfoChecked() const { return m_aRemovePersInfoCB.IsChecked() != sal_False; } IsRecommPasswdChecked() const78cdf0e10cSrcweir inline bool IsRecommPasswdChecked() const { return m_aRecommPasswdCB.IsChecked() != sal_False; } IsCtrlHyperlinkChecked() const79cdf0e10cSrcweir inline bool IsCtrlHyperlinkChecked() const { return m_aCtrlHyperlinkCB.IsChecked() != sal_False; } 80cdf0e10cSrcweir }; 81cdf0e10cSrcweir 82cdf0e10cSrcweir //........................................................................ 83cdf0e10cSrcweir } // namespace svx 84cdf0e10cSrcweir //........................................................................ 85cdf0e10cSrcweir 86cdf0e10cSrcweir #endif // #ifndef _SVX_SECURITYOPTIONS_HXX 87cdf0e10cSrcweir 88