LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
FilterConfigItem Class Reference

#include <FilterConfigItem.hxx>

Public Member Functions

 FilterConfigItem (const OUString &rSubTree)
 
 FilterConfigItem (css::uno::Sequence< css::beans::PropertyValue > const *pFilterData)
 
 FilterConfigItem (const OUString &rSubTree, css::uno::Sequence< css::beans::PropertyValue > const *pFilterData)
 
 ~FilterConfigItem ()
 Writes config in destructor. More...
 
void WriteModifiedConfig ()
 Writes config and sets unmodified state again. More...
 
bool ReadBool (const OUString &rKey, bool bDefault)
 
sal_Int32 ReadInt32 (const OUString &rKey, sal_Int32 nDefault)
 
OUString ReadString (const OUString &rKey, const OUString &rDefault)
 
void WriteBool (const OUString &rKey, bool bValue)
 
void WriteInt32 (const OUString &rKey, sal_Int32 nValue)
 
const css::uno::Sequence< css::beans::PropertyValue > & GetFilterData () const
 
css::uno::Reference< css::task::XStatusIndicator > GetStatusIndicator () const
 

Private Member Functions

void ImpInitTree (const OUString &rTree)
 

Static Private Member Functions

static bool ImplGetPropertyValue (css::uno::Any &rAny, const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const OUString &rPropName)
 
static css::beans::PropertyValue * GetPropertyValue (css::uno::Sequence< css::beans::PropertyValue > &rPropSeq, const OUString &rName)
 
static bool WritePropertyValue (css::uno::Sequence< css::beans::PropertyValue > &rPropSeq, const css::beans::PropertyValue &rPropValue)
 

Private Attributes

css::uno::Reference< css::uno::XInterface > xUpdatableView
 
css::uno::Reference< css::beans::XPropertySetxPropSet
 
css::uno::Sequence< css::beans::PropertyValue > aFilterData
 
bool bModified
 

Detailed Description

Definition at line 36 of file FilterConfigItem.hxx.

Constructor & Destructor Documentation

FilterConfigItem::FilterConfigItem ( const OUString &  rSubTree)

Definition at line 133 of file FilterConfigItem.cxx.

References ImpInitTree().

FilterConfigItem::FilterConfigItem ( css::uno::Sequence< css::beans::PropertyValue > const *  pFilterData)

Definition at line 138 of file FilterConfigItem.cxx.

References aFilterData.

FilterConfigItem::FilterConfigItem ( const OUString &  rSubTree,
css::uno::Sequence< css::beans::PropertyValue > const *  pFilterData 
)

Definition at line 145 of file FilterConfigItem.cxx.

References aFilterData, and ImpInitTree().

FilterConfigItem::~FilterConfigItem ( )

Writes config in destructor.

Definition at line 154 of file FilterConfigItem.cxx.

References WriteModifiedConfig().

Member Function Documentation

const css::uno::Sequence< css::beans::PropertyValue >& FilterConfigItem::GetFilterData ( ) const
inline

Definition at line 82 of file FilterConfigItem.hxx.

Referenced by GraphicFilter::ExportGraphic().

PropertyValue * FilterConfigItem::GetPropertyValue ( css::uno::Sequence< css::beans::PropertyValue > &  rPropSeq,
const OUString &  rName 
)
staticprivate

Definition at line 220 of file FilterConfigItem.cxx.

Referenced by ReadBool(), ReadInt32(), and ReadString().

Reference< XStatusIndicator > FilterConfigItem::GetStatusIndicator ( ) const

Definition at line 378 of file FilterConfigItem.cxx.

References aFilterData.

Referenced by WMFWriter::WriteWMF().

void FilterConfigItem::ImpInitTree ( const OUString &  rTree)
private
bool FilterConfigItem::ImplGetPropertyValue ( css::uno::Any &  rAny,
const css::uno::Reference< css::beans::XPropertySet > &  rXPropSet,
const OUString &  rPropName 
)
staticprivate

Definition at line 182 of file FilterConfigItem.cxx.

Referenced by ReadBool(), ReadInt32(), ReadString(), WriteBool(), and WriteInt32().

bool FilterConfigItem::ReadBool ( const OUString &  rKey,
bool  bDefault 
)
sal_Int32 FilterConfigItem::ReadInt32 ( const OUString &  rKey,
sal_Int32  nDefault 
)
OUString FilterConfigItem::ReadString ( const OUString &  rKey,
const OUString &  rDefault 
)
void FilterConfigItem::WriteBool ( const OUString &  rKey,
bool  bValue 
)
void FilterConfigItem::WriteInt32 ( const OUString &  rKey,
sal_Int32  nValue 
)
void FilterConfigItem::WriteModifiedConfig ( )

Writes config and sets unmodified state again.

Definition at line 159 of file FilterConfigItem.cxx.

References bModified, xPropSet, and xUpdatableView.

Referenced by ~FilterConfigItem().

bool FilterConfigItem::WritePropertyValue ( css::uno::Sequence< css::beans::PropertyValue > &  rPropSeq,
const css::beans::PropertyValue &  rPropValue 
)
staticprivate

Definition at line 233 of file FilterConfigItem.cxx.

References i.

Referenced by ReadBool(), ReadInt32(), ReadString(), WriteBool(), and WriteInt32().

Member Data Documentation

css::uno::Sequence< css::beans::PropertyValue > FilterConfigItem::aFilterData
private
bool FilterConfigItem::bModified
private

Definition at line 42 of file FilterConfigItem.hxx.

Referenced by ImpInitTree(), WriteBool(), WriteInt32(), and WriteModifiedConfig().

css::uno::Reference< css::beans::XPropertySet > FilterConfigItem::xPropSet
private
css::uno::Reference< css::uno::XInterface > FilterConfigItem::xUpdatableView
private

Definition at line 38 of file FilterConfigItem.hxx.

Referenced by ImpInitTree(), and WriteModifiedConfig().


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