LibreOffice Module svx (master) 1
|
#include <sal/config.h>
#include <algorithm>
#include <officecfg/Office/Common.hxx>
#include <svtools/colorcfg.hxx>
#include <svx/svdetc.hxx>
#include <svx/svdedxv.hxx>
#include <svx/svdmodel.hxx>
#include <svx/svdoutl.hxx>
#include <vcl/BitmapReadAccess.hxx>
#include <editeng/eeitem.hxx>
#include <svl/itemset.hxx>
#include <svl/whiter.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xflclit.hxx>
#include <svx/xflhtit.hxx>
#include <svx/xbtmpit.hxx>
#include <svx/xflgrit.hxx>
#include <svx/svdoole2.hxx>
#include <svl/itempool.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/localedatawrapper.hxx>
#include <unotools/syslocale.hxx>
#include <svx/xflbckit.hxx>
#include <svx/extrusionbar.hxx>
#include <svx/fontworkbar.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <svx/sdr/contact/viewcontact.hxx>
#include <svx/svdpage.hxx>
#include <svx/svdpagv.hxx>
#include <svx/svdotable.hxx>
#include <svx/sdrhittesthelper.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
Go to the source code of this file.
Functions | |
SdrGlobalData & | GetSdrGlobalData () |
IMPL_LINK_NOARG (OLEObjCache, UnloadCheckHdl, Timer *, void) | |
bool | GetDraftFillColor (const SfxItemSet &rSet, Color &rCol) |
Returns a replacement for an XFillStyle. More... | |
std::unique_ptr< SdrOutliner > | SdrMakeOutliner (OutlinerMode nOutlinerMode, SdrModel &rModel) |
Create an Outliner with the engine-global default settings on the heap. More... | |
std::vector< Link< SdrObjCreatorParams, rtl::Reference< SdrObject > > > & | ImpGetUserMakeObjHdl () |
bool | SearchOutlinerItems (const SfxItemSet &rSet, bool bInklDefaults, bool *pbOnlyEE) |
Search an ItemSet for Outliner/EditEngine Items. More... | |
WhichRangesContainer | RemoveWhichRange (const WhichRangesContainer &pOldWhichTable, sal_uInt16 nRangeBeg, sal_uInt16 nRangeEnd) |
Color | GetTextEditBackgroundColor (const SdrObjEditView &rView) |
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().
SdrGlobalData & GetSdrGlobalData | ( | ) |
Definition at line 81 of file svdetc.cxx.
Referenced by SdrOle2Obj::Connect_Impl(), SdrOle2Obj::Disconnect_Impl(), SdrOle2Obj::GetObjRef_Impl(), and ImpGetUserMakeObjHdl().
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().
IMPL_LINK_NOARG | ( | OLEObjCache | , |
UnloadCheckHdl | , | ||
Timer * | , | ||
void | |||
) |
Definition at line 110 of file svdetc.cxx.
References SdrOle2Obj::CanUnloadRunningObj(), SdrOle2Obj::GetAspect(), SdrOle2Obj::GetObjRef_NoInit(), and nIndex.
WhichRangesContainer RemoveWhichRange | ( | const WhichRangesContainer & | pOldWhichTable, |
sal_uInt16 | nRangeBeg, | ||
sal_uInt16 | nRangeEnd | ||
) |
Definition at line 375 of file svdetc.cxx.
Referenced by SdrObjEditView::SetAttributes().
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().