/************************************************************** * * 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 * * 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 --------------------------------------------------------------- #include "helpid.hrc" #include #include "hdft.hrc" // pragma ---------------------------------------------------------------- #define _TEXT_FT_LMARGIN \ Text [ en-US ] = "~Left margin" ; \ #define _TEXT_FT_RMARGIN \ Text [ en-US ] = "R~ight margin" ; \ // RID_SVXPAGE_HEADER ---------------------------------------------------- TabPage RID_SVXPAGE_HEADER { HelpId = HID_FORMAT_HEADER ; Hide = TRUE ; Text [ en-US ] = "Header" ; Size = MAP_APPFONT ( 260 , 185 ) ; CheckBox CB_TURNON { HelpID = "svx:CheckBox:RID_SVXPAGE_HEADER:CB_TURNON"; Pos = MAP_APPFONT ( 12 , 14 ) ; Size = MAP_APPFONT ( 152 , 10 ) ; Text [ en-US ] = "Hea~der on" ; }; CheckBox CB_SHARED { HelpID = "svx:CheckBox:RID_SVXPAGE_HEADER:CB_SHARED"; Pos = MAP_APPFONT ( 12 , 30 ) ; Size = MAP_APPFONT ( 152 , 10 ) ; Text [ en-US ] = "Same ~content left/right" ; }; FixedText FT_LMARGIN { Pos = MAP_APPFONT ( 12 , 48 ) ; Size = MAP_APPFONT ( 102 , 8 ) ; _TEXT_FT_LMARGIN Left = TRUE ; }; MetricField ED_LMARGIN { HelpID = "svx:MetricField:RID_SVXPAGE_HEADER:ED_LMARGIN"; Border = TRUE ; Pos = MAP_APPFONT ( 124 , 46 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Maximum = 9999 ; Minimum = 0 ; DecimalDigits = 2 ; Unit = FUNIT_CM ; Last = 9999 ; SpinSize = 10 ; }; FixedText FT_RMARGIN { Pos = MAP_APPFONT ( 12 , 64 ) ; Size = MAP_APPFONT ( 102 , 8 ) ; _TEXT_FT_RMARGIN Left = TRUE ; }; MetricField ED_RMARGIN { HelpID = "svx:MetricField:RID_SVXPAGE_HEADER:ED_RMARGIN"; Border = TRUE ; Pos = MAP_APPFONT ( 124 , 62 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 0 ; Maximum = 9999 ; DecimalDigits = 2 ; Unit = FUNIT_CM ; Last = 9999 ; SpinSize = 10 ; }; FixedText FT_DIST { Pos = MAP_APPFONT ( 12 , 82 ) ; Size = MAP_APPFONT ( 102 , 8 ) ; Text [ en-US ] = "~Spacing" ; }; MetricField ED_DIST { HelpID = "svx:MetricField:RID_SVXPAGE_HEADER:ED_DIST"; Disable = TRUE ; Border = TRUE ; Pos = MAP_APPFONT ( 124 , 80 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Maximum = 9999 ; DecimalDigits = 2 ; Unit = FUNIT_CM ; Last = 9999 ; SpinSize = 10 ; }; CheckBox CB_DYNSPACING { HelpID = "svx:CheckBox:RID_SVXPAGE_HEADER:CB_DYNSPACING"; Pos = MAP_APPFONT ( 12 , 96 ) ; Size = MAP_APPFONT ( 152 , 10 ) ; Hide = TRUE; Text [ en-US ] = "Use d~ynamic spacing" ; }; FixedText FT_HEIGHT { Pos = MAP_APPFONT ( 12 , 98 ) ; Size = MAP_APPFONT ( 102 , 8 ) ; Text [ en-US ] = "~Height" ; }; MetricField ED_HEIGHT { HelpID = "svx:MetricField:RID_SVXPAGE_HEADER:ED_HEIGHT"; Disable = TRUE ; Border = TRUE ; Pos = MAP_APPFONT ( 124 , 96 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 10 ; Maximum = 9999 ; DecimalDigits = 2 ; Unit = FUNIT_CM ; First = 50 ; Last = 9999 ; SpinSize = 10 ; }; CheckBox CB_HEIGHT_DYN { HelpID = "svx:CheckBox:RID_SVXPAGE_HEADER:CB_HEIGHT_DYN"; Pos = MAP_APPFONT ( 12 , 112 ) ; Size = MAP_APPFONT ( 152 , 10 ) ; Text [ en-US ] = "~AutoFit height" ; }; FixedLine FL_FRAME { Pos = MAP_APPFONT ( 6 , 3 ) ; Size = MAP_APPFONT ( 164 , 8 ) ; Text [ en-US ] = "Header" ; }; Window WN_BSP { Pos = MAP_APPFONT ( 176 , 6 ) ; Size = MAP_APPFONT ( 75 , 46 ) ; }; PushButton BTN_EXTRAS { HelpID = "svx:PushButton:RID_SVXPAGE_HEADER:BTN_EXTRAS"; Pos = MAP_APPFONT ( 12 , 130 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; Text [ en-US ] = "~More..." ; }; }; // RID_SVXPAGE_FOOTER ---------------------------------------------------- TabPage RID_SVXPAGE_FOOTER { HelpId = HID_FORMAT_FOOTER ; Hide = TRUE ; Text [ en-US ] = "Footer" ; Size = MAP_APPFONT ( 260 , 185 ) ; CheckBox CB_TURNON { HelpID = "svx:CheckBox:RID_SVXPAGE_FOOTER:CB_TURNON"; Pos = MAP_APPFONT ( 12 , 14 ) ; Size = MAP_APPFONT ( 152 , 10 ) ; Text [ en-US ] = "~Footer on" ; }; CheckBox CB_SHARED { HelpID = "svx:CheckBox:RID_SVXPAGE_FOOTER:CB_SHARED"; Pos = MAP_APPFONT ( 12 , 30 ) ; Size = MAP_APPFONT ( 152 , 10 ) ; Text [ en-US ] = "Same ~content left/right" ; }; FixedText FT_LMARGIN { Pos = MAP_APPFONT ( 12 , 48 ) ; Size = MAP_APPFONT ( 102 , 8 ) ; Left = TRUE ; _TEXT_FT_LMARGIN }; MetricField ED_LMARGIN { HelpID = "svx:MetricField:RID_SVXPAGE_FOOTER:ED_LMARGIN"; Border = TRUE ; Pos = MAP_APPFONT ( 124 , 46 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 0 ; Maximum = 9999 ; DecimalDigits = 2 ; Unit = FUNIT_CM ; Last = 9999 ; SpinSize = 10 ; }; FixedText FT_RMARGIN { Pos = MAP_APPFONT ( 12 , 64 ) ; Size = MAP_APPFONT ( 102 , 8 ) ; _TEXT_FT_RMARGIN Left = TRUE ; }; MetricField ED_RMARGIN { HelpID = "svx:MetricField:RID_SVXPAGE_FOOTER:ED_RMARGIN"; Border = TRUE ; Pos = MAP_APPFONT ( 124 , 62 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 0 ; Maximum = 9999 ; DecimalDigits = 2 ; Unit = FUNIT_CM ; Last = 9999 ; SpinSize = 10 ; }; FixedText FT_DIST { Pos = MAP_APPFONT ( 12 , 82 ) ; Size = MAP_APPFONT ( 102 , 8 ) ; Text [ en-US ] = "~Spacing" ; }; MetricField ED_DIST { HelpID = "svx:MetricField:RID_SVXPAGE_FOOTER:ED_DIST"; Disable = TRUE ; Border = TRUE ; Pos = MAP_APPFONT ( 124 , 80 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Maximum = 9999 ; DecimalDigits = 2 ; Unit = FUNIT_CM ; Last = 9999 ; SpinSize = 10 ; }; CheckBox CB_DYNSPACING { HelpID = "svx:CheckBox:RID_SVXPAGE_FOOTER:CB_DYNSPACING"; Pos = MAP_APPFONT ( 12 , 96 ) ; Size = MAP_APPFONT ( 152 , 10 ) ; Hide = TRUE; Text [ en-US ] = "Use d~ynamic spacing" ; }; FixedText FT_HEIGHT { Pos = MAP_APPFONT ( 12 , 98 ) ; Size = MAP_APPFONT ( 102 , 8 ) ; Disable = TRUE ; Text [ en-US ] = "~Height" ; }; MetricField ED_HEIGHT { HelpID = "svx:MetricField:RID_SVXPAGE_FOOTER:ED_HEIGHT"; Disable = TRUE ; Border = TRUE ; Pos = MAP_APPFONT ( 124 , 96 ) ; Size = MAP_APPFONT ( 40 , 12 ) ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 10 ; Maximum = 9999 ; DecimalDigits = 2 ; Unit = FUNIT_CM ; First = 50 ; Last = 9999 ; SpinSize = 10 ; }; CheckBox CB_HEIGHT_DYN { HelpID = "svx:CheckBox:RID_SVXPAGE_FOOTER:CB_HEIGHT_DYN"; Pos = MAP_APPFONT ( 12 , 112 ) ; Size = MAP_APPFONT ( 152 , 10 ) ; Text [ en-US ] = "~AutoFit height" ; }; FixedLine FL_FRAME { Pos = MAP_APPFONT ( 6 , 3 ) ; Size = MAP_APPFONT ( 164 , 8 ) ; Text [ en-US ] = "Footer" ; }; Window WN_BSP { Pos = MAP_APPFONT ( 176 , 6 ) ; Size = MAP_APPFONT ( 75 , 46 ) ; }; PushButton BTN_EXTRAS { HelpID = "svx:PushButton:RID_SVXPAGE_FOOTER:BTN_EXTRAS"; Pos = MAP_APPFONT ( 12 , 130 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; Text [ en-US ] = "~More..." ; }; }; QueryBox RID_SVXQBX_DELETE_HEADFOOT { Buttons = WB_YES_NO ; DefButton = WB_DEF_NO ; Message [ en-US ] = "Removing headers or footers deletes the contents.\nDo you want to delete this text?" ; }; // ********************************************************************** EOF