29#include <com/sun/star/drawing/LineStyle.hpp>
36 : GenericDialogController(pParent,
"modules/sdraw/ui/crossfadedialog.ui",
"CrossFadeDialog")
37 , m_xMtfSteps(m_xBuilder->weld_spin_button(
"increments"))
38 , m_xCbxAttributes(m_xBuilder->weld_check_button(
"attributes"))
39 , m_xCbxOrientation(m_xBuilder->weld_check_button(
"orientation"))
55 if ( ( ( eLineStyle1 == drawing::LineStyle_NONE ) || ( eLineStyle2 == drawing::LineStyle_NONE ) ) &&
56 ( ( eFillStyle1 != drawing::FillStyle_SOLID ) || ( eFillStyle2 != drawing::FillStyle_SOLID ) ) )
71 bool bOrient, bAttrib;
75 SdIOCompat aCompat( *xIStm, StreamMode::READ );
77 xIStm->ReadUInt16( nSteps ).ReadCharAsBool( bOrient ).ReadCharAsBool( bAttrib );
82 bOrient = bAttrib =
true;
97 SdIOCompat aCompat( *xOStm, StreamMode::WRITE, 1 );
SfxItemPool & GetObjectItemPool() const
const SfxItemSet & GetMergedItemSet() const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
void SaveSettings() const
MorphDlg(weld::Window *pParent, const SdrObject *pObj1, const SdrObject *pObj2)
virtual ~MorphDlg() override
std::unique_ptr< weld::CheckButton > m_xCbxAttributes
std::unique_ptr< weld::CheckButton > m_xCbxOrientation
std::unique_ptr< weld::SpinButton > m_xMtfSteps
#define SD_OPTION_MORPHING
constexpr TypedWhichId< XLineStyleItem > XATTR_LINESTYLE(XATTR_LINE_FIRST)
constexpr TypedWhichId< XFillStyleItem > XATTR_FILLSTYLE(XATTR_FILL_FIRST)