diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2013-03-16 16:35:34 -0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-04-02 12:33:23 +0000 |
commit | df311b82a3df1576732dcf74a45c47316d31f7ee (patch) | |
tree | cb983df43c0cfb7500ac77de44a90b6c75012a9c /cui/source/inc | |
parent | 299586c998a571029cceb35d7b1528f940f530ad (diff) |
Widget UI for Calc cell alignment page
Format - cell, alignment tab
Change-Id: I78e4252064671720d41ad3af086b41d2efe06ac1
Reviewed-on: https://gerrit.libreoffice.org/2773
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/inc')
-rw-r--r-- | cui/source/inc/align.hxx | 69 |
1 files changed, 44 insertions, 25 deletions
diff --git a/cui/source/inc/align.hxx b/cui/source/inc/align.hxx index c47afaedb14b..7e85836e1c3d 100644 --- a/cui/source/inc/align.hxx +++ b/cui/source/inc/align.hxx @@ -19,6 +19,23 @@ #ifndef _SVX_ALIGN_HXX #define _SVX_ALIGN_HXX +// list box indexes +#define ALIGNDLG_HORALIGN_STD 0 +#define ALIGNDLG_HORALIGN_LEFT 1 +#define ALIGNDLG_HORALIGN_CENTER 2 +#define ALIGNDLG_HORALIGN_RIGHT 3 +#define ALIGNDLG_HORALIGN_BLOCK 4 +#define ALIGNDLG_HORALIGN_FILL 5 +#define ALIGNDLG_HORALIGN_DISTRIBUTED 6 + +#define ALIGNDLG_VERALIGN_STD 0 +#define ALIGNDLG_VERALIGN_TOP 1 +#define ALIGNDLG_VERALIGN_MID 2 +#define ALIGNDLG_VERALIGN_BOTTOM 3 +#define ALIGNDLG_VERALIGN_BLOCK 4 +#define ALIGNDLG_VERALIGN_DISTRIBUTED 5 + + #include <svx/orienthelper.hxx> #include <vcl/field.hxx> #include <vcl/button.hxx> @@ -42,7 +59,7 @@ public: virtual ~AlignmentTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); - static sal_uInt16* GetRanges(); + static sal_uInt16* GetRanges(); virtual sal_Bool FillItemSet( SfxItemSet& rSet ); virtual void Reset( const SfxItemSet& rSet ); @@ -60,30 +77,32 @@ private: DECL_LINK( UpdateEnableHdl, void* ); private: - FixedLine maFlAlignment; - FixedText maFtHorAlign; - ListBox maLbHorAlign; - FixedText maFtIndent; - MetricField maEdIndent; - FixedText maFtVerAlign; - ListBox maLbVerAlign; - - FixedLine maFlOrient; - DialControl maCtrlDial; - FixedText maFtRotate; - WrapField maNfRotate; - FixedText maFtRefEdge; - ValueSet maVsRefEdge; - TriStateBox maCbStacked; - TriStateBox maCbAsianMode; - OrientationHelper maOrientHlp; - - FixedLine maFlProperties; - TriStateBox maBtnWrap; - TriStateBox maBtnHyphen; - TriStateBox maBtnShrink; - FixedText maFtFrameDir; - FrameDirListBox maLbFrameDir; + ListBox* m_pLbHorAlign; + FixedText* m_pFtIndent; + MetricField* m_pEdIndent; + ListBox* m_pLbVerAlign; + + DialControl* m_pCtrlDial; + FixedText* m_pFtRotate; + WrapField* m_pNfRotate; + FixedText* m_pFtRefEdge; + ValueSet* m_pVsRefEdge; + TriStateBox* m_pCbStacked; + TriStateBox* m_pCbAsianMode; + OrientationHelper* m_pOrientHlp; + + VclHBox* m_pBoxDirection; + TriStateBox* m_pBtnWrap; + TriStateBox* m_pBtnHyphen; + TriStateBox* m_pBtnShrink; + FrameDirListBox* m_pLbFrameDir; + + // hidden labels/string + FixedText* m_pFtBotLock; + FixedText* m_pFtTopLock; + FixedText* m_pFtCelLock; + FixedText* m_pFtABCD; + }; // ============================================================================ |