os/textandloc/fontservices/textshaperplugin/IcuSource/layout/IndicRearrangement.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/textandloc/fontservices/textshaperplugin/IcuSource/layout/IndicRearrangement.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,65 @@
     1.4 +/*
     1.5 + *
     1.6 + * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
     1.7 + *
     1.8 + */
     1.9 +
    1.10 +#ifndef __INDICREARRANGEMENT_H
    1.11 +#define __INDICREARRANGEMENT_H
    1.12 +
    1.13 +/**
    1.14 + * \file
    1.15 + * \internal
    1.16 + */
    1.17 +
    1.18 +#include "LETypes.h"
    1.19 +#include "LayoutTables.h"
    1.20 +#include "StateTables.h"
    1.21 +#include "MorphTables.h"
    1.22 +#include "MorphStateTables.h"
    1.23 +
    1.24 +U_NAMESPACE_BEGIN
    1.25 +
    1.26 +struct IndicRearrangementSubtableHeader : MorphStateTableHeader
    1.27 +{
    1.28 +};
    1.29 +
    1.30 +enum IndicRearrangementFlags
    1.31 +{
    1.32 +    irfMarkFirst    = 0x8000,
    1.33 +    irfDontAdvance  = 0x4000,
    1.34 +    irfMarkLast     = 0x2000,
    1.35 +    irfReserved     = 0x1FF0,
    1.36 +    irfVerbMask     = 0x000F
    1.37 +};
    1.38 +
    1.39 +enum IndicRearrangementVerb
    1.40 +{
    1.41 +    irvNoAction = 0x0000,               /*   no action    */
    1.42 +    irvxA       = 0x0001,               /*    Ax => xA    */
    1.43 +    irvDx       = 0x0002,               /*    xD => Dx    */
    1.44 +    irvDxA      = 0x0003,               /*   AxD => DxA   */
    1.45 +        
    1.46 +    irvxAB      = 0x0004,               /*   ABx => xAB   */
    1.47 +    irvxBA      = 0x0005,               /*   ABx => xBA   */
    1.48 +    irvCDx      = 0x0006,               /*   xCD => CDx   */
    1.49 +    irvDCx      = 0x0007,               /*   xCD => DCx   */
    1.50 +
    1.51 +    irvCDxA     = 0x0008,               /*  AxCD => CDxA  */
    1.52 +    irvDCxA     = 0x0009,               /*  AxCD => DCxA  */
    1.53 +    irvDxAB     = 0x000A,               /*  ABxD => DxAB  */
    1.54 +    irvDxBA     = 0x000B,               /*  ABxD => DxBA  */
    1.55 +
    1.56 +    irvCDxAB    = 0x000C,               /* ABxCD => CDxAB */
    1.57 +    irvCDxBA    = 0x000D,               /* ABxCD => CDxBA */
    1.58 +    irvDCxAB    = 0x000E,               /* ABxCD => DCxAB */
    1.59 +    irvDCxBA    = 0x000F                /* ABxCD => DCxBA */
    1.60 +};
    1.61 +
    1.62 +struct IndicRearrangementStateEntry : StateEntry
    1.63 +{
    1.64 +};
    1.65 +
    1.66 +U_NAMESPACE_END
    1.67 +#endif
    1.68 +