diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-03-12 09:10:49 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-03-12 09:10:49 +0000 |
commit | 5d20a47c3d50d0a88543b2355ec7340fc7455984 (patch) | |
tree | b80b27e2f85ef8e985720a87d15e5988f90b64d8 | |
parent | 0ea7de6461038071573a7f84366eeb498c5b4063 (diff) |
INTEGRATION: CWS impresstables2 (1.20.136); FILE MERGED
2007/08/01 18:58:19 cl 1.20.136.2: RESYNC: (1.20-1.21); FILE MERGED
2007/04/18 15:10:19 cl 1.20.136.1: #i72702# updated api for table shapes
-rw-r--r-- | svx/source/unodraw/unomod.cxx | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx index b969405ec430..67235a8a50fc 100644 --- a/svx/source/unodraw/unomod.cxx +++ b/svx/source/unodraw/unomod.cxx @@ -4,9 +4,9 @@ * * $RCSfile: unomod.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: hr $ $Date: 2007-06-27 19:24:58 $ + * last change: $Author: rt $ $Date: 2008-03-12 10:10:49 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -598,14 +598,34 @@ uno::Reference< uno::XInterface > SAL_CALL SvxUnoDrawingModel::createInstance( c { nType = OBJ_OLE2; } - else if( aType.EqualsAscii( "NotesShape", 26, 13 ) ) + else if( aType.EqualsAscii( "NotesShape", 26, 10 ) ) { nType = OBJ_TEXT; } - else if( aType.EqualsAscii( "HandoutShape", 26, 13 ) ) + else if( aType.EqualsAscii( "HandoutShape", 26, 12 ) ) { nType = OBJ_PAGE; } + else if( aType.EqualsAscii( "FooterShape", 26, 12 ) ) + { + nType = OBJ_TEXT; + } + else if( aType.EqualsAscii( "HeaderShape", 26, 12 ) ) + { + nType = OBJ_TEXT; + } + else if( aType.EqualsAscii( "SlideNumberShape", 26, 17 ) ) + { + nType = OBJ_TEXT; + } + else if( aType.EqualsAscii( "DateTimeShape", 26, 17 ) ) + { + nType = OBJ_TEXT; + } + else if( aType.EqualsAscii( "TableShape", 26, 10 ) ) + { + nType = OBJ_TABLE; + } else { throw lang::ServiceNotRegisteredException(); |