svdograf.cxx (70d3707a) | svdograf.cxx (8718d260) |
---|---|
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 --- 1131 unchanged lines hidden (view full) --- 1140 aMtf = GetTransformedGraphic(SDRGRAFOBJ_TRANSFORMATTR_COLOR|SDRGRAFOBJ_TRANSFORMATTR_MIRROR).GetGDIMetaFile(); 1141 } 1142 1143 switch(aGraphicType) 1144 { 1145 case GRAPHIC_GDIMETAFILE: 1146 { 1147 // NUR die aus dem MetaFile erzeugbaren Objekte in eine Gruppe packen und zurueckliefern | 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 --- 1131 unchanged lines hidden (view full) --- 1140 aMtf = GetTransformedGraphic(SDRGRAFOBJ_TRANSFORMATTR_COLOR|SDRGRAFOBJ_TRANSFORMATTR_MIRROR).GetGDIMetaFile(); 1141 } 1142 1143 switch(aGraphicType) 1144 { 1145 case GRAPHIC_GDIMETAFILE: 1146 { 1147 // NUR die aus dem MetaFile erzeugbaren Objekte in eine Gruppe packen und zurueckliefern |
1148 ImpSdrGDIMetaFileImport aFilter(*GetModel()); 1149 aFilter.SetScaleRect(aRect); 1150 aFilter.SetLayer(GetLayer()); 1151 | 1148 ImpSdrGDIMetaFileImport aFilter(*GetModel(), GetLayer(), aRect); |
1152 SdrObjGroup* pGrp = new SdrObjGroup(); 1153 sal_uInt32 nInsAnz = aFilter.DoImport(aMtf, *pGrp->GetSubList(), 0); 1154 1155 if(nInsAnz) 1156 { 1157 { 1158 // copy transformation 1159 GeoStat aGeoStat(GetGeoStat()); --- 407 unchanged lines hidden --- | 1149 SdrObjGroup* pGrp = new SdrObjGroup(); 1150 sal_uInt32 nInsAnz = aFilter.DoImport(aMtf, *pGrp->GetSubList(), 0); 1151 1152 if(nInsAnz) 1153 { 1154 { 1155 // copy transformation 1156 GeoStat aGeoStat(GetGeoStat()); --- 407 unchanged lines hidden --- |