wrap.src (8660f102) | wrap.src (55f1b03e) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 11 unchanged lines hidden (view full) --- 20 *************************************************************/ 21 22 23 24#include "frmui.hrc" 25#include "wrap.hrc" 26#include "globals.hrc" 27#include "helpid.h" | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 11 unchanged lines hidden (view full) --- 20 *************************************************************/ 21 22 23 24#include "frmui.hrc" 25#include "wrap.hrc" 26#include "globals.hrc" 27#include "helpid.h" |
28 |
|
28TabPage TP_FRM_WRAP 29{ 30 SVLook = TRUE ; 31 HelpID = HID_FRM_EXT ; | 29TabPage TP_FRM_WRAP 30{ 31 SVLook = TRUE ; 32 HelpID = HID_FRM_EXT ; |
32 Pos = MAP_APPFONT ( 0 , 0 ) ; 33 Size = MAP_APPFONT ( 260 , 185 ) ; | 33 Pos = MAP_APPFONT ( 0, 0 ) ; 34 Size = MAP_APPFONT ( 260, 185 ) ; |
34 Hide = TRUE; | 35 Hide = TRUE; |
35 FixedLine C_WRAP_FL | 36 FixedLine C_WRAP_FL |
36 { | 37 { |
37 Pos = MAP_APPFONT ( 6 , 3 ) ; 38 Size = MAP_APPFONT ( 248 , 8 ) ; 39 Text [ en-US ] = "Settings"; | 38 Pos = MAP_APPFONT ( 6, 3 ) ; 39 Size = MAP_APPFONT ( 248, 8 ) ; 40 Text [ en-US ] = "Settings" ; |
40 }; 41 ImageRadioButton RB_NO_WRAP 42 { | 41 }; 42 ImageRadioButton RB_NO_WRAP 43 { |
43 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_NO_WRAP"; 44 Pos = MAP_APPFONT ( 6 , 14 ) ; 45 Size = MAP_APPFONT ( 40 , 37 ) ; 46 WordBreak = TRUE; | 44 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_NO_WRAP" ; 45 Pos = MAP_APPFONT ( 6, 14 ) ; 46 Size = MAP_APPFONT ( 40, 37 ) ; 47 WordBreak = TRUE; |
47 Text [ en-US ] = "~None" ; 48 TopImage = True ; 49 }; 50 ImageRadioButton RB_WRAP_LEFT 51 { | 48 Text [ en-US ] = "~None" ; 49 TopImage = True ; 50 }; 51 ImageRadioButton RB_WRAP_LEFT 52 { |
52 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_LEFT"; 53 Pos = MAP_APPFONT ( 65 , 14 ) ; 54 Size = MAP_APPFONT ( 40 , 37 ) ; 55 WordBreak = TRUE; 56 TopImage = True ; 57 Text [ en-US ] = "Before" ; | 53 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_LEFT" ; 54 Pos = MAP_APPFONT ( 65, 14 ) ; 55 Size = MAP_APPFONT ( 40, 37 ) ; 56 WordBreak = TRUE; 57 TopImage = True ; 58 Text [ en-US ] = "Before" ; |
58 }; 59 ImageRadioButton RB_WRAP_RIGHT 60 { | 59 }; 60 ImageRadioButton RB_WRAP_RIGHT 61 { |
61 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_RIGHT"; 62 Pos = MAP_APPFONT ( 121 , 14 ) ; 63 Size = MAP_APPFONT ( 40 , 37 ) ; 64 WordBreak = TRUE; 65 TopImage = True ; 66 Text [ en-US ] = "After" ; | 62 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_RIGHT" ; 63 Pos = MAP_APPFONT ( 121, 14 ) ; 64 Size = MAP_APPFONT ( 40, 37 ) ; 65 WordBreak = TRUE; 66 TopImage = True ; 67 Text [ en-US ] = "After" ; |
67 }; 68 ImageRadioButton RB_WRAP_PARALLEL 69 { | 68 }; 69 ImageRadioButton RB_WRAP_PARALLEL 70 { |
70 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_PARALLEL"; 71 Pos = MAP_APPFONT ( 177 , 14 ) ; 72 Size = MAP_APPFONT ( 40 , 37 ) ; 73 WordBreak = TRUE; | 71 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_PARALLEL" ; 72 Pos = MAP_APPFONT ( 177, 14 ) ; 73 Size = MAP_APPFONT ( 40, 37 ) ; 74 WordBreak = TRUE; |
74 Text [ en-US ] = "~Parallel" ; 75 TopImage = True ; 76 }; 77 ImageRadioButton RB_WRAP_THROUGH 78 { | 75 Text [ en-US ] = "~Parallel" ; 76 TopImage = True ; 77 }; 78 ImageRadioButton RB_WRAP_THROUGH 79 { |
79 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_THROUGH"; 80 Pos = MAP_APPFONT ( 6 , 57 ) ; 81 Size = MAP_APPFONT ( 40 , 37 ) ; 82 WordBreak = TRUE; | 80 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_THROUGH" ; 81 Pos = MAP_APPFONT ( 6, 57 ) ; 82 Size = MAP_APPFONT ( 40, 37 ) ; 83 WordBreak = TRUE; |
83 Text [ en-US ] = "Thro~ugh" ; 84 TopImage = True ; 85 }; 86 ImageRadioButton RB_WRAP_IDEAL 87 { | 84 Text [ en-US ] = "Thro~ugh" ; 85 TopImage = True ; 86 }; 87 ImageRadioButton RB_WRAP_IDEAL 88 { |
88 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_IDEAL"; 89 Pos = MAP_APPFONT ( 65 , 57 ) ; 90 Size = MAP_APPFONT ( 40 , 37 ) ; 91 WordBreak = TRUE; | 89 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_IDEAL" ; 90 Pos = MAP_APPFONT ( 65, 57 ) ; 91 Size = MAP_APPFONT ( 40, 37 ) ; 92 WordBreak = TRUE; |
92 TopImage = True ; 93 Text [ en-US ] = "~Optimal" ; 94 }; 95 96 CheckBox CB_ANCHOR_ONLY 97 { | 93 TopImage = True ; 94 Text [ en-US ] = "~Optimal" ; 95 }; 96 97 CheckBox CB_ANCHOR_ONLY 98 { |
98 HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ANCHOR_ONLY"; 99 Pos = MAP_APPFONT ( 139 , 111 ) ; 100 Size = MAP_APPFONT ( 109 , 10 ) ; | 99 HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ANCHOR_ONLY" ; 100 Pos = MAP_APPFONT ( 139, 111 ) ; 101 Size = MAP_APPFONT ( 109, 10 ) ; |
101 Text [ en-US ] = "~First paragraph" ; 102 }; 103 CheckBox CB_TRANSPARENT 104 { | 102 Text [ en-US ] = "~First paragraph" ; 103 }; 104 CheckBox CB_TRANSPARENT 105 { |
105 HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_TRANSPARENT"; 106 Pos = MAP_APPFONT ( 139 , 125 ) ; 107 Size = MAP_APPFONT ( 109 , 10 ) ; | 106 HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_TRANSPARENT" ; 107 Pos = MAP_APPFONT ( 139, 125 ) ; 108 Size = MAP_APPFONT ( 109, 10 ) ; |
108 Text [ en-US ] = "In bac~kground" ; 109 }; 110 CheckBox CB_OUTLINE 111 { | 109 Text [ en-US ] = "In bac~kground" ; 110 }; 111 CheckBox CB_OUTLINE 112 { |
112 HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_OUTLINE"; 113 Pos = MAP_APPFONT ( 139 , 139 ) ; 114 Size = MAP_APPFONT ( 109 , 10 ) ; | 113 HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_OUTLINE" ; 114 Pos = MAP_APPFONT ( 139, 139 ) ; 115 Size = MAP_APPFONT ( 109, 10 ) ; |
115 Hide = TRUE ; 116 Text [ en-US ] = "~Contour" ; 117 }; 118 CheckBox CB_ONLYOUTSIDE 119 { | 116 Hide = TRUE ; 117 Text [ en-US ] = "~Contour" ; 118 }; 119 CheckBox CB_ONLYOUTSIDE 120 { |
120 HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ONLYOUTSIDE"; 121 Pos = MAP_APPFONT ( 139 , 153 ) ; 122 Size = MAP_APPFONT ( 109 , 10 ) ; | 121 HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ONLYOUTSIDE" ; 122 Pos = MAP_APPFONT ( 139, 153 ) ; 123 Size = MAP_APPFONT ( 109, 10 ) ; |
123 Hide = TRUE ; | 124 Hide = TRUE ; |
124 Text [ en-US ] = "Outside only" ; | 125 Text [ en-US ] = "Outside only" ; |
125 }; | 126 }; |
126 FixedLine FL_OPTION | 127 FixedLine FL_OPTION |
127 { | 128 { |
128 Pos = MAP_APPFONT ( 133 , 100 ) ; 129 Size = MAP_APPFONT ( 121 , 8 ) ; | 129 Pos = MAP_APPFONT ( 133, 100 ) ; 130 Size = MAP_APPFONT ( 121, 8 ) ; |
130 Text [ en-US ] = "Options" ; 131 }; | 131 Text [ en-US ] = "Options" ; 132 }; |
132 FixedLine FL_OPTION_SEP | 133 FixedLine FL_OPTION_SEP |
133 { | 134 { |
134 Pos = MAP_APPFONT ( 128 , 111 ) ; 135 Size = MAP_APPFONT ( 4 , 60 ) ; 136 Vert = TRUE; 137 }; 138 FixedText FT_LEFT_MARGIN | 135 Pos = MAP_APPFONT ( 128, 111 ) ; 136 Size = MAP_APPFONT ( 4, 60 ) ; 137 Vert = TRUE; 138 }; 139 FixedText FT_LEFT_MARGIN |
139 { | 140 { |
140 Pos = MAP_APPFONT ( 12 , 113 ) ; 141 Size = MAP_APPFONT ( 60 , 8 ) ; | 141 Pos = MAP_APPFONT ( 12, 113 ) ; 142 Size = MAP_APPFONT ( 60, 8 ) ; |
142 Text [ en-US ] = "L~eft" ; 143 Left = TRUE ; 144 }; 145 MetricField ED_LEFT_MARGIN 146 { | 143 Text [ en-US ] = "L~eft" ; 144 Left = TRUE ; 145 }; 146 MetricField ED_LEFT_MARGIN 147 { |
147 HelpID = "sw:MetricField:TP_FRM_WRAP:ED_LEFT_MARGIN"; | 148 HelpID = "sw:MetricField:TP_FRM_WRAP:ED_LEFT_MARGIN" ; |
148 Border = TRUE ; | 149 Border = TRUE ; |
149 Pos = MAP_APPFONT ( 81 , 111 ) ; 150 Size = MAP_APPFONT ( 40 , 12 ) ; | 150 Pos = MAP_APPFONT ( 81, 111 ) ; 151 Size = MAP_APPFONT ( 40, 12 ) ; |
151 TabStop = TRUE ; 152 Left = TRUE ; 153 Repeat = TRUE ; 154 Spin = TRUE ; 155 Maximum = 9999 ; 156 DecimalDigits = 2 ; 157 Unit = FUNIT_CM ; 158 Last = 9999 ; 159 SpinSize = 10 ; 160 }; 161 FixedText FT_RIGHT_MARGIN 162 { | 152 TabStop = TRUE ; 153 Left = TRUE ; 154 Repeat = TRUE ; 155 Spin = TRUE ; 156 Maximum = 9999 ; 157 DecimalDigits = 2 ; 158 Unit = FUNIT_CM ; 159 Last = 9999 ; 160 SpinSize = 10 ; 161 }; 162 FixedText FT_RIGHT_MARGIN 163 { |
163 Pos = MAP_APPFONT ( 12 , 129 ) ; 164 Size = MAP_APPFONT ( 60 , 8 ) ; 165 Text [ en-US ] = "~Right" ; | 164 Pos = MAP_APPFONT ( 12, 129 ) ; 165 Size = MAP_APPFONT ( 60, 8 ) ; 166 Text [ en-US ] = "~Right" ; |
166 Left = TRUE ; 167 }; 168 MetricField ED_RIGHT_MARGIN 169 { | 167 Left = TRUE ; 168 }; 169 MetricField ED_RIGHT_MARGIN 170 { |
170 HelpID = "sw:MetricField:TP_FRM_WRAP:ED_RIGHT_MARGIN"; | 171 HelpID = "sw:MetricField:TP_FRM_WRAP:ED_RIGHT_MARGIN" ; |
171 Border = TRUE ; | 172 Border = TRUE ; |
172 Pos = MAP_APPFONT ( 81 , 127 ) ; 173 Size = MAP_APPFONT ( 40 , 12 ) ; | 173 Pos = MAP_APPFONT ( 81, 127 ) ; 174 Size = MAP_APPFONT ( 40, 12 ) ; |
174 TabStop = TRUE ; 175 Left = TRUE ; 176 Repeat = TRUE ; 177 Spin = TRUE ; 178 Maximum = 9999 ; 179 DecimalDigits = 2 ; 180 Unit = FUNIT_CM ; 181 Last = 9999 ; 182 SpinSize = 10 ; 183 }; 184 FixedText FT_TOP_MARGIN 185 { | 175 TabStop = TRUE ; 176 Left = TRUE ; 177 Repeat = TRUE ; 178 Spin = TRUE ; 179 Maximum = 9999 ; 180 DecimalDigits = 2 ; 181 Unit = FUNIT_CM ; 182 Last = 9999 ; 183 SpinSize = 10 ; 184 }; 185 FixedText FT_TOP_MARGIN 186 { |
186 Pos = MAP_APPFONT ( 12 , 145 ) ; 187 Size = MAP_APPFONT ( 60 , 8 ) ; | 187 Pos = MAP_APPFONT ( 12, 145 ) ; 188 Size = MAP_APPFONT ( 60, 8 ) ; |
188 Text [ en-US ] = "~Top" ; 189 Left = TRUE ; 190 }; 191 MetricField ED_TOP_MARGIN 192 { | 189 Text [ en-US ] = "~Top" ; 190 Left = TRUE ; 191 }; 192 MetricField ED_TOP_MARGIN 193 { |
193 HelpID = "sw:MetricField:TP_FRM_WRAP:ED_TOP_MARGIN"; | 194 HelpID = "sw:MetricField:TP_FRM_WRAP:ED_TOP_MARGIN" ; |
194 Border = TRUE ; | 195 Border = TRUE ; |
195 Pos = MAP_APPFONT ( 81 , 143 ) ; 196 Size = MAP_APPFONT ( 40 , 12 ) ; | 196 Pos = MAP_APPFONT ( 81, 143 ) ; 197 Size = MAP_APPFONT ( 40, 12 ) ; |
197 TabStop = TRUE ; 198 Left = TRUE ; 199 Repeat = TRUE ; 200 Spin = TRUE ; 201 Maximum = 9999 ; 202 DecimalDigits = 2 ; 203 Unit = FUNIT_CM ; 204 Last = 9999 ; 205 SpinSize = 10 ; 206 }; 207 FixedText FT_BOTTOM_MARGIN 208 { | 198 TabStop = TRUE ; 199 Left = TRUE ; 200 Repeat = TRUE ; 201 Spin = TRUE ; 202 Maximum = 9999 ; 203 DecimalDigits = 2 ; 204 Unit = FUNIT_CM ; 205 Last = 9999 ; 206 SpinSize = 10 ; 207 }; 208 FixedText FT_BOTTOM_MARGIN 209 { |
209 Pos = MAP_APPFONT ( 12 , 161 ) ; 210 Size = MAP_APPFONT ( 60 , 8 ) ; | 210 Pos = MAP_APPFONT ( 12, 161 ) ; 211 Size = MAP_APPFONT ( 60, 8 ) ; |
211 Text [ en-US ] = "~Bottom" ; 212 Left = TRUE ; 213 }; 214 MetricField ED_BOTTOM_MARGIN 215 { | 212 Text [ en-US ] = "~Bottom" ; 213 Left = TRUE ; 214 }; 215 MetricField ED_BOTTOM_MARGIN 216 { |
216 HelpID = "sw:MetricField:TP_FRM_WRAP:ED_BOTTOM_MARGIN"; | 217 HelpID = "sw:MetricField:TP_FRM_WRAP:ED_BOTTOM_MARGIN" ; |
217 Border = TRUE ; | 218 Border = TRUE ; |
218 Pos = MAP_APPFONT ( 81 , 159 ) ; 219 Size = MAP_APPFONT ( 40 , 12 ) ; | 219 Pos = MAP_APPFONT ( 81, 159 ) ; 220 Size = MAP_APPFONT ( 40, 12 ) ; |
220 TabStop = TRUE ; 221 Left = TRUE ; 222 Repeat = TRUE ; 223 Spin = TRUE ; 224 Maximum = 9999 ; 225 DecimalDigits = 2 ; 226 Unit = FUNIT_CM ; 227 Last = 9999 ; 228 SpinSize = 10 ; 229 }; | 221 TabStop = TRUE ; 222 Left = TRUE ; 223 Repeat = TRUE ; 224 Spin = TRUE ; 225 Maximum = 9999 ; 226 DecimalDigits = 2 ; 227 Unit = FUNIT_CM ; 228 Last = 9999 ; 229 SpinSize = 10 ; 230 }; |
230 FixedLine FL_MARGIN | 231 FixedLine FL_MARGIN |
231 { | 232 { |
232 Pos = MAP_APPFONT ( 6 , 100 ) ; 233 Size = MAP_APPFONT ( 121 , 8 ) ; | 233 Pos = MAP_APPFONT ( 6, 100 ) ; 234 Size = MAP_APPFONT ( 121, 8 ) ; |
234 Text [ en-US ] = "Spacing" ; 235 }; | 235 Text [ en-US ] = "Spacing" ; 236 }; |
236#define WRAP_IDLIST \ 237 IdList = \ 238 { \ 239 IMG_NONE ; \ 240 IMG_LEFT ; \ 241 IMG_RIGHT ; \ 242 IMG_PARALLEL ; \ 243 IMG_THROUGH ; \ 244 IMG_IDEAL ; \ 245 IMG_KON_NONE ; \ 246 IMG_KON_LEFT ; \ 247 IMG_KON_RIGHT ; \ 248 IMG_KON_PARALLEL ;\ 249 IMG_KON_IDEAL ;\ 250 }; \ 251 IdCount = { 11 ; }; | 237#define WRAP_IDLIST \ 238 IdList = \ 239 { \ 240 IMG_NONE ; \ 241 IMG_LEFT ; \ 242 IMG_RIGHT ; \ 243 IMG_PARALLEL ; \ 244 IMG_THROUGH ; \ 245 IMG_IDEAL ; \ 246 IMG_KON_NONE ; \ 247 IMG_KON_LEFT ; \ 248 IMG_KON_RIGHT ; \ 249 IMG_KON_PARALLEL; \ 250 IMG_KON_IDEAL ; \ 251 }; \ 252 IdCount = { 11 ; }; |
252 253 ImageList IL_WRAP 254 { | 253 254 ImageList IL_WRAP 255 { |
255 Prefix = "wr"; 256 MaskColor = IMAGE_MASK_COLOR ; 257 WRAP_IDLIST 258 }; 259 ImageList ILH_WRAP | 256 Prefix = "wr" ; 257 WRAP_IDLIST 258 }; 259 ImageList ILH_WRAP |
260 { | 260 { |
261 Prefix = "wrh"; 262 MaskColor = IMAGE_MASK_COLOR ; 263 WRAP_IDLIST 264 }; 265 | 261 Prefix = "wrh" ; 262 WRAP_IDLIST 263 }; |
266}; | 264}; |
267 | |