LibreOffice Module sw (master) 1
|
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... | |
bool docfunc::AllDrawObjsOnPage | ( | SwDoc & | p_rDoc | ) |
method to check, if given Writer document contains only drawing objects, which are completely on its page.
p_rDoc | input parameter - reference to the Writer document, which is investigated. |
Definition at line 637 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
p_rDoc | input parameter - reference to the Writer document, which is investigated. |
Definition at line 612 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.
rDoc | input parameter - reference to the text document, which is investigated. |
Definition at line 2044 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_().