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 <unotools/syslocale.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 | |
namespace | com |
namespace | com::sun |
namespace | com::sun::star |
namespace | com::sun::star::lang |
namespace | 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 () |
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, rtl::Reference< 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 240 of file svdetc.cxx.
References basegfx::average(), COL_WHITE(), SfxItemSet::Get(), Color::getBColor(), basegfx::BGradient::GetColorStops(), Bitmap::GetSizePixel(), Size::Height(), nCount, rSet, 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 81 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 673 of file svdetc.cxx.
References svtools::DOCCOLOR, sdr::table::SdrTableObj::GetActiveCellItemSet(), svtools::ColorConfig::GetColorValue(), GetDraftFillColor(), StyleSettings::GetHighContrastMode(), SdrObject::GetMergedItemSet(), SdrPageView::GetPage(), Application::GetSettings(), SdrAttrObj::GetSnapRect(), AllSettings::GetStyleSettings(), SdrObjEditView::GetTextEditObject(), SdrTextObj::GetTextEditOffset(), SdrObjEditView::GetTextEditPageView(), SdrObject::IsClosedObj(), tools::Rectangle::Move(), svtools::ColorConfigValue::nColor, Point::X(), and Point::Y().
Referenced by SdrObjEditView::ImpMakeOutlinerView(), and SdrObjEditView::ModelHasChanged().
std::vector< Link< SdrObjCreatorParams, rtl::Reference< SdrObject > > > & ImpGetUserMakeObjHdl | ( | ) |
Definition at line 346 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 375 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 332 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 352 of file svdetc.cxx.
References EE_ITEMS_END(), SfxWhichIter::FirstWhich(), SfxWhichIter::GetItemState(), SfxWhichIter::NextWhich(), and rSet.
Referenced by SdrObjEditView::SetAttributes(), and SdrEditView::SetAttrToMarked().