This is an automated email from the ASF dual-hosted git repository. mseidel pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push: new 4507958864 Cleaned up resource files 4507958864 is described below commit 4507958864c4c00e96120a901ed7cba493601680 Author: mseidel <msei...@apache.org> AuthorDate: Fri Feb 9 21:25:30 2024 +0100 Cleaned up resource files --- main/sc/source/ui/src/scfuncs.src | 2 +- main/svx/source/sidebar/area/AreaPropertyPanel.src | 12 +- .../sidebar/graphic/GraphicPropertyPanel.src | 190 ++++++++++----------- 3 files changed, 100 insertions(+), 104 deletions(-) diff --git a/main/sc/source/ui/src/scfuncs.src b/main/sc/source/ui/src/scfuncs.src index 4b9bae054e..9817aa7510 100644 --- a/main/sc/source/ui/src/scfuncs.src +++ b/main/sc/source/ui/src/scfuncs.src @@ -5446,7 +5446,7 @@ Resource RID_SC_FUNCTION_DESCRIPTIONS2 }; String 5 // Description of Parameter 2 { - Text [ en-US ] = "The type of the quartile (0 = MIN, 1 = 25 %, 2 = 50 %, 3 = 75 %, 4 = MAX)." ; + Text [ en-US ] = "The type of the quartile (0 = MIN, 1 = 25%, 2 = 50%, 3 = 75%, 4 = MAX)." ; }; }; // -=*# Resource for function KGRĂ–SSTE #*=- diff --git a/main/svx/source/sidebar/area/AreaPropertyPanel.src b/main/svx/source/sidebar/area/AreaPropertyPanel.src index d89ff73740..533296872d 100644 --- a/main/svx/source/sidebar/area/AreaPropertyPanel.src +++ b/main/svx/source/sidebar/area/AreaPropertyPanel.src @@ -19,8 +19,6 @@ * *************************************************************/ - - #include "AreaPropertyPanel.hrc" #include <sfx2/sidebar/ResourceDefinitions.hrc> #include <svx/dialogs.hrc> @@ -169,7 +167,7 @@ Control RID_SIDEBAR_AREA_PANEL Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + MBOX_WIDTH + CONTROL_SPACING_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP + 2 * ( FIXED_TEXT_HEIGHT + TEXT_CONTROL_SPACING_VERTICAL ) + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL ) ; Size = MAP_APPFONT ( MBOX_WIDTH + 1, MBOX_HEIGHT ) ; HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRANSPARENT ; - QuickHelpText [ en-US ] = "Specify 0 % for fully opaque through 100 % for fully transparent." ; + QuickHelpText [ en-US ] = "Specify 0% for fully opaque through 100% for fully transparent." ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; @@ -227,7 +225,7 @@ Control RID_POPUPPANEL_AREAPAGE_TRGR Border = TRUE ; Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_X ; - QuickHelpText [ en-US ] = "Specify the horizontal offset percentage from the center for the gradient shading style. 50 % is the horizontal center." ; + QuickHelpText [ en-US ] = "Specify the horizontal offset percentage from the center for the gradient shading style. 50% is the horizontal center." ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; @@ -247,7 +245,7 @@ Control RID_POPUPPANEL_AREAPAGE_TRGR Border = TRUE ; Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_CENTER_Y ; - QuickHelpText [ en-US ] = "Specify the vertical offset percentage from the center for the gradient shading style. 50 % is the vertical center." ; + QuickHelpText [ en-US ] = "Specify the vertical offset percentage from the center for the gradient shading style. 50% is the vertical center." ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; @@ -287,7 +285,7 @@ Control RID_POPUPPANEL_AREAPAGE_TRGR Border = TRUE ; Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_SVALUE ; - QuickHelpText [ en-US ] = "Enter a transparency value for the beginning point of the gradient, where 0 % is fully opaque and 100 % is fully transparent." ; + QuickHelpText [ en-US ] = "Enter a transparency value for the beginning point of the gradient, where 0% is fully opaque and 100% is fully transparent." ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; @@ -307,7 +305,7 @@ Control RID_POPUPPANEL_AREAPAGE_TRGR Border = TRUE ; Size = MAP_APPFONT ( CONTROL_WIDTH, MBOX_HEIGHT ) ; HelpID = HID_PPROPERTYPANEL_AREA_MTR_TRGR_EVALUE ; - QuickHelpText [ en-US ] = "Enter a transparency value for the endpoint of the gradient, where 0 % is fully opaque and 100 % is fully transparent." ; + QuickHelpText [ en-US ] = "Enter a transparency value for the endpoint of the gradient, where 0% is fully opaque and 100% is fully transparent." ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; diff --git a/main/svx/source/sidebar/graphic/GraphicPropertyPanel.src b/main/svx/source/sidebar/graphic/GraphicPropertyPanel.src index 7a7f10576d..9caf48aabd 100644 --- a/main/svx/source/sidebar/graphic/GraphicPropertyPanel.src +++ b/main/svx/source/sidebar/graphic/GraphicPropertyPanel.src @@ -1,22 +1,22 @@ /************************************************************** - * + * * 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 + * "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 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ #include "GraphicPropertyPanel.hrc" @@ -36,33 +36,31 @@ #define Y4 Y3 + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL #define Y5 Y4 + MBOX_HEIGHT + CONTROL_SPACING_VERTICAL -#define PAGE_HEIGHT Y5 + MBOX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT - - +#define PAGE_HEIGHT Y5 + MBOX_HEIGHT + SECTIONPAGE_MARGIN_VERTICAL_BOT Control RID_SIDEBAR_GRAPHIC_PANEL { - OutputSize = TRUE; - DialogControl = TRUE; - Border = FALSE; + OutputSize = TRUE ; + DialogControl = TRUE ; + Border = FALSE ; - Size = MAP_APPFONT( PROPERTYPAGE_WIDTH, PAGE_HEIGHT ); + Size = MAP_APPFONT( PROPERTYPAGE_WIDTH, PAGE_HEIGHT ) ; HelpID = HID_PROPERTYPANEL_GRAPHIC_SECTION ; - Text = "Graphic"; - + Text = "Graphic" ; + FixedText FT_BRIGHTNESS { - Pos = MAP_APPFONT (X0, Y0); - Size = MAP_APPFONT ( MBOX_WIDTH , TEXT_HEIGHT ) ; - Text [ en-US ] = "~Brightness:"; + Pos = MAP_APPFONT (X0, Y0) ; + Size = MAP_APPFONT ( MBOX_WIDTH, TEXT_HEIGHT ) ; + Text [ en-US ] = "~Brightness:" ; }; MetricField MTR_BRIGHTNESS { Border = TRUE ; - Pos = MAP_APPFONT (X0, Y1); - Size = MAP_APPFONT ( MBOX_WIDTH , MBOX_HEIGHT ) ; - HelpID = HID_PROPERTY_PANEL_GRAPHIC_MTR_BRIGHT; - QuickHelpText [ en-US ] = "Specify the luminance of the graphic."; + Pos = MAP_APPFONT (X0, Y1) ; + Size = MAP_APPFONT ( MBOX_WIDTH, MBOX_HEIGHT ) ; + HelpID = HID_PROPERTY_PANEL_GRAPHIC_MTR_BRIGHT ; + QuickHelpText [ en-US ] = "Specify the luminance of the graphic." ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; @@ -74,17 +72,17 @@ Control RID_SIDEBAR_GRAPHIC_PANEL }; FixedText FT_CONTRAST { - Pos = MAP_APPFONT (X2, Y0); - Size = MAP_APPFONT ( MBOX_WIDTH, TEXT_HEIGHT ) ; - Text [ en-US ] = "~Contrast:"; + Pos = MAP_APPFONT (X2, Y0) ; + Size = MAP_APPFONT ( MBOX_WIDTH, TEXT_HEIGHT ) ; + Text [ en-US ] = "~Contrast:" ; }; MetricField MTR_CONTRAST { Border = TRUE ; - Pos = MAP_APPFONT (X2, Y1); - Size = MAP_APPFONT ( MBOX_WIDTH , MBOX_HEIGHT ) ; - HelpID = HID_PROPERTY_PANEL_GRAPHIC_MTR_CONTRAST; - QuickHelpText [ en-US ] = "Specify the degree of difference between the lightest and darkest parts of the graphic."; + Pos = MAP_APPFONT (X2, Y1) ; + Size = MAP_APPFONT ( MBOX_WIDTH, MBOX_HEIGHT ) ; + HelpID = HID_PROPERTY_PANEL_GRAPHIC_MTR_CONTRAST ; + QuickHelpText [ en-US ] = "Specify the degree of difference between the lightest and darkest parts of the graphic." ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; @@ -96,33 +94,33 @@ Control RID_SIDEBAR_GRAPHIC_PANEL }; FixedText FT_COLOR_MODE { - Pos = MAP_APPFONT (X0, Y2); - Size = MAP_APPFONT ( MBOX_WIDTH, TEXT_HEIGHT ) ; - Text [ en-US ] = "Color ~mode:"; + Pos = MAP_APPFONT (X0, Y2) ; + Size = MAP_APPFONT ( MBOX_WIDTH, TEXT_HEIGHT ) ; + Text [ en-US ] = "Color ~mode:" ; }; ListBox LB_COLOR_MODE { Border = TRUE ; - Pos = MAP_APPFONT (X0 , Y3) ; - Size = MAP_APPFONT ( MBOX_WIDTH , 100 ) ; - HelpID = HID_PROPERTY_PANEL_GRAPHIC_LB_COLORMODE; - QuickHelpText [ en-US ] = "Select the color mode of the graphic."; + Pos = MAP_APPFONT (X0, Y3) ; + Size = MAP_APPFONT ( MBOX_WIDTH, 100 ) ; + HelpID = HID_PROPERTY_PANEL_GRAPHIC_LB_COLORMODE ; + QuickHelpText [ en-US ] = "Select the color mode of the graphic." ; TabStop = TRUE ; DropDown = TRUE ; }; FixedText FT_TRANSPARENT { - Pos = MAP_APPFONT (X2, Y2); - Size = MAP_APPFONT ( MBOX_WIDTH , TEXT_HEIGHT ) ; - Text [ en-US ] = "~Transparency:"; + Pos = MAP_APPFONT (X2, Y2) ; + Size = MAP_APPFONT ( MBOX_WIDTH, TEXT_HEIGHT ) ; + Text [ en-US ] = "~Transparency:" ; }; MetricField MTR_TRANSPARENT { Border = TRUE ; - Pos = MAP_APPFONT (X2, Y3) ; - Size = MAP_APPFONT ( MBOX_WIDTH ,MBOX_HEIGHT ) ; - HelpID = HID_PROPERTY_PANEL_GRAPHIC_MTR_TRANSP; - QuickHelpText [ en-US ] = "Specify the percentage of transparency; 0 % is fully opaque and 100 % is fully transparent."; + Pos = MAP_APPFONT (X2, Y3) ; + Size = MAP_APPFONT ( MBOX_WIDTH ,MBOX_HEIGHT ) ; + HelpID = HID_PROPERTY_PANEL_GRAPHIC_MTR_TRANSP ; + QuickHelpText [ en-US ] = "Specify the percentage of transparency; 0% is fully opaque and 100% is fully transparent." ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; @@ -130,14 +128,14 @@ Control RID_SIDEBAR_GRAPHIC_PANEL StrictFormat = TRUE ; Unit = FUNIT_PERCENT ; SpinSize = 1 ; - }; + }; MetricField MF_RED { Border = TRUE ; - Pos = MAP_APPFONT (X1, Y4) ; - Size = MAP_APPFONT ( MBOX_WIDTH - 10,MBOX_HEIGHT ) ; - HelpID = HID_PROPERTY_PANEL_GRAPHIC_MTR_RED; - QuickHelpText [ en-US ] = "Red"; + Pos = MAP_APPFONT (X1, Y4) ; + Size = MAP_APPFONT ( MBOX_WIDTH - 10,MBOX_HEIGHT ) ; + HelpID = HID_PROPERTY_PANEL_GRAPHIC_MTR_RED ; + QuickHelpText [ en-US ] = "Red" ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; @@ -150,10 +148,10 @@ Control RID_SIDEBAR_GRAPHIC_PANEL MetricField MF_GREEN { Border = TRUE ; - Pos = MAP_APPFONT (X3, Y4) ; - Size = MAP_APPFONT ( MBOX_WIDTH - 10 ,MBOX_HEIGHT ) ; - HelpID = HID_PROPERTY_PANEL_GRAPHIC_MTR_GREEN; - QuickHelpText [ en-US ] = "Green"; + Pos = MAP_APPFONT (X3, Y4) ; + Size = MAP_APPFONT ( MBOX_WIDTH - 10 ,MBOX_HEIGHT ) ; + HelpID = HID_PROPERTY_PANEL_GRAPHIC_MTR_GREEN ; + QuickHelpText [ en-US ] = "Green" ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; @@ -166,10 +164,10 @@ Control RID_SIDEBAR_GRAPHIC_PANEL MetricField MF_BLUE { Border = TRUE ; - Pos = MAP_APPFONT (X1, Y5) ; - Size = MAP_APPFONT ( MBOX_WIDTH - 10 ,MBOX_HEIGHT ) ; - HelpID = HID_PROPERTY_PANEL_GRAPHIC_MTR_BLUE; - QuickHelpText [ en-US ] = "Blue"; + Pos = MAP_APPFONT (X1, Y5) ; + Size = MAP_APPFONT ( MBOX_WIDTH - 10 ,MBOX_HEIGHT ) ; + HelpID = HID_PROPERTY_PANEL_GRAPHIC_MTR_BLUE ; + QuickHelpText [ en-US ] = "Blue" ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; @@ -182,54 +180,54 @@ Control RID_SIDEBAR_GRAPHIC_PANEL MetricField MF_GAMMA { Border = TRUE ; - Pos = MAP_APPFONT (X3, Y5) ; - Size = MAP_APPFONT ( MBOX_WIDTH - 10 ,MBOX_HEIGHT ) ; - HelpID = HID_PROPERTY_PANEL_GRAPHIC_MTR_GAMMA; - QuickHelpText [ en-US ] = "Specify the gamma value that affects the brightness of the midtone values."; - TabStop = TRUE; - Repeat = TRUE; - Spin = TRUE; - Minimum = 10; - Maximum = 1000; - DecimalDigits = 2; - SpinSize = 10; + Pos = MAP_APPFONT (X3, Y5) ; + Size = MAP_APPFONT ( MBOX_WIDTH - 10 ,MBOX_HEIGHT ) ; + HelpID = HID_PROPERTY_PANEL_GRAPHIC_MTR_GAMMA ; + QuickHelpText [ en-US ] = "Specify the gamma value that affects the brightness of the midtone values." ; + TabStop = TRUE ; + Repeat = TRUE ; + Spin = TRUE ; + Minimum = 10 ; + Maximum = 1000 ; + DecimalDigits = 2 ; + SpinSize = 10 ; }; FixedImage IMG_RED - { - Pos = MAP_APPFONT(X0, Y4); - Size = MAP_APPFONT( 10, 12 ); - Fixed = Image - { - ImageBitmap = Bitmap { File = "symphony/AdjustColorRed_16x16.png"; }; + { + Pos = MAP_APPFONT(X0, Y4) ; + Size = MAP_APPFONT( 10, 12 ) ; + Fixed = Image + { + ImageBitmap = Bitmap { File = "symphony/AdjustColorRed_16x16.png" ; }; }; - }; - FixedImage IMG_GREEN - { - Pos = MAP_APPFONT(X2, Y4); - Size = MAP_APPFONT( 10, 12 ); - Fixed = Image - { - ImageBitmap = Bitmap { File = "symphony/AdjustColorGreen_16x16.png"; }; + }; + FixedImage IMG_GREEN + { + Pos = MAP_APPFONT(X2, Y4) ; + Size = MAP_APPFONT( 10, 12 ) ; + Fixed = Image + { + ImageBitmap = Bitmap { File = "symphony/AdjustColorGreen_16x16.png" ; }; }; - }; + }; FixedImage IMG_BLUE - { - Pos = MAP_APPFONT(X0, Y5); - Size = MAP_APPFONT( 10, 12 ); - Fixed = Image - { - ImageBitmap = Bitmap { File = "symphony/AdjustColorBlue_16x16.png"; }; + { + Pos = MAP_APPFONT(X0, Y5) ; + Size = MAP_APPFONT( 10, 12 ) ; + Fixed = Image + { + ImageBitmap = Bitmap { File = "symphony/AdjustColorBlue_16x16.png" ; }; }; - }; + }; FixedImage IMG_GAMMA - { - Pos = MAP_APPFONT(X2, Y5); - Size = MAP_APPFONT( 10, 12 ); - Fixed = Image - { - ImageBitmap = Bitmap { File = "symphony/AdjustColorGamma_16x16.png"; }; + { + Pos = MAP_APPFONT(X2, Y5) ; + Size = MAP_APPFONT( 10, 12 ) ; + Fixed = Image + { + ImageBitmap = Bitmap { File = "symphony/AdjustColorGamma_16x16.png" ; }; }; - }; + }; }; -// eof +// ********************************************************************** EOF