1*b9e67834SAndre Fischer/************************************************************** 2*b9e67834SAndre Fischer * 3*b9e67834SAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one 4*b9e67834SAndre Fischer * or more contributor license agreements. See the NOTICE file 5*b9e67834SAndre Fischer * distributed with this work for additional information 6*b9e67834SAndre Fischer * regarding copyright ownership. The ASF licenses this file 7*b9e67834SAndre Fischer * to you under the Apache License, Version 2.0 (the 8*b9e67834SAndre Fischer * "License"); you may not use this file except in compliance 9*b9e67834SAndre Fischer * with the License. You may obtain a copy of the License at 10*b9e67834SAndre Fischer * 11*b9e67834SAndre Fischer * http://www.apache.org/licenses/LICENSE-2.0 12*b9e67834SAndre Fischer * 13*b9e67834SAndre Fischer * Unless required by applicable law or agreed to in writing, 14*b9e67834SAndre Fischer * software distributed under the License is distributed on an 15*b9e67834SAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*b9e67834SAndre Fischer * KIND, either express or implied. See the License for the 17*b9e67834SAndre Fischer * specific language governing permissions and limitations 18*b9e67834SAndre Fischer * under the License. 19*b9e67834SAndre Fischer * 20*b9e67834SAndre Fischer *************************************************************/ 21*b9e67834SAndre Fischer 22*b9e67834SAndre Fischer#include "svx/dialogs.hrc" 23*b9e67834SAndre Fischer 24*b9e67834SAndre Fischer#define VS_SPACING_WIDTH 80 25*b9e67834SAndre Fischer#define CUSTOM_HEIGHT CBOX_HEIGHT + MBOX_HEIGHT + POPUPPANEL_MARGIN_LARGE * 3 + POPUPPANEL_MARGIN_SMALL * 2 + TEXT_HEIGHT * 2 26*b9e67834SAndre Fischer#define CUSTOM_WIDTH VS_SPACING_WIDTH - 8 27*b9e67834SAndre Fischer#define CUSTOM_X POPUPPANEL_MARGIN_LARGE + OFFSET_X + 1 28*b9e67834SAndre Fischer#define CUSTOM_Y OFFSET_Y + POPUPPANEL_MARGIN_SMALL * 3 + 15 * 6 + TEXT_HEIGHT 29*b9e67834SAndre Fischer 30*b9e67834SAndre Fischer//#define FT_TEST 1 31*b9e67834SAndre Fischer#define CB_SBFONT_FONT 2 32*b9e67834SAndre Fischer#define MB_SBFONT_FONTSIZE 3 33*b9e67834SAndre Fischer#define TB_FONT 4 34*b9e67834SAndre Fischer#define TB_INCREASE_DECREASE 5 35*b9e67834SAndre Fischer#define TB_FONTCOLOR 6 36*b9e67834SAndre Fischer#define TB_SCRIPT_SW 7 37*b9e67834SAndre Fischer#define TB_HIGHLIGHT 8 38*b9e67834SAndre Fischer#define TB_SPACING 9 39*b9e67834SAndre Fischer#define TB_SCRIPT 10 40*b9e67834SAndre Fischer 41*b9e67834SAndre Fischer 42*b9e67834SAndre Fischer#define IMG_INCREASE 11 43*b9e67834SAndre Fischer#define IMG_INCREASE_H 12 44*b9e67834SAndre Fischer#define IMG_DECREASE 13 45*b9e67834SAndre Fischer#define IMG_DECREASE_H 14 46*b9e67834SAndre Fischer#define IMG_BOLD 15 47*b9e67834SAndre Fischer#define IMG_BOLD_H 16 48*b9e67834SAndre Fischer#define IMG_ITALIC 17 49*b9e67834SAndre Fischer#define IMG_ITALIC_H 18 50*b9e67834SAndre Fischer#define IMG_UNDERLINE 19 51*b9e67834SAndre Fischer#define IMG_UNDERLINE_H 20 52*b9e67834SAndre Fischer#define IMG_STRIKEOUT 21 53*b9e67834SAndre Fischer#define IMG_STRIKEOUT_H 22 54*b9e67834SAndre Fischer#define IMG_SHADOWED 23 55*b9e67834SAndre Fischer#define IMG_SHADOWED_H 24 56*b9e67834SAndre Fischer#define IMG_FONTCOLOR 25 57*b9e67834SAndre Fischer#define IMG_FONTCOLOR_H 26 58*b9e67834SAndre Fischer#define IMG_SUPSCRIPT 27 59*b9e67834SAndre Fischer#define IMG_SUPSCRIPT_H 28 60*b9e67834SAndre Fischer#define IMG_SUBSCRIPT 29 61*b9e67834SAndre Fischer#define IMG_SUBSCRIPT_H 30 62*b9e67834SAndre Fischer//#define IMG_SPACING 31 63*b9e67834SAndre Fischer//#define IMG_SPACING_H 32 64*b9e67834SAndre Fischer#define IMG_HIGHLIGHT 33 65*b9e67834SAndre Fischer#define IMG_HIGHLIGHT_H 34 66*b9e67834SAndre Fischer 67*b9e67834SAndre Fischer#define TBI_FONTCOLOR 50 68*b9e67834SAndre Fischer#define TBI_BOLD 51 69*b9e67834SAndre Fischer#define TBI_ITALIC 52 70*b9e67834SAndre Fischer#define TBI_UNDERLINE 53 71*b9e67834SAndre Fischer#define TBI_STRIKEOUT 54 72*b9e67834SAndre Fischer#define TBI_SHADOWED 55 73*b9e67834SAndre Fischer#define TBI_INCREASE 56 74*b9e67834SAndre Fischer#define TBI_DECREASE 57 75*b9e67834SAndre Fischer#define TBI_HIGHLIGHT 58 76*b9e67834SAndre Fischer#define TBI_SUPER 59 77*b9e67834SAndre Fischer#define TBI_SUB 60 78*b9e67834SAndre Fischer#define TBI_SUPER_SW 61 79*b9e67834SAndre Fischer#define TBI_SUB_SW 62 80*b9e67834SAndre Fischer#define TBI_SPACING 63 81*b9e67834SAndre Fischer 82*b9e67834SAndre Fischer#define IMG_SPACING_D 71 83*b9e67834SAndre Fischer 84*b9e67834SAndre Fischer#define STR_QH_BOLD 72 85*b9e67834SAndre Fischer#define STR_QH_ITALIC 73 86*b9e67834SAndre Fischer#define STR_QH_UNDERLINE 74 87*b9e67834SAndre Fischer 88*b9e67834SAndre Fischer//popup window underline 89*b9e67834SAndre Fischer#define VS_UNDERLINE 1 90*b9e67834SAndre Fischer#define PB_OPTIONS 2 91*b9e67834SAndre Fischer#define BMP_UNDERLINE_MORE 3 92*b9e67834SAndre Fischer#define BMP_UNDERLINE_MORE_H 4 93*b9e67834SAndre Fischer 94*b9e67834SAndre Fischer#define IMG_SINGLE 10 95*b9e67834SAndre Fischer#define IMG_DOUBLE 11 96*b9e67834SAndre Fischer#define IMG_BOLD2 12 97*b9e67834SAndre Fischer#define IMG_DOT 13 98*b9e67834SAndre Fischer#define IMG_DOT_BOLD 14 99*b9e67834SAndre Fischer#define IMG_DASH 15 100*b9e67834SAndre Fischer#define IMG_DASH_LONG 16 101*b9e67834SAndre Fischer#define IMG_DASH_DOT 17 102*b9e67834SAndre Fischer#define IMG_DASH_DOT_DOT 18 103*b9e67834SAndre Fischer#define IMG_WAVE 19 104*b9e67834SAndre Fischer 105*b9e67834SAndre Fischer#define STR_SINGLE 20 106*b9e67834SAndre Fischer#define STR_DOUBLE 21 107*b9e67834SAndre Fischer#define STR_BOLD 22 108*b9e67834SAndre Fischer#define STR_DOT 23 109*b9e67834SAndre Fischer#define STR_DOT_BOLD 24 110*b9e67834SAndre Fischer#define STR_DASH 25 111*b9e67834SAndre Fischer#define STR_DASH_LONG 26 112*b9e67834SAndre Fischer#define STR_DASH_DOT 27 113*b9e67834SAndre Fischer#define STR_DASH_DOT_DOT 28 114*b9e67834SAndre Fischer#define STR_WAVE 29 115*b9e67834SAndre Fischer 116*b9e67834SAndre Fischer#define IMG_SINGLE_H 30 117*b9e67834SAndre Fischer#define IMG_DOUBLE_H 31 118*b9e67834SAndre Fischer#define IMG_BOLD2_H 32 119*b9e67834SAndre Fischer#define IMG_DOT_H 33 120*b9e67834SAndre Fischer#define IMG_DOT_BOLD_H 34 121*b9e67834SAndre Fischer#define IMG_DASH_H 35 122*b9e67834SAndre Fischer#define IMG_DASH_LONG_H 36 123*b9e67834SAndre Fischer#define IMG_DASH_DOT_H 37 124*b9e67834SAndre Fischer#define IMG_DASH_DOT_DOT_H 38 125*b9e67834SAndre Fischer#define IMG_WAVE_H 39 126*b9e67834SAndre Fischer 127*b9e67834SAndre Fischer#define IMG_SINGLE_SEL 40 128*b9e67834SAndre Fischer#define IMG_DOUBLE_SEL 41 129*b9e67834SAndre Fischer#define IMG_BOLD2_SEL 42 130*b9e67834SAndre Fischer#define IMG_DOT_SEL 43 131*b9e67834SAndre Fischer#define IMG_DOT_BOLD_SEL 44 132*b9e67834SAndre Fischer#define IMG_DASH_SEL 45 133*b9e67834SAndre Fischer#define IMG_DASH_LONG_SEL 46 134*b9e67834SAndre Fischer#define IMG_DASH_DOT_SEL 47 135*b9e67834SAndre Fischer#define IMG_DASH_DOT_DOT_SEL 48 136*b9e67834SAndre Fischer#define IMG_WAVE_SEL 49 137*b9e67834SAndre Fischer 138*b9e67834SAndre Fischer//popup window font color 139*b9e67834SAndre Fischer#define VS_FONT_COLOR 1 140*b9e67834SAndre Fischer#define STR_AUTOMATICE 2 141*b9e67834SAndre Fischer 142*b9e67834SAndre Fischer//POPUP WINDOW OF SPACING 143*b9e67834SAndre Fischer#define VS_SPACING 1 144*b9e67834SAndre Fischer 145*b9e67834SAndre Fischer#define CT_BORDER 7 146*b9e67834SAndre Fischer#define LB_KERNING 8 147*b9e67834SAndre Fischer#define ED_KERNING 9 148*b9e67834SAndre Fischer 149*b9e67834SAndre Fischer#define FT_SPACING 18 150*b9e67834SAndre Fischer#define FT_BY 19 151*b9e67834SAndre Fischer#define FT_LASTCUSTOM 20 152*b9e67834SAndre Fischer 153*b9e67834SAndre Fischer#define IMG_NORMAL 31 154*b9e67834SAndre Fischer#define IMG_VERY_TIGHT 32 155*b9e67834SAndre Fischer#define IMG_TIGHT 33 156*b9e67834SAndre Fischer#define IMG_LOOSE 34 157*b9e67834SAndre Fischer#define IMG_VERY_LOOSE 35 158*b9e67834SAndre Fischer#define IMG_CUSTOM 36 159*b9e67834SAndre Fischer#define IMG_CUSTOM_GRAY 37 160*b9e67834SAndre Fischer 161*b9e67834SAndre Fischer#define IMG_NORMAL_S 51 162*b9e67834SAndre Fischer#define IMG_VERY_TIGHT_S 52 163*b9e67834SAndre Fischer#define IMG_TIGHT_S 53 164*b9e67834SAndre Fischer#define IMG_LOOSE_S 54 165*b9e67834SAndre Fischer#define IMG_VERY_LOOSE_S 55 166*b9e67834SAndre Fischer 167*b9e67834SAndre Fischer#define STR_VERY_TIGHT 61 168*b9e67834SAndre Fischer#define STR_TIGHT 62 169*b9e67834SAndre Fischer#define STR_NORMAL 63 170*b9e67834SAndre Fischer#define STR_LOOSE 64 171*b9e67834SAndre Fischer#define STR_VERY_LOOSE 65 172*b9e67834SAndre Fischer#define STR_CUSTOM 66 173*b9e67834SAndre Fischer 174*b9e67834SAndre Fischer#define STR_VERY_TIGHT_TIP 67 175*b9e67834SAndre Fischer#define STR_TIGHT_TIP 68 176*b9e67834SAndre Fischer#define STR_NORMAL_TIP 69 177*b9e67834SAndre Fischer#define STR_LOOSE_TIP 70 178*b9e67834SAndre Fischer#define STR_VERY_LOOSE_TIP 71 179*b9e67834SAndre Fischer 180*b9e67834SAndre Fischer#define STR_CUSTOM_C_TIP 72 181*b9e67834SAndre Fischer#define STR_CUSTOM_E_TIP 73 182*b9e67834SAndre Fischer#define STR_PT 74 183*b9e67834SAndre Fischer 184*b9e67834SAndre Fischer//help ids 185*b9e67834SAndre Fischer#define HID_COMBO_FONT_NAME "SVX_HID_COMBO_FONT_NAME" 186*b9e67834SAndre Fischer#define HID_METRIC_FONT_SIZE "SVX_HID_METRIC_FONT_SIZE" 187*b9e67834SAndre Fischer#define HID_TB_INCREASE_DECREASE "SVX_HID_TB_INCREASE_DECREASE" 188*b9e67834SAndre Fischer#define HID_TBI_INCREASE "SVX_HID_TBI_INCREASE" 189*b9e67834SAndre Fischer#define HID_TBI_DECREASE "SVX_HID_TBI_DECREASE" 190*b9e67834SAndre Fischer#define HID_TB_FONT "SVX_HID_TB_FONT" 191*b9e67834SAndre Fischer#define HID_TBI_FONT_BOLD "SVX_HID_TBI_FONT_BOLD" 192*b9e67834SAndre Fischer#define HID_TBI_FONT_ITALIC "SVX_HID_TBI_FONT_ITALIC" 193*b9e67834SAndre Fischer#define HID_TBI_FONT_UNDERLINE "SVX_HID_TBI_FONT_UNDERLINE" 194*b9e67834SAndre Fischer#define HID_TBI_FONT_STRIKEOUT "SVX_HID_TBI_FONT_STRIKEOUT" 195*b9e67834SAndre Fischer#define HID_TBI_FONT_SHADOWED "SVX_HID_TBI_FONT_SHADOWED" 196*b9e67834SAndre Fischer#define HID_TB_COLOR "SVX_HID_TB_COLOR" 197*b9e67834SAndre Fischer#define HID_TBI_COLOR "SVX_HID_TBI_COLOR" 198*b9e67834SAndre Fischer#define HID_TB_SCRIPT "SVX_HID_TB_SCRIPT" 199*b9e67834SAndre Fischer#define HID_TBI_SCRIPT_SUPER "SVX_HID_TBI_SCRIPT_SUPER" 200*b9e67834SAndre Fischer#define HID_TBI_SCRIPT_SUB "SVX_HID_TBI_SCRIPT_SUB" 201*b9e67834SAndre Fischer#define HID_TB_SCRIPT_SW "SVX_HID_TB_SCRIPT_SW" 202*b9e67834SAndre Fischer#define HID_TBI_SCRIPT_SW_SUPER "SVX_HID_TBI_SCRIPT_SW_SUPER" 203*b9e67834SAndre Fischer#define HID_TBI_SCRIPT_SW_SUB "SVX_HID_TBI_SCRIPT_SW_SUB" 204*b9e67834SAndre Fischer#define HID_TB_SPACING "SVX_HID_TB_SPACING" 205*b9e67834SAndre Fischer#define HID_TBI_SPACING "SVX_HID_TBI_SPACING" 206*b9e67834SAndre Fischer#define HID_TB_HIGHLIGHT "SVX_HID_TB_HIGHLIGHT" 207*b9e67834SAndre Fischer#define HID_TBI_HIGHLIGHT "SVX_HID_TBI_HIGHLIGHT" 208*b9e67834SAndre Fischer 209*b9e67834SAndre Fischer#define HID_UNDERLINE_VS "SVX_HID_UNDERLINE_VS" 210*b9e67834SAndre Fischer#define HID_UNDERLINE_BTN "SVX_HID_UNDERLINE_BTN" 211*b9e67834SAndre Fischer 212*b9e67834SAndre Fischer#define HID_COLOR_VS "SVX_HID_COLOR_VS" 213*b9e67834SAndre Fischer 214*b9e67834SAndre Fischer#define HID_SPACING_TB_VERY_LOOSE "SVX_HID_SPACING_TB_VERY_LOOSE" 215*b9e67834SAndre Fischer#define HID_SPACING_TBI_VERY_LOOSE "SVX_HID_SPACING_TBI_VERY_LOOSE" 216*b9e67834SAndre Fischer#define HID_SPACING_TB_LOOSE "SVX_HID_SPACING_TB_LOOSE" 217*b9e67834SAndre Fischer#define HID_SPACING_TBI_LOOSE "SVX_HID_SPACING_TBI_LOOSE" 218*b9e67834SAndre Fischer#define HID_SPACING_TB_NORMAL "SVX_HID_SPACING_TB_NORMAL" 219*b9e67834SAndre Fischer#define HID_SPACING_TBI_NORMAL "SVX_HID_SPACING_TBI_NORMAL" 220*b9e67834SAndre Fischer#define HID_SPACING_TB_TIGHT "SVX_HID_SPACING_TB_TIGHT" 221*b9e67834SAndre Fischer#define HID_SPACING_TBI_TIGHT "SVX_HID_SPACING_TBI_TIGHT" 222*b9e67834SAndre Fischer#define HID_SPACING_TB_VERY_TIGHT "SVX_HID_SPACING_TB_VERY_TIGHT" 223*b9e67834SAndre Fischer#define HID_SPACING_TBI_VERY_TIGHT "SVX_HID_SPACING_TBI_VERY_TIGHT" 224*b9e67834SAndre Fischer#define HID_SPACING_TB_CUSTOM "SVX_HID_SPACING_TB_CUSTOM" 225*b9e67834SAndre Fischer#define HID_SPACING_TBI_CUSTOM "SVX_HID_SPACING_TBI_CUSTOM" 226*b9e67834SAndre Fischer#define HID_SPACING_CB_KERN "SVX_HID_SPACING_CB_KERN" 227*b9e67834SAndre Fischer#define HID_SPACING_MB_KERN "SVX_HID_SPACING_MB_KERN" 228