LibreOffice Module sw (master) 1
Functions
wrtw8nds.cxx File Reference
#include <vector>
#include <utility>
#include <algorithm>
#include <iostream>
#include "docxexport.hxx"
#include <officecfg/Office/Common.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <hintids.hxx>
#include <tools/urlobj.hxx>
#include <editeng/cmapitem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/svxfont.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/keepitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/formatbreakitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <editeng/tstpitem.hxx>
#include <editeng/wghtitem.hxx>
#include <svl/grabbagitem.hxx>
#include <svl/urihelper.hxx>
#include <svl/whiter.hxx>
#include <fmtpdsc.hxx>
#include <fmtlsplt.hxx>
#include <fmtanchr.hxx>
#include <fmtcntnt.hxx>
#include <frmatr.hxx>
#include <paratr.hxx>
#include <txatbase.hxx>
#include <fmtinfmt.hxx>
#include <fmtrfmrk.hxx>
#include <fchrfmt.hxx>
#include <fmtautofmt.hxx>
#include <charfmt.hxx>
#include <tox.hxx>
#include <ndtxt.hxx>
#include <pam.hxx>
#include <doc.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentMarkAccess.hxx>
#include <docary.hxx>
#include <swtable.hxx>
#include <swtblfmt.hxx>
#include <section.hxx>
#include <pagedesc.hxx>
#include <swrect.hxx>
#include <reffld.hxx>
#include <redline.hxx>
#include <txttxmrk.hxx>
#include <fmtline.hxx>
#include <fmtruby.hxx>
#include <breakit.hxx>
#include <txtatr.hxx>
#include <cellatr.hxx>
#include <fmtrowsplt.hxx>
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/i18n/BreakIterator.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/WordType.hpp>
#include <com/sun/star/text/RubyPosition.hpp>
#include <oox/export/vmlexport.hxx>
#include <sal/log.hxx>
#include <comphelper/propertysequence.hxx>
#include <comphelper/string.hxx>
#include "sprmids.hxx"
#include "writerhelper.hxx"
#include "writerwordglue.hxx"
#include <numrule.hxx>
#include "wrtww8.hxx"
#include "ww8par.hxx"
#include <IMark.hxx>
#include "ww8attributeoutput.hxx"
#include <ndgrf.hxx>
#include <ndole.hxx>
#include <formatflysplit.hxx>
#include <cstdio>
Include dependency graph for wrtw8nds.cxx:

Go to the source code of this file.

Functions

static OUString lcl_getFieldCode (const IFieldmark *pFieldmark)
 
static ww::eField lcl_getFieldId (const IFieldmark *const pFieldmark)
 
static OUString lcl_getLinkChainName (const uno::Reference< beans::XPropertySet > &rPropertySet, const uno::Reference< beans::XPropertySetInfo > &rPropertySetInfo)
 
static sal_Int32 lcl_getMinPos (sal_Int32 pos1, sal_Int32 pos2)
 
static OUString & TruncateBookmark (OUString &rRet)
 
OUString BookmarkToWord (std::u16string_view rBookmark, bool *pIsMove, bool *pIsFrom)
 
OUString BookmarkToWriter (std::u16string_view rBookmark)
 
static SwTextFormatColllcl_getFormatCollection (MSWordExportBase &rExport, const SwTextNode *pTextNode)
 Delivers the right paragraph style. More...
 

Function Documentation

◆ BookmarkToWord()

OUString BookmarkToWord ( std::u16string_view  rBookmark,
bool *  pIsMove,
bool *  pIsFrom 
)

◆ BookmarkToWriter()

OUString BookmarkToWriter ( std::u16string_view  rBookmark)

◆ lcl_getFieldCode()

static OUString lcl_getFieldCode ( const IFieldmark *  pFieldmark)
static

◆ lcl_getFieldId()

static ww::eField lcl_getFieldId ( const IFieldmark *const  pFieldmark)
static

◆ lcl_getFormatCollection()

static SwTextFormatColl & lcl_getFormatCollection ( MSWordExportBase rExport,
const SwTextNode pTextNode 
)
static

Delivers the right paragraph style.

Because of the different style handling for delete operations, the track changes have to be analysed. A deletion, starting in paragraph A with style A, ending in paragraph B with style B, needs a hack.

Definition at line 1834 of file wrtw8nds.cxx.

References SwContentNode::GetAnyFormatColl(), SwDoc::getIDocumentRedlineAccess(), SwRangeRedline::GetRedlineData(), IDocumentRedlineAccess::GetRedlineTable(), SwNode::GetTextNode(), SwRedlineData::GetType(), SwNode::IsTextNode(), MSWordExportBase::m_rDoc, nPos, SwRedlineTable::size(), and SwPaM::StartEnd().

Referenced by MSWordExportBase::OutputTextNode().

◆ lcl_getLinkChainName()

static OUString lcl_getLinkChainName ( const uno::Reference< beans::XPropertySet > &  rPropertySet,
const uno::Reference< beans::XPropertySetInfo > &  rPropertySetInfo 
)
static

Definition at line 156 of file wrtw8nds.cxx.

Referenced by SwWW8AttrIter::OutFlys().

◆ lcl_getMinPos()

static sal_Int32 lcl_getMinPos ( sal_Int32  pos1,
sal_Int32  pos2 
)
static

Definition at line 249 of file wrtw8nds.cxx.

References min().

Referenced by SwWW8AttrIter::SearchNext().

◆ TruncateBookmark()

static OUString & TruncateBookmark ( OUString &  rRet)
static

Definition at line 930 of file wrtw8nds.cxx.

Referenced by BookmarkToWord().