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

#include <optimizationstats.hxx>

Inheritance diagram for OptimizationStats:

Public Member Functions

 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 Attributes

std::map< PPPOptimizerTokenEnum, css::uno::Any > maStats

Detailed Description

Definition at line 28 of file optimizationstats.hxx.

Constructor & Destructor Documentation

◆ OptimizationStats()

OptimizationStats::OptimizationStats ( )

Definition at line 38 of file optimizationstats.cxx.

Member Function Documentation

◆ GetStatusSequence()

css::beans::PropertyValues OptimizationStats::GetStatusSequence ( )

Definition at line 56 of file optimizationstats.cxx.

References maStats.

Referenced by ImpOptimizer::DispatchStatus(), and OptimizerDialog::OptimizerDialog().

◆ GetStatusValue()

const uno::Any * OptimizationStats::GetStatusValue ( const PPPOptimizerTokenEnum  eStat) const

Definition at line 49 of file optimizationstats.cxx.

References maStats.

Referenced by PPPOptimizerDialog::dispatch(), and OptimizerDialog::UpdateStatus().

◆ InitializeStatusValues()

void OptimizationStats::InitializeStatusValues ( const css::uno::Sequence< css::beans::PropertyValue > &  rOptimizationStats)

Definition at line 66 of file optimizationstats.cxx.

References maStats, and TKGet().

Referenced by OptimizerDialog::UpdateStatus().

◆ InitializeStatusValuesFromDocument()

void OptimizationStats::InitializeStatusValuesFromDocument ( const css::uno::Reference< css::frame::XModel > &  rxModel)

Definition at line 73 of file optimizationstats.cxx.

References Any, Exception, SetStatusValue(), and TK_Pages.

Referenced by OptimizerDialog::OptimizerDialog().

◆ SetStatusValue()

void OptimizationStats::SetStatusValue ( const PPPOptimizerTokenEnum  eStat,
const css::uno::Any &  rStatValue 

Member Data Documentation

◆ maStats

std::map< PPPOptimizerTokenEnum, css::uno::Any > OptimizationStats::maStats

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