LibreOffice Module sd (master) 1
Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
sd::SdPhotoAlbumDialog Class Reference

#include <PhotoAlbumDialog.hxx>

Inheritance diagram for sd::SdPhotoAlbumDialog:
[legend]
Collaboration diagram for sd::SdPhotoAlbumDialog:
[legend]

Public Member Functions

 SdPhotoAlbumDialog (weld::Window *pWindow, SdDrawDocument *pActDoc)
 
virtual ~SdPhotoAlbumDialog () override
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Types

enum  SlideImageLayout {
  ONE_IMAGE =0 ,
  TWO_IMAGES ,
  FOUR_IMAGES
}
 

Private Member Functions

 DECL_LINK (CancelHdl, weld::Button &, void)
 
 DECL_LINK (CreateHdl, weld::Button &, void)
 
 DECL_LINK (FileHdl, weld::Button &, void)
 
 DECL_LINK (UpHdl, weld::Button &, void)
 
 DECL_LINK (DownHdl, weld::Button &, void)
 
 DECL_LINK (RemoveHdl, weld::Button &, void)
 
 DECL_LINK (SelectHdl, weld::TreeView &, void)
 
 DECL_LINK (TypeSelectHdl, weld::ComboBox &, void)
 
Reference< drawing::XDrawPage > appendNewSlide (AutoLayout aLayout, const Reference< drawing::XDrawPages > &xDrawPages)
 
void createCaption (const awt::Size &aPageSize)
 
void EnableDisableButtons ()
 

Static Private Member Functions

static awt::Size createASRSize (const awt::Size &aPicSize, const awt::Size &aMaxSize)
 
static awt::Size createASRSizeCrop (const awt::Size &aPicSize, const awt::Size &aMaxSize)
 
static Reference< graphic::XGraphic > createXGraphicFromUrl (const OUString &sUrl, const Reference< graphic::XGraphicProvider > &xProvider)
 

Private Attributes

SdDrawDocumentm_pDoc
 
GraphicFilterm_pGraphicFilter
 
GraphCtrl m_aImg
 
std::unique_ptr< weld::Buttonm_xCancelBtn
 
std::unique_ptr< weld::Buttonm_xCreateBtn
 
std::unique_ptr< weld::Buttonm_xAddBtn
 
std::unique_ptr< weld::Buttonm_xUpBtn
 
std::unique_ptr< weld::Buttonm_xDownBtn
 
std::unique_ptr< weld::Buttonm_xRemoveBtn
 
std::unique_ptr< weld::TreeViewm_xImagesLst
 
std::unique_ptr< weld::CustomWeldm_xImg
 
std::unique_ptr< weld::ComboBoxm_xInsTypeCombo
 
std::unique_ptr< weld::CheckButtonm_xASRCheck
 
std::unique_ptr< weld::CheckButtonm_xASRCheckCrop
 
std::unique_ptr< weld::CheckButtonm_xCapCheck
 
std::unique_ptr< weld::CheckButtonm_xInsertAsLinkCheck
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 33 of file PhotoAlbumDialog.hxx.

Member Enumeration Documentation

◆ SlideImageLayout

Enumerator
ONE_IMAGE 
TWO_IMAGES 
FOUR_IMAGES 

Definition at line 81 of file PhotoAlbumDialog.hxx.

Constructor & Destructor Documentation

◆ SdPhotoAlbumDialog()

sd::SdPhotoAlbumDialog::SdPhotoAlbumDialog ( weld::Window pWindow,
SdDrawDocument pActDoc 
)

◆ ~SdPhotoAlbumDialog()

sd::SdPhotoAlbumDialog::~SdPhotoAlbumDialog ( )
overridevirtual

Definition at line 75 of file PhotoAlbumDialog.cxx.

Member Function Documentation

◆ appendNewSlide()

Reference< drawing::XDrawPage > sd::SdPhotoAlbumDialog::appendNewSlide ( AutoLayout  aLayout,
const Reference< drawing::XDrawPages > &  xDrawPages 
)
private

◆ createASRSize()

awt::Size sd::SdPhotoAlbumDialog::createASRSize ( const awt::Size &  aPicSize,
const awt::Size &  aMaxSize 
)
staticprivate

Definition at line 646 of file PhotoAlbumDialog.cxx.

◆ createASRSizeCrop()

awt::Size sd::SdPhotoAlbumDialog::createASRSizeCrop ( const awt::Size &  aPicSize,
const awt::Size &  aMaxSize 
)
staticprivate

Definition at line 667 of file PhotoAlbumDialog.cxx.

◆ createCaption()

void sd::SdPhotoAlbumDialog::createCaption ( const awt::Size &  aPageSize)
private

◆ createXGraphicFromUrl()

Reference< graphic::XGraphic > sd::SdPhotoAlbumDialog::createXGraphicFromUrl ( const OUString &  sUrl,
const Reference< graphic::XGraphicProvider > &  xProvider 
)
staticprivate

◆ DECL_LINK() [1/8]

