graphiccollector.hxx (e4a7f284) | graphiccollector.hxx (880c69c6) |
---|---|
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 --- 68 unchanged lines hidden (view full) --- 77 com::sun::star::text::GraphicCrop maGraphicCropLogic; 78 std::vector< GraphicUser > maUser; 79 80 GraphicEntity( const GraphicUser& rUser ) 81 : maLogicalSize( rUser.maLogicalSize ), mbRemoveCropArea( sal_False ), maGraphicCropLogic( 0, 0, 0, 0 ) { maUser.push_back( rUser ); }; 82 }; 83 84 static const com::sun::star::awt::DeviceInfo& GetDeviceInfo( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxFact ); | 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 --- 68 unchanged lines hidden (view full) --- 77 com::sun::star::text::GraphicCrop maGraphicCropLogic; 78 std::vector< GraphicUser > maUser; 79 80 GraphicEntity( const GraphicUser& rUser ) 81 : maLogicalSize( rUser.maLogicalSize ), mbRemoveCropArea( sal_False ), maGraphicCropLogic( 0, 0, 0, 0 ) { maUser.push_back( rUser ); }; 82 }; 83 84 static const com::sun::star::awt::DeviceInfo& GetDeviceInfo( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxFact ); |
85 static com::sun::star::awt::Size GetOriginalSize( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext, | 85 static com::sun::star::awt::Size GetOriginalSize( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxMSF, |
86 const com::sun::star::uno::Reference< com::sun::star::graphic::XGraphic >& rxGraphic ); 87 88 // collecting graphic instances, the downside of this method is that every graphic is swapped in | 86 const com::sun::star::uno::Reference< com::sun::star::graphic::XGraphic >& rxGraphic ); 87 88 // collecting graphic instances, the downside of this method is that every graphic is swapped in |
89 static void CollectGraphics( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext, const com::sun::star::uno::Reference< com::sun::star::frame::XModel >& rxModel, | 89 static void CollectGraphics( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxMSF, const com::sun::star::uno::Reference< com::sun::star::frame::XModel >& rxModel, |
90 const GraphicSettings& rGraphicSettings, std::vector< GraphicEntity >& io_rGraphicList ); 91 // counting graphics without swapping in graphics | 90 const GraphicSettings& rGraphicSettings, std::vector< GraphicEntity >& io_rGraphicList ); 91 // counting graphics without swapping in graphics |
92 static void CountGraphics( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext, const com::sun::star::uno::Reference< com::sun::star::frame::XModel >& rxModel, | 92 static void CountGraphics( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxMSF, const com::sun::star::uno::Reference< com::sun::star::frame::XModel >& rxModel, |
93 const GraphicSettings& rGraphicSettings, sal_Int32& rGraphics ); 94}; 95 96// -------------------- 97// - GRAPHICCOLLECTOR - 98// -------------------- 99 100 101#endif // GRAPHICCOLLECTOR_HXX | 93 const GraphicSettings& rGraphicSettings, sal_Int32& rGraphics ); 94}; 95 96// -------------------- 97// - GRAPHICCOLLECTOR - 98// -------------------- 99 100 101#endif // GRAPHICCOLLECTOR_HXX |