1*cdf0e10cSrcweir /************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir #ifndef SW_UNOMID_HXX 28*cdf0e10cSrcweir #define SW_UNOMID_HXX 29*cdf0e10cSrcweir 30*cdf0e10cSrcweir #define C2S(cChar) String::CreateFromAscii( cChar ) 31*cdf0e10cSrcweir #define C2U(cChar) rtl::OUString::createFromAscii( cChar ) 32*cdf0e10cSrcweir 33*cdf0e10cSrcweir #define MID_MIRROR_VERT 0 34*cdf0e10cSrcweir #define MID_MIRROR_HORZ_EVEN_PAGES 1 35*cdf0e10cSrcweir #define MID_MIRROR_HORZ_ODD_PAGES 2 36*cdf0e10cSrcweir 37*cdf0e10cSrcweir #define MID_PAGEDESC_PAGEDESCNAME 0 38*cdf0e10cSrcweir #define MID_PAGEDESC_PAGENUMOFFSET 1 39*cdf0e10cSrcweir 40*cdf0e10cSrcweir #define MID_SURROUND_SURROUNDTYPE 0 41*cdf0e10cSrcweir #define MID_SURROUND_ANCHORONLY 1 42*cdf0e10cSrcweir #define MID_SURROUND_CONTOUR 2 43*cdf0e10cSrcweir #define MID_SURROUND_CONTOUROUTSIDE 3 44*cdf0e10cSrcweir 45*cdf0e10cSrcweir #define MID_VERTORIENT_ORIENT 0 46*cdf0e10cSrcweir #define MID_VERTORIENT_RELATION 1 47*cdf0e10cSrcweir #define MID_VERTORIENT_POSITION 2 48*cdf0e10cSrcweir 49*cdf0e10cSrcweir #define MID_HORIORIENT_ORIENT 0 50*cdf0e10cSrcweir #define MID_HORIORIENT_RELATION 1 51*cdf0e10cSrcweir #define MID_HORIORIENT_POSITION 2 52*cdf0e10cSrcweir #define MID_HORIORIENT_PAGETOGGLE 3 53*cdf0e10cSrcweir 54*cdf0e10cSrcweir #define MID_ANCHOR_ANCHORTYPE 0 55*cdf0e10cSrcweir #define MID_ANCHOR_PAGENUM 1 56*cdf0e10cSrcweir #define MID_ANCHOR_ANCHORFRAME 2 57*cdf0e10cSrcweir 58*cdf0e10cSrcweir #define MID_URL_HYPERLINKFORMAT 0 59*cdf0e10cSrcweir #define MID_URL_HYPERLINKNAME 1 60*cdf0e10cSrcweir #define MID_URL_CLIENTMAP 2 61*cdf0e10cSrcweir #define MID_URL_SERVERMAP 3 62*cdf0e10cSrcweir #define MID_URL_URL 4 63*cdf0e10cSrcweir #define MID_URL_TARGET 5 64*cdf0e10cSrcweir #define MID_URL_VISITED_FMT 6 65*cdf0e10cSrcweir #define MID_URL_UNVISITED_FMT 7 66*cdf0e10cSrcweir #define MID_URL_HYPERLINKEVENTS 8 67*cdf0e10cSrcweir 68*cdf0e10cSrcweir #define MID_CHAIN_PREVNAME 0 69*cdf0e10cSrcweir #define MID_CHAIN_NEXTNAME 1 70*cdf0e10cSrcweir 71*cdf0e10cSrcweir #define MID_LINENUMBER_COUNT 0 72*cdf0e10cSrcweir #define MID_LINENUMBER_STARTVALUE 1 73*cdf0e10cSrcweir 74*cdf0e10cSrcweir #define MID_DROPCAP_FORMAT 0 75*cdf0e10cSrcweir #define MID_DROPCAP_WHOLE_WORD 1 76*cdf0e10cSrcweir #define MID_DROPCAP_CHAR_STYLE_NAME 2 77*cdf0e10cSrcweir #define MID_DROPCAP_LINES 3 78*cdf0e10cSrcweir #define MID_DROPCAP_COUNT 4 79*cdf0e10cSrcweir #define MID_DROPCAP_DISTANCE 5 80*cdf0e10cSrcweir 81*cdf0e10cSrcweir #define MID_FRMSIZE_SIZE 0 82*cdf0e10cSrcweir #define MID_FRMSIZE_REL_HEIGHT 1 83*cdf0e10cSrcweir #define MID_FRMSIZE_REL_WIDTH 2 84*cdf0e10cSrcweir 85*cdf0e10cSrcweir #define MID_FRMSIZE_WIDTH 4 86*cdf0e10cSrcweir #define MID_FRMSIZE_HEIGHT 5 87*cdf0e10cSrcweir #define MID_FRMSIZE_SIZE_TYPE 6 88*cdf0e10cSrcweir #define MID_FRMSIZE_IS_AUTO_HEIGHT 7 89*cdf0e10cSrcweir /* XML only */ 90*cdf0e10cSrcweir #define MID_FRMSIZE_MIN_HEIGHT 8 91*cdf0e10cSrcweir #define MID_FRMSIZE_FIX_HEIGHT 9 92*cdf0e10cSrcweir #define MID_FRMSIZE_COL_WIDTH 10 93*cdf0e10cSrcweir #define MID_FRMSIZE_REL_COL_WIDTH 11 94*cdf0e10cSrcweir /* UNO */ 95*cdf0e10cSrcweir #define MID_FRMSIZE_IS_SYNC_WIDTH_TO_HEIGHT 12 96*cdf0e10cSrcweir #define MID_FRMSIZE_IS_SYNC_HEIGHT_TO_WIDTH 13 97*cdf0e10cSrcweir #define MID_FRMSIZE_WIDTH_TYPE 14 98*cdf0e10cSrcweir 99*cdf0e10cSrcweir #define MID_COLUMNS 0 100*cdf0e10cSrcweir #define MID_COLUMN_SEPARATOR_LINE 1 101*cdf0e10cSrcweir 102*cdf0e10cSrcweir //SwFmtFtnAtTxtEnd 103*cdf0e10cSrcweir #define MID_COLLECT 0 104*cdf0e10cSrcweir #define MID_RESTART_NUM 1 105*cdf0e10cSrcweir #define MID_NUM_START_AT 2 106*cdf0e10cSrcweir #define MID_OWN_NUM 3 107*cdf0e10cSrcweir #define MID_NUM_TYPE 4 108*cdf0e10cSrcweir #define MID_PREFIX 5 109*cdf0e10cSrcweir #define MID_SUFFIX 6 110*cdf0e10cSrcweir 111*cdf0e10cSrcweir //page style footnote 112*cdf0e10cSrcweir #define MID_FTN_HEIGHT 0 113*cdf0e10cSrcweir #define MID_LINE_WEIGHT 1 114*cdf0e10cSrcweir #define MID_LINE_COLOR 2 115*cdf0e10cSrcweir #define MID_LINE_RELWIDTH 3 116*cdf0e10cSrcweir #define MID_LINE_ADJUST 4 117*cdf0e10cSrcweir #define MID_LINE_TEXT_DIST 5 118*cdf0e10cSrcweir #define MID_LINE_FOOTNOTE_DIST 6 119*cdf0e10cSrcweir 120*cdf0e10cSrcweir //SwFmtRuby 121*cdf0e10cSrcweir #define MID_RUBY_TEXT 0 122*cdf0e10cSrcweir #define MID_RUBY_ADJUST 1 123*cdf0e10cSrcweir #define MID_RUBY_CHARSTYLE 2 124*cdf0e10cSrcweir #define MID_RUBY_ABOVE 3 125*cdf0e10cSrcweir 126*cdf0e10cSrcweir //SwTextGridItem 127*cdf0e10cSrcweir #define MID_GRID_COLOR 0 128*cdf0e10cSrcweir #define MID_GRID_LINES 1 129*cdf0e10cSrcweir #define MID_GRID_BASEHEIGHT 2 130*cdf0e10cSrcweir #define MID_GRID_RUBYHEIGHT 3 131*cdf0e10cSrcweir #define MID_GRID_TYPE 4 132*cdf0e10cSrcweir #define MID_GRID_RUBY_BELOW 5 133*cdf0e10cSrcweir #define MID_GRID_PRINT 6 134*cdf0e10cSrcweir #define MID_GRID_DISPLAY 7 135*cdf0e10cSrcweir #define MID_GRID_BASEWIDTH 8 136*cdf0e10cSrcweir #define MID_GRID_SNAPTOCHARS 9 137*cdf0e10cSrcweir #define MID_GRID_STANDARD_MODE 10 138*cdf0e10cSrcweir 139*cdf0e10cSrcweir //SwEnvItem 140*cdf0e10cSrcweir #define MID_ENV_ADDR_TEXT 1 141*cdf0e10cSrcweir #define MID_ENV_SEND 2 142*cdf0e10cSrcweir #define MID_SEND_TEXT 3 143*cdf0e10cSrcweir #define MID_ENV_ADDR_FROM_LEFT 4 144*cdf0e10cSrcweir #define MID_ENV_ADDR_FROM_TOP 5 145*cdf0e10cSrcweir #define MID_ENV_SEND_FROM_LEFT 6 146*cdf0e10cSrcweir #define MID_ENV_SEND_FROM_TOP 7 147*cdf0e10cSrcweir #define MID_ENV_WIDTH 8 148*cdf0e10cSrcweir #define MID_ENV_HEIGHT 9 149*cdf0e10cSrcweir #define MID_ENV_ALIGN 10 150*cdf0e10cSrcweir #define MID_ENV_PRINT_FROM_ABOVE 11 151*cdf0e10cSrcweir #define MID_ENV_SHIFT_RIGHT 12 152*cdf0e10cSrcweir #define MID_ENV_SHIFT_DOWN 13 153*cdf0e10cSrcweir 154*cdf0e10cSrcweir // OD 2004-05-04 #i28701# - SwFmtWrapInfluenceOnObjPos 155*cdf0e10cSrcweir #define MID_WRAP_INFLUENCE 0 156*cdf0e10cSrcweir 157*cdf0e10cSrcweir #endif 158