sd::SdPhotoAlbumDialog::DECL_LINK ( CancelHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/8]

sd::SdPhotoAlbumDialog::DECL_LINK ( CreateHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/8]

sd::SdPhotoAlbumDialog::DECL_LINK ( DownHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/8]

sd::SdPhotoAlbumDialog::DECL_LINK ( FileHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/8]

sd::SdPhotoAlbumDialog::DECL_LINK ( RemoveHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [6/8]

sd::SdPhotoAlbumDialog::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [7/8]

sd::SdPhotoAlbumDialog::DECL_LINK ( TypeSelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [8/8]

sd::SdPhotoAlbumDialog::DECL_LINK ( UpHdl  ,
weld::Button ,
void   
)
private

◆ EnableDisableButtons()

void sd::SdPhotoAlbumDialog::EnableDisableButtons ( )
private

Definition at line 764 of file PhotoAlbumDialog.cxx.

References m_xDownBtn, m_xImagesLst, m_xRemoveBtn, and m_xUpBtn.

Member Data Documentation

◆ m_aImg

GraphCtrl sd::SdPhotoAlbumDialog::m_aImg
private

Definition at line 43 of file PhotoAlbumDialog.hxx.

◆ m_pDoc

SdDrawDocument* sd::SdPhotoAlbumDialog::m_pDoc
private

Definition at line 40 of file PhotoAlbumDialog.hxx.

Referenced by appendNewSlide(), and createCaption().

◆ m_pGraphicFilter

GraphicFilter* sd::SdPhotoAlbumDialog::m_pGraphicFilter
private

Definition at line 41 of file PhotoAlbumDialog.hxx.

Referenced by SdPhotoAlbumDialog().

◆ m_xAddBtn

std::unique_ptr<weld::Button> sd::SdPhotoAlbumDialog::m_xAddBtn
private

Definition at line 47 of file PhotoAlbumDialog.hxx.

Referenced by SdPhotoAlbumDialog().

◆ m_xASRCheck

std::unique_ptr<weld::CheckButton> sd::SdPhotoAlbumDialog::m_xASRCheck
private

Definition at line 54 of file PhotoAlbumDialog.hxx.

◆ m_xASRCheckCrop

std::unique_ptr<weld::CheckButton> sd::SdPhotoAlbumDialog::m_xASRCheckCrop
private

Definition at line 55 of file PhotoAlbumDialog.hxx.

◆ m_xCancelBtn

std::unique_ptr<weld::Button> sd::SdPhotoAlbumDialog::m_xCancelBtn
private

Definition at line 45 of file PhotoAlbumDialog.hxx.

Referenced by SdPhotoAlbumDialog().

◆ m_xCapCheck

std::unique_ptr<weld::CheckButton> sd::SdPhotoAlbumDialog::m_xCapCheck
private

Definition at line 56 of file PhotoAlbumDialog.hxx.

◆ m_xCreateBtn

std::unique_ptr<weld::Button> sd::SdPhotoAlbumDialog::m_xCreateBtn
private

Definition at line 46 of file PhotoAlbumDialog.hxx.

Referenced by SdPhotoAlbumDialog().

◆ m_xDownBtn

std::unique_ptr<weld::Button> sd::SdPhotoAlbumDialog::m_xDownBtn
private

Definition at line 49 of file PhotoAlbumDialog.hxx.

Referenced by EnableDisableButtons(), and SdPhotoAlbumDialog().

◆ m_xImagesLst

std::unique_ptr<weld::TreeView> sd::SdPhotoAlbumDialog::m_xImagesLst
private

Definition at line 51 of file PhotoAlbumDialog.hxx.

Referenced by EnableDisableButtons(), and SdPhotoAlbumDialog().

◆ m_xImg

std::unique_ptr<weld::CustomWeld> sd::SdPhotoAlbumDialog::m_xImg
private

Definition at line 52 of file PhotoAlbumDialog.hxx.

◆ m_xInsertAsLinkCheck

std::unique_ptr<weld::CheckButton> sd::SdPhotoAlbumDialog::m_xInsertAsLinkCheck
private

Definition at line 57 of file PhotoAlbumDialog.hxx.

◆ m_xInsTypeCombo

std::unique_ptr<weld::ComboBox> sd::SdPhotoAlbumDialog::m_xInsTypeCombo
private

Definition at line 53 of file PhotoAlbumDialog.hxx.

Referenced by SdPhotoAlbumDialog().

◆ m_xRemoveBtn

std::unique_ptr<weld::Button> sd::SdPhotoAlbumDialog::m_xRemoveBtn
private

Definition at line 50 of file PhotoAlbumDialog.hxx.

Referenced by EnableDisableButtons(), and SdPhotoAlbumDialog().

◆ m_xUpBtn

std::unique_ptr<weld::Button> sd::SdPhotoAlbumDialog::m_xUpBtn
private

Definition at line 48 of file PhotoAlbumDialog.hxx.

Referenced by EnableDisableButtons(), and SdPhotoAlbumDialog().


The documentation for this class was generated from the following files: