| /************************************************************** |
| * |
| * 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 "frmui.hrc" |
| #include "wrap.hrc" |
| #include "globals.hrc" |
| #include "helpid.h" |
| TabPage TP_FRM_WRAP |
| { |
| SVLook = TRUE ; |
| HelpID = HID_FRM_EXT ; |
| Pos = MAP_APPFONT ( 0 , 0 ) ; |
| Size = MAP_APPFONT ( 260 , 185 ) ; |
| Hide = TRUE; |
| FixedLine C_WRAP_FL |
| { |
| Pos = MAP_APPFONT ( 6 , 3 ) ; |
| Size = MAP_APPFONT ( 248 , 8 ) ; |
| Text [ en-US ] = "Settings"; |
| }; |
| ImageRadioButton RB_NO_WRAP |
| { |
| HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_NO_WRAP"; |
| Pos = MAP_APPFONT ( 6 , 14 ) ; |
| Size = MAP_APPFONT ( 40 , 37 ) ; |
| WordBreak = TRUE; |
| Text [ en-US ] = "~None" ; |
| TopImage = True ; |
| }; |
| ImageRadioButton RB_WRAP_LEFT |
| { |
| HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_LEFT"; |
| Pos = MAP_APPFONT ( 65 , 14 ) ; |
| Size = MAP_APPFONT ( 40 , 37 ) ; |
| WordBreak = TRUE; |
| TopImage = True ; |
| Text [ en-US ] = "Before" ; |
| }; |
| ImageRadioButton RB_WRAP_RIGHT |
| { |
| HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_RIGHT"; |
| Pos = MAP_APPFONT ( 121 , 14 ) ; |
| Size = MAP_APPFONT ( 40 , 37 ) ; |
| WordBreak = TRUE; |
| TopImage = True ; |
| Text [ en-US ] = "After" ; |
| }; |
| ImageRadioButton RB_WRAP_PARALLEL |
| { |
| HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_PARALLEL"; |
| Pos = MAP_APPFONT ( 177 , 14 ) ; |
| Size = MAP_APPFONT ( 40 , 37 ) ; |
| WordBreak = TRUE; |
| Text [ en-US ] = "~Parallel" ; |
| TopImage = True ; |
| }; |
| ImageRadioButton RB_WRAP_THROUGH |
| { |
| HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_THROUGH"; |
| Pos = MAP_APPFONT ( 6 , 57 ) ; |
| Size = MAP_APPFONT ( 40 , 37 ) ; |
| WordBreak = TRUE; |
| Text [ en-US ] = "Thro~ugh" ; |
| TopImage = True ; |
| }; |
| ImageRadioButton RB_WRAP_IDEAL |
| { |
| HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_IDEAL"; |
| Pos = MAP_APPFONT ( 65 , 57 ) ; |
| Size = MAP_APPFONT ( 40 , 37 ) ; |
| WordBreak = TRUE; |
| TopImage = True ; |
| Text [ en-US ] = "~Optimal" ; |
| }; |
| |
| CheckBox CB_ANCHOR_ONLY |
| { |
| HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ANCHOR_ONLY"; |
| Pos = MAP_APPFONT ( 139 , 111 ) ; |
| Size = MAP_APPFONT ( 109 , 10 ) ; |
| Text [ en-US ] = "~First paragraph" ; |
| }; |
| CheckBox CB_TRANSPARENT |
| { |
| HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_TRANSPARENT"; |
| Pos = MAP_APPFONT ( 139 , 125 ) ; |
| Size = MAP_APPFONT ( 109 , 10 ) ; |
| Text [ en-US ] = "In bac~kground" ; |
| }; |
| CheckBox CB_OUTLINE |
| { |
| HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_OUTLINE"; |
| Pos = MAP_APPFONT ( 139 , 139 ) ; |
| Size = MAP_APPFONT ( 109 , 10 ) ; |
| Hide = TRUE ; |
| Text [ en-US ] = "~Contour" ; |
| }; |
| CheckBox CB_ONLYOUTSIDE |
| { |
| HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ONLYOUTSIDE"; |
| Pos = MAP_APPFONT ( 139 , 153 ) ; |
| Size = MAP_APPFONT ( 109 , 10 ) ; |
| Hide = TRUE ; |
| Text [ en-US ] = "Outside only" ; |
| }; |
| FixedLine FL_OPTION |
| { |
| Pos = MAP_APPFONT ( 133 , 100 ) ; |
| Size = MAP_APPFONT ( 121 , 8 ) ; |
| Text [ en-US ] = "Options" ; |
| }; |
| FixedLine FL_OPTION_SEP |
| { |
| Pos = MAP_APPFONT ( 128 , 111 ) ; |
| Size = MAP_APPFONT ( 4 , 60 ) ; |
| Vert = TRUE; |
| }; |
| FixedText FT_LEFT_MARGIN |
| { |
| Pos = MAP_APPFONT ( 12 , 113 ) ; |
| Size = MAP_APPFONT ( 60 , 8 ) ; |
| Text [ en-US ] = "L~eft" ; |
| Left = TRUE ; |
| }; |
| MetricField ED_LEFT_MARGIN |
| { |
| HelpID = "sw:MetricField:TP_FRM_WRAP:ED_LEFT_MARGIN"; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 81 , 111 ) ; |
| Size = MAP_APPFONT ( 40 , 12 ) ; |
| TabStop = TRUE ; |
| Left = TRUE ; |
| Repeat = TRUE ; |
| Spin = TRUE ; |
| Maximum = 9999 ; |
| DecimalDigits = 2 ; |
| Unit = FUNIT_CM ; |
| Last = 9999 ; |
| SpinSize = 10 ; |
| }; |
| FixedText FT_RIGHT_MARGIN |
| { |
| Pos = MAP_APPFONT ( 12 , 129 ) ; |
| Size = MAP_APPFONT ( 60 , 8 ) ; |
| Text [ en-US ] = "~Right" ; |
| Left = TRUE ; |
| }; |
| MetricField ED_RIGHT_MARGIN |
| { |
| HelpID = "sw:MetricField:TP_FRM_WRAP:ED_RIGHT_MARGIN"; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 81 , 127 ) ; |
| Size = MAP_APPFONT ( 40 , 12 ) ; |
| TabStop = TRUE ; |
| Left = TRUE ; |
| Repeat = TRUE ; |
| Spin = TRUE ; |
| Maximum = 9999 ; |
| DecimalDigits = 2 ; |
| Unit = FUNIT_CM ; |
| Last = 9999 ; |
| SpinSize = 10 ; |
| }; |
| FixedText FT_TOP_MARGIN |
| { |
| Pos = MAP_APPFONT ( 12 , 145 ) ; |
| Size = MAP_APPFONT ( 60 , 8 ) ; |
| Text [ en-US ] = "~Top" ; |
| Left = TRUE ; |
| }; |
| MetricField ED_TOP_MARGIN |
| { |
| HelpID = "sw:MetricField:TP_FRM_WRAP:ED_TOP_MARGIN"; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 81 , 143 ) ; |
| Size = MAP_APPFONT ( 40 , 12 ) ; |
| TabStop = TRUE ; |
| Left = TRUE ; |
| Repeat = TRUE ; |
| Spin = TRUE ; |
| Maximum = 9999 ; |
| DecimalDigits = 2 ; |
| Unit = FUNIT_CM ; |
| Last = 9999 ; |
| SpinSize = 10 ; |
| }; |
| FixedText FT_BOTTOM_MARGIN |
| { |
| Pos = MAP_APPFONT ( 12 , 161 ) ; |
| Size = MAP_APPFONT ( 60 , 8 ) ; |
| Text [ en-US ] = "~Bottom" ; |
| Left = TRUE ; |
| }; |
| MetricField ED_BOTTOM_MARGIN |
| { |
| HelpID = "sw:MetricField:TP_FRM_WRAP:ED_BOTTOM_MARGIN"; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 81 , 159 ) ; |
| Size = MAP_APPFONT ( 40 , 12 ) ; |
| TabStop = TRUE ; |
| Left = TRUE ; |
| Repeat = TRUE ; |
| Spin = TRUE ; |
| Maximum = 9999 ; |
| DecimalDigits = 2 ; |
| Unit = FUNIT_CM ; |
| Last = 9999 ; |
| SpinSize = 10 ; |
| }; |
| FixedLine FL_MARGIN |
| { |
| Pos = MAP_APPFONT ( 6 , 100 ) ; |
| Size = MAP_APPFONT ( 121 , 8 ) ; |
| Text [ en-US ] = "Spacing" ; |
| }; |
| #define WRAP_IDLIST \ |
| IdList = \ |
| { \ |
| IMG_NONE ; \ |
| IMG_LEFT ; \ |
| IMG_RIGHT ; \ |
| IMG_PARALLEL ; \ |
| IMG_THROUGH ; \ |
| IMG_IDEAL ; \ |
| IMG_KON_NONE ; \ |
| IMG_KON_LEFT ; \ |
| IMG_KON_RIGHT ; \ |
| IMG_KON_PARALLEL ;\ |
| IMG_KON_IDEAL ;\ |
| }; \ |
| IdCount = { 11 ; }; |
| |
| ImageList IL_WRAP |
| { |
| Prefix = "wr"; |
| MaskColor = IMAGE_MASK_COLOR ; |
| WRAP_IDLIST |
| }; |
| ImageList ILH_WRAP |
| { |
| Prefix = "wrh"; |
| MaskColor = IMAGE_MASK_COLOR ; |
| WRAP_IDLIST |
| }; |
| |
| }; |
| |