sync master with lastest vba changes
[ooovba.git] / binfilter / inc / bf_svtools / saveopt.hxx
blob757f8ae32249df47c51c3b64409a277b649321c9
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: saveopt.hxx,v $
10 * $Revision: 1.4 $
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 INCLUDED_SVTOOLS_SAVEOPT_HXX
31 #define INCLUDED_SVTOOLS_SAVEOPT_HXX
33 #include <sal/types.h>
34 #include <bf_svtools/options.hxx>
36 namespace binfilter
39 struct SvtLoadSaveOptions_Impl;
40 class SvtSaveOptions: public Options
42 SvtLoadSaveOptions_Impl* pImp;
44 public:
46 enum EOption
48 E_AUTOSAVETIME,
49 E_USEUSERDATA,
50 E_BACKUP,
51 E_AUTOSAVE,
52 E_AUTOSAVEPROMPT,
53 E_DOCINFSAVE,
54 E_SAVEWORKINGSET,
55 E_SAVEDOCWINS,
56 E_SAVEDOCVIEW,
57 E_SAVERELINET,
58 E_SAVERELFSYS,
59 E_SAVEUNPACKED,
60 E_DOPRETTYPRINTING,
61 E_WARNALIENFORMAT,
62 E_LOADDOCPRINTER
64 SvtSaveOptions();
65 virtual ~SvtSaveOptions();
67 sal_Bool IsBackup() const;
69 sal_Bool IsSaveDocView() const;
71 sal_Bool IsSaveRelINet() const;
73 sal_Bool IsSaveRelFSys() const;
75 sal_Bool IsSaveUnpacked() const;
77 sal_Bool IsLoadUserSettings() const;
79 sal_Bool IsPrettyPrinting( ) const;
83 #endif