diff options
author | Kurt Zenker <kz@openoffice.org> | 2003-12-11 11:17:05 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2003-12-11 11:17:05 +0000 |
commit | 0cb68399eafd877683583e6595a3c2ebfae39668 (patch) | |
tree | d9b5675be46ce5af948c2c87b221d609779de54a /svx/source/form/fmobjfac.cxx | |
parent | a25de8a9448bdafd764237aec314bb43c9133121 (diff) |
INTEGRATION: CWS frmcontrols01 (1.8.360); FILE MERGED
2003/11/04 12:21:46 fs 1.8.360.3: #i21650# #i21277# no border for scrollbar and spin button
2003/10/27 11:47:05 fs 1.8.360.2: #i21605# SPINBUTTON instead of SPINFIELD
2003/10/22 13:01:19 fs 1.8.360.1: #21277# new form controls: scrollbars and spin fields
Diffstat (limited to 'svx/source/form/fmobjfac.cxx')
-rw-r--r-- | svx/source/form/fmobjfac.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/svx/source/form/fmobjfac.cxx b/svx/source/form/fmobjfac.cxx index 1a9fcef83191..4d9e02e6780a 100644 --- a/svx/source/form/fmobjfac.cxx +++ b/svx/source/form/fmobjfac.cxx @@ -2,9 +2,9 @@ * * $RCSfile: fmobjfac.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: oj $ $Date: 2002-10-31 13:47:23 $ + * last change: $Author: kz $ $Date: 2003-12-11 12:17:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -303,6 +303,16 @@ IMPL_LINK(FmFormObjFactory, MakeObject, SdrObjFactory*, pObjFactory) { pObjFactory->pNewObj = new FmFormObj(FM_COMPONENT_FORMATTEDFIELD,pObjFactory->nIdentifier); } break; + case OBJ_FM_SCROLLBAR: + { + pObjFactory->pNewObj = new FmFormObj( FM_SUN_COMPONENT_SCROLLBAR, pObjFactory->nIdentifier ); + lcl_initProperty( static_cast< FmFormObj* >( pObjFactory->pNewObj ), FM_PROP_BORDER, makeAny( (sal_Int16)0 ) ); + } break; + case OBJ_FM_SPINBUTTON: + { + pObjFactory->pNewObj = new FmFormObj( FM_SUN_COMPONENT_SPINBUTTON, pObjFactory->nIdentifier ); + lcl_initProperty( static_cast< FmFormObj* >( pObjFactory->pNewObj ), FM_PROP_BORDER, makeAny( (sal_Int16)0 ) ); + } break; default: return 0; } |