LibreOffice Module sdext (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ImpOptimizer Class Reference

#include <impoptimizer.hxx>

Inheritance diagram for ImpOptimizer:
[legend]
Collaboration diagram for ImpOptimizer:
[legend]

Public Member Functions

 ImpOptimizer (const css::uno::Reference< css::uno::XComponentContext > &rXFactory, const css::uno::Reference< css::frame::XModel > &rxModel)
 
 ~ImpOptimizer ()
 
void Optimize (const css::uno::Sequence< css::beans::PropertyValue > &rArguments)
 
void DispatchStatus ()
 
- Public Member Functions inherited from OptimizationStats
 OptimizationStats ()
 
void SetStatusValue (const PPPOptimizerTokenEnum eStat, const css::uno::Any &rStatValue)
 
const css::uno::Any * GetStatusValue (const PPPOptimizerTokenEnum eStat) const
 
void InitializeStatusValuesFromDocument (const css::uno::Reference< css::frame::XModel > &rxModel)
 
void InitializeStatusValues (const css::uno::Sequence< css::beans::PropertyValue > &rOptimizationStats)
 
css::beans::PropertyValues GetStatusSequence ()
 

Private Member Functions

void Optimize ()
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > mxContext
 
css::uno::Reference< css::frame::XModel > mxModel
 
css::uno::Reference< css::frame::XDispatch > mxStatusDispatcher
 
bool mbJPEGCompression
 
sal_Int32 mnJPEGQuality
 
bool mbRemoveCropArea
 
sal_Int32 mnImageResolution
 
bool mbEmbedLinkedGraphics
 
bool mbOLEOptimization
 
sal_Int32 mnOLEOptimizationType
 
OUString maCustomShowName
 
bool mbDeleteUnusedMasterPages
 
bool mbDeleteHiddenSlides
 
bool mbDeleteNotesPages
 
OUString maSaveAsURL
 
OUString maFilterName
 
bool mbOpenNewDocument
 
css::uno::Reference< css::frame::XFrame > mxInformationDialog
 

Detailed Description

Definition at line 31 of file impoptimizer.hxx.

Constructor & Destructor Documentation

ImpOptimizer::ImpOptimizer ( const css::uno::Reference< css::uno::XComponentContext > &  rXFactory,
const css::uno::Reference< css::frame::XModel > &  rxModel 
)

Definition at line 460 of file impoptimizer.cxx.

References mxContext.

ImpOptimizer::~ImpOptimizer ( )

Definition at line 478 of file impoptimizer.cxx.

Member Function Documentation

void ImpOptimizer::DispatchStatus ( )

Definition at line 483 of file impoptimizer.cxx.

References aURL, OptimizationStats::GetStatusSequence(), mxStatusDispatcher, and URL.

Referenced by CompressGraphics(), and Optimize().

void ImpOptimizer::Optimize ( )
private
void ImpOptimizer::Optimize ( const css::uno::Sequence< css::beans::PropertyValue > &  rArguments)

Member Data Documentation

OUString ImpOptimizer::maCustomShowName
private

Definition at line 46 of file impoptimizer.hxx.

Referenced by Optimize().

OUString ImpOptimizer::maFilterName
private

Definition at line 51 of file impoptimizer.hxx.

OUString ImpOptimizer::maSaveAsURL
private

Definition at line 50 of file impoptimizer.hxx.

bool ImpOptimizer::mbDeleteHiddenSlides
private

Definition at line 48 of file impoptimizer.hxx.

Referenced by Optimize().

bool ImpOptimizer::mbDeleteNotesPages
private

Definition at line 49 of file impoptimizer.hxx.

Referenced by Optimize().

bool ImpOptimizer::mbDeleteUnusedMasterPages
private

Definition at line 47 of file impoptimizer.hxx.

Referenced by Optimize().

bool ImpOptimizer::mbEmbedLinkedGraphics
private

Definition at line 43 of file impoptimizer.hxx.

Referenced by Optimize().

bool ImpOptimizer::mbJPEGCompression
private

Definition at line 39 of file impoptimizer.hxx.

Referenced by Optimize().

bool ImpOptimizer::mbOLEOptimization
private

Definition at line 44 of file impoptimizer.hxx.

Referenced by Optimize().

bool ImpOptimizer::mbOpenNewDocument
private

Definition at line 52 of file impoptimizer.hxx.

bool ImpOptimizer::mbRemoveCropArea
private

Definition at line 41 of file impoptimizer.hxx.

Referenced by Optimize().

sal_Int32 ImpOptimizer::mnImageResolution
private

Definition at line 42 of file impoptimizer.hxx.

Referenced by Optimize().

sal_Int32 ImpOptimizer::mnJPEGQuality
private

Definition at line 40 of file impoptimizer.hxx.

Referenced by Optimize().

sal_Int32 ImpOptimizer::mnOLEOptimizationType
private

Definition at line 45 of file impoptimizer.hxx.

Referenced by Optimize().

css::uno::Reference< css::uno::XComponentContext > ImpOptimizer::mxContext
private

Definition at line 35 of file impoptimizer.hxx.

Referenced by Optimize().

css::uno::Reference< css::frame::XFrame > ImpOptimizer::mxInformationDialog
private

Definition at line 54 of file impoptimizer.hxx.

css::uno::Reference< css::frame::XModel > ImpOptimizer::mxModel
private

Definition at line 36 of file impoptimizer.hxx.

Referenced by Optimize().

css::uno::Reference< css::frame::XDispatch > ImpOptimizer::mxStatusDispatcher
private

Definition at line 37 of file impoptimizer.hxx.

Referenced by DispatchStatus().


The documentation for this class was generated from the following files: