LibreOffice Module svx (master)
1
|
#include <editeng/outliner.hxx>
#include <svx/svxdllapi.h>
#include <tools/link.hxx>
#include <tools/fract.hxx>
#include <svx/svdobj.hxx>
#include <svl/whichranges.hxx>
#include <memory>
Go to the source code of this file.
Classes | |
class | SvdProgressInfo |
Helper class for the communication between the dialog In order to break open Metafiles (sd/source/ui/dlg/brkdlg.cxx), SdrEditView::DoImportMarkedMtf() and ImpSdrGDIMetaFileImport::DoImport() More... | |
class | OLEObjCache |
class | SdrGlobalData |
Namespaces | |
com::sun::star::lang | |
SdrEngineDefaults | |
Global default settings for the DrawingEngine. | |
Functions | |
SVXCORE_DLLPUBLIC std::unique_ptr< SdrOutliner > | SdrMakeOutliner (OutlinerMode nOutlinerMode, SdrModel &rMod) |
Create an Outliner with the engine-global default settings on the heap. More... | |
Color | SdrEngineDefaults::GetFontColor () |
size_t | SdrEngineDefaults::GetFontHeight () |
MapUnit | SdrEngineDefaults::GetMapUnit () |
Fraction | SdrEngineDefaults::GetMapFraction () |
SVXCORE_DLLPUBLIC bool | GetDraftFillColor (const SfxItemSet &rSet, Color &rCol) |
Returns a replacement for an XFillStyle. More... | |
bool | SearchOutlinerItems (const SfxItemSet &rSet, bool bInklDefaults, bool *pbOnlyEE=nullptr) |
Search an ItemSet for Outliner/EditEngine Items. More... | |
WhichRangesContainer | RemoveWhichRange (const WhichRangesContainer &pOldWhichTable, sal_uInt16 nRangeBeg, sal_uInt16 nRangeEnd) |
std::vector< Link< SdrObjCreatorParams, SdrObject * > > & | ImpGetUserMakeObjHdl () |
SVXCORE_DLLPUBLIC SdrGlobalData & | GetSdrGlobalData () |
SVXCORE_DLLPUBLIC Color | GetTextEditBackgroundColor (const SdrObjEditView &rView) |
SVXCORE_DLLPUBLIC bool GetDraftFillColor | ( | const SfxItemSet & | rSet, |
Color & | rCol | ||
) |
Returns a replacement for an XFillStyle.
Definition at line 248 of file svdetc.cxx.
References basegfx::average(), COL_WHITE, SfxItemSet::Get(), BitmapReadAccess::GetColor(), XGradient::GetEndColor(), XGradient::GetStartColor(), nCount, Size::Width(), XATTR_FILLBACKGROUND(), XATTR_FILLBITMAP(), XATTR_FILLCOLOR(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), and XATTR_FILLSTYLE().
Referenced by SdrPage::GetPageBackgroundColor(), GetTextEditBackgroundColor(), and SdrObject::setSuitableOutlinerBg().
SVXCORE_DLLPUBLIC SdrGlobalData& GetSdrGlobalData | ( | ) |
Definition at line 89 of file svdetc.cxx.
Referenced by SdrOle2Obj::Connect_Impl(), SdrOle2Obj::Disconnect_Impl(), SdrOle2Obj::GetObjRef_Impl(), and ImpGetUserMakeObjHdl().
SVXCORE_DLLPUBLIC Color GetTextEditBackgroundColor | ( | const SdrObjEditView & | rView | ) |
Definition at line 681 of file svdetc.cxx.
References svtools::DOCCOLOR, sdr::table::SdrTableObj::GetActiveCellItemSet(), svtools::ColorConfig::GetColorValue(), GetDraftFillColor(), SdrObject::GetMergedItemSet(), SdrPageView::GetPage(), Application::GetSettings(), SdrAttrObj::GetSnapRect(), AllSettings::GetStyleSettings(), SdrObjEditView::GetTextEditObject(), SdrTextObj::GetTextEditOffset(), SdrObjEditView::GetTextEditPageView(), SdrObject::IsClosedObj(), tools::Rectangle::Move(), svtools::ColorConfigValue::nColor, and Point.
Referenced by SdrObjEditView::ImpMakeOutlinerView(), and SdrObjEditView::ModelHasChanged().
std::vector<Link<SdrObjCreatorParams, SdrObject*> >& ImpGetUserMakeObjHdl | ( | ) |
Definition at line 354 of file svdetc.cxx.
References SdrGlobalData::aUserMakeObjHdl, and GetSdrGlobalData().
Referenced by SdrObjFactory::CreateObjectFromFactory(), SdrObjFactory::InsertMakeObjectHdl(), and SdrObjFactory::RemoveMakeObjectHdl().
WhichRangesContainer RemoveWhichRange | ( | const WhichRangesContainer & | pOldWhichTable, |
sal_uInt16 | nRangeBeg, | ||
sal_uInt16 | nRangeEnd | ||
) |
Definition at line 383 of file svdetc.cxx.
Referenced by SdrObjEditView::SetAttributes().
SVXCORE_DLLPUBLIC std::unique_ptr<SdrOutliner> SdrMakeOutliner | ( | OutlinerMode | nOutlinerMode, |
SdrModel & | rMod | ||
) |
Create an Outliner with the engine-global default settings on the heap.
If pMod != nullptr, the MapMode of the passed model is used. The resulting default font height, however, stays the same (the logical font height is converted).
Definition at line 340 of file svdetc.cxx.
References SdrModel::GetCharCompressType(), SdrModel::GetDefaultTabulator(), SdrModel::GetForbiddenCharsTable(), SdrModel::GetItemPool(), SdrModel::GetStyleSheetPool(), SdrModel::IsAddExtLeading(), SdrModel::IsKernAsianPunctuation(), and Outliner::SetForbiddenCharsTable().
Referenced by SdrOutlinerCache::createOutliner(), sdr::table::SvxTableController::EditCell(), SdrText::ForceOutlinerParaObject(), sdr::properties::TextProperties::ForceStyleToHardAttributes(), and SdrObjEditView::SdrBeginTextEdit().
bool SearchOutlinerItems | ( | const SfxItemSet & | rSet, |
bool | bInklDefaults, | ||
bool * | pbOnlyEE = nullptr |
||
) |
Search an ItemSet for Outliner/EditEngine Items.
Definition at line 360 of file svdetc.cxx.
References EE_ITEMS_END(), SfxWhichIter::FirstWhich(), SfxWhichIter::GetItemState(), and SfxWhichIter::NextWhich().
Referenced by SdrObjEditView::SetAttributes(), and SdrEditView::SetAttrToMarked().