summaryrefslogtreecommitdiffstats
path: root/sc/inc/appoptio.hxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2002-03-26 16:06:52 +0000
committerNiklas Nebel <nn@openoffice.org>2002-03-26 16:06:52 +0000
commit4ebf934264397ec6c815f5eb5f7ab26349d4fe1f (patch)
tree3556c5a83b5453d70f1a4ab58173ffdfd52acb54 /sc/inc/appoptio.hxx
parent#97627# ScUndoUpdateAreaLink: Delete old contents before copying back (diff)
downloadcore-4ebf934264397ec6c815f5eb5f7ab26349d4fe1f.tar.gz
core-4ebf934264397ec6c815f5eb5f7ab26349d4fe1f.zip
#98185# configuration for default object size
Diffstat (limited to 'sc/inc/appoptio.hxx')
-rw-r--r--sc/inc/appoptio.hxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/sc/inc/appoptio.hxx b/sc/inc/appoptio.hxx
index 942dcf796dce..fd7ecb8e01b1 100644
--- a/sc/inc/appoptio.hxx
+++ b/sc/inc/appoptio.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: appoptio.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: nn $ $Date: 2000-11-02 19:10:56 $
+ * last change: $Author: nn $ $Date: 2002-03-26 17:06:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -122,6 +122,11 @@ public:
ScLkUpdMode GetLinkMode() const { return eLinkMode ;}
void SetLinkMode( ScLkUpdMode nSet ) { eLinkMode = nSet;}
+ void SetDefaultObjectSizeWidth(INT32 nNew) { nDefaultObjectSizeWidth = nNew; }
+ INT32 GetDefaultObjectSizeWidth() const { return nDefaultObjectSizeWidth; }
+ void SetDefaultObjectSizeHeight(INT32 nNew) { nDefaultObjectSizeHeight = nNew; }
+ INT32 GetDefaultObjectSizeHeight() const { return nDefaultObjectSizeHeight; }
+
const ScAppOptions& operator= ( const ScAppOptions& rOpt );
friend SvStream& operator>> ( SvStream& rStream, ScAppOptions& rOpt );
@@ -141,6 +146,8 @@ private:
ULONG nTrackDeleteColor;
ULONG nTrackMoveColor;
ScLkUpdMode eLinkMode;
+ INT32 nDefaultObjectSizeWidth;
+ INT32 nDefaultObjectSizeHeight;
};
@@ -158,18 +165,21 @@ class ScAppCfg : public ScAppOptions
ScLinkConfigItem aRevisionItem;
ScLinkConfigItem aContentItem;
ScLinkConfigItem aSortListItem;
+ ScLinkConfigItem aMiscItem;
DECL_LINK( LayoutCommitHdl, void* );
DECL_LINK( InputCommitHdl, void* );
DECL_LINK( RevisionCommitHdl, void* );
DECL_LINK( ContentCommitHdl, void* );
DECL_LINK( SortListCommitHdl, void* );
+ DECL_LINK( MiscCommitHdl, void* );
com::sun::star::uno::Sequence<rtl::OUString> GetLayoutPropertyNames();
com::sun::star::uno::Sequence<rtl::OUString> GetInputPropertyNames();
com::sun::star::uno::Sequence<rtl::OUString> GetRevisionPropertyNames();
com::sun::star::uno::Sequence<rtl::OUString> GetContentPropertyNames();
com::sun::star::uno::Sequence<rtl::OUString> GetSortListPropertyNames();
+ com::sun::star::uno::Sequence<rtl::OUString> GetMiscPropertyNames();
public:
ScAppCfg();