shapeexport4.cxx (63bba73c) shapeexport4.cxx (e2ecf9c5)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 459 unchanged lines hidden (view full) ---

468 const rtl::OUString sCustomShapeGeometry( RTL_CONSTASCII_USTRINGPARAM( "CustomShapeGeometry" ) );
469 if ( xPropSetInfo.is() && xPropSetInfo->hasPropertyByName( sCustomShapeGeometry ) )
470 {
471 uno::Any aGeoPropSet( xPropSet->getPropertyValue( sCustomShapeGeometry ) );
472 uno::Sequence< beans::PropertyValue > aGeoPropSeq;
473
474 if ( aGeoPropSet >>= aGeoPropSeq )
475 {
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 459 unchanged lines hidden (view full) ---

468 const rtl::OUString sCustomShapeGeometry( RTL_CONSTASCII_USTRINGPARAM( "CustomShapeGeometry" ) );
469 if ( xPropSetInfo.is() && xPropSetInfo->hasPropertyByName( sCustomShapeGeometry ) )
470 {
471 uno::Any aGeoPropSet( xPropSet->getPropertyValue( sCustomShapeGeometry ) );
472 uno::Sequence< beans::PropertyValue > aGeoPropSeq;
473
474 if ( aGeoPropSet >>= aGeoPropSeq )
475 {
476 const rtl::OUString sCustomShapeType( RTL_CONSTASCII_USTRINGPARAM( "NonPrimitive" ) );
476 const rtl::OUString sCustomShapeType( RTL_CONSTASCII_USTRINGPARAM( "non-primitive" ) );
477 rtl::OUString aCustomShapeType( sCustomShapeType );
478
479 sal_Int32 j, nGeoPropCount = aGeoPropSeq.getLength();
480 for ( j = 0; j < nGeoPropCount; j++ )
481 {
482 const beans::PropertyValue& rGeoProp = aGeoPropSeq[ j ];
483 switch( EASGet( rGeoProp.Name ) )
484 {

--- 756 unchanged lines hidden ---
477 rtl::OUString aCustomShapeType( sCustomShapeType );
478
479 sal_Int32 j, nGeoPropCount = aGeoPropSeq.getLength();
480 for ( j = 0; j < nGeoPropCount; j++ )
481 {
482 const beans::PropertyValue& rGeoProp = aGeoPropSeq[ j ];
483 switch( EASGet( rGeoProp.Name ) )
484 {

--- 756 unchanged lines hidden ---