LibreOffice Module sw (master)  1
Functions
docfunc Namespace Reference

Functions

bool ExistsDrawObjs (SwDoc &p_rDoc)
 method to check, if given Writer document contains at least one drawing object More...
 
bool AllDrawObjsOnPage (SwDoc &p_rDoc)
 method to check, if given Writer document contains only drawing objects, which are completely on its page. More...
 
bool HasOutlineStyleToBeWrittenAsNormalListStyle (SwDoc &rDoc)
 method to check, if the outline style has to written as a normal list style More...
 

Function Documentation

bool docfunc::AllDrawObjsOnPage ( SwDoc p_rDoc)

method to check, if given Writer document contains only drawing objects, which are completely on its page.

Parameters
p_rDocinput parameter - reference to the Writer document, which is investigated.

Definition at line 588 of file docdraw.cxx.

References SwDrawContact::GetAnchoredObj(), IDocumentDrawModelAccess::GetDrawModel(), SwDoc::getIDocumentDrawModelAccess(), SdrModel::GetPage(), GetUserCall(), SdrObjListIter::IsMore(), SwAnchoredDrawObject::IsOutsidePage(), SdrObjListIter::Next(), and SwAnchoredDrawObject::NotYetPositioned().

Referenced by SwDocShell::ConvertTo(), SwDocShell::Save(), and SwDocShell::SaveAs().

bool docfunc::ExistsDrawObjs ( SwDoc p_rDoc)

method to check, if given Writer document contains at least one drawing object

Parameters
p_rDocinput parameter - reference to the Writer document, which is investigated.

Definition at line 563 of file docdraw.cxx.

References IDocumentDrawModelAccess::GetDrawModel(), SwDoc::getIDocumentDrawModelAccess(), SdrModel::GetPage(), SdrObjListIter::IsMore(), and SdrObjListIter::Next().

Referenced by XMLReader::Read().

bool docfunc::HasOutlineStyleToBeWrittenAsNormalListStyle ( SwDoc rDoc)

method to check, if the outline style has to written as a normal list style

#i69627# The outline style has to written as a normal list style, if a parent paragraph style of one of the paragraph styles, which are assigned to the list levels of the outline style, has a list style set or inherits a list style from its parent paragraphs style. This information is needed for the OpenDocument file format export.

Parameters
rDocinput parameter - reference to the text document, which is investigated.
Returns
boolean indicating, if the outline style has to written as a normal list style

Definition at line 2024 of file docfmt.cxx.

References SwFormat::GetItemState(), SwNumRule::GetName(), SwFormat::GetNumRule(), SwDoc::GetOutlineNumRule(), SwDoc::GetTextFormatColls(), CntUnencodedStringItem::GetValue(), and RES_PARATR_NUMRULE.

Referenced by SwXMLWriter::Write_().