InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ITxtImpFileReader.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Adobe Developer Technologies
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//========================================================================================
23
24
#ifndef __ITxtImpFileReader__H__
25
#define __ITxtImpFileReader__H__
26
27
// includes
28
#include "TxtImpID.h"
29
30
37
const
int32 kTxtImpBufferSize = 4096;
38
39
46
class
ITxtImpFileReader
:
public
IPMUnknown
47
{
48
public
:
49
52
enum
Encoding
53
{
55
kTxtImpEncodingInvalid
= -1,
57
kTxtImpEncodingASCII
,
59
kTxtImpEncodingRESERVED
,
61
kTxtImpEncodingShiftJIS
,
63
kTxtImpEncodingJIS
,
65
kTxtImpEncodingEUCJP
,
67
kTxtImpEncodingUTF16BE
,
69
kTxtImpEncodingUTF16LE
70
};
71
72
73
enum
{ kDefaultIID = IID_ITXTIMPFILEREADER };
74
77
virtual
void
SetStream
(
IPMStream
* stream) = 0;
78
81
virtual
int32
GetFileSizeInBytes
(
void
) = 0;
82
85
virtual
UTF16TextChar
GetNextTextChar
(
void
) = 0;
86
};
87
88
#endif // ifndef __ITxtImpFileReader__H__
89
90
// End, ITxtImpFileReader.h
91
92
93
94
tmpdoxygeninput
ITxtImpFileReader.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1