LibreOffice Module vcl (master) 1
|
#include <FilterConfigItem.hxx>
Public Member Functions | |
FilterConfigItem (std::u16string_view rSubTree) | |
FilterConfigItem (css::uno::Sequence< css::beans::PropertyValue > const *pFilterData) | |
FilterConfigItem (std::u16string_view 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 (std::u16string_view rTree) |
Static Private Member Functions | |
static bool | ImplGetPropertyValue (css::uno::Any &rAny, const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const OUString &rPropName) |
static const css::beans::PropertyValue * | GetPropertyValue (const 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::XPropertySet > | xPropSet |
css::uno::Sequence< css::beans::PropertyValue > | aFilterData |
bool | bModified |
Definition at line 40 of file FilterConfigItem.hxx.
FilterConfigItem::FilterConfigItem | ( | std::u16string_view | rSubTree | ) |
Definition at line 131 of file FilterConfigItem.cxx.
References ImpInitTree().
FilterConfigItem::FilterConfigItem | ( | css::uno::Sequence< css::beans::PropertyValue > const * | pFilterData | ) |
Definition at line 136 of file FilterConfigItem.cxx.
References aFilterData.
FilterConfigItem::FilterConfigItem | ( | std::u16string_view | rSubTree, |
css::uno::Sequence< css::beans::PropertyValue > const * | pFilterData | ||
) |
Definition at line 143 of file FilterConfigItem.cxx.
References aFilterData, and ImpInitTree().
FilterConfigItem::~FilterConfigItem | ( | ) |
Writes config in destructor.
Definition at line 152 of file FilterConfigItem.cxx.
References WriteModifiedConfig().
|
inline |
Definition at line 86 of file FilterConfigItem.hxx.
Referenced by GraphicFilter::ExportGraphic(), and WMFWriter::WriteWMF().
|
staticprivate |
Definition at line 218 of file FilterConfigItem.cxx.
Referenced by ReadBool(), ReadInt32(), and ReadString().
Reference< XStatusIndicator > FilterConfigItem::GetStatusIndicator | ( | ) | const |
Definition at line 376 of file FilterConfigItem.cxx.
References aFilterData.
Referenced by WMFWriter::WriteWMF().
|
private |
Definition at line 98 of file FilterConfigItem.cxx.
References aArguments, Any, bModified, comphelper::getProcessComponentContext(), ImpIsTreeAvailable(), xPropSet, and xUpdatableView.
Referenced by FilterConfigItem().
|
staticprivate |
Definition at line 180 of file FilterConfigItem.cxx.
Referenced by ReadBool(), ReadInt32(), ReadString(), WriteBool(), and WriteInt32().
bool FilterConfigItem::ReadBool | ( | const OUString & | rKey, |
bool | bDefault | ||
) |
Definition at line 250 of file FilterConfigItem.cxx.
References aFilterData, Any, GetPropertyValue(), ImplGetPropertyValue(), WritePropertyValue(), and xPropSet.
Referenced by BmpWriter(), and ExportWebpGraphic().
sal_Int32 FilterConfigItem::ReadInt32 | ( | const OUString & | rKey, |
sal_Int32 | nDefault | ||
) |
Definition at line 270 of file FilterConfigItem.cxx.
References aFilterData, Any, GetPropertyValue(), ImplGetPropertyValue(), WritePropertyValue(), and xPropSet.
Referenced by BmpWriter(), GraphicFilter::ExportGraphic(), ExportWebpGraphic(), ImpGetScaledGraphic(), and JPEGWriter::JPEGWriter().
OUString FilterConfigItem::ReadString | ( | const OUString & | rKey, |
const OUString & | rDefault | ||
) |
Definition at line 290 of file FilterConfigItem.cxx.
References aFilterData, Any, GetPropertyValue(), ImplGetPropertyValue(), WritePropertyValue(), and xPropSet.
Referenced by ExportWebpGraphic().
void FilterConfigItem::WriteBool | ( | const OUString & | rKey, |
bool | bValue | ||
) |
Definition at line 310 of file FilterConfigItem.cxx.
References aFilterData, Any, bModified, ImplGetPropertyValue(), WritePropertyValue(), and xPropSet.
void FilterConfigItem::WriteInt32 | ( | const OUString & | rKey, |
sal_Int32 | nValue | ||
) |
Definition at line 342 of file FilterConfigItem.cxx.
References aFilterData, Any, bModified, ImplGetPropertyValue(), WritePropertyValue(), and xPropSet.
Referenced by GraphicFilter::ImpTestOrFindFormat().
void FilterConfigItem::WriteModifiedConfig | ( | ) |
Writes config and sets unmodified state again.
Definition at line 157 of file FilterConfigItem.cxx.
References bModified, xPropSet, and xUpdatableView.
Referenced by ~FilterConfigItem().
|
staticprivate |
Definition at line 231 of file FilterConfigItem.cxx.
Referenced by ReadBool(), ReadInt32(), ReadString(), WriteBool(), and WriteInt32().
|
private |
Definition at line 44 of file FilterConfigItem.hxx.
Referenced by FilterConfigItem(), GetStatusIndicator(), ReadBool(), ReadInt32(), ReadString(), WriteBool(), and WriteInt32().
|
private |
Definition at line 46 of file FilterConfigItem.hxx.
Referenced by ImpInitTree(), WriteBool(), WriteInt32(), and WriteModifiedConfig().
|
private |
Definition at line 43 of file FilterConfigItem.hxx.
Referenced by ImpInitTree(), ReadBool(), ReadInt32(), ReadString(), WriteBool(), WriteInt32(), and WriteModifiedConfig().
|
private |
Definition at line 42 of file FilterConfigItem.hxx.
Referenced by ImpInitTree(), and WriteModifiedConfig().