LibreOffice Module sw (master)
1
|
#include <sal/config.h>
#include <mutex>
#include <string_view>
#include <config_features.h>
#include <o3tl/sorted_vector.hxx>
#include <doc.hxx>
#include <proofreadingiterator.hxx>
#include <com/sun/star/text/XFlatParagraphIteratorProvider.hpp>
#include <com/sun/star/linguistic2/XProofreadingIterator.hpp>
#include <com/sun/star/frame/XModel.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 <sfx2/linkmgr.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/lrspitem.hxx>
#include <svl/zforlist.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 <IGrammarContact.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 <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() - 2) |
#define | CNTNT_IDX(idx) ((idx).GetNode().GetIndex() - GetNodes().GetEndOfExtras().GetIndex() - 1) |
Functions | |
static void | lcl_DelFormatIndices (SwFormat const *pFormat) |
IGrammarContact * | getGrammarContact (const SwTextNode &rTextNode) |
getGrammarContact() delivers the grammar contact of the document (for a given textnode) More... | |
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) |
#define CNTNT_DOC | ( | doc | ) | ((doc)->GetNodes().GetEndOfContent().GetIndex() - (doc)->GetNodes().GetEndOfExtras().GetIndex() - 2) |
Definition at line 881 of file docnew.cxx.
Referenced by SwDoc::AppendDoc(), and SwDoc::CreateCopy().
Definition at line 883 of file docnew.cxx.
Referenced by SwDoc::AppendDoc().
IGrammarContact* getGrammarContact | ( | const SwTextNode & | ) |
getGrammarContact() delivers the grammar contact of the document (for a given textnode)
Definition at line 803 of file docnew.cxx.
References SwNode::GetDoc(), SwDoc::getGrammarContact(), and SwDoc::IsInDtor().
Referenced by SwXTextMarkup::commitMultiTextMarkup(), SwXTextMarkup::commitStringMarkup(), finishGrammarCheck(), and lcl_SetWrong().
|
static |
Definition at line 960 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().
Definition at line 185 of file docnew.cxx.
References SwFormat::GetAnchor(), SwFormat::GetContent(), SwFormatAnchor::GetContentAnchor(), SwFormatContent::GetContentIdx(), SwFormatAnchor::SetAnchor(), and SwFormatContent::SetNewContentIdx().
Referenced by SwDoc::~SwDoc().
|
static |
Definition at line 929 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 943 of file docnew.cxx.
References o3tl::sorted_vector< Value, Compare, Find, class >::count(), SwPageDesc::GetFollow(), SwFormat::GetFooter(), SwFormat::GetHeader(), SwPageDesc::GetMaster(), o3tl::sorted_vector< Value, Compare, Find, class >::insert(), SwFormatHeader::IsActive(), and SwFormatFooter::IsActive().
Referenced by SwDoc::AppendDoc().