/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: convertgb18030.tab,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-09-08 16:31:45 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. * * * GNU Lesser General Public License Version 2.1 * ============================================= * Copyright 2005 by Sun Microsystems, Inc. * 901 San Antonio Road, Palo Alto, CA 94303, USA * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA * ************************************************************************/ #ifndef INCLUDED_RTL_TEXTENC_CONTEXT_H #include "context.h" #endif #ifndef INCLUDED_RTL_TEXTENC_CONVERTGB18030_H #include "convertgb18030.h" #endif #ifndef _RTL_TENCINFO_H #include "rtl/tencinfo.h" #endif #ifndef _RTL_TEXTENC_H #include "rtl/textenc.h" #endif #include "generate/gb180302000.tab" static ImplGb18030ConverterData const aImplGb18030ConvertData = { aImplGb180302000ToUnicodeData, aImplGb180302000ToUnicodeRanges, aImplUnicodeToGb180302000Data, aImplUnicodeToGb180302000Ranges }; static ImplTextEncodingData const aImplGb18030TextEncodingData = { { &aImplGb18030ConvertData, &ImplConvertGb18030ToUnicode, &ImplConvertUnicodeToGb18030, &ImplCreateGb18030ToUnicodeContext, &ImplDestroyContext, &ImplResetGb18030ToUnicodeContext, &ImplCreateUnicodeToTextContext, &ImplDestroyContext, &ImplResetUnicodeToTextContext }, 1, 4, 2, 134, "gbk-0", "GB18030", RTL_TEXTENCODING_INFO_UNICODE | RTL_TEXTENCODING_INFO_MULTIBYTE | RTL_TEXTENCODING_INFO_MIME }; /* SCRIPT_CHINESE_SIMPLIFIED */