14#include <com/sun/star/beans/XPropertyContainer.hpp>
15#include <com/sun/star/beans/XPropertySet.hpp>
16#include <com/sun/star/document/XDocumentProperties.hpp>
25 , msCurrentPresentation(
std::move(aCurrentPresentation))
38 if (
typeid(rOther) !=
typeid(*
this))
55 if (!xDocumentProperties.is())
57 uno::Reference<beans::XPropertyContainer> xPropertyContainer = xDocumentProperties->getUserDefinedProperties();
58 if (!xPropertyContainer.is())
60 uno::Reference<beans::XPropertySet> xPropertySet(xPropertyContainer, uno::UNO_QUERY);
61 if (!xPropertySet.is())
64 if (!aAny.has<OUString>())
virtual bool operator==(const SvxFieldData &) const override
OUString GetFormatted(css::uno::Reference< css::document::XDocumentProperties > const &xDocumentProperties)
CustomPropertyField(OUString aName, OUString aCurrentPresentation)
virtual std::unique_ptr< SvxFieldData > Clone() const override
OUString msCurrentPresentation
virtual MetaAction * createBeginComment() const override
virtual ~CustomPropertyField() override