Kaydet (Commit) e8c8f02f authored tarafından Manal Alhassoun's avatar Manal Alhassoun Kaydeden (comit) Caolán McNamara

Convert edit field dialog to widget UI

Conflicts:
	sd/AllLangResTarget_sd.mk

Change-Id: I7f60b1ac8a59e5e4a460fd26754dd83a7835ed45
Reviewed-on: https://gerrit.libreoffice.org/6073Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 5055eb2c
...@@ -79,6 +79,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/simpress,\ ...@@ -79,6 +79,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/simpress,\
sd/uiconfig/simpress/ui/customanimationtexttab \ sd/uiconfig/simpress/ui/customanimationtexttab \
sd/uiconfig/simpress/ui/customslideshows \ sd/uiconfig/simpress/ui/customslideshows \
sd/uiconfig/simpress/ui/definecustomslideshow \ sd/uiconfig/simpress/ui/definecustomslideshow \
sd/uiconfig/simpress/ui/dlgfield \
sd/uiconfig/simpress/ui/headerfooterdialog \ sd/uiconfig/simpress/ui/headerfooterdialog \
sd/uiconfig/simpress/ui/headerfootertab \ sd/uiconfig/simpress/ui/headerfootertab \
sd/uiconfig/simpress/ui/masterlayoutdlg \ sd/uiconfig/simpress/ui/masterlayoutdlg \
......
This diff is collapsed.
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "dlgfield.hrc"
ModalDialog DLG_FIELD_MODIFY
{
HelpID = "sd:ModalDialog:DLG_FIELD_MODIFY";
OutputSize = TRUE ;
SVLook = TRUE ;
Size = MAP_APPFONT ( 138 , 154 ) ;
Moveable = TRUE ;
Closeable = TRUE ;
FixedLine GRP_TYPE
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
Size = MAP_APPFONT ( 70 , 8 ) ;
Text [ en-US ] = "Field type" ;
};
RadioButton RBT_FIX
{
HelpID = "sd:RadioButton:DLG_FIELD_MODIFY:RBT_FIX";
Pos = MAP_APPFONT ( 12 , 14 ) ;
Size = MAP_APPFONT ( 64 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "~Fixed" ;
};
RadioButton RBT_VAR
{
HelpID = "sd:RadioButton:DLG_FIELD_MODIFY:RBT_VAR";
Pos = MAP_APPFONT ( 12 , 25 ) ;
Size = MAP_APPFONT ( 64 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "~Variable" ;
};
FixedText FT_LANGUAGE
{
Pos = MAP_APPFONT ( 6 , 67 ) ;
Size = MAP_APPFONT ( 40 , 10 ) ;
Text [ en-US ] = "~Language" ;
};
ListBox LB_LANGUAGE
{
HelpID = "sd:ListBox:DLG_FIELD_MODIFY:LB_LANGUAGE";
Border = TRUE ;
Pos = MAP_APPFONT ( 52 , 65 ) ;
Size = MAP_APPFONT ( 80 , 70 ) ;
TabStop = TRUE ;
DropDown = TRUE ;
};
ListBox LB_FORMAT
{
HelpID = "sd:ListBox:DLG_FIELD_MODIFY:LB_FORMAT";
Border = TRUE ;
Pos = MAP_APPFONT ( 6 , 94 ) ;
Size = MAP_APPFONT ( 126 , 54 ) ;
TabStop = TRUE ;
};
FixedText FT_FORMAT
{
Pos = MAP_APPFONT ( 6 , 83 ) ;
Size = MAP_APPFONT ( 70 , 10 ) ;
Text [ en-US ] = "F~ormat" ;
};
OKButton BTN_OK
{
Pos = MAP_APPFONT ( 82 , 6 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
DefButton = TRUE ;
};
CancelButton BTN_CANCEL
{
Pos = MAP_APPFONT ( 82 , 23 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
};
HelpButton BTN_HELP
{
Pos = MAP_APPFONT ( 82 , 43 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
};
Text [ en-US ] = "Edit Field" ;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#define GRP_TYPE 1
#define RBT_FIX 1
#define RBT_VAR 2
#define LB_FORMAT 1
#define FT_FORMAT 1
#define BTN_OK 1
#define BTN_CANCEL 1
#define BTN_HELP 1
#define FT_LANGUAGE 2
#define LB_LANGUAGE 3
#define DLG_FIELD_MODIFY 448
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -36,16 +36,10 @@ class SvxFieldData; ...@@ -36,16 +36,10 @@ class SvxFieldData;
class SdModifyFieldDlg : public ModalDialog class SdModifyFieldDlg : public ModalDialog
{ {
private: private:
FixedLine aGrpType; RadioButton* m_pRbtFix;
RadioButton aRbtFix; RadioButton* m_pRbtVar;
RadioButton aRbtVar; SvxLanguageBox* m_pLbLanguage;
FixedText maFtLanguage; ListBox* m_pLbFormat;
SvxLanguageBox maLbLanguage;
FixedText aFtFormat;
ListBox aLbFormat;
OKButton aBtnOK;
CancelButton aBtnCancel;
HelpButton aBtnHelp;
SfxItemSet maInputSet; SfxItemSet maInputSet;
const SvxFieldData* pField; const SvxFieldData* pField;
......
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