20#include <config_wasm_strip.h>
33#if !ENABLE_WASM_STRIP_ACCESSIBILITY
34#include <AccessibleTextHelper.hxx>
38#include <osl/diagnose.h>
42#include <svx/svxids.hrc>
43#include <editeng/editids.hrc>
45#include <com/sun/star/beans/XPropertySet.hpp>
46#include <com/sun/star/chart2/XTitle.hpp>
70 "ChartController::StartTextEdit: already have a TextUndoGuard!?");
129 if( !pParaObj || !pOutliner )
132 pOutliner->SetText( *pParaObj );
134 OUString aString = pOutliner->GetText(
135 pOutliner->GetParagraph( 0 ),
136 pOutliner->GetParagraphCount() );
139 if ( !aObjectCID.isEmpty() )
147 Title* pTitle =
dynamic_cast<Title*
>(xPropSet.get());
181 if( pDlg->Execute() !=
RET_OK )
184 const SfxItemSet* pSet = pDlg->GetOutputItemSet();
188 aString = pCharMapItem->GetValue();
193 if(!pOutliner || !pOutlinerView)
200 pOutliner->SetUpdateLayout(
false);
214 pOutliner->SetUpdateLayout(
true);
221#if !ENABLE_WASM_STRIP_ACCESSIBILITY
void SetSelection(const ESelection &)
bool MouseButtonUp(const MouseEvent &)
void InsertText(const OUString &rNew, bool bSelect=false)
void HideCursor(bool bDeactivate=false)
ESelection GetSelection() const
bool MouseButtonDown(const MouseEvent &)
void ShowCursor(bool bGotoCursor=true, bool bActivate=false)
virtual OutlinerParaObject * GetOutlinerParaObject() const
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
virtual VclPtr< SfxAbstractDialog > CreateCharMapDialog(weld::Window *pParent, const SfxItemSet &rAttr, const css::uno::Reference< css::frame::XFrame > &rFrame)=0
static SvxAbstractDialogFactory * Create()
rtl::Reference<::chart::ChartModel > getChartModel()
std::unique_ptr< DrawViewWrapper > m_pDrawViewWrapper
css::uno::Reference< css::document::XUndoManager > m_xUndoManager
void executeDispatch_EditText(const Point *pMousePixel=nullptr)
ChartWindow * GetChartWindow() const
std::shared_ptr< DrawModelWrapper > m_pDrawModelWrapper
void StartTextEdit(const Point *pMousePixel=nullptr)
rtl::Reference<::chart::ChartView > m_xChartView
weld::Window * GetChartFrame()
css::uno::Reference< css::accessibility::XAccessibleContext > impl_createAccessibleTextContext()
Creates a helper accessibility class that must be initialized via XInitialization.
std::unique_ptr< UndoGuard > m_pTextActionUndoGuard
void executeDispatch_InsertSpecialCharacter()
css::uno::Reference< css::uno::XComponentContext > m_xCC
This guard calls lockControllers at the given Model in the CTOR and unlockControllers in the DTOR.
static css::uno::Reference< css::beans::XPropertySet > getObjectPropertySet(std::u16string_view rObjectCID, const rtl::Reference< ::chart::ChartModel > &xChartDocument)
OUString const & getSelectedCID() const
static void setCompleteString(const OUString &rNewText, const rtl::Reference< ::chart::Title > &xTitle, const css::uno::Reference< css::uno::XComponentContext > &xContext, const float *pDefaultCharHeight=nullptr)
A guard which does nothing, unless you explicitly call commitAction.
FontFamily GetFamilyType()
const OUString & GetStyleName() const
const OUString & GetFamilyName() const
rtl_TextEncoding GetCharSet() const
OUString OOO_DLLPUBLIC_CHARTTOOLS SchResId(TranslateId aId)