|
LibreOffice Module sw (master) 1
|
#include <memory>#include <sal/config.h>#include <sal/log.hxx>#include <cstddef>#include "XMLRedlineImportHelper.hxx"#include <unotextcursor.hxx>#include <unotextrange.hxx>#include <unocrsr.hxx>#include <ndtxt.hxx>#include <doc.hxx>#include <IDocumentContentOperations.hxx>#include <IDocumentStylePoolAccess.hxx>#include <tools/datetime.hxx>#include <poolfmt.hxx>#include <fmtanchr.hxx>#include <ftnidx.hxx>#include <txtftn.hxx>#include <unoredline.hxx>#include <DocumentRedlineManager.hxx>#include "xmlimp.hxx"#include <comphelper/servicehelper.hxx>#include <o3tl/any.hxx>#include <xmloff/xmltoken.hxx>#include <vcl/svapp.hxx>Go to the source code of this file.
Classes | |
| class | RedlineInfo |
Functions | |
| static SwDoc * | lcl_GetDocViaTunnel (Reference< XTextCursor > const &rCursor) |
| static SwDoc * | lcl_GetDocViaTunnel (Reference< XTextRange > const &rRange) |
| static auto | RecursiveContains (SwStartNode const &rRedlineSection, SwNode const &rPos) -> bool |
| recursively check if rPos or its anchor (if in fly or footnote) is in redline section More... | |
Variables | |
| constexpr OUStringLiteral | g_sShowChanges = u"ShowChanges" |
| constexpr OUStringLiteral | g_sRecordChanges = u"RecordChanges" |
| constexpr OUStringLiteral | g_sRedlineProtectionKey = u"RedlineProtectionKey" |
|
static |
Definition at line 60 of file XMLRedlineImportHelper.cxx.
Referenced by XMLRedlineImportHelper::CreateRedlineTextSection().
|
static |
Definition at line 68 of file XMLRedlineImportHelper.cxx.
References SwXTextRange::GetDoc().
|
static |
recursively check if rPos or its anchor (if in fly or footnote) is in redline section
Definition at line 566 of file XMLRedlineImportHelper.cxx.
References SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwNodeIndex::GetNode(), SwNode::GetStartNode(), RecursiveContains(), SwFlyStartNode, SwFooterStartNode, SwFootnoteStartNode, SwHeaderStartNode, SwNormalStartNode, and SwTableBoxStartNode.
Referenced by XMLRedlineImportHelper::InsertIntoDocument(), and RecursiveContains().
|
constexpr |
Definition at line 227 of file XMLRedlineImportHelper.cxx.
Referenced by XMLRedlineImportHelper::XMLRedlineImportHelper(), and XMLRedlineImportHelper::~XMLRedlineImportHelper().
|
constexpr |
Definition at line 228 of file XMLRedlineImportHelper.cxx.
Referenced by XMLRedlineImportHelper::XMLRedlineImportHelper(), and XMLRedlineImportHelper::~XMLRedlineImportHelper().
|
constexpr |
Definition at line 226 of file XMLRedlineImportHelper.cxx.
Referenced by XMLRedlineImportHelper::XMLRedlineImportHelper(), and XMLRedlineImportHelper::~XMLRedlineImportHelper().