LibreOffice Module sw (master) 1
Classes | Functions
unsect.cxx File Reference
#include <memory>
#include <UndoSection.hxx>
#include <editeng/protitem.hxx>
#include <osl/diagnose.h>
#include <comphelper/scopeguard.hxx>
#include <sfx2/linkmgr.hxx>
#include <fmtcntnt.hxx>
#include <doc.hxx>
#include <IDocumentLinksAdministration.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <poolfmt.hxx>
#include <docary.hxx>
#include <swundo.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
#include <UndoCore.hxx>
#include <section.hxx>
#include <rolbck.hxx>
#include <redline.hxx>
#include <doctxm.hxx>
#include <ftnidx.hxx>
#include <rootfrm.hxx>
#include <editsh.hxx>
#include <calc.hxx>
Include dependency graph for unsect.cxx:

Go to the source code of this file.

Classes

class  SwUndoDelSection
 

Functions

static std::optional< SfxItemSetlcl_GetAttrSet (const SwSection &rSect)
 OD 04.10.2002 #102894# class Calc needed for calculation of the hidden condition of a section. More...
 
std::unique_ptr< SwUndoMakeUndoDelSection (SwSectionFormat const &rFormat)
 
std::unique_ptr< SwUndoMakeUndoUpdateSection (SwSectionFormat const &rFormat, bool const bOnlyAttr)
 

Function Documentation

◆ lcl_GetAttrSet()

static std::optional< SfxItemSet > lcl_GetAttrSet ( const SwSection rSect)
static

OD 04.10.2002 #102894# class Calc needed for calculation of the hidden condition of a section.

Definition at line 51 of file unsect.cxx.

References SfxItemSet::Count(), SwFormat::GetAttrSet(), SwSection::GetFormat(), SwSection::IsProtect(), RES_CNTNT(), and RES_PROTECT().

◆ MakeUndoDelSection()

std::unique_ptr< SwUndo > MakeUndoDelSection ( SwSectionFormat const &  rFormat)

◆ MakeUndoUpdateSection()

std::unique_ptr< SwUndo > MakeUndoUpdateSection ( SwSectionFormat const &  rFormat,
bool const  bOnlyAttr 
)