diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-03-15 15:04:38 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-03-15 15:04:38 +0000 |
commit | 4feb774c59f4423d282cb9e96ace804b85d99080 (patch) | |
tree | 01c886675351bf1fe0212c4da8cfda1c46578e5a /starmath/source/unomodel.cxx | |
parent | 38fc13a1997266156223a1c7732a4a4079ea40ae (diff) |
INTEGRATION: CWS basmgr02 (1.38.50); FILE MERGED
2007/02/12 09:23:25 fs 1.38.50.2: RESYNC: (1.38-1.39); FILE MERGED
2007/01/11 09:36:09 fs 1.38.50.1: #i73329# support for DialogLibraries property
Diffstat (limited to 'starmath/source/unomodel.cxx')
-rw-r--r-- | starmath/source/unomodel.cxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index cb2f70e3a85c..64609f4fa06d 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -4,9 +4,9 @@ * * $RCSfile: unomodel.cxx,v $ * - * $Revision: 1.39 $ + * $Revision: 1.40 $ * - * last change: $Author: rt $ $Date: 2007-01-30 15:21:30 $ + * last change: $Author: obo $ $Date: 2007-03-15 16:04:38 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -206,8 +206,9 @@ enum SmModelPropertyHandles HANDLE_BASIC_LIBRARIES, /* #93295# */ HANDLE_RUNTIME_UID, // --> PB 2004-08-25 #i33095# Security Options - HANDLE_LOAD_READONLY + HANDLE_LOAD_READONLY, // <-- + HANDLE_DIALOG_LIBRARIES // #i73329# }; PropertySetInfo * lcl_createModelPropertyInfo () @@ -221,6 +222,7 @@ PropertySetInfo * lcl_createModelPropertyInfo () { RTL_CONSTASCII_STRINGPARAM( "CustomFontNameFixed" ), HANDLE_CUSTOM_FONT_NAME_FIXED , &::getCppuType((const OUString*)0), PROPERTY_NONE, FNT_FIXED }, { RTL_CONSTASCII_STRINGPARAM( "CustomFontNameSans" ), HANDLE_CUSTOM_FONT_NAME_SANS , &::getCppuType((const OUString*)0), PROPERTY_NONE, FNT_SANS }, { RTL_CONSTASCII_STRINGPARAM( "CustomFontNameSerif" ), HANDLE_CUSTOM_FONT_NAME_SERIF , &::getCppuType((const OUString*)0), PROPERTY_NONE, FNT_SERIF }, + { RTL_CONSTASCII_STRINGPARAM( "DialogLibraries" ), HANDLE_DIALOG_LIBRARIES , &::getCppuType((const uno::Reference< script::XLibraryContainer > *)0), PropertyAttribute::READONLY, 0}, { RTL_CONSTASCII_STRINGPARAM( "FontFixedIsBold"), HANDLE_CUSTOM_FONT_FIXED_WEIGHT , &::getBooleanCppuType(), PROPERTY_NONE, FNT_FIXED}, { RTL_CONSTASCII_STRINGPARAM( "FontFixedIsItalic"), HANDLE_CUSTOM_FONT_FIXED_POSTURE , &::getBooleanCppuType(), PROPERTY_NONE, FNT_FIXED}, { RTL_CONSTASCII_STRINGPARAM( "FontFunctionsIsBold"), HANDLE_FONT_FUNCTIONS_WEIGHT , &::getBooleanCppuType(), PROPERTY_NONE, FNT_FUNCTION}, @@ -883,6 +885,9 @@ void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValu case HANDLE_BASIC_LIBRARIES: *pValue <<= pDocSh->GetBasicContainer(); break; + case HANDLE_DIALOG_LIBRARIES: + *pValue <<= pDocSh->GetDialogContainer(); + break; case HANDLE_RUNTIME_UID: *pValue <<= getRuntimeUID(); break; |