![]() | InDesign SDK 20.5 |

Public Types | |
| enum | JIS_States { kInASCII, kInEscSeqByte1, kInEscSeqByte2D, kInEscSeqByte2P, kInJIS_Old, kInJIS_New, kInJIS_Roman } |
Public Member Functions | |
| JISFileReader (IPMUnknown *boss) | |
| virtual UTF16TextChar | GetNextTextChar (void) |
Public Member Functions inherited from CTxtImpFileReader | |
| CTxtImpFileReader (IPMUnknown *boss) | |
| virtual | ~CTxtImpFileReader (void) |
| virtual void | SetStream (IPMStream *stream) |
| virtual int32 | GetFileSizeInBytes (void) |
Public Member Functions inherited from CPMUnknown< ITxtImpFileReader > | |
| IPMUnknown * | QueryInterface (PMIID interfaceID) const |
| void | AddRef () const |
| void | Release () const |
| void | PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| void | PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| CPMUnknown (const CPMUnknown &)=delete | |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
Additional Inherited Members | |
Protected Member Functions inherited from CPMUnknown< ITxtImpFileReader > | |
| CPMUnknown (IPMUnknown *boss) | |
Protected Attributes inherited from CTxtImpFileReader | |
| IPMStream * | fStream |
| UTF16TextChar * | fTCBuf |
| uchar * | fCBuf |
| int32 | fLen |
| int32 | fCurrMarker |
| int32 | fEndOfReadMarker |
JISFileReader Provides a full implementation for an JIS file reader, by supplying the GetNextTextChar method.
States for the JIS state machine. In the TextImportFilter sample,
we are only using this to keep track of the current state of the JISFileReader.
For this sample plug-in, we are using the ISO-2022-JP standard.
For more details on the ISO-2022-JP standard and related JIS encodings, refer to the following IETF RFCs:
| Binds the C implementation class onto its ImplementationID making the C code callable by the application * JISFileReader::JISFileReader | ( | IPMUnknown * | boss | ) |
Constructor
| virtual |
Gets the next UTF16TextChar.
Implements CTxtImpFileReader.