LibreOffice Module sw (master) 1
|
#include <hintids.hxx>
#include <editeng/flditem.hxx>
#include <editeng/editeng.hxx>
#include <editeng/colritem.hxx>
#include <svx/svdpage.hxx>
#include <svx/svdogrp.hxx>
#include <editeng/measfld.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <fmtanchr.hxx>
#include <charatr.hxx>
#include <frmfmt.hxx>
#include <charfmt.hxx>
#include <viewimp.hxx>
#include <doc.hxx>
#include <docfunc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <IDocumentState.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <poolfmt.hxx>
#include <drawdoc.hxx>
#include <UndoDraw.hxx>
#include <swundo.hxx>
#include <dcontact.hxx>
#include <dview.hxx>
#include <mvsave.hxx>
#include <flyfrm.hxx>
#include <dflyobj.hxx>
#include <txtfrm.hxx>
#include <editeng/frmdiritem.hxx>
#include <fmtornt.hxx>
#include <svx/svditer.hxx>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | docfunc |
Functions | |
static void | lcl_AdjustPositioningAttr (SwDrawFrameFormat *_pFrameFormat, const SdrObject &_rSdrObj) |
local method to determine positioning and alignment attributes for a drawing object, which is newly connected to the layout. More... | |
static void | lcl_CollectTextBoxesForSubGroupObj (SwFrameFormat *pTargetFormat, std::shared_ptr< SwTextBoxNode > pTextBoxNode, SdrObject *pSourceObjs) |
IMPL_LINK (SwDoc, CalcFieldValueHdl, EditFieldInfo *, pInfo, void) | |
Recognise fields/URLs in the Outliner and set how they are displayed. More... | |
bool | docfunc::ExistsDrawObjs (SwDoc &p_rDoc) |
method to check, if given Writer document contains at least one drawing object More... | |
bool | docfunc::AllDrawObjsOnPage (SwDoc &p_rDoc) |
method to check, if given Writer document contains only drawing objects, which are completely on its page. More... | |
IMPL_LINK | ( | SwDoc | , |
CalcFieldValueHdl | , | ||
EditFieldInfo * | , | ||
pInfo | , | ||
void | |||
) |
Recognise fields/URLs in the Outliner and set how they are displayed.
!! Can be set in App???
Definition at line 546 of file docdraw.cxx.
References COL_LIGHTBLUE(), SwFormat::GetColor(), SvxFieldItem::GetField(), SvxColorItem::GetValue(), LANGUAGE_SYSTEM, RES_POOLCHR_INET_NORMAL, and RES_POOLCHR_INET_VISIT.
|
static |
local method to determine positioning and alignment attributes for a drawing object, which is newly connected to the layout.
Used for a newly formed group object <SwDoc::GroupSelection(..)> and the members of a destroyed group <SwDoc::UnGroupSelection(..)>
Definition at line 65 of file docdraw.cxx.
References SwContact::GetAnchoredObj(), SwAnchoredObject::GetAnchorFrame(), SdrObject::GetAnchorPos(), SwFormat::GetAttrSet(), SfxItemPool::GetDefaultItem(), SwFrame::GetFrameAnchorPos(), SwAttrSet::GetPool(), SdrObject::GetSnapRect(), GetUserCall(), Point::getX(), Point::getY(), HasWrap(), SwFrame::IsRightToLeft(), SwFrame::IsTextFrame(), SwFrame::IsVertical(), tools::Rectangle::Left(), SwPostItHelper::NONE, SwDrawFrameFormat::PosAttrSet(), RES_FRAMEDIR(), tools::Rectangle::Right(), SAL_WARN, SwFormat::SetFormatAttr(), and tools::Rectangle::Top().
Referenced by SwDoc::GroupSelection(), and SwDoc::UnGroupSelection().
|
static |
Definition at line 306 of file docdraw.cxx.
References SdrObject::getChildrenOfSdrObject(), SwFrameFormat::GetOtherTextBoxFormats(), i, lcl_CollectTextBoxesForSubGroupObj(), and SwFrameFormat::SetOtherTextBoxFormats().
Referenced by lcl_CollectTextBoxesForSubGroupObj(), and SwDoc::UnGroupSelection().