1*3334a7e6SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*3334a7e6SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*3334a7e6SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*3334a7e6SAndrew Rist * distributed with this work for additional information 6*3334a7e6SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*3334a7e6SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*3334a7e6SAndrew Rist * "License"); you may not use this file except in compliance 9*3334a7e6SAndrew Rist * with the License. You may obtain a copy of the License at 10*3334a7e6SAndrew Rist * 11*3334a7e6SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*3334a7e6SAndrew Rist * 13*3334a7e6SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*3334a7e6SAndrew Rist * software distributed under the License is distributed on an 15*3334a7e6SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*3334a7e6SAndrew Rist * KIND, either express or implied. See the License for the 17*3334a7e6SAndrew Rist * specific language governing permissions and limitations 18*3334a7e6SAndrew Rist * under the License. 19*3334a7e6SAndrew Rist * 20*3334a7e6SAndrew Rist *************************************************************/ 21*3334a7e6SAndrew Rist 22*3334a7e6SAndrew Rist 23cdf0e10cSrcweir #ifndef _SVX_FLAGSDEF_HXX 24cdf0e10cSrcweir #define _SVX_FLAGSDEF_HXX 25cdf0e10cSrcweir 26cdf0e10cSrcweir // defines --------------------------------------------------------------- 27cdf0e10cSrcweir 28cdf0e10cSrcweir //CHINA001 copy from border.hxx 29cdf0e10cSrcweir // Border-Modes for paragraphs, textframes and tables 30cdf0e10cSrcweir #define SW_BORDER_MODE_PARA 0x01 31cdf0e10cSrcweir #define SW_BORDER_MODE_TABLE 0x02 32cdf0e10cSrcweir #define SW_BORDER_MODE_FRAME 0x04 33cdf0e10cSrcweir 34cdf0e10cSrcweir //CHINA001 flags for SvxBackgroundTabPage 35cdf0e10cSrcweir #define SVX_SHOW_SELECTOR 0x01 36cdf0e10cSrcweir #define SVX_SHOW_PARACTL 0x02 37cdf0e10cSrcweir #define SVX_ENABLE_TRANSPARENCY 0x04 38cdf0e10cSrcweir #define SVX_SHOW_TBLCTL 0x08 39cdf0e10cSrcweir 40cdf0e10cSrcweir //CHINA001 flags for SvxBorderTabPage 41cdf0e10cSrcweir #define SVX_HIDESHADOWCTL 0x01 42cdf0e10cSrcweir 43cdf0e10cSrcweir //CHINA001 copy from chardlg.hxx 44cdf0e10cSrcweir #define DISABLE_CASEMAP ((sal_uInt16)0x0001) 45cdf0e10cSrcweir #define DISABLE_WORDLINE ((sal_uInt16)0x0002) 46cdf0e10cSrcweir #define DISABLE_BLINK ((sal_uInt16)0x0004) 47cdf0e10cSrcweir #define DISABLE_UNDERLINE_COLOR ((sal_uInt16)0x0008) 48cdf0e10cSrcweir 49cdf0e10cSrcweir #define DISABLE_LANGUAGE ((sal_uInt16)0x0010) 50cdf0e10cSrcweir #define DISABLE_HIDE_LANGUAGE ((sal_uInt16)0x0020) 51cdf0e10cSrcweir 52cdf0e10cSrcweir //CHINA001 flags for SvxCharBasePage's child class 53cdf0e10cSrcweir #define SVX_PREVIEW_CHARACTER 0x01 54cdf0e10cSrcweir //CHINA001 flags for SvxCharNamePage 55cdf0e10cSrcweir #define SVX_RELATIVE_MODE 0x02 56cdf0e10cSrcweir //CHINA001 flags for SvxCharEffectsPage 57cdf0e10cSrcweir #define SVX_ENABLE_FLASH 0x04 58cdf0e10cSrcweir 59cdf0e10cSrcweir 60cdf0e10cSrcweir //CHINA001 copy from numfmt.hxx 61cdf0e10cSrcweir #define SVX_NUMVAL_STANDARD -1234.12345678901234 62cdf0e10cSrcweir #define SVX_NUMVAL_CURRENCY -1234 63cdf0e10cSrcweir #define SVX_NUMVAL_PERCENT -0.1295 64cdf0e10cSrcweir #define SVX_NUMVAL_TIME 36525.5678935185 65cdf0e10cSrcweir #define SVX_NUMVAL_DATE 36525.5678935185 66cdf0e10cSrcweir #define SVX_NUMVAL_BOOLEAN 1 67cdf0e10cSrcweir 68cdf0e10cSrcweir //CHINA001 copy from page.hxx 69cdf0e10cSrcweir // enum ------------------------------------------------------------------ 70cdf0e10cSrcweir 71cdf0e10cSrcweir enum SvxModeType 72cdf0e10cSrcweir { 73cdf0e10cSrcweir SVX_PAGE_MODE_STANDARD, 74cdf0e10cSrcweir SVX_PAGE_MODE_CENTER, 75cdf0e10cSrcweir SVX_PAGE_MODE_PRESENTATION 76cdf0e10cSrcweir }; 77cdf0e10cSrcweir // define ---------------------------------------------------------------- 78cdf0e10cSrcweir 79cdf0e10cSrcweir // 1/2 cm in TWIPS 80cdf0e10cSrcweir // wird auch fuer Minimalgrosse der LayFrms aller Arten benutzt 81cdf0e10cSrcweir #define MM50 283 //from original svx/inc/paragrph.hxx 82cdf0e10cSrcweir 83cdf0e10cSrcweir //--------------from original svx/inc/tabstpge.hxx 84cdf0e10cSrcweir #define TABTYPE_LEFT 0x0001 85cdf0e10cSrcweir #define TABTYPE_RIGHT 0x0002 86cdf0e10cSrcweir #define TABTYPE_CENTER 0x0004 87cdf0e10cSrcweir #define TABTYPE_DEZIMAL 0x0008 88cdf0e10cSrcweir #define TABTYPE_ALL 0x000F 89cdf0e10cSrcweir 90cdf0e10cSrcweir #define TABFILL_NONE 0x0010 91cdf0e10cSrcweir #define TABFILL_POINT 0x0020 92cdf0e10cSrcweir #define TABFILL_DASHLINE 0x0040 93cdf0e10cSrcweir #define TABFILL_SOLIDLINE 0x0080 94cdf0e10cSrcweir #define TABFILL_SPECIAL 0x0100 95cdf0e10cSrcweir #define TABFILL_ALL 0x01F0 96cdf0e10cSrcweir 97cdf0e10cSrcweir //----- 98cdf0e10cSrcweir 99cdf0e10cSrcweir #endif 100