1*c0dc1914SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*c0dc1914SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*c0dc1914SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*c0dc1914SAndrew Rist * distributed with this work for additional information 6*c0dc1914SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*c0dc1914SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*c0dc1914SAndrew Rist * "License"); you may not use this file except in compliance 9*c0dc1914SAndrew Rist * with the License. You may obtain a copy of the License at 10*c0dc1914SAndrew Rist * 11*c0dc1914SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*c0dc1914SAndrew Rist * 13*c0dc1914SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*c0dc1914SAndrew Rist * software distributed under the License is distributed on an 15*c0dc1914SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*c0dc1914SAndrew Rist * KIND, either express or implied. See the License for the 17*c0dc1914SAndrew Rist * specific language governing permissions and limitations 18*c0dc1914SAndrew Rist * under the License. 19*c0dc1914SAndrew Rist * 20*c0dc1914SAndrew Rist *************************************************************/ 21*c0dc1914SAndrew Rist 22*c0dc1914SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef _TEXTCONVERSIONDLGS_CHINESE_DIRECTION_HRC 25cdf0e10cSrcweir#define _TEXTCONVERSIONDLGS_CHINESE_DIRECTION_HRC 26cdf0e10cSrcweir 27cdf0e10cSrcweir#include "chinese_direction_ids.hrc" 28cdf0e10cSrcweir 29cdf0e10cSrcweir#ifndef _SVT_CONTROLDIMS_HRC_ 30cdf0e10cSrcweir#include <svtools/controldims.hrc> 31cdf0e10cSrcweir#endif 32cdf0e10cSrcweir 33cdf0e10cSrcweir#define DIRECTION_RADIOBUTTONS( D_XPOS, D_YPOS, D_FULLWIDTH ) \ 34cdf0e10cSrcweirRadioButton RB_TO_SIMPLIFIED \ 35cdf0e10cSrcweir{ \ 36cdf0e10cSrcweir Pos = MAP_APPFONT( D_XPOS, D_YPOS ); \ 37cdf0e10cSrcweir Size = MAP_APPFONT ( D_FULLWIDTH, RSC_CD_RADIOBUTTON_HEIGHT ) ; \ 38cdf0e10cSrcweir Text [ en-US ] = "~Traditional Chinese to simplified Chinese"; \ 39cdf0e10cSrcweir}; \ 40cdf0e10cSrcweirRadioButton RB_TO_TRADITIONAL \ 41cdf0e10cSrcweir{ \ 42cdf0e10cSrcweir Pos = MAP_APPFONT( D_XPOS, D_YPOS + RSC_CD_RADIOBUTTON_HEIGHT+RSC_SP_CTRL_GROUP_Y ); \ 43cdf0e10cSrcweir Size = MAP_APPFONT ( D_FULLWIDTH, RSC_CD_RADIOBUTTON_HEIGHT ) ; \ 44cdf0e10cSrcweir Text [ en-US ] = "~Simplified Chinese to traditional Chinese"; \ 45cdf0e10cSrcweir}; 46cdf0e10cSrcweir 47cdf0e10cSrcweir#endif 48