Kaydet (Commit) d1f2e4d7 authored tarafından sk94's avatar sk94 Kaydeden (comit) Caolán McNamara

MD_UPDATE_BASELINKS conversion to .ui

Change-Id: I98b47dc20b341375c9caae264c2213aeba6e066a
Reviewed-on: https://gerrit.libreoffice.org/9620Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 3b8402c7
......@@ -25,6 +25,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\
cui/uiconfig/ui/asiantypography \
cui/uiconfig/ui/autocorrectdialog \
cui/uiconfig/ui/backgroundpage \
cui/uiconfig/ui/baselinksdialog \
cui/uiconfig/ui/bitmaptabpage \
cui/uiconfig/ui/borderbackgrounddialog \
cui/uiconfig/ui/borderpage \
......
This diff is collapsed.
......@@ -20,8 +20,6 @@
#include <svl/solar.hrc>
#include <helpid.hrc>
#define TB_LINKS 32014
#define STR_AUTOLINK 32006
#define STR_MANUALLINK 32007
#define STR_BROKENLINK 32008
......@@ -31,23 +29,4 @@
#define STR_CLOSELINKMSG_MULTI 32024
#define STR_WAITINGLINK 32028
#define MD_UPDATE_BASELINKS 32002
#define FT_FILES 31
#define FT_LINKS 32
#define FT_TYPE 33
#define FT_STATUS 34
#define PB_UPDATE_NOW 35
#define PB_OPEN_SOURCE 36
#define PB_CHANGE_SOURCE 37
#define PB_BREAK_LINK 38
#define FT_SOURCE2 39
#define FT_TYPE2 40
#define FT_UPDATE 41
#define RB_AUTOMATIC 42
#define RB_MANUAL 43
#define FT_FULL_SOURCE_NAME 44
#define FT_FULL_TYPE_NAME 45
#define FT_FILES2 47
#define FT_FULL_FILE_NAME 48
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -20,170 +20,46 @@
#include <svtools/controldims.hrc>
#include "svuidlg.hrc"
ModalDialog MD_UPDATE_BASELINKS
String STR_AUTOLINK
{
Text [ en-US ] = "Automatic" ;
};
String STR_MANUALLINK
{
HelpID = "cui:ModalDialog:MD_UPDATE_BASELINKS";
OutputSize = TRUE ;
SVLook = TRUE ;
Size = MAP_APPFONT ( 337 , 166 ) ;
Text [ en-US ] = "Edit Links" ;
Moveable = TRUE ;
FixedText FT_FILES
{
Pos = MAP_APPFONT ( 6 , 6 ) ;
Size = MAP_APPFONT ( 74 , 10 ) ;
Text [ en-US ] = "Source file" ;
};
FixedText FT_LINKS
{
Pos = MAP_APPFONT ( 83 , 6 ) ;
Size = MAP_APPFONT ( 63 , 10 ) ;
Text [ en-US ] = "Element:" ;
};
FixedText FT_TYPE
{
Pos = MAP_APPFONT ( 150 , 6 ) ;
Size = MAP_APPFONT ( 60 , 10 ) ;
Text [ en-US ] = "Type" ;
};
FixedText FT_STATUS
{
Pos = MAP_APPFONT ( 215 , 6 ) ;
Size = MAP_APPFONT ( 55 , 10 ) ;
Text [ en-US ] = "Status" ;
};
CancelButton 1
{
Pos = MAP_APPFONT ( 270 , 6 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
Text [ en-US ] = "~Close" ;
};
HelpButton 1
{
Pos = MAP_APPFONT ( 270 , 26 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
};
PushButton PB_UPDATE_NOW
{
HelpID = "cui:PushButton:MD_UPDATE_BASELINKS:PB_UPDATE_NOW";
Pos = MAP_APPFONT ( 270 , 43 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
Text [ en-US ] = "~Update" ;
};
PushButton PB_OPEN_SOURCE
{
HelpID = "cui:PushButton:MD_UPDATE_BASELINKS:PB_OPEN_SOURCE";
Pos = MAP_APPFONT ( 270 , 60 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
Text [ en-US ] = "~Open" ;
};
PushButton PB_CHANGE_SOURCE
{
HelpID = "cui:PushButton:MD_UPDATE_BASELINKS:PB_CHANGE_SOURCE";
Pos = MAP_APPFONT ( 270 , 77 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
Text [ en-US ] = "~Modify..." ;
};
PushButton PB_BREAK_LINK
{
HelpID = "cui:PushButton:MD_UPDATE_BASELINKS:PB_BREAK_LINK";
Pos = MAP_APPFONT ( 270 , 94 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
Text [ en-US ] = "~Break Link" ;
};
FixedText FT_FILES2
{
Pos = MAP_APPFONT ( 6 , 111 ) ;
Size = MAP_APPFONT ( 61 , 10 ) ;
Text [ en-US ] = "Source file" ;
};
FixedText FT_SOURCE2
{
Pos = MAP_APPFONT ( 6 , 124 ) ;
Size = MAP_APPFONT ( 61 , 10 ) ;
Text [ en-US ] = "Element:" ;
};
FixedText FT_TYPE2
{
Pos = MAP_APPFONT ( 6 , 137 ) ;
Size = MAP_APPFONT ( 61 , 10 ) ;
Text [ en-US ] = "Type:" ;
};
FixedText FT_UPDATE
{
Pos = MAP_APPFONT ( 6 , 150 ) ;
Size = MAP_APPFONT ( 61 , 10 ) ;
Text [ en-US ] = "Update:" ;
};
RadioButton RB_AUTOMATIC
{
HelpID = "cui:RadioButton:MD_UPDATE_BASELINKS:RB_AUTOMATIC";
Pos = MAP_APPFONT ( 70 , 150 ) ;
Size = MAP_APPFONT ( 60 , 10 ) ;
Text [ en-US ] = "~Automatic" ;
};
RadioButton RB_MANUAL
{
HelpID = "cui:RadioButton:MD_UPDATE_BASELINKS:RB_MANUAL";
Pos = MAP_APPFONT ( 133 , 150 ) ;
Size = MAP_APPFONT ( 60 , 10 ) ;
Text [ en-US ] = "Ma~nual" ;
};
FixedText FT_FULL_FILE_NAME
{
Pos = MAP_APPFONT ( 70 , 111 ) ;
Size = MAP_APPFONT ( 225 , 10 ) ;
};
FixedText FT_FULL_SOURCE_NAME
{
Pos = MAP_APPFONT ( 70 , 124 ) ;
Size = MAP_APPFONT ( 225 , 10 ) ;
};
FixedText FT_FULL_TYPE_NAME
{
Pos = MAP_APPFONT ( 70 , 137 ) ;
Size = MAP_APPFONT ( 225 , 10 ) ;
};
String STR_AUTOLINK
{
Text [ en-US ] = "Automatic" ;
};
String STR_MANUALLINK
{
Text [ en-US ] = "Manual" ;
};
String STR_BROKENLINK
{
Text [ en-US ] = "Not available" ;
};
String STR_GRAPHICLINK
{
Text [ en-US ] = "Graphic" ;
};
String STR_BUTTONCLOSE
{
Text [ en-US ] = "~Close" ;
};
String STR_CLOSELINKMSG
{
Text [ en-US ] = "Are you sure you want to remove the selected link?" ;
};
String STR_CLOSELINKMSG_MULTI
{
Text [ en-US ] = "Are you sure you want to remove the selected link?" ;
};
String STR_WAITINGLINK
{
Text [ en-US ] = "Waiting";
};
Text [ en-US ] = "Manual" ;
};
Control TB_LINKS
String STR_BROKENLINK
{
Text [ en-US ] = "Not available" ;
};
String STR_GRAPHICLINK
{
Text [ en-US ] = "Graphic" ;
};
String STR_BUTTONCLOSE
{
Border = TRUE ;
Pos = MAP_APPFONT ( 6 , 21 ) ;
Size = MAP_APPFONT ( 257 , 87 ) ;
TabStop = TRUE ;
ClipChildren = TRUE ;
Text [ en-US ] = "~Close" ;
};
String STR_CLOSELINKMSG
{
Text [ en-US ] = "Are you sure you want to remove the selected link?" ;
};
String STR_CLOSELINKMSG_MULTI
{
Text [ en-US ] = "Are you sure you want to remove the selected link?" ;
};
String STR_WAITINGLINK
{
Text [ en-US ] = "Waiting";
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -41,26 +41,17 @@ class SvBaseLinksDlg : public ModalDialog
{
using Window::SetType;
FixedText aFtFiles;
FixedText aFtLinks;
FixedText aFtType;
FixedText aFtStatus;
SvTabListBox aTbLinks;
FixedText aFtFiles2;
FixedText aFtFullFileName;
FixedText aFtSource2;
FixedText aFtFullSourceName;
FixedText aFtType2;
FixedText aFtFullTypeName;
FixedText aFtUpdate;
RadioButton aRbAutomatic;
RadioButton aRbManual;
CancelButton aCancelButton1;
HelpButton aHelpButton1;
PushButton aPbUpdateNow;
PushButton aPbOpenSource;
PushButton aPbChangeSource;
PushButton aPbBreakLink;
FixedText *m_pFtFiles;
SvTabListBox *m_pTbLinks;
FixedText *m_pFtFullFileName;
FixedText *m_pFtFullSourceName;
FixedText *m_pFtFullTypeName;
RadioButton *m_pRbAutomatic;
RadioButton *m_pRbManual;
PushButton *m_pPbUpdateNow;
PushButton *m_pPbOpenSource;
PushButton *m_pPbChangeSource;
PushButton *m_pPbBreakLink;
OUString aStrAutolink;
OUString aStrManuallink;
OUString aStrBrokenlink;
......@@ -90,17 +81,6 @@ class SvBaseLinksDlg : public ModalDialog
void StartUpdateTimer() { aUpdateTimer.Start(); }
SvTabListBox& Links() { return aTbLinks; }
FixedText& FileName() { return aFtFullFileName; }
FixedText& SourceName() { return aFtFullSourceName; }
FixedText& TypeName() { return aFtFullTypeName; }
RadioButton& Automatic() { return aRbAutomatic; }
RadioButton& Manual() { return aRbManual; }
PushButton& UpdateNow() { return aPbUpdateNow; }
PushButton& OpenSource() { return aPbOpenSource; }
PushButton& ChangeSource() { return aPbChangeSource; }
PushButton& BreakLink() { return aPbBreakLink; }
OUString& Autolink() { return aStrAutolink; }
OUString& Manuallink() { return aStrManuallink; }
OUString& Brokenlink() { return aStrBrokenlink; }
......
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