diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-07 11:21:57 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-07 11:21:57 +0000 |
commit | 8bfc598a0a2c4ba30d1faeaf9b1e167171b6d5eb (patch) | |
tree | b0cce3bb30ba93b24909748e133339d8cbe7fdad /sc/source/ui/inc/sharedocdlg.hxx | |
parent | 6779699a731340b6c73f1d5961ccffd656bf854c (diff) |
INTEGRATION: CWS calcshare_DEV300 (1.1.2); FILE ADDED
2008/02/27 11:44:38 tbe 1.1.2.4: #i8811# Allow multiple users to edit the same spreadsheet through workbook sharing
2008/02/26 19:12:30 tbe 1.1.2.3: #i8811# Allow multiple users to edit the same spreadsheet through workbook sharing
2008/02/25 18:25:07 tbe 1.1.2.2: #i8811# Allow multiple users to edit the same spreadsheet through workbook sharing
2008/02/23 09:41:04 tbe 1.1.2.1: #i8811# Allow multiple users to edit the same spreadsheet through workbook sharing
Diffstat (limited to 'sc/source/ui/inc/sharedocdlg.hxx')
-rw-r--r-- | sc/source/ui/inc/sharedocdlg.hxx | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/sc/source/ui/inc/sharedocdlg.hxx b/sc/source/ui/inc/sharedocdlg.hxx new file mode 100644 index 000000000000..73292a891eaf --- /dev/null +++ b/sc/source/ui/inc/sharedocdlg.hxx @@ -0,0 +1,84 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: sharedocdlg.hxx,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: kz $ $Date: 2008-03-07 12:21:57 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ + +#ifndef SC_SHAREDOCDLG_HXX +#define SC_SHAREDOCDLG_HXX + +#include <vcl/button.hxx> +#include <vcl/dialog.hxx> +#include <vcl/fixed.hxx> +#include <svx/simptabl.hxx> + +class ScViewData; +class ScDocShell; + + +//============================================================================= +// class ScShareDocumentDlg +//============================================================================= + +class ScShareDocumentDlg : public ModalDialog +{ +private: + CheckBox maCbShare; + FixedText maFtWarning; + FixedLine maFlUsers; + FixedText maFtUsers; + SvxSimpleTable maLbUsers; + FixedLine maFlEnd; + HelpButton maBtnHelp; + OKButton maBtnOK; + CancelButton maBtnCancel; + + String maStrTitleName; + String maStrTitleAccessed; + String maStrNoUserData; + String maStrUnkownUser; + String maStrExclusiveAccess; + + ScViewData* mpViewData; + ScDocShell* mpDocShell; + + DECL_LINK( ToggleHandle, void* ); + +public: + ScShareDocumentDlg( Window* pParent, ScViewData* pViewData ); + ~ScShareDocumentDlg(); + + bool IsShareDocumentChecked() const; + void UpdateView(); +}; + +#endif |