unoshape.cxx (f6e50924) unoshape.cxx (bb18ee55)
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

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

747
748 SdrObject *pTempObj = mpObj.get();
749 pView->MarkObj(pTempObj,pPageView);
750
751 Rectangle aRect(pTempObj->GetCurrentBoundRect());
752 aRect.Justify();
753 Size aSize(aRect.GetSize());
754
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

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

747
748 SdrObject *pTempObj = mpObj.get();
749 pView->MarkObj(pTempObj,pPageView);
750
751 Rectangle aRect(pTempObj->GetCurrentBoundRect());
752 aRect.Justify();
753 Size aSize(aRect.GetSize());
754
755 GDIMetaFile aMtf( pView->GetAllMarkedMetaFile() );
755 GDIMetaFile aMtf( pView->GetMarkedObjMetaFile() );
756 if( bMetaFile )
757 {
758 SvMemoryStream aDestStrm( 65535, 65535 );
759 ConvertGDIMetaFileToWMF( aMtf, aDestStrm, NULL, sal_False );
760 const uno::Sequence<sal_Int8> aSeq(
761 static_cast< const sal_Int8* >(aDestStrm.GetData()),
762 aDestStrm.GetEndOfData());
763 aAny.setValue( &aSeq, ::getCppuType((const uno::Sequence< sal_Int8 >*)0) );

--- 3907 unchanged lines hidden ---
756 if( bMetaFile )
757 {
758 SvMemoryStream aDestStrm( 65535, 65535 );
759 ConvertGDIMetaFileToWMF( aMtf, aDestStrm, NULL, sal_False );
760 const uno::Sequence<sal_Int8> aSeq(
761 static_cast< const sal_Int8* >(aDestStrm.GetData()),
762 aDestStrm.GetEndOfData());
763 aAny.setValue( &aSeq, ::getCppuType((const uno::Sequence< sal_Int8 >*)0) );

--- 3907 unchanged lines hidden ---