LibreOffice Module svx (master) 1
|
#include <sal/config.h>
#include <algorithm>
#include <osl/diagnose.h>
#include <svl/itemset.hxx>
#include <svx/unobrushitemhelper.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xbtmpit.hxx>
#include <svx/xflbmtit.hxx>
#include <svx/xflbmpit.hxx>
#include <svx/xflftrit.hxx>
#include <svx/xflbstit.hxx>
#include <svx/xflbckit.hxx>
#include <svx/xflhtit.hxx>
#include <svx/xflclit.hxx>
#include <svx/xfltrit.hxx>
Go to the source code of this file.
Functions | |
void | setSvxBrushItemAsFillAttributesToTargetSet (const SvxBrushItem &rBrush, SfxItemSet &rToSet) |
static sal_uInt16 | getTransparenceForSvxBrushItem (const SfxItemSet &rSourceSet, bool bSearchInParents) |
static std::unique_ptr< SvxBrushItem > | getSvxBrushItemForSolid (const SfxItemSet &rSourceSet, bool bSearchInParents, sal_uInt16 nBackgroundID) |
std::unique_ptr< SvxBrushItem > | getSvxBrushItemFromSourceSet (const SfxItemSet &rSourceSet, sal_uInt16 nBackgroundID, bool bSearchInParents, bool bXMLImportHack) |
|
static |
Definition at line 173 of file unobrushitemhelper.cxx.
References SfxItemSet::Get(), getTransparenceForSvxBrushItem(), Color::SetAlpha(), and XATTR_FILLCOLOR().
Referenced by getSvxBrushItemFromSourceSet().
std::unique_ptr< SvxBrushItem > getSvxBrushItemFromSourceSet | ( | const SfxItemSet & | rSourceSet, |
sal_uInt16 | nBackgroundID, | ||
bool | bSearchInParents, | ||
bool | bXMLImportHack | ||
) |
Definition at line 195 of file unobrushitemhelper.cxx.
References COL_AUTO(), SfxItemSet::Get(), XHatch::GetColor(), basegfx::BGradient::GetColorStops(), basegfx::BGradient::GetEndIntens(), GraphicObject::GetGraphic(), XFillBitmapItem::GetGraphicObject(), SfxItemSet::GetItem(), basegfx::BGradient::GetStartIntens(), getSvxBrushItemForSolid(), getTransparenceForSvxBrushItem(), SfxBoolItem::GetValue(), SfxEnumItem< typename EnumT >::GetValue(), GPOS_AREA, GPOS_LB, GPOS_LM, GPOS_LT, GPOS_MB, GPOS_MM, GPOS_MT, GPOS_NONE, GPOS_RB, GPOS_RM, GPOS_RT, GPOS_TILED, LB, LM, LT, MB, MM, MT, RB, RM, RT, Color::SetAlpha(), XATTR_FILLBACKGROUND(), XATTR_FILLBITMAP(), XATTR_FILLBMP_POS(), XATTR_FILLBMP_STRETCH(), XATTR_FILLBMP_TILE(), XATTR_FILLCOLOR(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), and XATTR_FILLSTYLE().
|
static |
Definition at line 154 of file unobrushitemhelper.cxx.
References SfxItemSet::Get(), basegfx::BGradient::GetColorStops(), XFillGradientItem::GetGradientValue(), SfxItemSet::GetItemIfSet(), Color::GetLuminance(), XFillFloatTransparenceItem::IsEnabled(), XATTR_FILLFLOATTRANSPARENCE(), and XATTR_FILLTRANSPARENCE().
Referenced by getSvxBrushItemForSolid(), and getSvxBrushItemFromSourceSet().
void setSvxBrushItemAsFillAttributesToTargetSet | ( | const SvxBrushItem & | rBrush, |
SfxItemSet & | rToSet | ||
) |
Definition at line 40 of file unobrushitemhelper.cxx.
References a, SfxItemSet::ClearItem(), SfxItemSet::Count(), Color::GetAlpha(), SvxBrushItem::GetColor(), SvxBrushItem::getComplexColor(), SvxBrushItem::GetGraphic(), SvxBrushItem::GetGraphicPos(), SvxBrushItem::getGraphicTransparency(), Color::GetRGBColor(), GPOS_AREA, GPOS_LB, GPOS_LM, GPOS_LT, GPOS_MB, GPOS_MM, GPOS_MT, GPOS_NONE, GPOS_RB, GPOS_RM, GPOS_RT, GPOS_TILED, LB, LM, LT, MB, MM, MT, SfxItemSet::Put(), RB, RM, RT, XColorItem::setComplexColor(), XATTR_FILL_FIRST(), and XATTR_FILL_LAST().
Referenced by SvxHFPage::ResetBackground_Impl().