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 _OFA_OPTMEMORY_HRC 28*cdf0e10cSrcweir#define _OFA_OPTMEMORY_HRC 29*cdf0e10cSrcweir 30*cdf0e10cSrcweir#include <svtools/controldims.hrc> 31*cdf0e10cSrcweir 32*cdf0e10cSrcweir// defines for positions and sizes --------------------------------------- 33*cdf0e10cSrcweir 34*cdf0e10cSrcweir#define WHOLE_WIDTH 248 35*cdf0e10cSrcweir 36*cdf0e10cSrcweir#define COLSPACE RSC_SP_CTRL_DESC_X 37*cdf0e10cSrcweir#define COL0 6 38*cdf0e10cSrcweir#define COL1 (COL0+6) 39*cdf0e10cSrcweir#define COL2 (COL1+140) // width text before control 40*cdf0e10cSrcweir#define COL3 (COL2+COLSPACE) 41*cdf0e10cSrcweir#define COL4 (COL3+30) // width control 42*cdf0e10cSrcweir#define COL5 (COL4+COLSPACE) 43*cdf0e10cSrcweir#define COL6 (WHOLE_WIDTH) // width text after control (unit) 44*cdf0e10cSrcweir 45*cdf0e10cSrcweir#define ROWSPACE RSC_SP_CTRL_DESC_Y 46*cdf0e10cSrcweir#define ROW0 3 47*cdf0e10cSrcweir#define ROW1 ( ROW0+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE ) 48*cdf0e10cSrcweir#define ROW2 ( ROW1+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE ) 49*cdf0e10cSrcweir#define ROW3 ( ROW2+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE ) 50*cdf0e10cSrcweir#define ROW4 ( ROW3+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE ) 51*cdf0e10cSrcweir#define ROW5 ( ROW4+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE ) 52*cdf0e10cSrcweir#define ROW6 ( ROW5+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE ) 53*cdf0e10cSrcweir#define ROW7 ( ROW6+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE ) 54*cdf0e10cSrcweir#define ROW8 ( ROW7+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE ) 55*cdf0e10cSrcweir#define ROW9 ( ROW8+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE ) 56*cdf0e10cSrcweir 57*cdf0e10cSrcweir#define DIFF(v1,v2) (v2-v1) 58*cdf0e10cSrcweir#define OFFS_TEXTBOX_FIXEDTEXT(base) (base+(RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2) 59*cdf0e10cSrcweir 60*cdf0e10cSrcweir#define WIDTH1 DIFF( COL1, COL2 ) 61*cdf0e10cSrcweir#define WIDTH2 DIFF( COL3, COL4 ) 62*cdf0e10cSrcweir#define WIDTH3 DIFF( COL5, COL6 ) 63*cdf0e10cSrcweir// tabpage memory -------------------------------------------------------- 64*cdf0e10cSrcweir 65*cdf0e10cSrcweir#define GB_UNDO 10 66*cdf0e10cSrcweir#define FT_UNDO 11 67*cdf0e10cSrcweir#define ED_UNDO 12 68*cdf0e10cSrcweir#define GB_GRAPHICCACHE 13 69*cdf0e10cSrcweir#define FT_GRAPHICCACHE 14 70*cdf0e10cSrcweir#define FT_GRAPHICCACHE_UNIT 15 71*cdf0e10cSrcweir#define FT_GRAPHICOBJECTCACHE_UNIT 16 72*cdf0e10cSrcweir#define FT_GRAPHICOBJECTTIME_UNIT 17 73*cdf0e10cSrcweir#define NF_GRAPHICCACHE 18 74*cdf0e10cSrcweir#define FT_GRAPHICOBJECTCACHE 19 75*cdf0e10cSrcweir#define NF_GRAPHICOBJECTCACHE 20 76*cdf0e10cSrcweir#define FT_GRAPHICOBJECTTIME 21 77*cdf0e10cSrcweir#define TF_GRAPHICOBJECTTIME 22 78*cdf0e10cSrcweir#define GB_OLECACHE 23 79*cdf0e10cSrcweir#define FT_OLECACHE 24 80*cdf0e10cSrcweir#define NF_OLECACHE 25 81*cdf0e10cSrcweir#define FL_QUICKLAUNCH 26 82*cdf0e10cSrcweir#define CB_QUICKLAUNCH 27 83*cdf0e10cSrcweir#define STR_QUICKLAUNCH_UNX 28 84*cdf0e10cSrcweir 85*cdf0e10cSrcweir#endif // #ifndef _OFA_OPTMEMORY_HRC 86*cdf0e10cSrcweir 87