29#include <editeng/editeng.hxx>
72#include <document.hxx>
73#include <drawview.hxx>
78#define ShellClass_ScDrawTextObjectBar
88 SfxVisibilityFlags::Standard | SfxVisibilityFlags::Server,
89 ToolbarId::Text_Toolbox_Sc);
91 GetStaticInterface()->RegisterPopupMenu(
"drawtext");
114 bPastePossible(false)
150 if (!pOutView || !pOutliner)
157 sal_uInt16 nSlot = rReq.
GetSlot();
172 case SID_CLIPBOARD_FORMAT_ITEMS:
176 if ( pReqArgs && pReqArgs->
GetItemState(nSlot,
true, &pItem) == SfxItemState::SET )
177 if (
auto pIntItem =
dynamic_cast<const SfxUInt32Item*
>( pItem))
180 if ( nFormat != SotClipboardFormatId::NONE )
182 if (nFormat == SotClipboardFormatId::STRING)
190 case SID_PASTE_SPECIAL:
194 case SID_PASTE_UNFORMATTED:
212 std::shared_ptr<SvxFontItem> aNewItem(std::make_shared<SvxFontItem>(
EE_CHAR_FONTINFO));
225 const OUString& aFontName(pFontItem->
GetValue());
227 aNewItem = std::make_shared<SvxFontItem>(
234 aNewItem.reset(rItem.
Clone());
240 if ( !aString.isEmpty() )
261 case SID_HYPERLINK_SETLINK:
266 const OUString& rName = pHyper->GetName();
267 const OUString& rURL = pHyper->GetURL();
268 const OUString&
rTarget = pHyper->GetTargetFrame();
277 SvxURLField aURLField( rURL, rName, SvxURLFormat::Repr );
293 case SID_OPEN_HYPERLINK:
303 case SID_EDIT_HYPERLINK:
311 case SID_COPY_HYPERLINK_LOCATION:
316 uno::Reference<datatransfer::clipboard::XClipboard> xClipboard
323 case SID_REMOVE_HYPERLINK:
330 case SID_ENABLE_HYPHENATION:
331 case SID_TEXTDIRECTION_LEFT_TO_RIGHT:
332 case SID_TEXTDIRECTION_TOP_TO_BOTTOM:
341 OUString aReplaceText;
345 if (!aReplaceText.isEmpty())
362 bool bDisableFontWork =
false;
367 bDisableFontWork =
true;
370 if ( bDisableFontWork )
386 aHLinkItem.
SetName( pURLField->GetRepresentation() );
387 aHLinkItem.
SetURL( pURLField->GetURL() );
396 sal_Int32 nLen = std::min<sal_Int32>(sReturn.getLength(), 255);
397 sReturn = sReturn.copy(0, nLen);
419 if(
rSet.
GetItemState( SID_TRANSLITERATE_HALFWIDTH ) != SfxItemState::UNKNOWN )
421 if(
rSet.
GetItemState( SID_TRANSLITERATE_FULLWIDTH ) != SfxItemState::UNKNOWN )
423 if(
rSet.
GetItemState( SID_TRANSLITERATE_HIRAGANA ) != SfxItemState::UNKNOWN )
425 if(
rSet.
GetItemState( SID_TRANSLITERATE_KATAKANA ) != SfxItemState::UNKNOWN )
448 bool bIsLookUpWord =
false;
458 if (!bIsLookUpWord || !bCanDoThesaurus)
460 if (!bCanDoThesaurus)
473 bPastePossible = ( pDataHelper->HasFormat( SotClipboardFormatId::STRING ) || pDataHelper->HasFormat( SotClipboardFormatId::RTF )
474 || pDataHelper->HasFormat( SotClipboardFormatId::RICHTEXT ) );
479 rBindings.
Invalidate( SID_PASTE_UNFORMATTED );
480 rBindings.
Invalidate( SID_CLIPBOARD_FORMAT_ITEMS );
502 || aDataHelper.
HasFormat( SotClipboardFormatId::RICHTEXT ) );
512 case SID_PASTE_SPECIAL:
513 case SID_PASTE_UNFORMATTED:
517 case SID_CLIPBOARD_FORMAT_ITEMS:
524 if ( aDataHelper.
HasFormat( SotClipboardFormatId::STRING ) )
526 if ( aDataHelper.
HasFormat( SotClipboardFormatId::RTF ) )
528 if ( aDataHelper.
HasFormat( SotClipboardFormatId::RICHTEXT ) )
549 sal_uInt16 nSlot = rReq.
GetSlot();
561 case SID_ULINE_VAL_NONE:
564 case SID_ULINE_VAL_SINGLE:
567 case SID_ULINE_VAL_DOUBLE:
570 case SID_ULINE_VAL_DOTTED:
588 if (!pOutliner)
return;
593 sal_Int32 nNewEnd = aSel.
nEndPos;
596 bool bChanged =
false;
602 for (sal_Int32 nPar=0; nPar<nParCount; nPar++)
605 std::vector<sal_Int32> aPortions;
608 for (
size_t nPos = aPortions.size();
nPos; )
611 sal_Int32 nEnd = aPortions[
nPos ];
612 sal_Int32 nStart =
nPos ? aPortions[
nPos - 1 ] : 0;
614 if ( nEnd == nStart+1 &&
618 ESelection aFieldSel( nPar, nStart, nPar, nEnd );
629 nViewShellId = pViewSh->GetViewShellId();
634 OUString aFieldText = rEditEng.
GetText( aFieldSel );
638 nNewEnd = nNewEnd + aFieldText.getLength();
646 if (bUpdate && bChanged)
652 if ( aOldSel == aSel )
663 sal_uInt16 nSlot = rReq.
GetSlot();
673 case SID_ALIGN_ANY_LEFT:
674 case SID_ATTR_PARA_ADJUST_LEFT:
678 case SID_ALIGNCENTERHOR:
679 case SID_ALIGN_ANY_HCENTER:
680 case SID_ATTR_PARA_ADJUST_CENTER:
685 case SID_ALIGN_ANY_RIGHT:
686 case SID_ATTR_PARA_ADJUST_RIGHT:
691 case SID_ALIGN_ANY_JUSTIFIED:
692 case SID_ATTR_PARA_ADJUST_BLOCK:
696 case SID_ATTR_PARA_LINESPACE_10:
700 aNewAttr.
Put( aItem );
704 case SID_ATTR_PARA_LINESPACE_15:
708 aNewAttr.
Put( aItem );
712 case SID_ATTR_PARA_LINESPACE_20:
716 aNewAttr.
Put( aItem );
720 case SID_SET_SUPER_SCRIPT:
725 if( eEsc == SvxEscapement::Superscript )
729 aNewAttr.
Put( aItem );
733 case SID_SET_SUB_SCRIPT:
738 if( eEsc == SvxEscapement::Subscript )
742 aNewAttr.
Put( aItem );
746 case SID_TABLE_VERT_NONE:
747 case SID_TABLE_VERT_CENTER:
748 case SID_TABLE_VERT_BOTTOM:
751 if (nSlot == SID_TABLE_VERT_CENTER)
753 else if (nSlot == SID_TABLE_VERT_BOTTOM)
759 case SID_PARASPACE_INCREASE:
760 case SID_PARASPACE_DECREASE:
763 sal_uInt16 nUpper = aULSpace.
GetUpper();
764 sal_uInt16 nLower = aULSpace.
GetLower();
766 if ( nSlot == SID_PARASPACE_INCREASE )
773 nUpper = std::max< sal_Int16 >( nUpper - 100, 0 );
774 nLower = std::max< sal_Int16 >( nLower - 100, 0 );
779 aNewAttr.
Put( aULSpace );
788 bool bArgsInReq = ( pArgs != nullptr );
794 case SID_CELL_FORMAT_RESET:
795 case SID_TEXT_STANDARD:
821 rReq.
Done( aEmptyAttr );
827 case SID_GROW_FONT_SIZE:
828 case SID_SHRINK_FONT_SIZE:
837 ( pObjSh->GetItem( SID_ATTR_CHAR_FONTLIST ) );
847 case SID_CHAR_DLG_EFFECT:
849 case SID_ATTR_CHAR_FONT:
850 case SID_ATTR_CHAR_FONTHEIGHT:
858 case SID_ATTR_CHAR_WEIGHT:
862 case SID_ATTR_CHAR_POSTURE:
866 case SID_ATTR_CHAR_UNDERLINE:
870 case SID_ATTR_CHAR_OVERLINE:
874 case SID_ATTR_CHAR_CONTOUR:
878 case SID_ATTR_CHAR_SHADOWED:
882 case SID_ATTR_CHAR_STRIKEOUT:
886 case SID_DRAWTEXT_ATTR_DLG:
891 bDone = (
RET_OK == pDlg->Execute() );
894 aNewAttr.
Put( *pDlg->GetOutputItemSet() );
900 rBindings.
Invalidate( SID_TABLE_VERT_CENTER );
901 rBindings.
Invalidate( SID_TABLE_VERT_BOTTOM );
909 rReq.
Done( aNewAttr );
917 ( nSlot == SID_ATTR_CHAR_FONT || nSlot == SID_ATTR_CHAR_FONTHEIGHT ||
918 nSlot == SID_ATTR_CHAR_WEIGHT || nSlot == SID_ATTR_CHAR_POSTURE ) )
923 SvtScriptType nScript = SvtScriptType::LATIN | SvtScriptType::ASIAN | SvtScriptType::COMPLEX;
924 if (nSlot == SID_ATTR_CHAR_FONT)
929 sal_uInt16 nWhich = rPool.
GetWhich( nSlot );
934 else if( nSlot == SID_ATTR_PARA_LRSPACE )
936 sal_uInt16
nId = SID_ATTR_PARA_LRSPACE;
943 aAttr.
Put( aLRSpaceItem );
946 else if( nSlot == SID_ATTR_PARA_LINESPACE )
951 aAttr.
Put( aLineSpaceItem );
954 else if( nSlot == SID_ATTR_PARA_ULSPACE )
960 aAttr.
Put( aULSpaceItem );
987 rDestSet.
Put( aAttrSet );
1017 case SvxAdjust::Left:
1023 case SvxAdjust::Center:
1026 rDestSet.
Put(
SfxBoolItem( SID_ATTR_PARA_ADJUST_CENTER,
true ) );
1029 case SvxAdjust::Right:
1035 case SvxAdjust::Block:
1047 rDestSet.
Put(
SfxBoolItem( SID_ALIGN_ANY_LEFT, eAdj == SvxAdjust::Left ) );
1048 rDestSet.
Put(
SfxBoolItem( SID_ALIGN_ANY_HCENTER, eAdj == SvxAdjust::Center ) );
1049 rDestSet.
Put(
SfxBoolItem( SID_ALIGN_ANY_RIGHT, eAdj == SvxAdjust::Right ) );
1050 rDestSet.
Put(
SfxBoolItem( SID_ALIGN_ANY_JUSTIFIED, eAdj == SvxAdjust::Block ) );
1053 aLR.SetWhich(SID_ATTR_PARA_LRSPACE);
1057 if ( eState == SfxItemState::DONTCARE )
1061 aLineSP.SetWhich(SID_ATTR_PARA_LINESPACE);
1062 rDestSet.
Put(aLineSP);
1065 if ( eState == SfxItemState::DONTCARE )
1069 aULSP.SetWhich(SID_ATTR_PARA_ULSPACE);
1070 rDestSet.
Put(aULSP);
1075 if( eState >= SfxItemState::DEFAULT )
1089 sal_uInt16 nLineSpace = aAttrSet.
Get(
EE_PARA_SBL ).GetPropLineSpace();
1090 switch( nLineSpace )
1105 rDestSet.
Put(
SfxBoolItem(SID_SET_SUPER_SCRIPT, eEsc == SvxEscapement::Superscript));
1106 rDestSet.
Put(
SfxBoolItem(SID_SET_SUB_SCRIPT, eEsc == SvxEscapement::Subscript));
1110 if ( eState == SfxItemState::DONTCARE )
1128 bool bLeftToRight =
true;
1133 if( pOutl->IsVertical() )
1134 bLeftToRight =
false;
1139 if ( bDisableVerticalText )
1141 rDestSet.
DisableItem( SID_TEXTDIRECTION_LEFT_TO_RIGHT );
1142 rDestSet.
DisableItem( SID_TEXTDIRECTION_TOP_TO_BOTTOM );
1146 rDestSet.
Put(
SfxBoolItem( SID_TEXTDIRECTION_LEFT_TO_RIGHT, bLeftToRight ) );
1147 rDestSet.
Put(
SfxBoolItem( SID_TEXTDIRECTION_TOP_TO_BOTTOM, !bLeftToRight ) );
1152 if ( !bLeftToRight || bDisableCTLFont )
1155 rDestSet.
DisableItem( SID_ATTR_PARA_LEFT_TO_RIGHT );
1156 rDestSet.
DisableItem( SID_ATTR_PARA_RIGHT_TO_LEFT );
1166 if ( eAttrDir == SvxFrameDirection::Environment )
1170 eAttrDir = SvxFrameDirection::Horizontal_RL_TB;
1172 eAttrDir = SvxFrameDirection::Horizontal_LR_TB;
1174 rDestSet.
Put(
SfxBoolItem( SID_ATTR_PARA_LEFT_TO_RIGHT, ( eAttrDir == SvxFrameDirection::Horizontal_LR_TB ) ) );
1175 rDestSet.
Put(
SfxBoolItem( SID_ATTR_PARA_RIGHT_TO_LEFT, ( eAttrDir == SvxFrameDirection::Horizontal_RL_TB ) ) );
1182 if (
nType == TransliterationFlags::NONE )
1216 case SID_TABLE_VERT_NONE:
1217 case SID_TABLE_VERT_CENTER:
1218 case SID_TABLE_VERT_BOTTOM:
1219 bool bContour =
false;
1221 if( eConState != SfxItemState::DONTCARE )
1225 if (bContour)
break;
1231 if(SfxItemState::DONTCARE != eVState)
const OUString & GetValue() const
void GetPortions(sal_Int32 nPara, std::vector< sal_Int32 > &rList)
OUString GetText(LineEnd eEnd=LINEEND_LF) const
SfxItemSet GetAttribs(sal_Int32 nPara, sal_Int32 nStart, sal_Int32 nEnd, GetAttribsFlags nFlags=GetAttribsFlags::ALL) const
void ChangeFontSize(bool bGrow, const FontList *pList)
void SetSelection(const ESelection &)
void SelectFieldAtCursor()
void Paint(const tools::Rectangle &rRect, OutputDevice *pTargetDevice=nullptr)
void InsertField(const SvxFieldItem &rFld)
void InsertText(const OUString &rNew, bool bSelect=false)
void TransliterateText(TransliterationFlags nTransliterationMode)
vcl::Window * GetWindow() const
EESpellState StartThesaurus(weld::Widget *pDialogParent)
ESelection GetSelection() const
const SvxFieldData * GetFieldAtCursor() const
void Paste(bool bUseSpecial=false)
Outliner * GetOutliner() const
OUString GetSelected() const
EditView & GetEditView() const
void ShowCursor(bool bGotoCursor=true, bool bActivate=false)
void QuickSetAttribs(const SfxItemSet &rSet, const ESelection &rSel)
const EditEngine & GetEditEngine() const
bool IsUpdateLayout() const
void QuickInsertText(const OUString &rText, const ESelection &rSel)
const SfxItemSet & GetEmptyItemSet() const
bool SetUpdateLayout(bool bUpdate)
SfxUndoManager & GetUndoManager()
sal_Int32 GetParagraphCount() const
EEHorizontalTextDirection GetEditTextDirection(SCTAB nTab) const
bool IsUndoEnabled() const
void ExecuteAttr(SfxRequest &rReq)
ScDrawTextObjectBar(ScViewData &rData)
rtl::Reference< TransferableClipboardListener > mxClipEvtLstnr
static void GetGlobalClipState(SfxItemSet &rSet)
void ExecuteGlobal(SfxRequest &rReq)
void GetStatePropPanelAttr(SfxItemSet &)
void ExecuteTrans(const SfxRequest &rReq)
void GetAttrState(SfxItemSet &rSet)
void Execute(SfxRequest &rReq)
void ExecutePasteContents(SfxRequest &rReq)
void ExecuteToggle(SfxRequest &rReq)
void GetState(SfxItemSet &rSet)
bool ExecuteCharDlg(const SfxItemSet &rArgs, SfxItemSet &rOutSet, sal_uInt16 nSlot)
bool ExecuteParaDlg(const SfxItemSet &rArgs, SfxItemSet &rOutSet)
virtual ~ScDrawTextObjectBar() override
static void StateDisableItems(SfxItemSet &rSet)
void GetClipState(SfxItemSet &rSet)
SdrEndTextEditKind ScEndTextEdit()
void InvalidateDrawTextAttrs()
static void OpenURL(const OUString &rURL, const OUString &rTarget, bool bIgnoreSettings=false)
Open the specified URL.
static bool HasThesaurusLanguage(LanguageType nLang)
static ScTabViewShell * GetActiveViewShell()
SfxDispatcher & GetDispatcher()
ScDocument & GetDocument() const
ScGridWindow * GetActiveWin()
ScTabViewShell * GetViewShell() const
weld::Window * GetDialogParent()
SfxObjectShell * GetSfxDocShell() const
SfxBindings & GetBindings()
ScDrawView * GetScDrawView()
static TransliterationFlags GetTransliterationType(sal_uInt16 nSlotID)
static void ExecuteCharMap(const SvxFontItem &rOldFont, const ScTabViewShell &rShell)
static void HideDisabledSlot(SfxItemSet &rSet, SfxBindings &rBindings, sal_uInt16 nSlotId)
static void PutItemScript(SfxItemSet &rShellSet, const SfxItemSet &rCoreSet, sal_uInt16 nWhichId, SvtScriptType nScript)
SfxItemSet GetAttrFromMarked(bool bOnlyHardAttr) const
const SfxItemPool & GetItemPool() const
SdrTextObj * GetTextEditObject() const
const OutlinerView * GetTextEditOutlinerView() const
virtual bool IsTextEdit() const final override
virtual SvtScriptType GetScriptType() const
const SdrOutliner * GetTextEditOutliner() const
const SfxItemSet & GetDefaultAttr() const
SdrModel & GetModel() const
virtual bool AdjustTextFrameWidthAndHeight(tools::Rectangle &rR, bool bHgt=true, bool bWdt=true) const
bool SetAttributes(const SfxItemSet &rSet, bool bReplaceAll=false)
void GetAttributes(SfxItemSet &rTargetSet, bool bOnlyHardAttr=false) const
void Invalidate(sal_uInt16 nId)
const SfxPoolItem * Execute(sal_uInt16 nSlot, SfxCallMode nCall=SfxCallMode::SLOT, const SfxPoolItem **pArgs=nullptr, sal_uInt16 nModi=0, const SfxPoolItem **pInternalArgs=nullptr)
sal_uInt16 GetWhich(sal_uInt16 nSlot, bool bDeep=true) const
sal_uInt16 GetSlotId(sal_uInt16 nWhich) const
static bool IsWhich(sal_uInt16 nId)
const WhichRangesContainer & GetRanges() const
SfxItemPool * GetPool() const
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
SfxItemState GetItemState(sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
void DisableItem(sal_uInt16 nWhich)
void InvalidateItem(sal_uInt16 nWhich)
static SAL_WARN_UNUSED_RESULT SfxObjectShell * Current()
sal_uInt16 GetSlot() const
const SfxItemSet * GetArgs() const
const T * GetArg(sal_uInt16 nSlotId) const
weld::Window * GetFrameWeld() const
void Done(bool bRemove=false)
void SetUndoManager(SfxUndoManager *pNewUndoMgr)
SfxItemPool & GetPool() const
void SetContextName(const OUString &rsContextName)
virtual void Invalidate(sal_uInt16 nId=0)
virtual SfxObjectShell * GetObjectShell()
virtual SfxUndoManager * GetUndoManager()
void SetPool(SfxItemPool *pNewPool)
void SetName(const OUString &rName)
virtual void EnterListAction(const OUString &rComment, const OUString &rRepeatComment, sal_uInt16 nId, ViewShellId nViewShellId)
void SetMaxUndoActionCount(size_t nMaxUndoActionCount)
SfxBindings & GetBindings()
bool HasChildWindow(sal_uInt16)
SfxDispatcher * GetDispatcher()
SfxViewFrame & GetViewFrame() const
static bool IsCTLFontEnabled()
virtual VclPtr< SfxAbstractTabDialog > CreateTextTabDialog(weld::Window *pParent, const SfxItemSet *pAttrSet, SdrView *pView)=0
static SvxAbstractDialogFactory * Create()
void SetEscapement(const SvxEscapement eNew)
virtual SvxFontItem * Clone(SfxItemPool *pPool=nullptr) const override
const FontList * GetFontList() const
void SetName(const OUString &rName)
void SetURL(const OUString &rURL)
void SetTargetFrame(const OUString &rTarget)
short GetTextFirstLineOffset() const
tools::Long GetRight() const
tools::Long GetLeft() const
void SetPropLineSpace(const sal_uInt16 nProp)
void PutItemForScriptType(SvtScriptType nScriptType, const SfxPoolItem &rItem)
void SetLower(const sal_uInt16 nL, const sal_uInt16 nProp=100)
sal_uInt16 GetUpper() const
void SetUpper(const sal_uInt16 nU, const sal_uInt16 nProp=100)
sal_uInt16 GetLower() const
void SetTargetFrame(const OUString &rFrm)
static TransferableDataHelper CreateFromSystemClipboard(vcl::Window *pWindow)
bool HasFormat(SotClipboardFormatId nFormat) const
static void RemoveURLField(EditView &pEditView)
static bool IsCursorAtURLField(const EditView &pEditView)
static const OUString & GetContextName(const Context eContext)
FontFamily GetFamilyType()
const OUString & GetStyleName() const
const OUString & GetFamilyName() const
rtl_TextEncoding GetCharSet() const
LanguageType GetInputLanguage() const
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard()
static void CopyStringTo(const OUString &rContent, const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &rxClipboard, const vcl::ILibreOfficeKitNotifier *pNotifier=nullptr)
sal_uInt16 ScGetFontWorkId()
static void lcl_RemoveFields(OutlinerView &rOutView)
IMPL_LINK(ScDrawTextObjectBar, ClipboardChanged, TransferableDataHelper *, pDataHelper, void)
constexpr TypedWhichId< SvxContourItem > EE_CHAR_OUTLINE(EE_CHAR_START+8)
constexpr TypedWhichId< SfxBoolItem > EE_PARA_HYPHENATE(EE_PARA_START+6)
constexpr TypedWhichId< SvxFieldItem > EE_FEATURE_FIELD(EE_FEATURE_NOTCONV+1)
constexpr TypedWhichId< SvxUnderlineItem > EE_CHAR_UNDERLINE(EE_CHAR_START+5)
constexpr TypedWhichId< SvxAdjustItem > EE_PARA_JUST(EE_PARA_START+16)
constexpr TypedWhichId< SvxFontHeightItem > EE_CHAR_FONTHEIGHT(EE_CHAR_START+2)
constexpr TypedWhichId< SvxShadowedItem > EE_CHAR_SHADOW(EE_CHAR_START+9)
constexpr TypedWhichId< SvxULSpaceItem > EE_PARA_ULSPACE(EE_PARA_START+14)
constexpr TypedWhichId< SvxOverlineItem > EE_CHAR_OVERLINE(EE_CHAR_START+29)
constexpr TypedWhichId< SvxWeightItem > EE_CHAR_WEIGHT(EE_CHAR_START+4)
constexpr TypedWhichId< SvxLRSpaceItem > EE_PARA_LRSPACE(EE_PARA_START+13)
constexpr TypedWhichId< SvxCrossedOutItem > EE_CHAR_STRIKEOUT(EE_CHAR_START+6)
constexpr TypedWhichId< SvxPostureItem > EE_CHAR_ITALIC(EE_CHAR_START+7)
constexpr TypedWhichId< SvxLineSpacingItem > EE_PARA_SBL(EE_PARA_START+15)
constexpr TypedWhichId< SvxEscapementItem > EE_CHAR_ESCAPEMENT(EE_CHAR_START+10)
constexpr TypedWhichId< SvxFrameDirectionItem > EE_PARA_WRITINGDIR(EE_PARA_START+0)
constexpr TypedWhichId< SvxFontItem > EE_CHAR_FONTINFO(EE_CHAR_START+1)
#define LANGUAGE_DONTKNOW
#define LINK(Instance, Class, Member)
#define LINE_SPACE_DEFAULT_HEIGHT
bool IsVerticalTextEnabled()
SvtScriptType GetScriptTypeOfLanguage(LanguageType nLang)
OString stripEnd(const OString &rIn, char c)
#define SFX_OBJECTBAR_OBJECT
void ReplaceTextWithSynonym(EditView &rEditView, const OUString &rSynonmText)
bool GetStatusValueForThesaurusFromContext(OUString &rStatusVal, LanguageType &rLang, const EditView &rEditView)
OUString ScResId(TranslateId aId)
constexpr TypedWhichId< SvxFontItem > ATTR_FONT(100)
#define SFX_IMPL_INTERFACE(Class, SuperClass)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_TEXT_MAXFRAMEHEIGHT(SDRATTR_MISC_FIRST+9)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_TEXT_MINFRAMEHEIGHT(SDRATTR_MISC_FIRST+1)
constexpr TypedWhichId< SdrTextVertAdjustItem > SDRATTR_TEXT_VERTADJUST(SDRATTR_MISC_FIRST+8)
constexpr TypedWhichId< SdrMetricItem > SDRATTR_TEXT_MAXFRAMEWIDTH(SDRATTR_MISC_FIRST+11)
constexpr TypedWhichId< SvxWritingModeItem > SDRATTR_TEXTDIRECTION(SDRATTR_NOTPERSIST_FIRST+34)
constexpr TypedWhichId< SdrOnOffItem > SDRATTR_TEXT_CONTOURFRAME(SDRATTR_MISC_FIRST+21)