29#include <editeng/editeng.hxx>
36#include <com/sun/star/text/XTextField.hpp>
37#include <com/sun/star/container/XNameContainer.hpp>
38#include <com/sun/star/beans/PropertyAttribute.hpp>
39#include <com/sun/star/lang/Locale.hpp>
63 return &aSvxTextPortionPropertySet;
68, m_pSource(
std::move(
p))
99 void SetStyleSheet(sal_Int32 nPara,
const OUString& rStyleName)
override
194 if (
auto pStyle =
m_pImpl->
mpOutliner->GetStyleSheetPool()->Find(
SwResId(STR_POOLCOLL_COMMENT), SfxStyleFamily::Para))
static SfxItemPool & GetGlobalItemPool()
virtual SwDrawModel * GetOrCreateDrawModel()=0
SfxItemPool & GetPool() const
virtual OUString GetStyleSheet(sal_Int32 nPara) const override
virtual void SetStyleSheet(sal_Int32 nPara, const OUString &rStyleName) override
SvxOutlinerForwarder(Outliner &rOutl, bool bOutlText)
virtual SfxStyleSheetBasePool * GetStyleSheetPool() override
For Style PI.
SfxStyleSheetPool * GetEEStyleSheetPool() const
IDocumentDrawModelAccess const & getIDocumentDrawModelAccess() const
SwDocShell * GetDocShell()
void SetCalcFieldValueHdl(Outliner *pOutliner)
In the Outliner, set a link to the method for field display in edit objects.
static const OUString & GetProgName(const OUString &rName, SwGetPoolIdFromName)
static const OUString & GetUIName(const OUString &rName, SwGetPoolIdFromName)
std::optional< OutlinerParaObject > CreateText()
void SetText(OutlinerParaObject const &rText)
SwTextAPIEditSource_Impl * m_pImpl
void SetString(const OUString &rText)
virtual std::unique_ptr< SvxEditSource > Clone() const override
virtual ~SwTextAPIEditSource() override
virtual void UpdateData() override
SwTextAPIEditSource(const SwTextAPIEditSource &rSource)
virtual SvxTextForwarder * GetTextForwarder() override
SwTextAPIObject(std::unique_ptr< SwTextAPIEditSource > p)
std::unique_ptr< SwTextAPIEditSource > m_pSource
virtual ~SwTextAPIObject() noexcept override
css::uno::Type const & get()
constexpr TypedWhichId< SvxFieldItem > EE_FEATURE_FIELD(EE_FEATURE_NOTCONV+1)
constexpr TypedWhichId< SvXMLAttrContainerItem > EE_PARA_XMLATTRIBS(EE_PARA_START+1)
constexpr TypedWhichId< SvXMLAttrContainerItem > EE_CHAR_XMLATTRIBS(EE_CHAR_START+28)
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)
std::unique_ptr< SvxOutlinerForwarder > mpTextForwarder
std::unique_ptr< Outliner > mpOutliner
OUString SwResId(TranslateId aId)
static const SvxItemPropertySet * ImplGetSvxTextPortionPropertySet()
constexpr OUStringLiteral UNO_NAME_PARA_STYLE_NAME
#define SVX_UNOEDIT_OUTLINER_PROPERTIES
#define SVX_UNOEDIT_CHAR_PROPERTIES
#define SVX_UNOEDIT_PARA_PROPERTIES
#define WID_PARASTYLENAME
#define SVX_UNOEDIT_FONT_PROPERTIES