LibreOffice Module sw (master) 1
Classes | Functions | Variables
XMLRedlineImportHelper.cxx File Reference
#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>
Include dependency graph for XMLRedlineImportHelper.cxx:

Go to the source code of this file.

Classes

class  RedlineInfo
 

Functions

static SwDoclcl_GetDocViaTunnel (Reference< XTextCursor > const &rCursor)
 
static SwDoclcl_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"
 

Function Documentation

◆ lcl_GetDocViaTunnel() [1/2]

static SwDoc * lcl_GetDocViaTunnel ( Reference< XTextCursor > const &  rCursor)
static

◆ lcl_GetDocViaTunnel() [2/2]

static SwDoc * lcl_GetDocViaTunnel ( Reference< XTextRange > const &  rRange)
static

Definition at line 68 of file XMLRedlineImportHelper.cxx.

References SwXTextRange::GetDoc().

◆ RecursiveContains()

static auto RecursiveContains ( SwStartNode const &  rRedlineSection,
SwNode const &  rPos 
) -> bool
static

Variable Documentation

◆ g_sRecordChanges

constexpr OUStringLiteral g_sRecordChanges = u"RecordChanges"
constexpr

◆ g_sRedlineProtectionKey

constexpr OUStringLiteral g_sRedlineProtectionKey = u"RedlineProtectionKey"
constexpr

◆ g_sShowChanges

constexpr OUStringLiteral g_sShowChanges = u"ShowChanges"
constexpr