| /trunk/main/svx/source/dialog/ |
| H A D | grfflt.cxx | 55 Graphic aGraphic; in ExecuteGrfFilterSlot() local 69 aGraphic = aAnimation; in ExecuteGrfFilterSlot() 76 aGraphic = aBmpEx; in ExecuteGrfFilterSlot() 94 aGraphic = aAnimation; in ExecuteGrfFilterSlot() 101 aGraphic = aBmpEx; in ExecuteGrfFilterSlot() 119 aGraphic = aAnimation; in ExecuteGrfFilterSlot() 126 aGraphic = aBmpEx; in ExecuteGrfFilterSlot() 144 aGraphic = aAnimation; in ExecuteGrfFilterSlot() 151 aGraphic = aBmpEx; in ExecuteGrfFilterSlot() 169 aGraphic = aAnimation; in ExecuteGrfFilterSlot() [all …]
|
| H A D | _bmpmask.cxx | 1141 Graphic aGraphic( rGraphic ); in Mask() local 1152 aGraphic = ImpReplaceTransparency( rGraphic.GetAnimation(), aReplColor ); in Mask() 1154 aGraphic = ImpMask( rGraphic.GetAnimation() ); in Mask() 1161 if( aGraphic.IsTransparent() ) in Mask() 1163 … BitmapEx aBmpEx( ImpReplaceTransparency( aGraphic.GetBitmapEx(), aReplColor ) ); in Mask() 1167 aGraphic = aBmpEx; in Mask() 1185 BitmapEx aBmpEx( ImpMaskTransparent( aGraphic.GetBitmapEx(), in Mask() 1190 aGraphic = aBmpEx; in Mask() 1195 Bitmap aBitmap( ImpMask( aGraphic.GetBitmap() ) ); in Mask() 1200 if ( aGraphic.IsTransparent() ) in Mask() [all …]
|
| H A D | _contdlg.cxx | 538 aGraphic = rGraphic; in SetGraphic() 540 aContourWnd.SetGraphic( aGraphic ); in SetGraphic() 556 const MapMode aGrfMap( aGraphic.GetPrefMapMode() ); in SetPolyPolygon() 593 const MapMode aGrfMap( aGraphic.GetPrefMapMode() ); in GetPolyPolygon() 811 aRedoGraphic = aGraphic; in IMPL_LINK() 812 aGraphic = aUndoGraphic; in IMPL_LINK() 814 aContourWnd.SetGraphic( aGraphic, sal_False ); in IMPL_LINK() 821 aUndoGraphic = aGraphic; in IMPL_LINK() 822 aGraphic = aRedoGraphic; in IMPL_LINK() 824 aContourWnd.SetGraphic( aGraphic, sal_False ); in IMPL_LINK() [all …]
|
| H A D | graphctl.cxx | 240 aGraphic = Graphic( BitmapEx( aBmp, rGraphic.GetBitmapEx().GetMask() ) ); in SetGraphic() 246 aGraphic = aBmp; in SetGraphic() 250 aGraphic = rGraphic; in SetGraphic() 252 if ( aGraphic.GetPrefMapMode().GetMapUnit() == MAP_PIXEL ) in SetGraphic() 253 … aGraphSize = Application::GetDefaultDevice()->PixelToLogic( aGraphic.GetPrefSize(), aMap100 ); in SetGraphic() 255 …aGraphSize = OutputDevice::LogicToLogic( aGraphic.GetPrefSize(), aGraphic.GetPrefMapMode(), aMap10… in SetGraphic() 326 const bool bGraphicValid(GRAPHIC_NONE != aGraphic.GetType()); in Paint() 339 aGraphic.Draw(&rTarget, Point(), aGraphSize); in Paint() 351 aGraphic.Draw(this, Point(), aGraphSize); in Paint()
|
| H A D | svxgrahicitem.cxx | 29 : SfxPoolItem( _nWhich ), aGraphic( rGraphic ) in SvxGraphicItem() 34 : SfxPoolItem( rItem.Which() ), aGraphic( rItem.aGraphic ) in SvxGraphicItem() 40 return ((SvxGraphicItem&)rItem).aGraphic == aGraphic; in operator ==()
|
| /trunk/main/svx/source/unodraw/ |
| H A D | UnoGraphicExporter.cxx | 183 bool GetGraphic( ExportSettings& rSettings, Graphic& aGraphic, sal_Bool bVectorType ); 289 const Graphic aGraphic(rMtf); in GetBitmapFromMetaFile() local 291 aBmpEx = BitmapEx(aGraphic.GetBitmap(aParameters)); in GetBitmapFromMetaFile() 662 bool GraphicExporter::GetGraphic( ExportSettings& rSettings, Graphic& aGraphic, sal_Bool bVectorTyp… in GetGraphic() argument 763 aGraphic = pVDev->GetBitmap( Point(), pVDev->GetOutputSize() ); in GetGraphic() 764 aGraphic.SetPrefMapMode( aMap ); in GetGraphic() 765 aGraphic.SetPrefSize( aSize ); in GetGraphic() 834 aGraphic = Graphic(aMtf); in GetGraphic() 846 …aGraphic = GetBitmapFromMetaFile( aGraphic.GetGDIMetaFile(), sal_True, CalcSize( rSettings.mnWidth… in GetGraphic() 893 aGraphic = ( (SdrGrafObj*) pObj )->GetTransformedGraphic(); in GetGraphic() [all …]
|
| /trunk/main/sd/source/ui/view/ |
| H A D | sdview3.cxx | 185 Graphic aGraphic; in InsertMetaFile() local 225 if( aGraphic.GetType() != GRAPHIC_NONE ) in InsertMetaFile() 235 aGraphic = Graphic( pBmpAction->GetBitmap() ); in InsertMetaFile() 242 aGraphic = Graphic( pBmpScaleAction->GetBitmap() ); in InsertMetaFile() 249 aGraphic = Graphic( pBmpExAction->GetBitmapEx() ); in InsertMetaFile() 256 aGraphic = Graphic( pBmpExScaleAction->GetBitmapEx() ); in InsertMetaFile() 267 if( !bVector && (aGraphic.GetType() == GRAPHIC_NONE) ) in InsertMetaFile() 273 aImageSize = bVector ? aMtf.GetPrefSize() : aGraphic.GetSizePixel(); in InsertMetaFile() 277 aGraphic = Graphic( aMtf ); in InsertMetaFile() 279 aGraphic.SetPrefMapMode( aMtf.GetPrefMapMode() ); in InsertMetaFile() [all …]
|
| /trunk/main/svx/source/xml/ |
| H A D | xmlgrhlp.cxx | 125 Graphic aGraphic( (Graphic&) aGrfObject.GetGraphic() ); in SvXMLGraphicInputStream() local 126 const GfxLink aGfxLink( aGraphic.GetLink() ); in SvXMLGraphicInputStream() 136 if( aGraphic.GetType() == GRAPHIC_BITMAP ) in SvXMLGraphicInputStream() 141 if( aGraphic.IsAnimated() ) in SvXMLGraphicInputStream() 146 …bRet = ( pFilter->ExportGraphic( aGraphic, String(), *pStm, pFilter->GetExportFormatNumberForShort… in SvXMLGraphicInputStream() 148 else if( aGraphic.GetType() == GRAPHIC_GDIMETAFILE ) in SvXMLGraphicInputStream() 152 ( (GDIMetaFile&) aGraphic.GetGDIMetaFile() ).Write( *pStm ); in SvXMLGraphicInputStream() 325 Graphic aGraphic; in GetGraphicObject() local 330 …GraphicFilter::GetGraphicFilter()->ImportGraphic( aGraphic, String(), *mpOStm ,nFormat,&pDetermine… in GetGraphicObject() 373 …GraphicFilter::GetGraphicFilter()->ImportGraphic( aGraphic, String(), *pDest ,nFormat,&pDetermined… in GetGraphicObject() [all …]
|
| /trunk/main/svtools/source/filter/ |
| H A D | filter.cxx | 868 Graphic aGraphic; in ImpGetScaledGraphic() local 916 aGraphic = rGraphic; in ImpGetScaledGraphic() 917 aGraphic.SetPrefMapMode( aMap ); in ImpGetScaledGraphic() 918 aGraphic.SetPrefSize( Size( aOldSize.Width() * 100, in ImpGetScaledGraphic() 924 aGraphic = rGraphic; in ImpGetScaledGraphic() 925 aGraphic.SetPrefMapMode( MapMode( MAP_100TH_MM ) ); in ImpGetScaledGraphic() 926 aGraphic.SetPrefSize( Size( nLogicalWidth, nLogicalHeight ) ); in ImpGetScaledGraphic() 929 aGraphic = rGraphic; in ImpGetScaledGraphic() 934 BitmapEx aBmpEx( aGraphic.GetBitmapEx() ); in ImpGetScaledGraphic() 936 …aGraphic = aBmpEx; // they have in the BmpConversion enum, so it should be in ImpGetScaledGraphic() [all …]
|
| /trunk/main/svtools/source/graphic/ |
| H A D | transformer.cxx | 91 ::Graphic aGraphic( *::unographic::Graphic::getImplementation( xIFace ) ); in colorChange() 97 if ( aGraphic.GetType() == GRAPHIC_BITMAP ) in colorChange() 99 BitmapEx aBitmapEx( aGraphic.GetBitmapEx() ); in colorChange() 107 aGraphic = ::Graphic( BitmapEx( aBitmap, aAlphaMask ) ); in colorChange() 117 aGraphic = ::Graphic( BitmapEx( aBitmap, aMask ) ); in colorChange() 124 aGraphic = ::Graphic( BitmapEx( aBitmap, aAlphaMask ) ); in colorChange() 133 aGraphic = ::Graphic( BitmapEx( aBitmap, aMask ) ); in colorChange() 140 aGraphic = ::Graphic( BitmapEx( aBitmap, aAlphaMask ) ); in colorChange() 145 pUnoGraphic->init( aGraphic ); in colorChange()
|
| H A D | grfmgr.cxx | 1192 Graphic aGraphic; in GetTransformedGraphic() local 1206 aGraphic = aAnimation; in GetTransformedGraphic() 1212 aGraphic = aBmpEx; in GetTransformedGraphic() 1219 aGraphic = aMtf; in GetTransformedGraphic() 1228 aGraphic = aAnimation; in GetTransformedGraphic() 1231 aGraphic = maGraphic; in GetTransformedGraphic() 1235 return aGraphic; in GetTransformedGraphic() 1396 Graphic aGraphic; in operator >>() local 1401 rIStm >> aGraphic >> aAttr >> bLink; in operator >>() 1403 rGraphicObj.SetGraphic( aGraphic ); in operator >>() [all …]
|
| /trunk/main/svx/source/sdr/primitive2d/ |
| H A D | sdrolecontentprimitive2d.cxx | 47 Graphic aGraphic; in create2DDecomposition() local 57 aGraphic = *pOLEGraphic; in create2DDecomposition() 62 if(GRAPHIC_NONE == aGraphic.GetType()) in create2DDecomposition() 66 aGraphic = Graphic(aEmptyOLEBitmap); in create2DDecomposition() 70 if(GRAPHIC_NONE != aGraphic.GetType()) in create2DDecomposition() 72 const GraphicObject aGraphicObject(aGraphic); in create2DDecomposition() 84 Size aPrefSize(aGraphic.GetPrefSize()); in create2DDecomposition() 86 if(MAP_PIXEL == aGraphic.GetPrefMapMode().GetMapUnit()) in create2DDecomposition() 92 …aPrefSize = Application::GetDefaultDevice()->LogicToLogic(aPrefSize, aGraphic.GetPrefMapMode(), MA… in create2DDecomposition()
|
| H A D | sdrattributecreator.cxx | 620 …Graphic aGraphic(((const XFillBitmapItem&)(rSet.Get(XATTR_FILLBITMAP))).GetGraphicObject().GetGrap… in createNewSdrFillGraphicAttribute() local 622 if(!(GRAPHIC_BITMAP == aGraphic.GetType() || GRAPHIC_GDIMETAFILE == aGraphic.GetType())) in createNewSdrFillGraphicAttribute() 629 Size aPrefSize(aGraphic.GetPrefSize()); in createNewSdrFillGraphicAttribute() 634 if(GRAPHIC_BITMAP == aGraphic.GetType()) in createNewSdrFillGraphicAttribute() 636 aGraphic.SetPrefSize(aGraphic.GetBitmapEx().GetSizePixel()); in createNewSdrFillGraphicAttribute() 637 aGraphic.SetPrefMapMode(MAP_PIXEL); in createNewSdrFillGraphicAttribute() 650 …basegfx::B2DVector aGraphicLogicSize(aGraphic.GetPrefSize().Width(), aGraphic.GetPrefSize().Height… in createNewSdrFillGraphicAttribute() 652 if(aGraphic.GetPrefMapMode() != aDestinationMapUnit) in createNewSdrFillGraphicAttribute() 658 if(MAP_PIXEL == aGraphic.GetPrefMapMode().GetMapUnit()) in createNewSdrFillGraphicAttribute() 661 aGraphic.GetPrefSize(), in createNewSdrFillGraphicAttribute() [all …]
|
| /trunk/main/svx/source/xoutdev/ |
| H A D | _xoutbmp.cxx | 143 Graphic aGraphic; in WriteGraphic() local 267 aGraphic = rGraphic; in WriteGraphic() 292 aGraphic = BitmapEx( aBitmap, aVDev.GetBitmap( aPt, aSize ) ); in WriteGraphic() 295 aGraphic = rGraphic.GetBitmapEx(); in WriteGraphic() 298 aGraphic = rGraphic.GetBitmapEx(); in WriteGraphic() 311 aGraphic = aVDev.GetBitmap( Point(), aSize ); in WriteGraphic() 314 aGraphic = rGraphic.GetBitmap(); in WriteGraphic() 317 aGraphic = rGraphic.GetBitmap(); in WriteGraphic() 322 aGraphic = MirrorGraphic( aGraphic, nFlags ); in WriteGraphic() 324 … if( ( GRFILTER_FORMAT_NOTFOUND != nFilter ) && ( aGraphic.GetType() != GRAPHIC_NONE ) ) in WriteGraphic() [all …]
|
| /trunk/main/svx/source/gallery2/ |
| H A D | galtheme.cxx | 574 Graphic aGraphic; in Actualize() local 612 aGraphic.Clear(); in Actualize() 614 if ( GalleryGraphicImport( aURL, aGraphic, aFormat ) ) in Actualize() 619 pNewObj = (SgaObject*) new SgaObjectINet( aGraphic, aURL, aFormat ); in Actualize() 620 else if ( aGraphic.IsAnimated() ) in Actualize() 621 pNewObj = (SgaObject*) new SgaObjectAnim( aGraphic, aURL, aFormat ); in Actualize() 623 pNewObj = (SgaObject*) new SgaObjectBmp( aGraphic, aURL, aFormat ); in Actualize() 1190 Graphic aGraphic; in InsertURL() local 1193 const sal_uInt16 nImportRet = GalleryGraphicImport( rURL, aGraphic, aFormat ); in InsertURL() 1199 pNewObj = (SgaObject*) new SgaObjectINet( aGraphic, rURL, aFormat ); in InsertURL() [all …]
|
| H A D | galobj.cxx | 77 const Graphic aGraphic(GetThumbMtf()); in createPreviewBitmapEx() local 79 aRetval = aGraphic.GetBitmapEx(); in createPreviewBitmapEx() 311 Graphic aGraphic; in SgaObjectBmp() local 314 if ( SGA_IMPORT_NONE != GalleryGraphicImport( rURL, aGraphic, aFilter ) ) in SgaObjectBmp() 315 Init( aGraphic, rURL ); in SgaObjectBmp() 563 Graphic aGraphic; in CreateThumb() local 567 if ( CreateIMapGraphic( rModel, aGraphic, aImageMap ) ) in CreateThumb() 569 bRet = SgaObject::CreateThumb( aGraphic ); in CreateThumb()
|
| H A D | galbrws2.cxx | 912 Graphic aGraphic; in SetMode() local 924 mpCurTheme->GetGraphic( nPos, aGraphic ); in SetMode() 926 mpPreview->SetGraphic( aGraphic ); in SetMode() 1000 Graphic aGraphic; in Travel() local 1003 mpCurTheme->GetGraphic( nPos, aGraphic ); in Travel() 1004 mpPreview->SetGraphic( aGraphic ); in Travel() 1238 Graphic aGraphic; in Dispatch() local 1239 sal_Bool bGraphic = mpCurTheme->GetGraphic( mnCurActionPos, aGraphic ); in Dispatch() 1240 if ( bGraphic && !!aGraphic ) in Dispatch() 1241 xGraphic.set( aGraphic.GetXGraphic() ); in Dispatch() [all …]
|
| /trunk/main/chart2/source/controller/main/ |
| H A D | ChartTransferable.cxx | 63 Graphic aGraphic( pExchgView->GetMarkedObjMetaFile(true)); in ChartTransferable() local 64 m_xMetaFileGraphic.set( aGraphic.GetXGraphic()); in ChartTransferable() 99 Graphic aGraphic( m_xMetaFileGraphic ); in GetData() local 100 bResult = SetGDIMetaFile( aGraphic.GetGDIMetaFile(), rFlavor ); in GetData() 104 Graphic aGraphic( m_xMetaFileGraphic ); in GetData() local 105 bResult = SetBitmapEx( aGraphic.GetBitmapEx(), rFlavor ); in GetData()
|
| /trunk/main/starmath/source/ |
| H A D | view.cxx | 799 return aGraphic.LogicToPixel( ((SmViewShell*)this)->GetDoc()->GetSize() ); in GetOptimalSizePixel() 807 aGraphic.SetPosSizePixel(rPos, rSize); in AdjustPosSizePixel() 1447 aGraphic.ZoomToFitInWindow(); in Execute() 1451 aGraphic.SetZoom(50); in Execute() 1455 aGraphic.SetZoom(100); in Execute() 1459 aGraphic.SetZoom(200); in Execute() 1463 aGraphic.SetZoom(aGraphic.GetZoom() + 25); in Execute() 1467 DBG_ASSERT(aGraphic.GetZoom() >= 25, "Sm: Wrong sal_uInt16 argument"); in Execute() 1468 aGraphic.SetZoom(aGraphic.GetZoom() - 25); in Execute() 1729 aSet.Put( SvxZoomItem( SVX_ZOOM_PERCENT, aGraphic.GetZoom())); in Execute() [all …]
|
| /trunk/main/sd/source/filter/html/ |
| H A D | buttonset.cxx | 212 Graphic aGraphic; in getPreview() local 213 if( !rSet.getGraphic( getGraphicProvider(), (*aIter++), aGraphic ) ) in getPreview() 216 aGraphics.push_back(aGraphic); in getPreview() 218 Size aGraphicSize( aGraphic.GetSizePixel( &aDev ) ); in getPreview() 235 Graphic aGraphic( (*aGraphIter++) ); in getPreview() 237 aGraphic.Draw( &aDev, aPos ); in getPreview() 239 aPos.X() += aGraphic.GetSizePixel().Width() + 3; in getPreview()
|
| /trunk/main/sc/source/ui/view/ |
| H A D | viewfun5.cxx | 188 Graphic aGraphic; in PasteDataFormat() local 207 …PasteObject( aPos, xObj, &aObjDesc.maSize, &aGraphic, aDataFlavor.MimeType, aObjDesc.mnViewAspect … in PasteDataFormat() 263 Graphic aGraphic; in PasteDataFormat() local 268 if( aDataHelper.GetGraphic( SOT_FORMATSTR_ID_SVXB, aGraphic ) ) in PasteDataFormat() 270 else if( aDataHelper.GetGraphic( FORMAT_GDIMETAFILE, aGraphic ) ) in PasteDataFormat() 272 else if( aDataHelper.GetGraphic( FORMAT_BITMAP, aGraphic ) ) in PasteDataFormat() 281 …PasteObject( aPos, xObj, &aObjDesc.maSize, &aGraphic, aDataFlavor.MimeType, aObjDesc.mnViewAspect … in PasteDataFormat() 475 Graphic aGraphic; in PasteDataFormat() local 476 *xStm >> aGraphic; in PasteDataFormat() 477 bRet = PasteGraphic( aPos, aGraphic, EMPTY_STRING, EMPTY_STRING ); in PasteDataFormat()
|
| /trunk/main/svx/source/svdraw/ |
| H A D | svdograf.cxx | 124 Graphic aGraphic; in ImpLoadLinkedGraphic() local 154 pGF->ImportGraphic( aGraphic, aFileName, *pInStrm, nFilter, NULL, 0, &aFilterData ); in ImpLoadLinkedGraphic() 156 return aGraphic; in ImpLoadLinkedGraphic() 236 Graphic aGraphic; in run() local 239 aGraphic = ImpLoadLinkedGraphic( maFileName, maFilterName ); in run() 244 mrGraphicLink.DataChanged( aGraphic ); in run() 293 Graphic aGraphic; in DataChanged() local 294 if( sfx2::LinkManager::GetGraphicFromAny( rMimeType, rValue, aGraphic )) in DataChanged() 296 pGrafObj->NbcSetGraphic( aGraphic ); in DataChanged() 1541 Graphic aGraphic; in IMPL_LINK() local [all …]
|
| /trunk/main/svgio/source/svgreader/ |
| H A D | svgimagenode.cxx | 230 Graphic aGraphic; in decomposeSvgNode() local 233 aGraphic, in decomposeSvgNode() 237 extractFromGraphic(aGraphic, aNewTarget, aViewBox, aBitmapEx); in decomposeSvgNode() 252 Graphic aGraphic; in decomposeSvgNode() local 255 aGraphic, in decomposeSvgNode() 259 extractFromGraphic(aGraphic, aNewTarget, aViewBox, aBitmapEx); in decomposeSvgNode()
|
| /trunk/main/filter/source/graphicfilter/ieps/ |
| H A D | ieps.cxx | 517 Graphic aGraphic; in GraphicImport() local 541 if ( GraphicConverter::Import( rStream, aGraphic, CVT_WMF ) == ERRCODE_NONE ) in GraphicImport() 554 if ( GraphicConverter::Import( rStream, aGraphic, CVT_TIF ) == ERRCODE_NONE ) in GraphicImport() 556 MakeAsMeta(aGraphic); in GraphicImport() 676 aGraphic = aMtf; in GraphicImport() 708 bHasPreview = RenderAsEMF(pBuf, nBytesRead, aGraphic); in GraphicImport() 710 bHasPreview = RenderAsPNG(pBuf, nBytesRead, aGraphic); in GraphicImport() 717 aGraphic); in GraphicImport() 721 … aGfxLink, aGraphic.GetGDIMetaFile() ) ) ); in GraphicImport()
|
| /trunk/main/sc/source/ui/drawfunc/ |
| H A D | fuins1.cxx | 298 Graphic aGraphic; in FuInsertGraphic() local 299 …int nError = GraphicFilter::LoadGraphic( aFileName, aFilterName, aGraphic, GraphicFilter::GetGraph… in FuInsertGraphic() 302 … lcl_InsertGraphic( aGraphic, aFileName, aFilterName, bAsLink, sal_True, pViewSh, pWindow, pView ); in FuInsertGraphic() 311 Graphic aGraphic; in FuInsertGraphic() local 312 int nError = aDlg.GetGraphic(aGraphic); in FuInsertGraphic() 319 …lcl_InsertGraphic( aGraphic, aFileName, aFilterName, bAsLink, sal_False, pViewSh, pWindow, pView ); in FuInsertGraphic()
|