LibreOffice Module sw (master) 1
|
#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>
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 SwTextFormatColl & | lcl_getFormatCollection (MSWordExportBase &rExport, const SwTextNode *pTextNode) |
Delivers the right paragraph style. More... | |
OUString BookmarkToWord | ( | std::u16string_view | rBookmark, |
bool * | pIsMove, | ||
bool * | pIsFrom | ||
) |
Definition at line 1213 of file wrtw8nds.cxx.
References INetURLObject::All, INetURLObject::decode(), INetURLObject::encode(), INetURLObject::PART_REL_SEGMENT_EXTRA, o3tl::starts_with(), TruncateBookmark(), u, and INetURLObject::Unambiguous.
Referenced by WW8AttributeOutput::AnalyzeURL(), WW8Export::AppendBookmarks(), DocxAttributeOutput::DoWriteBookmarksEnd(), DocxAttributeOutput::DoWriteBookmarksStart(), DocxAttributeOutput::DoWriteBookmarkStartIfExist(), DocxAttributeOutput::DoWriteBookmarkTagStart(), DocxAttributeOutput::DoWritePermissionTagEnd(), DocxAttributeOutput::DoWritePermissionTagStart(), WW8AttributeOutput::EndRun(), MSWordExportBase::GetBookmarkName(), MSWordExportBase::OutputTextNode(), and WW8AttributeOutput::StartRun().
OUString BookmarkToWriter | ( | std::u16string_view | rBookmark | ) |
Definition at line 1242 of file wrtw8nds.cxx.
References INetURLObject::decode(), and INetURLObject::Unambiguous.
Referenced by MSWordExportBase::AddLinkTarget(), AttributeOutputBase::AnalyzeURL(), SwWW8ImplReader::GetMappedBookmark(), SwWW8ImplReader::MapBookmarkVariables(), and SwWW8ImplReader::Read_Book().
|
static |
Definition at line 113 of file wrtw8nds.cxx.
References ODF_FORMCHECKBOX, ODF_FORMDATE, ODF_FORMDROPDOWN, ODF_FORMTEXT, ODF_HYPERLINK, ODF_PAGEREF, and ODF_TOC.
Referenced by MSWordExportBase::OutputTextNode().
|
static |
Definition at line 134 of file wrtw8nds.cxx.
References ww::eFORMCHECKBOX, ww::eFORMDATE, ww::eFORMDROPDOWN, ww::eFORMTEXT, ww::eHYPERLINK, ww::ePAGEREF, ww::eTOC, ww::eUNKNOWN, ODF_FORMCHECKBOX, ODF_FORMDATE, ODF_FORMDROPDOWN, ODF_FORMTEXT, ODF_HYPERLINK, ODF_PAGEREF, and ODF_TOC.
Referenced by MSWordExportBase::OutputTextNode().
|
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().
|
static |
Definition at line 156 of file wrtw8nds.cxx.
Referenced by SwWW8AttrIter::OutFlys().
|
static |
Definition at line 249 of file wrtw8nds.cxx.
References min().
Referenced by SwWW8AttrIter::SearchNext().
|
static |
Definition at line 930 of file wrtw8nds.cxx.
Referenced by BookmarkToWord().