/* * 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 #include "helpid.hrc" #include "grfpage.hrc" #include /************************************************************/ /* */ /* */ /* Crop-Page */ /* */ /* */ /************************************************************/ TabPage RID_SVXPAGE_GRFCROP { Hide = TRUE ; HelpID = HID_SVXPAGE_GRFCROP; SVLook = TRUE ; Pos = MAP_APPFONT ( 0 , 0 ) ; Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine FL_CROP { Pos = MAP_APPFONT ( 6 , 3 ) ; Size = MAP_APPFONT ( 164 , 8 ) ; Text [ en-US ] = "Crop" ; }; FixedText FT_LEFT { Pos = MAP_APPFONT ( 12 , 44 ) ; Size = MAP_APPFONT ( 28 , 8 ) ; Text [ en-US ] = "~Left" ; }; MetricField MF_LEFT { HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_LEFT"; Border = TRUE ; Pos = MAP_APPFONT ( 42 , 42 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; Text = "12,99" ; TabStop = TRUE ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = -9999 ; Maximum = 9999 ; DecimalDigits = 2 ; Unit = FUNIT_CM ; First = 0 ; Last = 9999 ; SpinSize = 10 ; }; FixedText FT_RIGHT { Pos = MAP_APPFONT ( 12 , 60 ) ; Size = MAP_APPFONT ( 28 , 8 ) ; Left = TRUE ; Text [ en-US ] = "~Right" ; }; MetricField MF_RIGHT { HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_RIGHT"; Border = TRUE ; Pos = MAP_APPFONT ( 42 , 58 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = -9999 ; Maximum = 9999 ; DecimalDigits = 2 ; Unit = FUNIT_CM ; First = 0 ; Last = 9999 ; SpinSize = 10 ; }; FixedText FT_TOP { Pos = MAP_APPFONT ( 94 , 44 ) ; Size = MAP_APPFONT ( 28 , 8 ) ; Text [ en-US ] = "~Top" ; }; MetricField MF_TOP { HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_TOP"; Border = TRUE ; Pos = MAP_APPFONT ( 124 , 42 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; Text = "12,99" ; TabStop = TRUE ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = -9999 ; Maximum = 9999 ; DecimalDigits = 2 ; Unit = FUNIT_CM ; First = 0 ; Last = 9999 ; SpinSize = 10 ; }; FixedText FT_BOTTOM { Pos = MAP_APPFONT ( 94 , 60 ) ; Size = MAP_APPFONT ( 28 , 8 ) ; Left = TRUE ; Text [ en-US ] = "~Bottom" ; }; MetricField MF_BOTTOM { HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_BOTTOM"; Border = TRUE ; Pos = MAP_APPFONT ( 124 , 58 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = -9999 ; Maximum = 9999 ; DecimalDigits = 2 ; Unit = FUNIT_CM ; First = 0 ; Last = 9999 ; SpinSize = 10 ; }; RadioButton RB_SIZECONST { HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_SIZECONST"; Pos = MAP_APPFONT ( 12 , 28 ) ; Size = MAP_APPFONT ( 152 , 10 ) ; Text [ en-US ] = "Keep image si~ze" ; }; RadioButton RB_ZOOMCONST { HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_ZOOMCONST"; Pos = MAP_APPFONT ( 12 , 14 ) ; Size = MAP_APPFONT ( 152 , 10 ) ; Check = TRUE ; Text [ en-US ] = "Keep ~scale" ; }; Window WN_BSP { Pos = MAP_APPFONT ( 176 , 6 ) ; Size = MAP_APPFONT ( 78 , 78 ) ; Border = TRUE ; }; FixedLine FL_ZOOM { Pos = MAP_APPFONT ( 6, 76 ) ; Size = MAP_APPFONT ( 164 , 8 ) ; Text [ en-US ] = "Scale" ; }; FixedText FT_WIDTHZOOM { Left = TRUE ; Pos = MAP_APPFONT ( 12 , 89 ) ; Size = MAP_APPFONT ( 28 , 8 ) ; Text [ en-US ] = "~Width" ; }; MetricField MF_WIDTHZOOM { HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTHZOOM"; Border = TRUE ; Pos = MAP_APPFONT ( 42 , 87 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; Text = "12,99" ; TabStop = TRUE ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 1 ; Maximum = 9999 ; First = 5 ; Last = 1000 ; Maximum = 9999 ; Value = 100 ; Unit = FUNIT_CUSTOM ; CustomUnitText = "%" ; SpinSize = 10 ; }; FixedText FT_HEIGHTZOOM { Pos = MAP_APPFONT ( 12 , 105 ) ; Size = MAP_APPFONT ( 28 , 8 ) ; Text [ en-US ] = "H~eight" ; Left = TRUE ; }; MetricField MF_HEIGHTZOOM { HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHTZOOM"; Border = TRUE ; Pos = MAP_APPFONT ( 42 , 103 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 1 ; Maximum = 9999 ; First = 5 ; Last = 1000 ; Maximum = 9999 ; Value = 100 ; Unit = FUNIT_CUSTOM ; CustomUnitText = "%" ; SpinSize = 10 ; }; FixedLine FL_SIZE { Pos = MAP_APPFONT ( 6 , 121 ) ; Size = MAP_APPFONT ( 164 , 8 ) ; Text [ en-US ] = "Image size" ; }; FixedText FT_WIDTH { Pos = MAP_APPFONT ( 12 , 134 ) ; Size = MAP_APPFONT ( 28 , 8 ) ; Left = TRUE ; Text [ en-US ] = "~Width" ; }; MetricField MF_WIDTH { HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTH"; Border = TRUE ; Pos = MAP_APPFONT ( 42 , 132 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; Text = "12,99" ; TabStop = TRUE ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 5 ; Maximum = 20000 ; DecimalDigits = 2 ; Unit = FUNIT_CM ; First = 5 ; Last = 20000 ; SpinSize = 10 ; }; FixedText FT_HEIGHT { Pos = MAP_APPFONT ( 12 , 150 ) ; Size = MAP_APPFONT ( 28 , 8 ) ; Left = TRUE ; Text [ en-US ] = "H~eight" ; }; MetricField MF_HEIGHT { HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHT"; Border = TRUE ; Pos = MAP_APPFONT ( 42 , 148 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; TabStop = TRUE ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 5 ; Maximum = 20000 ; DecimalDigits = 2 ; Unit = FUNIT_CM ; First = 5 ; Last = 20000 ; SpinSize = 10 ; }; FixedText FT_ORIG_SIZE { Pos = MAP_APPFONT ( 176 , 132 ) ; Size = MAP_APPFONT ( 74 , 8 ) ; }; PushButton PB_ORGSIZE { HelpID = "cui:PushButton:RID_SVXPAGE_GRFCROP:PB_ORGSIZE"; Pos = MAP_APPFONT ( 176 , 143 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; Text [ en-US ] = "~Original Size" ; }; }; String STR_PPI { Text [ x-comment ] = "PPI is pixel per inch, %1 is a number" ; Text [ en-US ] = "(%1 PPI)" ; };