1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28#ifndef _TEXTCONVERSIONDLGS_CHINESE_DIRECTION_HRC 29#define _TEXTCONVERSIONDLGS_CHINESE_DIRECTION_HRC 30 31#include "chinese_direction_ids.hrc" 32 33#ifndef _SVT_CONTROLDIMS_HRC_ 34#include <svtools/controldims.hrc> 35#endif 36 37#define DIRECTION_RADIOBUTTONS( D_XPOS, D_YPOS, D_FULLWIDTH ) \ 38RadioButton RB_TO_SIMPLIFIED \ 39{ \ 40 Pos = MAP_APPFONT( D_XPOS, D_YPOS ); \ 41 Size = MAP_APPFONT ( D_FULLWIDTH, RSC_CD_RADIOBUTTON_HEIGHT ) ; \ 42 Text [ en-US ] = "~Traditional Chinese to simplified Chinese"; \ 43}; \ 44RadioButton RB_TO_TRADITIONAL \ 45{ \ 46 Pos = MAP_APPFONT( D_XPOS, D_YPOS + RSC_CD_RADIOBUTTON_HEIGHT+RSC_SP_CTRL_GROUP_Y ); \ 47 Size = MAP_APPFONT ( D_FULLWIDTH, RSC_CD_RADIOBUTTON_HEIGHT ) ; \ 48 Text [ en-US ] = "~Simplified Chinese to traditional Chinese"; \ 49}; 50 51#endif 52