LibreOffice Module sw (master) 1
|
#include <sal/config.h>
#include <string_view>
#include <config_features.h>
#include <config_fuzzers.h>
#include <o3tl/sorted_vector.hxx>
#include <doc.hxx>
#include <proofreadingiterator.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/text/XFlatParagraphIteratorProvider.hpp>
#include <com/sun/star/linguistic2/XProofreadingIterator.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/random.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/XmlIdRegistry.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <sfx2/linkmgr.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/lrspitem.hxx>
#include <svl/numformat.hxx>
#include <unotools/lingucfg.hxx>
#include <svx/svdpage.hxx>
#include <fmtcntnt.hxx>
#include <fmtanchr.hxx>
#include <fmtfsize.hxx>
#include <fmtfordr.hxx>
#include <fmtpdsc.hxx>
#include <pvprtdat.hxx>
#include <rootfrm.hxx>
#include <pagedesc.hxx>
#include <ndtxt.hxx>
#include <ftninfo.hxx>
#include <ftnidx.hxx>
#include <charfmt.hxx>
#include <frmfmt.hxx>
#include <poolfmt.hxx>
#include <dbmgr.hxx>
#include <docsh.hxx>
#include <acorrect.hxx>
#include <visiturl.hxx>
#include <docary.hxx>
#include <lineinfo.hxx>
#include <drawdoc.hxx>
#include <extinput.hxx>
#include <viewsh.hxx>
#include <doctxm.hxx>
#include <shellres.hxx>
#include <laycache.hxx>
#include <mvsave.hxx>
#include <istyleaccess.hxx>
#include "swstylemanager.hxx"
#include <GrammarContact.hxx>
#include <OnlineAccessibilityCheck.hxx>
#include <tblafmt.hxx>
#include <MarkManager.hxx>
#include <UndoManager.hxx>
#include <DocumentDeviceManager.hxx>
#include <DocumentSettingManager.hxx>
#include <DocumentDrawModelManager.hxx>
#include <DocumentChartDataProviderManager.hxx>
#include <DocumentTimerManager.hxx>
#include <DocumentLinksAdministrationManager.hxx>
#include <DocumentListItemsManager.hxx>
#include <DocumentListsManager.hxx>
#include <DocumentOutlineNodesManager.hxx>
#include <DocumentContentOperationsManager.hxx>
#include <DocumentRedlineManager.hxx>
#include <DocumentFieldsManager.hxx>
#include <DocumentStatisticsManager.hxx>
#include <DocumentStateManager.hxx>
#include <DocumentLayoutManager.hxx>
#include <DocumentStylePoolManager.hxx>
#include <DocumentExternalDataManager.hxx>
#include <wrtsh.hxx>
#include <unocrsr.hxx>
#include <fmthdft.hxx>
#include <frameformats.hxx>
#include <numrule.hxx>
#include <sfx2/Metadatable.hxx>
#include <fmtmeta.hxx>
#include <textcontentcontrol.hxx>
#include <svx/xfillit0.hxx>
#include <unotools/configmgr.hxx>
#include <i18nlangtag/mslangid.hxx>
Go to the source code of this file.
Macros | |
#define | CNTNT_DOC(doc) ((doc)->GetNodes().GetEndOfContent().GetIndex() - (doc)->GetNodes().GetEndOfExtras().GetIndex() - SwNodeOffset(2)) |
#define | CNTNT_IDX(idx) ((idx).GetNode().GetIndex() - GetNodes().GetEndOfExtras().GetIndex() - 1) |
Functions | |
static void | lcl_DelFormatIndices (SwFormat const *pFormat) |
static OUString | lcl_FindUniqueName (SwWrtShell *pTargetShell, std::u16string_view rStartingPageDesc, sal_uLong nDocNo) |
static bool | lcl_PageDescOrFollowContainsHeaderFooter (const SwPageDesc &rPageDesc) |
Returns whether the passed SwPageDesc& or any of its (transitive) follows contains a header or footer. More... | |
static void | lcl_CopyFollowPageDesc (SwWrtShell &rTargetShell, const SwPageDesc &rSourcePageDesc, const SwPageDesc &rTargetPageDesc, const sal_uLong nDocNo) |
Variables | |
constexpr OUStringLiteral | DEFAULT_CHAR_FORMAT_NAME = u"Character style" |
#define CNTNT_DOC | ( | doc | ) | ((doc)->GetNodes().GetEndOfContent().GetIndex() - (doc)->GetNodes().GetEndOfExtras().GetIndex() - SwNodeOffset(2)) |
Definition at line 887 of file docnew.cxx.
Definition at line 889 of file docnew.cxx.
|
static |
Definition at line 974 of file docnew.cxx.
References SwDoc::ChgPageDesc(), SwDoc::CopyPageDesc(), SwDoc::FindPageDesc(), SwViewShell::GetDoc(), SwPageDesc::GetFollow(), SwPageDesc::GetName(), lcl_FindUniqueName(), SwDoc::MakePageDesc(), and SwPageDesc::SetFollow().
Referenced by SwDoc::AppendDoc().
|
static |
Definition at line 190 of file docnew.cxx.
References SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorNode(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwFormatAnchor::SetAnchor(), and SwFormatContent::SetNewContentIdx().
Referenced by SwDoc::~SwDoc().
|
static |
Definition at line 943 of file docnew.cxx.
References SwFEShell::FindPageDescByName().
Referenced by SwDoc::AppendDoc(), and lcl_CopyFollowPageDesc().
|
static |
Returns whether the passed SwPageDesc& or any of its (transitive) follows contains a header or footer.
Definition at line 957 of file docnew.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::count(), SwPageDesc::GetFollow(), SwFormat::GetFooter(), SwFormat::GetHeader(), SwPageDesc::GetMaster(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwFormatHeader::IsActive(), and SwFormatFooter::IsActive().
Referenced by SwDoc::AppendDoc().
|
constexpr |
Definition at line 118 of file docnew.cxx.