20#ifndef INCLUDED_SDEXT_SOURCE_MINIMIZER_CONFIGURATIONACCESS_HXX
21#define INCLUDED_SDEXT_SOURCE_MINIMIZER_CONFIGURATIONACCESS_HXX
25#include <com/sun/star/uno/Any.h>
26#include <com/sun/star/uno/Reference.h>
27#include <com/sun/star/uno/XInterface.hpp>
28#include <com/sun/star/beans/PropertyValue.hpp>
29#include <com/sun/star/uno/XComponentContext.hpp>
30#include <com/sun/star/container/XNameAccess.hpp>
31#include <com/sun/star/container/XNameReplace.hpp>
100 css::uno::Reference< css::uno::XComponentContext >
mxContext;
111 const css::uno::Reference< css::uno::XInterface >& xRoot,
const OUString& sPathToNode );
css::uno::Reference< css::uno::XInterface > OpenConfiguration(bool bReadOnly)
static css::uno::Reference< css::uno::XInterface > GetConfigurationNode(const css::uno::Reference< css::uno::XInterface > &xRoot, const OUString &sPathToNode)
std::vector< OptimizerSettings > & GetOptimizerSettings()
OUString getString(const PPPOptimizerTokenEnum) const
css::uno::Sequence< css::beans::PropertyValue > GetConfigurationSequence()
std::vector< OptimizerSettings > maSettings
ConfigurationAccess(const css::uno::Reference< css::uno::XComponentContext > &rXFactory)
void SetConfigProperty(const PPPOptimizerTokenEnum, const css::uno::Any &aValue)
css::uno::Any GetConfigProperty(const PPPOptimizerTokenEnum) const
std::vector< OptimizerSettings >::iterator GetOptimizerSettingsByName(const OUString &rName)
css::uno::Reference< css::uno::XComponentContext > mxContext
std::map< PPPOptimizerTokenEnum, OUString > maStrings
bool mbDeleteHiddenSlides
void LoadSettingsFromConfiguration(const css::uno::Reference< css::container::XNameAccess > &rSettings)
sal_Int64 mnEstimatedFileSize
OUString maCustomShowName
sal_Int16 mnOLEOptimizationType
bool operator==(const OptimizerSettings &rOptimizerSettings) const
void SaveSettingsToConfiguration(const css::uno::Reference< css::container::XNameReplace > &rSettings)
bool mbDeleteUnusedMasterPages
bool mbEmbedLinkedGraphics
sal_Int32 mnImageResolution