20#include <com/sun/star/beans/PropertyValues.hpp>
39#include <osl/diagnose.h>
66#include <officecfg/Office/Compatibility.hxx>
76 const OUString sTitle(
SwResId(STR_REDLINE_COMMENT));
81 case RedlineType::Insert:
82 pResId = STR_REDLINE_INSERTED;
84 case RedlineType::Delete:
85 pResId = STR_REDLINE_DELETED;
87 case RedlineType::Format:
88 case RedlineType::ParagraphFormat:
89 pResId = STR_REDLINE_FORMATTED;
91 case RedlineType::Table:
92 pResId = STR_REDLINE_TABLECHG;
94 case RedlineType::FmtColl:
95 pResId = STR_REDLINE_FMTCOLLSET;
101 return sTitle +
SwResId(pResId);
109 sal_uInt16 nSlot = rReq.
GetSlot();
117 sal_uInt16 nInsertSubType = 0;
118 sal_uInt32 nInsertFormat = 0;
157 const OUString& rMacro =
static_cast<SwMacroField*
>(pField)->GetMacro();
158 sal_Int32
nPos = rMacro.indexOf(
'.');
174 if ( pField !=
nullptr
179 bAddSetExpressionFields ) )
226 sal_uInt32 nFormat = 0;
230 sal_Int32 nCommand = 0;
237 FN_PARAM_1,
false, &pItem ))
242 FN_PARAM_3,
false, &pItem ))
245 + OUString::number(nCommand)
248 FN_PARAM_2,
false, &pItem ))
253 FN_PARAM_FIELD_CONTENT,
false ))
254 aPar2 = pContentItem->GetValue();
257 nFormat = pFormatItem->GetValue();
258 OSL_FAIL(
"Command is not yet used");
271 sal_uInt32 nFormat = 0;
273 sal_uInt16 nSubType = 0;
281 else if (pArgs->
GetItemState(FN_PARAM_4,
false, &pItem) == SfxItemState::SET)
288 nSubType = pSubtypeItem->GetValue();
290 FN_PARAM_FIELD_CONTENT,
false ))
291 aPar2 = pContentItem->GetValue();
294 nFormat = pFormatItem->GetValue();
296 FN_PARAM_3,
false, &pItem ))
300 cSeparator = sTmp[0];
302 if (pArgs->
GetItemState(FN_PARAM_5,
false, &pItem) == SfxItemState::SET)
307 if (rWrapper ==
"Footnote")
311 else if (rWrapper ==
"Endnote")
322 if(!
GetView().GetViewFrame().IsInModalMode())
343 sal_uInt16
nId = SwFieldDlgWrapper::GetChildWindowId();
357 else if (
GetView().GetPostItMgr() &&
358 GetView().GetPostItMgr()->HasActiveSidebarWin() )
371 else if (
GetView().GetPostItMgr() &&
372 GetView().GetPostItMgr()->HasActiveSidebarWin() )
397 if (
GetView().GetPostItMgr() )
422 if (
GetView().GetPostItMgr() )
435 if (pIdItem && !pIdItem->GetValue().isEmpty())
446 sText = pTextItem->GetValue();
447 pMgr->RegisterAnswerText(sText);
459 case SID_EDIT_POSTIT:
462 if (pIdItem && !pIdItem->GetValue().isEmpty())
467 sText = pTextItem->GetValue();
475 GetView().AttrChangedNotify(
nullptr);
499 if (pArgs && pArgs->
GetItemState(nSlot,
false, &pItem) == SfxItemState::SET)
505 if (nChangeId == rRedlineTable[nRedline]->
GetId())
510 OUString sCommentText;
513 sCommentText = pTextItem->
GetValue();
522 GetView().AttrChangedNotify(
nullptr);
529 bool bTravel =
false;
539 SID_ATTR_POSTIT_DATE ));
547 if (pActRed == pRedline)
554 bool bPrev = pActRed !=
nullptr;
561 if (pActRed != pRedline)
567 bool bNext = pActRed !=
nullptr;
575 bTravel |= bNext || bPrev;
585 pDlg->EnableTravel(bNext, bPrev);
593 if ( pDlg->Execute() ==
RET_OK )
595 const SfxItemSet* pOutSet = pDlg->GetOutputItemSet();
596 OUString sMsg(pOutSet->
Get(SID_ATTR_POSTIT_TEXT).GetValue());
606 GetView().AttrChangedNotify(
nullptr);
613 OUString aType, aText;
616 bool bUpdate =
false;
626 bIsUrl = pIsUrl->GetValue();
630 bUpdate = pField && ( bIsUrl !=
static_cast<bool>(pField->
GetFormat()) || pField->
GetPar2() != aType || pField->
GetPar1() != aText );
636 if ( pDlg->Execute() )
638 aType = pDlg->GetScriptType();
639 aText = pDlg->GetScriptText();
640 bIsUrl = pDlg->IsUrl();
641 bNew = pDlg->IsNew();
642 bUpdate = pDlg->IsUpdate();
713 OUString(), OUString(), nInsertFormat);
726 aFieldType = pFieldType->
GetValue();
734 aFieldCode = pFieldCode->
GetValue();
740 auto xInfo = std::make_shared<weld::GenericDialogController>(
742 "InfoReadonlyDialog");
753 static constexpr OUStringLiteral vEnSpaces =
u"\u2002\u2002\u2002\u2002\u2002";
754 OUString aFieldResult(vEnSpaces);
759 aFieldResult = pFieldResult->
GetValue();
767 OUString aWrapper = pWrapper->
GetValue();
768 if (aWrapper ==
"Footnote")
772 else if (aWrapper ==
"Endnote")
820 aFieldPam, OUString(), aFieldType, aFieldPam.
Start());
821 if (pFieldmark && !aFieldCode.isEmpty())
823 pFieldmark->GetParameters()->insert(
883 sw::mark::IFieldmark::parameter_map_t* pParameters = pFieldBM->GetParameters();
885 sal_uInt32 nStandardFormat = pFormatter->
GetStandardFormat(SvNumFormatType::DATE);
905 aFieldType = pFieldType->
GetValue();
907 OUString aFieldCommandPrefix;
909 if (pFieldCommandPrefix)
911 aFieldCommandPrefix = pFieldCommandPrefix->
GetValue();
913 uno::Sequence<beans::PropertyValues> aFields;
924 sal_Int32 nFieldIndex = 0;
927 auto pFieldmark =
dynamic_cast<sw::mark::IFieldmark*
>(*it);
929 if (pFieldmark->GetFieldname() != aFieldType)
935 if (itParam == pFieldmark->GetParameters()->end())
942 if (!
aCommand.startsWith(aFieldCommandPrefix))
947 if (aFields.getLength() <= nFieldIndex)
953 itParam->second =
aMap[
"FieldCommand"];
954 SwPaM aPaM(pFieldmark->GetMarkPos(), pFieldmark->GetOtherMarkPos());
961 OUString aFieldResult;
962 aMap[
"FieldResult"] >>= aFieldResult;
977 aFieldType = pFieldType->
GetValue();
979 OUString aFieldCommandPrefix;
981 if (pFieldCommandPrefix)
983 aFieldCommandPrefix = pFieldCommandPrefix->
GetValue();
989 std::vector<sw::mark::IMark*> aRemovals;
992 auto pFieldmark =
dynamic_cast<sw::mark::IFieldmark*
>(*it);
994 if (pFieldmark->GetFieldname() != aFieldType)
999 if (!aFieldCommandPrefix.isEmpty())
1001 auto itParam = pFieldmark->GetParameters()->find(
ODF_CODE_PARAM);
1002 if (itParam == pFieldmark->GetParameters()->end())
1009 if (!
aCommand.startsWith(aFieldCommandPrefix))
1015 aRemovals.push_back(pFieldmark);
1018 for (
const auto& pMark : aRemovals)
1033 pDlg->StartExecuteAsync([pShell, &rSh, pDlg](
int nResult) {
1036 auto rDoc = rSh.
GetDoc();
1040 rSh.SwCursorShell::Push();
1044 bool bFooter = (pDlg->GetPageNumberPosition() == 1);
1045 sal_uInt16 nPageNumberPosition = bFooter ?
1049 nPageNumberPosition,
1050 SfxCallMode::API | SfxCallMode::SYNCHRON,
1057 if (pTextNode && !pTextNode->
GetText().isEmpty())
1069 switch (pDlg->GetPageNumberAlignment())
1102 pDlg->disposeOnce();
1110 OUString aFieldType;
1114 aFieldType = pFieldType->
GetValue();
1116 OUString aFieldCommandPrefix;
1118 if (pFieldCommandPrefix)
1120 aFieldCommandPrefix = pFieldCommandPrefix->
GetValue();
1122 uno::Sequence<beans::PropertyValue> aField;
1137 if (pFieldmark->GetFieldname() != aFieldType)
1142 auto itParam = pFieldmark->GetParameters()->find(
ODF_CODE_PARAM);
1143 if (itParam == pFieldmark->GetParameters()->end())
1150 if (!
aCommand.startsWith(aFieldCommandPrefix))
1158 itParam->second =
aMap[
"FieldCommand"];
1159 SwPaM aPaM(pFieldmark->GetMarkPos(), pFieldmark->GetOtherMarkPos());
1166 OUString aFieldResult;
1167 aMap[
"FieldResult"] >>= aFieldResult;
1175 OSL_FAIL(
"wrong dispatcher");
1184 const SwField* pField =
nullptr;
1185 bool bGetField =
false;
1209 if (!pPostItMgr || !pPostItMgr->
HasNotes())
1303 bool bCurField =
false;
1357 if ((!pFieldBM || pFieldBM->GetFieldname() !=
ODF_FORMTEXT)
1363 if (pFieldBM && pFieldBM->GetFieldname() ==
ODF_FORMTEXT &&
1364 (aCursorPos > pFieldBM->GetMarkStart() && aCursorPos < pFieldBM->GetMarkEnd() ))
1378 const OUString& rName = rHlnkItem.
GetName();
1379 const OUString& rURL = rHlnkItem.
GetURL();
1383 nType &= ~HLINK_HTMLMODE;
1409 const SvxMacro *pMacro = pMacroTable->
Get( SvMacroItemId::OnMouseOver );
1411 aINetFormat.
SetMacro(SvMacroItemId::OnMouseOver, *pMacro);
1412 pMacro = pMacroTable->
Get( SvMacroItemId::OnClick );
1414 aINetFormat.
SetMacro(SvMacroItemId::OnClick, *pMacro);
1415 pMacro = pMacroTable->
Get( SvMacroItemId::OnMouseOut );
1417 aINetFormat.
SetMacro(SvMacroItemId::OnMouseOut, *pMacro);
1425 for(
int i=0;
i < rReplacementText.getLength();
i++)
1427 rSh.
InsertURL( aINetFormat, rName,
false );
1431 rSh.
InsertURL( aINetFormat, rName,
true );
1468 bool bEnable =
false;
1479 rDlg.EnableTravel(bEnable,
true);
1487 rDlg.SetNote(sComment);
1513 bool bEnable =
false;
1524 rDlg.EnableTravel(
true, bEnable);
1529 rDlg.SetNote(sComment);
sal_Int32 GetValue() const
const OUString & GetValue() const
virtual bool DeleteAndJoin(SwPaM &, SwDeleteFlags flags=SwDeleteFlags::Default)=0
complete delete of a given PaM
virtual bool SplitNode(const SwPosition &rPos, bool bChkTableStart)=0
Split a node at rPos (implemented only for TextNode).
virtual bool InsertString(const SwPaM &rRg, const OUString &, const SwInsertFlags nInsertMode=SwInsertFlags::EMPTYEXPAND)=0
Insert string into existing text node at position rRg.Point().
virtual SwFieldType * GetFieldType(SwFieldIds nResId, const OUString &rName, bool bDbFieldMatching) const =0
Provides access to the marks of a document.
virtual const_iterator_t getFieldmarksBegin() const =0
returns a STL-like random access iterator to the begin of the sequence of fieldmarks.
virtual sw::mark::IFieldmark * makeNoTextFieldBookmark(const SwPaM &rPaM, const OUString &rName, const OUString &rType)=0
virtual sw::mark::IFieldmark * makeFieldBookmark(const SwPaM &rPaM, const OUString &rName, const OUString &rType, SwPosition const *pSepPos=nullptr)=0
virtual const_iterator_t getFieldmarksEnd() const =0
returns a STL-like random access iterator to the end of the sequence of fieldmarks.
virtual sw::mark::IFieldmark * getInnerFieldmarkFor(const SwPosition &pos) const =0
virtual std::unique_ptr< ILazyDeleter > deleteMark(const IDocumentMarkAccess::const_iterator_t &ppMark, bool isMoveNodes)=0
Deletes a mark.
virtual const SwRedlineTable & GetRedlineTable() const =0
const OUString & getBcp47(bool bResolveSystem=true) const
void Invalidate(sal_uInt16 nId)
const SfxPoolItem * ExecuteList(sal_uInt16 nSlot, SfxCallMode nCall, std::initializer_list< SfxPoolItem const * > args, std::initializer_list< SfxPoolItem const * > internalargs=std::initializer_list< SfxPoolItem 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)
sal_uInt16 GetSlot() const
const SfxItemSet * GetArgs() const
const T * GetArg(sal_uInt16 nSlotId) const
void AppendItem(const SfxPoolItem &)
void SetReturnValue(const SfxPoolItem &)
void Done(bool bRemove=false)
SfxItemPool & GetPool() const
virtual void Invalidate(sal_uInt16 nId=0)
const css::uno::Any & GetValue() const
void ToggleChildWindow(sal_uInt16)
bool IsInModalMode() const
SfxBindings & GetBindings()
bool HasChildWindow(sal_uInt16)
SfxChildWindow * GetChildWindow(sal_uInt16)
bool KnowsChildWindow(sal_uInt16)
weld::Window * GetFrameWeld() const
SfxViewFrame & GetViewFrame() const
virtual VclPtr< AbstractSvxPostItDialog > CreateSvxPostItDialog(weld::Widget *pParent, const SfxItemSet &rCoreSet, bool bPrevNext=false)=0
static SvxAbstractDialogFactory * Create()
virtual DialogGetRanges GetDialogGetRangesFunc()=0
const OUString & GetReplacementText() const
SvxLinkInsertMode GetInsertMode() const
const OUString & GetName() const
const OUString & GetURL() const
const OUString & GetIntName() const
const SvxMacroTableDtor * GetMacroTable() const
const OUString & GetTargetFrame() const
const SvxMacro * Get(SvMacroItemId nEvent) const
virtual VclPtr< SfxAbstractDialog > CreateSwFieldEditDlg(SwView &rVw)=0
virtual VclPtr< AbstractJavaEditDialog > CreateJavaEditDialog(weld::Window *pParent, SwWrtShell *pWrtSh)=0
static SwAbstractDialogFactory * Create()
virtual VclPtr< AbstractSwPageNumberDlg > CreateSwPageNumberDlg(weld::Window *pParent)=0
void InsertURLButton(const OUString &rURL, const OUString &rTarget, const OUString &rText)
SwWrtShell * GetShellPtr()
void Push()
store a copy of the current cursor on the cursor stack
bool IsReadOnlyAvailable() const
bool GotoHeaderText()
jump from the content to the header
bool IsMultiSelection() const
SwCursor * GetCursor(bool bMakeTableCursor=true) const
Return pointer to the current shell cursor.
bool SelectTextModel(sal_Int32 nStart, sal_Int32 nEnd)
bool CursorInsideInputField() const
SwField * GetCurField(const bool bIncludeInputFieldAtStart=false) const
void EndAction(const bool bIdleEnd=false)
static sal_Int32 StartOfInputFieldAtPos(const SwPosition &rPos)
static SwTextField * GetTextFieldAtCursor(const SwPaM *pCursor, ::sw::GetTextAttrMode eMode)
const SwRangeRedline * SelNextRedline()
const SwRangeRedline * SelPrevRedline()
static sal_Int32 EndOfInputFieldAtPos(const SwPosition &rPos)
bool HasReadonlySel(bool isReplace=false) const
bool IsInHeaderFooter(bool *pbInHeader=nullptr) const
bool IsCursorPtAtEnd() const
bool MoveFieldType(const SwFieldType *pFieldType, const bool bNext, const SwFieldIds nResType=SwFieldIds::Unknown, const bool bAddSetExpressionFieldsToInputFields=true)
bool IsCursorInFootnote() const
bool GotoFooterText()
jump from the content to the footer
const ::sfx2::SvBaseLink & GetBaseLink() const
IDocumentContentOperations const & getIDocumentContentOperations() const
IDocumentUndoRedo & GetIDocumentUndoRedo()
IDocumentFieldsAccess const & getIDocumentFieldsAccess() const
IDocumentRedlineAccess const & getIDocumentRedlineAccess() const
IDocumentMarkAccess * getIDocumentMarkAccess()
SvNumberFormatter * GetNumberFormatter(bool bCreate=true)
bool GetCurAttr(SfxItemSet &, const bool bMergeIndentValuesOfNumRule=false) const
void StartAllAction()
For all views of this document.
void SetUndoNoResetModified()
bool SetRedlineComment(const OUString &rS)
Set comment to Redline at position.
void SetAttrItem(const SfxPoolItem &, SetAttrMode nFlags=SetAttrMode::DEFAULT, const bool bParagraphSetting=false)
SvNumberFormatter * GetNumberFormatter()
Query NumberFormatter from document.
bool InsertURL(const SwFormatINetFormat &rFormat, const OUString &rStr, bool bKeepSelection=false)
SwFieldType * GetFieldType(size_t nField, SwFieldIds nResId=SwFieldIds::Unknown) const
get field types with a ResId, if 0 get all
const SwRangeRedline * GetCurrRedline() const
sfx2::LinkManager & GetLinkManager()
SwFlyFrame * GetCurrFlyFrame(const bool bCalcFrame=true) const
sal_uInt32 GetDefaultFormat(SwFieldTypesEnum nTypeId, bool bIsText, SvNumberFormatter *pFormatter)
void UpdateCurField(sal_uInt32 nFormat, const OUString &rPar1, const OUString &rPar2, std::unique_ptr< SwField > _pField=nullptr)
bool InsertField(SwInsertField_Data &rData)
Instances of SwFields and those derived from it occur 0 to n times.
SwFormatField * FindFormatForPostItId(sal_uInt32 nPostItId) const
Base class of all fields.
SwFieldTypesEnum GetTypeId() const
sal_uInt32 GetFormat() const
Query parameters for dialog and for BASIC.
SwFieldType * GetTyp() const
IDocumentContentOperations & getIDocumentContentOperations()
Provides access to the document content operations interface.
SwTextNode * GetTextNode()
Inline methods from Node.hxx.
PaM is Point and Mark: a selection of the document model.
const SwPosition * GetMark() const
virtual void SetMark()
Unless this is called, the getter method of Mark will return Point.
void Normalize(bool bPointFirst=true)
Normalizes PaM, i.e.
bool Move(SwMoveFnCollection const &fnMove=fnMoveForward, SwGoInDoc fnGo=GoInContent)
Movement of cursor.
const SwPosition * GetPoint() const
const SwPosition * Start() const
void Delete(const OUString &aAuthor)
sw::annotation::SwAnnotationWin * GetAnnotationWin(const SwPostItField *pField) const
void HideActiveSidebarWin()
void ToggleResolved(sal_uInt32 nPostItId)
void Hide(std::u16string_view rAuthor)
void ExecuteFormatAllDialog(SwView &rView)
void DeleteCommentThread(sal_uInt32 nPostItId)
void ToggleResolvedForThread(sal_uInt32 nPostItId)
void DeleteActiveSidebarWin()
SW_DLLPUBLIC bool HasActiveSidebarWin() const
const OUString & GetComment(sal_uInt16 nPos=0) const
OUString const & GetAuthorString(sal_uInt16 nPos=0) const
RedlineType GetType(sal_uInt16 nPos=0) const
const SwRedlineData & GetRedlineData(sal_uInt16 nPos=0) const
const DateTime & GetTimeStamp() const
vector_type::size_type size_type
virtual OUString GetPar1() const override
Type.
virtual OUString GetPar2() const override
Text.
SwTextNode is a paragraph in the document model.
const OUString & GetText() const
LanguageType GetLang(const sal_Int32 nBegin, const sal_Int32 nLen=0, sal_uInt16 nScript=0) const
void StateField(SfxItemSet &)
void InsertHyperlink(const SvxHyperlinkItem &rHlnkItem)
void ExecField(SfxRequest &rReq)
const SwViewOption * GetViewOptions() const
static void SetCareDialog(const std::shared_ptr< weld::Window > &rNew)
const IDocumentMarkAccess * getIDocumentMarkAccess() const
Provides access to the document bookmark interface.
IDocumentUndoRedo const & GetIDocumentUndoRedo() const
Provides access to the document undo/redo interface.
SfxDispatcher & GetDispatcher()
SwPostItMgr * GetPostItMgr()
Used by the UI to modify the document model.
const SwRangeRedline * GotoRedline(SwRedlineTable::size_type nArrPos, bool bSelect)
void InsertPostIt(SwFieldMgr &rFieldMgr, const SfxRequest &rReq)
Inserts a new annotation/comment at the current cursor position / selection.
bool StartInputFieldDlg(SwField *, bool bPrevButton, bool bNextButton, weld::Widget *pParentWin, FieldDialogPressedButton *pPressedButton=nullptr)
void GotoMark(const ::sw::mark::IMark *const pMark)
SelectionType GetSelectionType() const
void ExecMacro(const SvxMacro &rMacro, OUString *pRet=nullptr, SbxArray *pArgs=nullptr)
void InsertFootnote(const OUString &, bool bEndNote=false, bool bEdit=true)
bool DelRight(bool isReplaceHeuristic=false)
bool HasSelection() const
bool Pop(SwCursorShell::PopMode, ::std::optional< SwCallLink > &roLink)
const SwView & GetView() const
void UpdateText(const OUString &aText)
void ExecuteCommand(sal_uInt16 nSlot)
static bool runAsync(const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
#define FN_INSERT_REF_FIELD
#define FN_DELETE_NOTE_AUTHOR
#define FN_UPDATE_TEXT_FORMFIELDS
#define FN_HIDE_NOTE_AUTHOR
#define FN_INSERT_FLD_TIME
#define FN_INSERT_FLD_AUTHOR
#define FN_INSERT_FLD_TOPIC
#define FN_INSERT_DBFIELD
#define FN_INSERT_PAGEHEADER
#define FN_INSERT_FLD_PGNUMBER
#define FN_GOTO_PREV_INPUTFLD
#define FN_INSERT_FIELD_CTRL
#define FN_PGNUMBER_WIZARD
#define FN_INSERT_FLD_DATE
#define FN_REDLINE_COMMENT
#define FN_HIDE_ALL_NOTES
#define FN_DELETE_ALL_NOTES
#define FN_UPDATE_TEXT_FORMFIELD
#define FN_DELETE_COMMENT
#define FN_INSERT_FIELD_DATA_ONLY
#define FN_DELETE_COMMENT_THREAD
#define FN_INSERT_FLD_PGCOUNT
#define FN_RESOLVE_NOTE_THREAD
#define FN_INSERT_DATE_FORMFIELD
#define FN_INSERT_PAGEFOOTER
#define FN_GOTO_NEXT_INPUTFLD
#define FN_PARAM_FIELD_SUBTYPE
#define FN_PARAM_FIELD_FORMAT
#define FN_FORMAT_ALL_NOTES
#define FN_DELETE_TEXT_FORMFIELDS
#define FN_INSERT_FLD_TITLE
#define FN_EXECUTE_MACROFIELD
#define FN_INSERT_CHECKBOX_FORMFIELD
#define FN_INSERT_DROPDOWN_FORMFIELD
#define FN_INSERT_TEXT_FORMFIELD
#define FN_PARAM_FIELD_TYPE
weld::Window * GetFrameWeld(const SfxFrame *pFrame)
virtual sal_uInt32 GetId() const override
void MaybeNotifyRedlineModification(SwRangeRedline &rRedline, SwDoc &rDoc)
SwFieldTypesEnum SwFieldTypeFromString(std::u16string_view rString)
SwFieldTypesEnum
List of FieldTypes at UI.
constexpr TypedWhichId< SwFormatINetFormat > RES_TXTATR_INETFMT(51)
constexpr TypedWhichId< SvxAdjustItem > RES_PARATR_ADJUST(64)
#define LANGUAGE_HUNGARIAN
LineEnd GetSystemLineEnd()
TOOLS_DLLPUBLIC OString convertLineEnd(const OString &rIn, LineEnd eLineEnd)
#define LINK(Instance, Class, Member)
constexpr OUStringLiteral aData
SW_DLLPUBLIC void PasteHTMLToPaM(SwWrtShell &rWrtSh, SwPaM *pCursor, const OString &rData, bool bSetSelection)
const SwDocInfoSubType DI_SUB_AUTHOR
const SwDocInfoSubType DI_SUBJECT
const SwDocInfoSubType DI_TITLE
const SwDocInfoSubType DI_CREATE
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)
HashMap_OWString_Interface aMap
constexpr OUStringLiteral ODF_FORMTEXT
constexpr OUStringLiteral ODF_FORMDATE_DATEFORMAT
constexpr OUStringLiteral ODF_CODE_PARAM
constexpr OUStringLiteral ODF_FORMCHECKBOX
#define ODF_FORMFIELD_DEFAULT_LENGTH
constexpr OUStringLiteral ODF_FORMDATE
constexpr OUStringLiteral ODF_FORMDATE_DATEFORMAT_LANGUAGE
constexpr OUStringLiteral ODF_FORMDROPDOWN
bool GoInContent(SwPaM &rPam, SwMoveFnCollection const &fnMove)
SwMoveFnCollection const & fnMoveBackward
SwMoveFnCollection const & fnMoveForward
SwPam::Move()/Find() default argument.
static LanguageType nLang
Marks a position in the document model.
const SwContentNode * GetContentNode() const
sal_Int32 GetContentIndex() const
void AdjustContent(sal_Int32 nDelta)
Adjust content index, only valid to call this if the position points to a SwContentNode subclass.
OUString SwResId(TranslateId aId)
IMPL_LINK(SwTextShell, RedlineNextHdl, AbstractSvxPostItDialog &, rDlg, void)
static OUString lcl_BuildTitleWithRedline(const SwRangeRedline *pRedline)