@syncfusion/ej2-pdf-data-extract 31.1.17 → 31.1.18
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 -1
- package/dist/global/ej2-pdf-data-extract.min.js +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -44
- package/dist/ts/index.d.ts +0 -23
- package/dist/ts/index.ts +0 -23
- 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 -661
- 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 -998
- package/dist/ts/pdf-data-extract/core/pdf-text-parser.d.ts +0 -63
- package/dist/ts/pdf-data-extract/core/pdf-text-parser.ts +0 -498
- package/dist/ts/pdf-data-extract/core/redaction/index.d.ts +0 -7
- package/dist/ts/pdf-data-extract/core/redaction/index.ts +0 -7
- package/dist/ts/pdf-data-extract/core/redaction/pdf-path-segment.d.ts +0 -24
- package/dist/ts/pdf-data-extract/core/redaction/pdf-path-segment.ts +0 -59
- 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 -590
- 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 -172
- package/dist/ts/pdf-data-extract/core/redaction/pdf-redactor.ts +0 -414
- package/dist/ts/pdf-data-extract/core/redaction/pdf-shape-redaction.d.ts +0 -45
- package/dist/ts/pdf-data-extract/core/redaction/pdf-shape-redaction.ts +0 -281
- package/dist/ts/pdf-data-extract/core/redaction/shape-parser-helper.d.ts +0 -32
- package/dist/ts/pdf-data-extract/core/redaction/shape-parser-helper.ts +0 -479
- 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 -23
- package/dist/ts/pdf-data-extract/index.ts +0 -23
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import { _fontTables } from './font-tables';
|
|
2
|
-
import { _PdfCrossReference, _PdfDictionary, PdfFontStyle } from '@syncfusion/ej2-pdf';
|
|
3
|
-
export declare class _FontStructure {
|
|
4
|
-
_ascent: number;
|
|
5
|
-
_boundingBox: number[];
|
|
6
|
-
_characterMap: any;
|
|
7
|
-
_fontStyle: PdfFontStyle;
|
|
8
|
-
_builtInEncoding: any;
|
|
9
|
-
_fallBackToUnicodeMap: any;
|
|
10
|
-
_capHeight: number;
|
|
11
|
-
_encoding: string;
|
|
12
|
-
_composite: boolean;
|
|
13
|
-
_cssFontInfo: any;
|
|
14
|
-
_data: Uint8Array[];
|
|
15
|
-
_defaultEncoding: any[];
|
|
16
|
-
_defaultWidth: number;
|
|
17
|
-
_descent: number;
|
|
18
|
-
_differences: any[];
|
|
19
|
-
_disableFontFace: boolean;
|
|
20
|
-
_characterSystemInfo: any;
|
|
21
|
-
_fontMatrix: number[];
|
|
22
|
-
_charsCache: any;
|
|
23
|
-
_glyphCache: any;
|
|
24
|
-
_widths: number[];
|
|
25
|
-
_vertical: boolean;
|
|
26
|
-
_type: string;
|
|
27
|
-
_toUnicode: any;
|
|
28
|
-
_toFontChar: any;
|
|
29
|
-
_isSerifFont: boolean;
|
|
30
|
-
_isSymbolicFont: boolean;
|
|
31
|
-
_isType3Font: boolean;
|
|
32
|
-
_isInternalFont: boolean;
|
|
33
|
-
_lineHeight: number;
|
|
34
|
-
_mimeType: any;
|
|
35
|
-
_missingFile: boolean;
|
|
36
|
-
_name: string;
|
|
37
|
-
_flags: number;
|
|
38
|
-
_psName: string;
|
|
39
|
-
_subtype: string;
|
|
40
|
-
_systemFontInfo: any;
|
|
41
|
-
_dictionary: _PdfDictionary;
|
|
42
|
-
_crossReference: _PdfCrossReference;
|
|
43
|
-
_isOpenType: boolean;
|
|
44
|
-
_lineGap: any;
|
|
45
|
-
_bold: any;
|
|
46
|
-
_italic: any;
|
|
47
|
-
_black: any;
|
|
48
|
-
_length1: number;
|
|
49
|
-
_length2: number;
|
|
50
|
-
_length3: number;
|
|
51
|
-
constructor();
|
|
52
|
-
constructor(dictionary: _PdfDictionary, crossReference: _PdfCrossReference);
|
|
53
|
-
_initialize(): void;
|
|
54
|
-
_charsToGlyphs(chars: string): _Glyph[];
|
|
55
|
-
}
|
|
56
|
-
export declare class _FontHelper {
|
|
57
|
-
_fontStructure: _FontStructure;
|
|
58
|
-
_scaleFactors: any;
|
|
59
|
-
_hasIncludedToUnicodeMap: boolean;
|
|
60
|
-
_crossReference: _PdfCrossReference;
|
|
61
|
-
_firstChar: number;
|
|
62
|
-
_lastChar: number;
|
|
63
|
-
_table: _fontTables;
|
|
64
|
-
_remeasure: any;
|
|
65
|
-
_standardCharacter: any;
|
|
66
|
-
_data: any;
|
|
67
|
-
_flags: number;
|
|
68
|
-
_vertical: boolean;
|
|
69
|
-
_file: any;
|
|
70
|
-
_fileType: string;
|
|
71
|
-
_fileSubtype: string;
|
|
72
|
-
_italicAngle: number;
|
|
73
|
-
_xHeight: number;
|
|
74
|
-
_baseEncodingName: any;
|
|
75
|
-
_fontIdentityMatrix: number[];
|
|
76
|
-
_fallBackToUnicodeMap: any;
|
|
77
|
-
_characterIdToGlyphMap: any;
|
|
78
|
-
_hasEncoding: any;
|
|
79
|
-
_isOpenType: boolean;
|
|
80
|
-
_standardFontDataCache: Map<any, any>;
|
|
81
|
-
_fontFlags: any;
|
|
82
|
-
_validTables: any;
|
|
83
|
-
_ttOpsStackDeltas: number[];
|
|
84
|
-
constructor(fontStructure: _FontStructure, crossReference: _PdfCrossReference);
|
|
85
|
-
_preEvaluateFont(dictionary: _PdfDictionary): any;
|
|
86
|
-
_getFontStyle(dictionary: _PdfDictionary): PdfFontStyle;
|
|
87
|
-
_translateFont(descriptor: any, dictionary: any, baseDictionary: any, firstChar: number, lastChar: number, unicode: any): any;
|
|
88
|
-
_buildCharCodeToWidth(widthsByGlyphName: any): any;
|
|
89
|
-
_fetchStandardFontData(name: string): any;
|
|
90
|
-
_setFontData(): any;
|
|
91
|
-
_isTrueTypeFile(file: any): boolean;
|
|
92
|
-
_readUnsignedInt32(data: any, offset: any): any;
|
|
93
|
-
_isOpenTypeFile(file: any): boolean;
|
|
94
|
-
_isType1File(file: any): boolean;
|
|
95
|
-
_isCompactFontFile(file: any): boolean;
|
|
96
|
-
_getFontFileType(): void;
|
|
97
|
-
_extractWidths(descriptor: _PdfDictionary, flags: number, firstChar: number, dictionary: _PdfDictionary): void;
|
|
98
|
-
_normalizeRect(rect: number[]): number[];
|
|
99
|
-
private _isNumberArray;
|
|
100
|
-
_lookupMatrix(arr: any, fallBack: number[]): any;
|
|
101
|
-
_lookupRect(arr: any, fallBack: number[]): any;
|
|
102
|
-
_lookupNormalRect(arr: any, fallBack: number[]): any;
|
|
103
|
-
_extractDataStructures(dictionary: _PdfDictionary, unicode?: any): void;
|
|
104
|
-
_stringToPdfString(text: any): any;
|
|
105
|
-
_readToUnicode(cmapObj: any): any;
|
|
106
|
-
_buildToUnicode(baseEncodingName: any, isEncoding: boolean, toUnicode: any): any;
|
|
107
|
-
_simpleFontToUnicode(baseEncodingName: any, forceGlyphs?: boolean): void;
|
|
108
|
-
_string32(value: any): string;
|
|
109
|
-
_buildToFontChar(encoding: any, glyphsUnicodeMap: any, differences: any): any;
|
|
110
|
-
_getUnicodeForGlyph(name: any, glyphsUnicodeMap: any): any;
|
|
111
|
-
_writeUnSignedInt32(bytes: number[], index: number, value: number): void;
|
|
112
|
-
_stringToBytes(value: any): Uint8Array;
|
|
113
|
-
_writeSignedInt16(bytes: number[], index: number, value: number): void;
|
|
114
|
-
_signedInt16(b0: number, b1: number): number;
|
|
115
|
-
_isSerifFont(baseFontName: string): boolean;
|
|
116
|
-
_adjustWidths(): any;
|
|
117
|
-
_getBaseFontMetrics(name: string): any;
|
|
118
|
-
_getMetrics(): any;
|
|
119
|
-
_getStandardFontName(name: string): any;
|
|
120
|
-
_normalizeFontName(name: string): string;
|
|
121
|
-
_amendFallBackToUnicodeMap(properties: any): void;
|
|
122
|
-
_applyStandardFontGlyphMap(map: any, glyphMap: any): any;
|
|
123
|
-
_setFallBackSystemFont(properties: any): any;
|
|
124
|
-
readonly _spaceWidth: number;
|
|
125
|
-
_charToGlyph(charCode: any, isSpace?: boolean): _Glyph;
|
|
126
|
-
_convertCidString(characterCode: any, characterIdentifier: any, shouldThrow?: boolean): any;
|
|
127
|
-
_isTrueTypeCollectionFile(file: any): boolean;
|
|
128
|
-
_readTrueTypeCollectionHeader(data: any): any;
|
|
129
|
-
_getString(length: number, file: any): string;
|
|
130
|
-
_readOpenTypeHeader(ttf: any): {
|
|
131
|
-
version: string;
|
|
132
|
-
numTables: any;
|
|
133
|
-
searchRange: any;
|
|
134
|
-
entrySelector: any;
|
|
135
|
-
rangeShift: any;
|
|
136
|
-
};
|
|
137
|
-
_readTables(file: any, numberOfTables: any): any;
|
|
138
|
-
_readTableEntry(file: any): {
|
|
139
|
-
tag: string;
|
|
140
|
-
checksum: number;
|
|
141
|
-
length: number;
|
|
142
|
-
offset: number;
|
|
143
|
-
data: any;
|
|
144
|
-
};
|
|
145
|
-
_isMacNameRecord(r: any): boolean;
|
|
146
|
-
_isWinNameRecord(r: any): boolean;
|
|
147
|
-
_readNameTable(nameTable: any, font: any): any[];
|
|
148
|
-
_readTrueTypeCollectionData(data: any, fontName: any, font: any): {
|
|
149
|
-
header: any;
|
|
150
|
-
tables: any;
|
|
151
|
-
};
|
|
152
|
-
_int16(b0: any, b1: any): any;
|
|
153
|
-
_checkAndRepair(font: any): void;
|
|
154
|
-
_adjustType1ToUnicode(): void;
|
|
155
|
-
_adjustTrueTypeToUnicode(properties: any, isSymbolicFont: any, nameRecords: any): void;
|
|
156
|
-
}
|
|
157
|
-
export declare class _Glyph {
|
|
158
|
-
_unicode: string;
|
|
159
|
-
_accent: number;
|
|
160
|
-
_width: number;
|
|
161
|
-
_fontCharacter: string;
|
|
162
|
-
_verticalMetrics: any;
|
|
163
|
-
_isSpace: boolean;
|
|
164
|
-
_isInFont: boolean;
|
|
165
|
-
constructor(unicode: string, accent: any, width: number, _verticalMetrics: any, //eslint-disable-line
|
|
166
|
-
isSpace: boolean, isInFont: boolean);
|
|
167
|
-
}
|