LibreOffice Module sdext (master) 1
|
#include "impoptimizer.hxx"
#include "pppoptimizer.hxx"
#include "graphiccollector.hxx"
#include "pagecollector.hxx"
#include "informationdialog.hxx"
#include <vector>
#include <com/sun/star/util/URL.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/frame/FrameSearchFlag.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/graphic/GraphicProvider.hpp>
#include <com/sun/star/graphic/XGraphicProvider.hpp>
#include <com/sun/star/drawing/XShapes.hpp>
#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
#include <com/sun/star/drawing/XMasterPagesSupplier.hpp>
#include <com/sun/star/presentation/XPresentationPage.hpp>
#include <com/sun/star/rendering/XBitmap.hpp>
#include <com/sun/star/document/XFilter.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/graphic/GraphicType.hpp>
#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/io/TempFile.hpp>
#include <com/sun/star/frame/XComponentLoader.hpp>
#include <com/sun/star/util/URLTransformer.hpp>
#include <comphelper/propertyvalue.hxx>
Go to the source code of this file.
Functions | |
static void | ImpExtractCustomShow (const Reference< XModel > &rxModel, std::u16string_view rCustomShowName) |
static void | ImpDeleteUnusedMasterPages (const Reference< XModel > &rxModel) |
static void | ImpDeleteHiddenSlides (const Reference< XModel > &rxModel) |
static void | ImpDeleteNotesPages (const Reference< XModel > &rxModel) |
static void | ImpConvertOLE (const Reference< XModel > &rxModel, sal_Int32 nOLEOptimizationType) |
static void | ImpCompressGraphic (Reference< XGraphicProvider > const &rxGraphicProvider, const Reference< XGraphic > &rxGraphic, Reference< XOutputStream > const &rxOutputStream, const OUString &rDestMimeType, const awt::Size &rLogicalSize, sal_Int32 nJPEGQuality, sal_Int32 nImageResolution, bool bRemoveCropping, const text::GraphicCrop &rGraphicCropLogic) |
static Reference< XGraphic > | ImpCompressGraphic (const Reference< XComponentContext > &rxContext, const Reference< XGraphic > &xGraphic, const awt::Size &aLogicalSize, const text::GraphicCrop &aGraphicCropLogic, const GraphicSettings &rGraphicSettings) |
static void | CompressGraphics (ImpOptimizer &rOptimizer, const Reference< XComponentContext > &rxContext, const GraphicSettings &rGraphicSettings, std::vector< GraphicCollector::GraphicEntity > &rGraphicList) |
static void | DispatchURL (const Reference< XComponentContext > &xContext, const OUString &sURL, const Reference< XFrame > &xFrame) |
|
static |
Definition at line 354 of file impoptimizer.cxx.
References Any, ImpOptimizer::DispatchStatus(), Exception, GraphicCollector::GetOriginalSize(), i, ImpCompressGraphic(), GraphicSettings::mbRemoveCropArea, OptimizationStats::SetStatusValue(), and TK_Progress.
Referenced by ImpOptimizer::Optimize().
|
static |
Definition at line 538 of file impoptimizer.cxx.
|
static |
Definition at line 232 of file impoptimizer.cxx.
References Exception, GraphicCollector::GetOriginalSize(), ImpCompressGraphic(), comphelper::makePropertyValue(), GraphicSettings::mbJPEGCompression, GraphicSettings::mbRemoveCropArea, GraphicSettings::mnImageResolution, and GraphicSettings::mnJPEGQuality.
|
static |
Definition at line 200 of file impoptimizer.cxx.
References Exception, and comphelper::makePropertyValue().
Referenced by CompressGraphics(), and ImpCompressGraphic().
|
static |
Definition at line 152 of file impoptimizer.cxx.
References Any, Exception, and i.
Referenced by ImpOptimizer::Optimize().
|
static |
Definition at line 102 of file impoptimizer.cxx.
References bVisible, Exception, and i.
Referenced by ImpOptimizer::Optimize().
|
static |
Definition at line 129 of file impoptimizer.cxx.
References Any, Exception, and i.
Referenced by ImpOptimizer::Optimize().
|
static |
Definition at line 87 of file impoptimizer.cxx.
References PageCollector::CollectMasterPages().
Referenced by ImpOptimizer::Optimize().
|
static |
Definition at line 70 of file impoptimizer.cxx.
References PageCollector::CollectNonCustomShowPages(), and Exception.
Referenced by ImpOptimizer::Optimize().