LibreOffice Module sdext (master)  1
Macros | Functions
informationdialog.cxx File Reference
#include "informationdialog.hxx"
#include <com/sun/star/awt/PushButtonType.hpp>
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
#include <com/sun/star/util/URL.hpp>
#include <com/sun/star/util/URLTransformer.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
#include <rtl/ustrbuf.hxx>
#include <sal/macros.h>
Include dependency graph for informationdialog.cxx:

Go to the source code of this file.

Macros

#define DIALOG_WIDTH   240
 
#define DIALOG_HEIGHT   80
 
#define PAGE_POS_X   35
 
#define PAGE_WIDTH   ( DIALOG_WIDTH - PAGE_POS_X ) - 6
 

Functions

OUString InsertFixedText (UnoDialog &rInformationDialog, const OUString &rControlName, const OUString &rLabel, sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, bool bMultiLine, sal_Int16 nTabIndex)
 
OUString InsertImage (UnoDialog &rInformationDialog, const OUString &rControlName, const OUString &rURL, sal_Int32 nPosX, sal_Int32 nPosY, sal_Int32 nWidth, sal_Int32 nHeight, bool bScale)
 
OUString InsertCheckBox (UnoDialog &rInformationDialog, const OUString &rControlName, const Reference< XItemListener > &rItemListener, const OUString &rLabel, sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int16 nTabIndex)
 
OUString InsertButton (UnoDialog &rInformationDialog, const OUString &rControlName, Reference< XActionListener > const &xActionListener, sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int16 nTabIndex, const OUString &rText)
 
static OUString ImpValueOfInMB (sal_Int64 rVal)
 

Macro Definition Documentation

#define DIALOG_HEIGHT   80
#define DIALOG_WIDTH   240

Definition at line 30 of file informationdialog.cxx.

Referenced by InformationDialog::InitDialog().

#define PAGE_POS_X   35
#define PAGE_WIDTH   ( DIALOG_WIDTH - PAGE_POS_X ) - 6

Function Documentation

static OUString ImpValueOfInMB ( sal_Int64  rVal)
static

Definition at line 188 of file informationdialog.cxx.

Referenced by InformationDialog::InitDialog().

OUString InsertButton ( UnoDialog rInformationDialog,
const OUString &  rControlName,
Reference< XActionListener > const &  xActionListener,
sal_Int32  nXPos,
sal_Int32  nYPos,
sal_Int32  nWidth,
sal_Int16  nTabIndex,
const OUString &  rText 
)
OUString InsertCheckBox ( UnoDialog rInformationDialog,
const OUString &  rControlName,
const Reference< XItemListener > &  rItemListener,
const OUString &  rLabel,
sal_Int32  nXPos,
sal_Int32  nYPos,
sal_Int32  nWidth,
sal_Int16  nTabIndex 
)
OUString InsertFixedText ( UnoDialog rInformationDialog,
const OUString &  rControlName,
const OUString &  rLabel,
sal_Int32  nXPos,
sal_Int32  nYPos,
sal_Int32  nWidth,
sal_Int32  nHeight,
bool  bMultiLine,
sal_Int16  nTabIndex 
)
OUString InsertImage ( UnoDialog rInformationDialog,
const OUString &  rControlName,
const OUString &  rURL,
sal_Int32  nPosX,
sal_Int32  nPosY,
sal_Int32  nWidth,
sal_Int32  nHeight,
bool  bScale 
)

Definition at line 79 of file informationdialog.cxx.

References Any, UnoDialog::insertImage(), nCount, pValues, and SAL_N_ELEMENTS.

Referenced by InformationDialog::InitDialog().