diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-06 10:21:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-06 11:26:40 +0000 |
commit | 69f0c5f03e40576272312609a9e6225638e91c83 (patch) | |
tree | fc37389f4d3f74b2fcdcb005073a294db2550bd8 /sc/source/ui/src | |
parent | b79fc2d0f8872c17c7793db9a12d307d277f63d2 (diff) |
convert calc autoformat dialog to .ui
this dialog is hauntingly similar to the writer
one, a copy and paste job
Change-Id: Ic873038dba4ca4fd737690b917f6cd0d5144218a
Diffstat (limited to 'sc/source/ui/src')
-rw-r--r-- | sc/source/ui/src/autofmt.src | 222 | ||||
-rw-r--r-- | sc/source/ui/src/scstring.src | 67 |
2 files changed, 65 insertions, 224 deletions
diff --git a/sc/source/ui/src/autofmt.src b/sc/source/ui/src/autofmt.src deleted file mode 100644 index 02a9743792fc..000000000000 --- a/sc/source/ui/src/autofmt.src +++ /dev/null @@ -1,222 +0,0 @@ -/* -*- 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 "miscdlgs.hrc" - -ModalDialog RID_SCDLG_AUTOFORMAT -{ - OutputSize = TRUE ; - HelpId = CMD_SID_AUTOFORMAT ; - SVLook = TRUE ; - Size = MAP_APPFONT ( 312 , 121 ) ; - Text [ en-US ] = "AutoFormat" ; - Moveable = TRUE ; - Closeable = FALSE ; - ListBox LB_FORMAT - { - HelpID = "sc:ListBox:RID_SCDLG_AUTOFORMAT:LB_FORMAT"; - Border = TRUE ; - Pos = MAP_APPFONT ( 12 , 14 ) ; - Size = MAP_APPFONT ( 70 , 101 ) ; - TabStop = TRUE ; - }; - FixedLine FL_FORMAT - { - Pos = MAP_APPFONT ( 6 , 3 ) ; - Size = MAP_APPFONT ( 244 , 8 ) ; - Text [ en-US ] = "F~ormat" ; - }; - Window WND_PREVIEW - { - Pos = MAP_APPFONT ( 88 , 14 ) ; - Size = MAP_APPFONT ( 159 , 101 ) ; - Border = TRUE ; - }; - CheckBox BTN_ADJUST - { - HelpID = "sc:CheckBox:RID_SCDLG_AUTOFORMAT:BTN_ADJUST"; - Hide = TRUE ; - Pos = MAP_APPFONT ( 172 , 146 ) ; - Size = MAP_APPFONT ( 75 , 10 ) ; - Text [ en-US ] = "A~utoFit width and height" ; - TabStop = TRUE ; - }; - CheckBox BTN_BORDER - { - HelpID = "sc:CheckBox:RID_SCDLG_AUTOFORMAT:BTN_BORDER"; - Hide = TRUE ; - Pos = MAP_APPFONT ( 12 , 146 ) ; - Size = MAP_APPFONT ( 75 , 10 ) ; - Text [ en-US ] = "~Borders" ; - TabStop = TRUE ; - }; - CheckBox BTN_FONT - { - HelpID = "sc:CheckBox:RID_SCDLG_AUTOFORMAT:BTN_FONT"; - Hide = TRUE ; - Pos = MAP_APPFONT ( 93 , 132 ) ; - Size = MAP_APPFONT ( 73 , 10 ) ; - Text [ en-US ] = "F~ont" ; - TabStop = TRUE ; - }; - CheckBox BTN_PATTERN - { - HelpID = "sc:CheckBox:RID_SCDLG_AUTOFORMAT:BTN_PATTERN"; - Hide = TRUE ; - Pos = MAP_APPFONT ( 93 , 146 ) ; - Size = MAP_APPFONT ( 73 , 10 ) ; - Text [ en-US ] = "~Pattern" ; - TabStop = TRUE ; - }; - CheckBox BTN_ALIGNMENT - { - HelpID = "sc:CheckBox:RID_SCDLG_AUTOFORMAT:BTN_ALIGNMENT"; - Hide = TRUE ; - Pos = MAP_APPFONT ( 172 , 132 ) ; - Size = MAP_APPFONT ( 75 , 10 ) ; - Text [ en-US ] = "Alignmen~t" ; - TabStop = TRUE ; - }; - CheckBox BTN_NUMFORMAT - { - HelpID = "sc:CheckBox:RID_SCDLG_AUTOFORMAT:BTN_NUMFORMAT"; - Hide = TRUE ; - Pos = MAP_APPFONT ( 12 , 132 ) ; - Size = MAP_APPFONT ( 75 , 10 ) ; - Text [ en-US ] = "~Number format" ; - TabStop = TRUE ; - }; - FixedLine FL_FORMATTING - { - Hide = TRUE ; - Pos = MAP_APPFONT ( 6 , 121 ) ; - Size = MAP_APPFONT ( 244 , 8 ) ; - Text [ en-US ] = "Formatting" ; - }; - OKButton BTN_OK - { - Pos = MAP_APPFONT ( 256 , 6 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - DefButton = TRUE ; - }; - CancelButton BTN_CANCEL - { - Pos = MAP_APPFONT ( 256 , 23 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - }; - MoreButton BTN_MORE - { - HelpID = "sc:MoreButton:RID_SCDLG_AUTOFORMAT:BTN_MORE"; - Pos = MAP_APPFONT ( 256 , 101 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - MapUnit = MAP_APPFONT ; - Delta = 48 ; - }; - PushButton BTN_ADD - { - HelpID = "sc:PushButton:RID_SCDLG_AUTOFORMAT:BTN_ADD"; - Pos = MAP_APPFONT ( 256 , 63 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - Text [ en-US ] = "~Add..." ; - TabStop = TRUE ; - }; - PushButton BTN_REMOVE - { - HelpID = "sc:PushButton:RID_SCDLG_AUTOFORMAT:BTN_REMOVE"; - Pos = MAP_APPFONT ( 256 , 81 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - Text [ en-US ] = "~Delete" ; - TabStop = TRUE ; - }; - - PushButton BTN_RENAME - { - Pos = MAP_APPFONT ( 256 , 123 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - HelpId=HID_SC_RENAME_AUTOFMT; - TabStop = TRUE ; - Text [ en-US ] = "~Rename" ; - }; - - HelpButton BTN_HELP - { - Pos = MAP_APPFONT ( 256 , 43 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - }; - String STR_ADD_TITLE - { - Text [ en-US ] = "Add AutoFormat" ; - }; - - String STR_RENAME_TITLE - { - Text [ en-US ] = "Rename AutoFormat" ; - }; - - String STR_ADD_LABEL - { - Text [ en-US ] = "Name" ; - }; - String STR_DEL_TITLE - { - Text [ en-US ] = "Delete AutoFormat" ; - }; - String STR_DEL_MSG - { - Text [ en-US ] = "Do you really want to delete the # AutoFomat?" ; - }; - String STR_BTN_CLOSE - { - Text [ en-US ] = "~Close" ; - }; - String STR_JAN - { - Text [ en-US ] = "Jan" ; - }; - String STR_FEB - { - Text [ en-US ] = "Feb" ; - }; - String STR_MAR - { - Text [ en-US ] = "Mar" ; - }; - String STR_NORTH - { - Text [ en-US ] = "North" ; - }; - String STR_MID - { - Text [ en-US ] = "Mid" ; - }; - String STR_SOUTH - { - Text [ en-US ] = "South" ; - }; - String STR_SUM - { - Text [ en-US ] = "Total" ; - }; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/src/scstring.src b/sc/source/ui/src/scstring.src index 42d650831c07..0268edbbec92 100644 --- a/sc/source/ui/src/scstring.src +++ b/sc/source/ui/src/scstring.src @@ -106,8 +106,6 @@ String SCSTR_AUDITSHELL Text [ en-US ] = "Detective Fill Mode" ; }; - - String STR_ROWHEIGHT { Text [ en-US ] = "Height" ; @@ -900,4 +898,69 @@ String STR_NOROWFORMULA Text [ en-US ] = "Formulas don't form a row." ; }; +String STR_ADD_AUTOFORMAT_TITLE +{ + Text [ en-US ] = "Add AutoFormat" ; +}; + +String STR_RENAME_AUTOFORMAT_TITLE +{ + Text [ en-US ] = "Rename AutoFormat" ; +}; + +String STR_ADD_AUTOFORMAT_LABEL +{ + Text [ en-US ] = "Name" ; +}; + +String STR_DEL_AUTOFORMAT_TITLE +{ + Text [ en-US ] = "Delete AutoFormat" ; +}; + +String STR_DEL_AUTOFORMAT_MSG +{ + Text [ en-US ] = "Do you really want to delete the # AutoFomat?" ; +}; + +String STR_BTN_AUTOFORMAT_CLOSE +{ + Text [ en-US ] = "~Close" ; +}; + +String STR_JAN +{ + Text [ en-US ] = "Jan" ; +}; + +String STR_FEB +{ + Text [ en-US ] = "Feb" ; +}; + +String STR_MAR +{ + Text [ en-US ] = "Mar" ; +}; + +String STR_NORTH +{ + Text [ en-US ] = "North" ; +}; + +String STR_MID +{ + Text [ en-US ] = "Mid" ; +}; + +String STR_SOUTH +{ + Text [ en-US ] = "South" ; +}; + +String STR_SUM +{ + Text [ en-US ] = "Total" ; +}; + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |