@syncfusion/ej2-pdf-data-extract 30.1.42 → 30.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ej2-pdf-data-extract.umd.min.js +1 -2
- package/dist/global/ej2-pdf-data-extract.min.js +1 -2
- package/dist/global/index.d.ts +1 -2
- package/package.json +14 -46
- package/dist/ts/index.d.ts +0 -20
- package/dist/ts/index.ts +0 -20
- package/dist/ts/pdf-data-extract/core/content-parser-helper.d.ts +0 -62
- package/dist/ts/pdf-data-extract/core/content-parser-helper.ts +0 -640
- package/dist/ts/pdf-data-extract/core/enum.d.ts +0 -6
- package/dist/ts/pdf-data-extract/core/enum.ts +0 -6
- package/dist/ts/pdf-data-extract/core/graphic-state.d.ts +0 -33
- package/dist/ts/pdf-data-extract/core/graphic-state.ts +0 -106
- package/dist/ts/pdf-data-extract/core/pdf-data-extractor.d.ts +0 -210
- package/dist/ts/pdf-data-extract/core/pdf-data-extractor.ts +0 -977
- package/dist/ts/pdf-data-extract/core/pdf-text-parser.d.ts +0 -67
- package/dist/ts/pdf-data-extract/core/pdf-text-parser.ts +0 -495
- package/dist/ts/pdf-data-extract/core/redaction/index.d.ts +0 -4
- package/dist/ts/pdf-data-extract/core/redaction/index.ts +0 -4
- package/dist/ts/pdf-data-extract/core/redaction/pdf-redaction-processor.d.ts +0 -55
- package/dist/ts/pdf-data-extract/core/redaction/pdf-redaction-processor.ts +0 -592
- package/dist/ts/pdf-data-extract/core/redaction/pdf-redaction-region.d.ts +0 -281
- package/dist/ts/pdf-data-extract/core/redaction/pdf-redaction-region.ts +0 -342
- package/dist/ts/pdf-data-extract/core/redaction/pdf-redactor.d.ts +0 -129
- package/dist/ts/pdf-data-extract/core/redaction/pdf-redactor.ts +0 -322
- package/dist/ts/pdf-data-extract/core/redaction/text-glyph-mapper.d.ts +0 -12
- package/dist/ts/pdf-data-extract/core/redaction/text-glyph-mapper.ts +0 -153
- package/dist/ts/pdf-data-extract/core/text-extraction/binary-cmap-reader.d.ts +0 -24
- package/dist/ts/pdf-data-extract/core/text-extraction/binary-cmap-reader.ts +0 -281
- package/dist/ts/pdf-data-extract/core/text-extraction/cmap.d.ts +0 -50
- package/dist/ts/pdf-data-extract/core/text-extraction/cmap.ts +0 -565
- package/dist/ts/pdf-data-extract/core/text-extraction/compact-font-parser.d.ts +0 -191
- package/dist/ts/pdf-data-extract/core/text-extraction/compact-font-parser.ts +0 -1928
- package/dist/ts/pdf-data-extract/core/text-extraction/encoding-utils.d.ts +0 -102
- package/dist/ts/pdf-data-extract/core/text-extraction/encoding-utils.ts +0 -5780
- package/dist/ts/pdf-data-extract/core/text-extraction/font-structure.d.ts +0 -167
- package/dist/ts/pdf-data-extract/core/text-extraction/font-structure.ts +0 -1842
- package/dist/ts/pdf-data-extract/core/text-extraction/font-tables.d.ts +0 -5
- package/dist/ts/pdf-data-extract/core/text-extraction/font-tables.ts +0 -16
- package/dist/ts/pdf-data-extract/core/text-extraction/font-utils.d.ts +0 -18
- package/dist/ts/pdf-data-extract/core/text-extraction/font-utils.ts +0 -630
- package/dist/ts/pdf-data-extract/core/text-extraction/glyph.d.ts +0 -93
- package/dist/ts/pdf-data-extract/core/text-extraction/glyph.ts +0 -622
- package/dist/ts/pdf-data-extract/core/text-extraction/index.d.ts +0 -10
- package/dist/ts/pdf-data-extract/core/text-extraction/index.ts +0 -10
- package/dist/ts/pdf-data-extract/core/text-extraction/matrix-helper.d.ts +0 -38
- package/dist/ts/pdf-data-extract/core/text-extraction/matrix-helper.ts +0 -150
- package/dist/ts/pdf-data-extract/core/text-extraction/metrics.d.ts +0 -16
- package/dist/ts/pdf-data-extract/core/text-extraction/metrics.ts +0 -2938
- package/dist/ts/pdf-data-extract/core/text-structure.d.ts +0 -628
- package/dist/ts/pdf-data-extract/core/text-structure.ts +0 -668
- package/dist/ts/pdf-data-extract/core/utils.d.ts +0 -99
- package/dist/ts/pdf-data-extract/core/utils.ts +0 -626
- package/dist/ts/pdf-data-extract/index.d.ts +0 -20
- package/dist/ts/pdf-data-extract/index.ts +0 -20
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
import { _FontStructure } from './font-structure';
|
|
2
|
-
export declare class _PdfCompactFontParser {
|
|
3
|
-
_bytes: Uint8Array;
|
|
4
|
-
_properties: any;
|
|
5
|
-
_isAnalysisEnabled: boolean;
|
|
6
|
-
_compactFontFormat: _PdfCompactFormatFont;
|
|
7
|
-
_values: any;
|
|
8
|
-
_characterValidationData: any;
|
|
9
|
-
_characterValidationData12: any;
|
|
10
|
-
_compactCharSetPredefinedTypes: any;
|
|
11
|
-
_standardCharSet: string[];
|
|
12
|
-
_expertCharSet: string[];
|
|
13
|
-
_expertSubsetCharSet: string[];
|
|
14
|
-
_standardEncodingChars: any;
|
|
15
|
-
_widths: any;
|
|
16
|
-
_pos: number;
|
|
17
|
-
constructor(file: any, properties: any, isAnalysisEnabled: boolean);
|
|
18
|
-
_parsePrivateDictionary(parentDictionary: any): any;
|
|
19
|
-
_parse(properties?: any): _PdfCompactFormatFont;
|
|
20
|
-
_parseCharStrings(charStrings: any, localSubroutineIndex: any, globalSubroutineIndex: any, fontDictionarySelect: any, fontDictionaryArray: any, //eslint-disable-line
|
|
21
|
-
privateDictionary: any): any;
|
|
22
|
-
_parseFontDictionarySelect(pos: number, length: number): any;
|
|
23
|
-
_parseCharSets(pos: any, length: any, strings: any, characterIdentifier: any): any;
|
|
24
|
-
_readSupplement(bytes: any, pos: number, encoding: any, charSet: any, strings: any): any;
|
|
25
|
-
_parseEncoding(pos: any, properties: any, strings: any, charSet: any): any;
|
|
26
|
-
private _parseHeader;
|
|
27
|
-
_parseOperand(dictionary: any): number;
|
|
28
|
-
_parseFloatOperand(dictionary: any): number;
|
|
29
|
-
_parseDictionary(dictionary: any): [number, number[]][];
|
|
30
|
-
_parseIndex(pos: number): {
|
|
31
|
-
obj: _PdfCompactFontIndex;
|
|
32
|
-
endPos: number;
|
|
33
|
-
};
|
|
34
|
-
_parseNameIndex(index: {
|
|
35
|
-
count: number;
|
|
36
|
-
_get: (i: number) => Uint8Array;
|
|
37
|
-
}): string[];
|
|
38
|
-
_parseStringIndex(index: {
|
|
39
|
-
count: number;
|
|
40
|
-
_get: (i: number) => Uint8Array;
|
|
41
|
-
}): _PdfCompactFontStrings;
|
|
42
|
-
_createDictionary(type: any, dictionary: [number, number[]][], strings: _PdfCompactFontStrings): any;
|
|
43
|
-
_parseCharString(state: any, //eslint-disable-line
|
|
44
|
-
data: number[], localSubroutineIndex: {
|
|
45
|
-
count: number;
|
|
46
|
-
get: (index: number) => number[];
|
|
47
|
-
}, globalSubroutineIndex: {
|
|
48
|
-
count: number;
|
|
49
|
-
get: (index: number) => number[];
|
|
50
|
-
}): any;
|
|
51
|
-
_emptyPrivateDictionary(parentDictionary: any): void;
|
|
52
|
-
}
|
|
53
|
-
export declare class _PdfCompactFormatFont {
|
|
54
|
-
header: any;
|
|
55
|
-
names: any;
|
|
56
|
-
topDictionary: any;
|
|
57
|
-
strings: _PdfCompactFontStrings;
|
|
58
|
-
globalSubroutineIndex: any;
|
|
59
|
-
encoding: any;
|
|
60
|
-
charSet: any;
|
|
61
|
-
charStrings: any;
|
|
62
|
-
fontDictionaryArray: any;
|
|
63
|
-
fontDictionarySelect: any;
|
|
64
|
-
isCharacterIdentifierFont: boolean;
|
|
65
|
-
standardEncodingChars: any;
|
|
66
|
-
widths: any;
|
|
67
|
-
constructor();
|
|
68
|
-
_duplicateFirstGlyph(): void;
|
|
69
|
-
_hasGlyphId(id: any): boolean;
|
|
70
|
-
}
|
|
71
|
-
export declare class _PdfCompactFontHeader {
|
|
72
|
-
major: any;
|
|
73
|
-
minor: any;
|
|
74
|
-
headerSize: any;
|
|
75
|
-
offSize: any;
|
|
76
|
-
constructor(major: any, minor: any, headerSize: any, offSize: any);
|
|
77
|
-
}
|
|
78
|
-
export declare class _PdfCompactFontStrings {
|
|
79
|
-
strings: any;
|
|
80
|
-
_numberOfStandardCompactFontStrings: number;
|
|
81
|
-
_compactFontStandardStrings: string[];
|
|
82
|
-
constructor();
|
|
83
|
-
_get(index: number): any;
|
|
84
|
-
_fetchStringIdentifier(text: any): number;
|
|
85
|
-
_add(value: any): void;
|
|
86
|
-
readonly count: number;
|
|
87
|
-
}
|
|
88
|
-
export declare class _PdfCompactFontIndex {
|
|
89
|
-
objects: any;
|
|
90
|
-
length: number;
|
|
91
|
-
constructor();
|
|
92
|
-
add(data: any): void;
|
|
93
|
-
set(index: number, data: any): void;
|
|
94
|
-
_get(index: number): any;
|
|
95
|
-
readonly count: number;
|
|
96
|
-
}
|
|
97
|
-
export declare class _PdfCompactFontDictionary {
|
|
98
|
-
keyToNameMap: any;
|
|
99
|
-
nameToKeyMap: any;
|
|
100
|
-
defaults: any;
|
|
101
|
-
types: any;
|
|
102
|
-
opcodes: any;
|
|
103
|
-
order: any;
|
|
104
|
-
strings: any;
|
|
105
|
-
values: any;
|
|
106
|
-
constructor(tables: any, strings: any);
|
|
107
|
-
_setByKey(key: any, value: any): boolean;
|
|
108
|
-
_setByName(name: any, value: any): void;
|
|
109
|
-
_hasName(name: any): any;
|
|
110
|
-
_getByName(name: string): any;
|
|
111
|
-
_removeByName(name: any): any;
|
|
112
|
-
_createTables(layout: any): any;
|
|
113
|
-
}
|
|
114
|
-
export declare class _PdfCompactFontTopDictionary extends _PdfCompactFontDictionary {
|
|
115
|
-
privateDictionary: any;
|
|
116
|
-
static readonly _tables: any;
|
|
117
|
-
constructor(strings?: any);
|
|
118
|
-
static _createTables(): any;
|
|
119
|
-
}
|
|
120
|
-
export declare class _PdfCompactFontPrivateDictionary extends _PdfCompactFontDictionary {
|
|
121
|
-
strings: any;
|
|
122
|
-
subroutineIndex: any;
|
|
123
|
-
tables: any;
|
|
124
|
-
constructor(strings?: string);
|
|
125
|
-
}
|
|
126
|
-
export declare class _PdfCompactFontCharacterSet {
|
|
127
|
-
predefined: any;
|
|
128
|
-
format: any;
|
|
129
|
-
charSet: any;
|
|
130
|
-
raw: any;
|
|
131
|
-
constructor(predefined: any, format: any, charSet: any, raw?: any);
|
|
132
|
-
}
|
|
133
|
-
export declare class _PdfCompactFontEncoding {
|
|
134
|
-
predefined: any;
|
|
135
|
-
format: any;
|
|
136
|
-
charSet: any;
|
|
137
|
-
raw: any;
|
|
138
|
-
encoding: any;
|
|
139
|
-
constructor(predefined: any, format: any, encoding: any, raw: any);
|
|
140
|
-
}
|
|
141
|
-
export declare class _PdfCompactFontSelect {
|
|
142
|
-
format: any;
|
|
143
|
-
fontDictionarySelect: any;
|
|
144
|
-
constructor(format: any, fontDictionarySelect: any);
|
|
145
|
-
_getFontDictionaryIndex(glyphIndex: number): any;
|
|
146
|
-
}
|
|
147
|
-
export declare class _PdfCompactFontOffsetTracker {
|
|
148
|
-
offsets: any;
|
|
149
|
-
constructor();
|
|
150
|
-
_isTracking(key: any): boolean;
|
|
151
|
-
_track(key: any, location: any): void;
|
|
152
|
-
_offset(value: any): void;
|
|
153
|
-
_setEntryLocation(key: any, values: any, output: any): void;
|
|
154
|
-
}
|
|
155
|
-
export declare class _PdfCompactFontCompiler {
|
|
156
|
-
compactFont: any;
|
|
157
|
-
constructor(compactFont: any);
|
|
158
|
-
compile(): any;
|
|
159
|
-
_transform(m1: any, m2: any): any;
|
|
160
|
-
_encodeNumber(value: any): any;
|
|
161
|
-
_encodeFloat(count: any): number[];
|
|
162
|
-
_encodeInteger(value: number): number[];
|
|
163
|
-
_compileHeader(header: any): any;
|
|
164
|
-
_compileNameIndex(names: any): any;
|
|
165
|
-
_compileTopDictionary(dictionary: any, length: any, removeCidKeys: any): any;
|
|
166
|
-
_compilePrivateDictionary(dictionary: any, trackers: any, output: any): void;
|
|
167
|
-
_compileDictionary(dictionary: any, offsetTracker: any): any;
|
|
168
|
-
_compileStringIndex(strings: any): any;
|
|
169
|
-
_compileCharStrings(charStrings: any): any;
|
|
170
|
-
_compileCharSet(charSet: any, glyphCount: any, strings: any, isCharacterIdentifierFont: any): any;
|
|
171
|
-
_compileEncoding(encoding: any): any;
|
|
172
|
-
_compileFontDictionarySelect(fontDictionarySelect: any): any;
|
|
173
|
-
_compileTypedArray(data: any): any;
|
|
174
|
-
_compileIndex(index: any, trackers?: any): any;
|
|
175
|
-
}
|
|
176
|
-
export declare class _PdfCompactFont {
|
|
177
|
-
properties: _FontStructure;
|
|
178
|
-
compactFont: any;
|
|
179
|
-
standardCharacter: any;
|
|
180
|
-
data: any;
|
|
181
|
-
_builtInEncoding: any;
|
|
182
|
-
constructor(file: any, properties: any);
|
|
183
|
-
readonly _glyphCount: number;
|
|
184
|
-
_getCharSet(): any;
|
|
185
|
-
_getGlyphMapping(): {
|
|
186
|
-
[key: number]: number;
|
|
187
|
-
};
|
|
188
|
-
_hasGlyphId(id: number): boolean;
|
|
189
|
-
_type1FontGlyphMapping(properties: any, builtInEncoding: any, glyphNames: any): any;
|
|
190
|
-
_createBuiltInEncoding(): void;
|
|
191
|
-
}
|