Kaydet (Commit) 37aa92df authored tarafından Caolán McNamara's avatar Caolán McNamara

convert label medium tabpage to .ui

Change-Id: I38c3e28070b9d5b689bd6ba4bde01a7a8dedba18
üst 60991536
...@@ -68,6 +68,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/swriter,\ ...@@ -68,6 +68,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/swriter,\
sw/uiconfig/swriter/ui/bulletsandnumbering \ sw/uiconfig/swriter/ui/bulletsandnumbering \
sw/uiconfig/swriter/ui/cannotsavelabeldialog \ sw/uiconfig/swriter/ui/cannotsavelabeldialog \
sw/uiconfig/swriter/ui/captionoptions \ sw/uiconfig/swriter/ui/captionoptions \
sw/uiconfig/swriter/ui/cardmediumpage \
sw/uiconfig/swriter/ui/characterproperties \ sw/uiconfig/swriter/ui/characterproperties \
sw/uiconfig/swriter/ui/charurlpage \ sw/uiconfig/swriter/ui/charurlpage \
sw/uiconfig/swriter/ui/columndialog \ sw/uiconfig/swriter/ui/columndialog \
......
...@@ -144,7 +144,6 @@ ...@@ -144,7 +144,6 @@
#define HID_FRM_STD "SW_HID_FRM_STD" #define HID_FRM_STD "SW_HID_FRM_STD"
#define HID_GRF_EXT "SW_HID_GRF_EXT" #define HID_GRF_EXT "SW_HID_GRF_EXT"
#define HID_LAB_LAB "SW_HID_LAB_LAB"
#define HID_ENV_PRT "SW_HID_ENV_PRT" #define HID_ENV_PRT "SW_HID_ENV_PRT"
#define HID_LAB_FMT "SW_HID_LAB_FMT" #define HID_LAB_FMT "SW_HID_LAB_FMT"
#define HID_ENV_ENV "SW_HID_ENV_ENV" #define HID_ENV_ENV "SW_HID_ENV_ENV"
......
...@@ -24,25 +24,6 @@ ...@@ -24,25 +24,6 @@
// local resources ********************************************************* // local resources *********************************************************
#define TXT_WRITING 1
#define BOX_ADDR 2
#define EDT_WRITING 3
#define FT_DATABASE 4
#define LB_DATABASE 5
#define FT_TABLE 6
#define LB_TABLE 7
#define FL_WRITING 8
#define BTN_CONT 9
#define BTN_SHEET 10
#define TXT_MAKE 11
#define BOX_MAKE 12
#define TXT_TYPE 13
#define BOX_TYPE 14
#define INF_FORMAT 15
#define FL_FORMAT 16
#define FT_DBFIELD 17
#define LB_DBFIELD 18
#define BTN_INSERT 19
#define BTN_SYNC 20 #define BTN_SYNC 20
#define LB_AUTO_TEXT 3 #define LB_AUTO_TEXT 3
......
...@@ -84,162 +84,7 @@ TabDialog DLG_LAB ...@@ -84,162 +84,7 @@ TabDialog DLG_LAB
Text [ en-US ] = "Medium"; Text [ en-US ] = "Medium";
}; };
}; };
// TP_LAB_LAB ---------------------------------------------------------------
TabPage TP_LAB_LAB
{
HelpID = HID_LAB_LAB ;
Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE ;
FixedText TXT_WRITING
{
Pos = MAP_APPFONT ( 12 , 15 ) ;
Size = MAP_APPFONT ( 50 , 8 ) ;
Group = TRUE ;
Left = TRUE ;
Text [ en-US ] = "Label text" ;
};
CheckBox BOX_ADDR
{
HelpID = "sw:CheckBox:TP_LAB_LAB:BOX_ADDR";
Pos = MAP_APPFONT ( 67 , 14 ) ;
Size = MAP_APPFONT ( 50 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Address" ;
};
MultiLineEdit EDT_WRITING
{
HelpID = "sw:MultiLineEdit:TP_LAB_LAB:EDT_WRITING";
Border = TRUE ;
Pos = MAP_APPFONT ( 12 , 27 ) ;
Size = MAP_APPFONT ( 105 , 89 ) ;
TabStop = TRUE ;
Left = TRUE ;
HScroll = TRUE ;
VScroll = TRUE ;
IgnoreTab = TRUE;
};
FixedText FT_DATABASE
{
Pos = MAP_APPFONT ( 149 , 16 ) ;
Size = MAP_APPFONT ( 99 , 8 ) ;
Text [ en-US ] = "Database" ;
};
ListBox LB_DATABASE
{
HelpID = "sw:ListBox:TP_LAB_LAB:LB_DATABASE";
Border = TRUE ;
Pos = MAP_APPFONT ( 149 , 27 ) ;
Size = MAP_APPFONT ( 99 , 70 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
};
FixedText FT_TABLE
{
Pos = MAP_APPFONT ( 149 , 45 ) ;
Size = MAP_APPFONT ( 99 , 8 ) ;
Text [ en-US ] = "Table" ;
};
ListBox LB_TABLE
{
HelpID = "sw:ListBox:TP_LAB_LAB:LB_TABLE";
Border = TRUE ;
Pos = MAP_APPFONT ( 149 , 56 ) ;
Size = MAP_APPFONT ( 99 , 70 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
};
ImageButton BTN_INSERT
{
HelpID = "sw:ImageButton:TP_LAB_LAB:BTN_INSERT";
Pos = MAP_APPFONT ( 124 , 92 ) ;
Size = MAP_APPFONT ( 18 , 12 ) ;
SYMBOL = IMAGEBUTTON_ARROW_LEFT ;
TabStop = TRUE ;
};
FixedText FT_DBFIELD
{
Pos = MAP_APPFONT ( 149 , 81 ) ;
Size = MAP_APPFONT ( 99 , 8 ) ;
Text [ en-US ] = "Database field" ;
};
ListBox LB_DBFIELD
{
HelpID = "sw:ListBox:TP_LAB_LAB:LB_DBFIELD";
Border = TRUE ;
Pos = MAP_APPFONT ( 149 , 92 ) ;
Size = MAP_APPFONT ( 99 , 70 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
};
FixedLine FL_WRITING
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Group = TRUE ;
Text [ en-US ] = "Inscription" ;
};
RadioButton BTN_CONT
{
HelpID = "sw:RadioButton:TP_LAB_LAB:BTN_CONT";
Pos = MAP_APPFONT ( 12 , 137 ) ;
Size = MAP_APPFONT ( 65 , 10 ) ;
TabStop = TRUE ;
Group = TRUE ;
Text [ en-US ] = "~Continuous" ;
};
RadioButton BTN_SHEET
{
HelpID = "sw:RadioButton:TP_LAB_LAB:BTN_SHEET";
Pos = MAP_APPFONT ( 12 , 153 ) ;
Size = MAP_APPFONT ( 65 , 10 ) ;
Text [ en-US ] = "~Sheet" ;
};
FixedText TXT_MAKE
{
Pos = MAP_APPFONT ( 91 , 138 ) ;
Size = MAP_APPFONT ( 30 , 8 ) ;
Text [ en-US ] = "Brand" ;
Left = TRUE ;
};
ListBox BOX_MAKE
{
HelpID = "sw:ListBox:TP_LAB_LAB:BOX_MAKE";
Border = TRUE ;
Pos = MAP_APPFONT ( 124 , 136 ) ;
Size = MAP_APPFONT ( 124 , 90 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
};
FixedText TXT_TYPE
{
Pos = MAP_APPFONT ( 91 , 154 ) ;
Size = MAP_APPFONT ( 30 , 8 ) ;
Left = TRUE ;
Text [ en-US ] = "~Type" ;
};
ListBox BOX_TYPE
{
HelpID = "sw:ListBox:TP_LAB_LAB:BOX_TYPE";
Border = TRUE ;
Pos = MAP_APPFONT ( 124 , 152 ) ;
Size = MAP_APPFONT ( 124 , 90 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
};
FixedText INF_FORMAT
{
Pos = MAP_APPFONT ( 12 , 168 ) ;
Size = MAP_APPFONT ( 236 , 8 ) ;
Left = TRUE ;
};
FixedLine FL_FORMAT
{
Pos = MAP_APPFONT ( 6 , 125 ) ;
Size = MAP_APPFONT ( 248 , 8 ) ;
Group = TRUE ;
Text [ en-US ] = "Format" ;
};
};
#define WIDTH 100 #define WIDTH 100
#define HEIGHT 16 #define HEIGHT 16
FloatingWindow DLG_SYNC_BTN FloatingWindow DLG_SYNC_BTN
......
This diff is collapsed.
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#define _SWUILABIMP_HXX #define _SWUILABIMP_HXX
#include "labimp.hxx" #include "labimp.hxx"
#include <com/sun/star/text/XAutoTextContainer2.hpp> #include <com/sun/star/text/XAutoTextContainer2.hpp>
#include <vcl/layout.hxx>
class SwLabPage : public SfxTabPage class SwLabPage : public SfxTabPage
{ {
...@@ -27,37 +28,28 @@ class SwLabPage : public SfxTabPage ...@@ -27,37 +28,28 @@ class SwLabPage : public SfxTabPage
String sActDBName; String sActDBName;
SwLabItem aItem; SwLabItem aItem;
FixedLine aWritingFL; VclContainer* m_pAddressFrame;
FixedText aWritingText;
CheckBox aAddrBox; CheckBox* m_pAddrBox;
MultiLineEdit aWritingEdit; VclMultiLineEdit* m_pWritingEdit;
FixedText aDatabaseFT; ListBox* m_pDatabaseLB;
ListBox aDatabaseLB; ListBox* m_pTableLB;
FixedText aTableFT; PushButton* m_pInsertBT;
ListBox aTableLB; ListBox* m_pDBFieldLB;
ImageButton aInsertBT;
FixedText aDBFieldFT; RadioButton* m_pContButton;
ListBox aDBFieldLB; RadioButton* m_pSheetButton;
// PushButton aDatabaseButton; ListBox* m_pMakeBox;
ListBox* m_pTypeBox;
FixedLine aFormatFL; ListBox* m_pHiddenSortTypeBox;
RadioButton aContButton; FixedText* m_pFormatInfo;
RadioButton aSheetButton;
FixedText aMakeText;
ListBox aMakeBox;
FixedText aTypeText;
ListBox aTypeBox;
ListBox aHiddenSortTypeBox;
FixedInfo aFormatInfo;
sal_Bool m_bLabel; sal_Bool m_bLabel;
SwLabPage(Window* pParent, const SfxItemSet& rSet); SwLabPage(Window* pParent, const SfxItemSet& rSet);
~SwLabPage();
DECL_LINK(AddrHdl, void *); DECL_LINK(AddrHdl, void *);
DECL_LINK( DatabaseHdl, ListBox *pListBox ); DECL_LINK( DatabaseHdl, ListBox *pListBox );
// DECL_LINK( DatabaseButtonHdl, Button * );
DECL_LINK(FieldHdl, void *); DECL_LINK(FieldHdl, void *);
DECL_LINK(PageHdl, void *); DECL_LINK(PageHdl, void *);
DECL_LINK(MakeHdl, void *); DECL_LINK(MakeHdl, void *);
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment