@syncfusion/ej2-pdf-export 25.1.38 → 26.1.35
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/.eslintrc.json +3 -2
- package/dist/ej2-pdf-export.umd.min.js +2 -2
- package/dist/ej2-pdf-export.umd.min.js.map +1 -1
- package/dist/es6/ej2-pdf-export.es2015.js +79 -72
- package/dist/es6/ej2-pdf-export.es2015.js.map +1 -1
- package/dist/es6/ej2-pdf-export.es5.js +169 -232
- package/dist/es6/ej2-pdf-export.es5.js.map +1 -1
- package/dist/global/ej2-pdf-export.min.js +2 -2
- package/dist/global/ej2-pdf-export.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/dist/ts/implementation/actions/action.d.ts +50 -0
- package/dist/ts/implementation/actions/action.ts +76 -0
- package/dist/ts/implementation/actions/index.d.ts +6 -0
- package/dist/ts/implementation/actions/index.ts +6 -0
- package/dist/ts/implementation/actions/uri-action.d.ts +33 -0
- package/dist/ts/implementation/actions/uri-action.ts +52 -0
- package/dist/ts/implementation/annotations/action-link-annotation.d.ts +30 -0
- package/dist/ts/implementation/annotations/action-link-annotation.ts +43 -0
- package/dist/ts/implementation/annotations/annotation-collection.d.ts +77 -0
- package/dist/ts/implementation/annotations/annotation-collection.ts +159 -0
- package/dist/ts/implementation/annotations/annotation.d.ts +152 -0
- package/dist/ts/implementation/annotations/annotation.ts +241 -0
- package/dist/ts/implementation/annotations/document-link-annotation.d.ts +89 -0
- package/dist/ts/implementation/annotations/document-link-annotation.ts +118 -0
- package/dist/ts/implementation/annotations/index.d.ts +11 -0
- package/dist/ts/implementation/annotations/index.ts +11 -0
- package/dist/ts/implementation/annotations/link-annotation.d.ts +23 -0
- package/dist/ts/implementation/annotations/link-annotation.ts +32 -0
- package/dist/ts/implementation/annotations/pdf-text-web-link.d.ts +118 -0
- package/dist/ts/implementation/annotations/pdf-text-web-link.ts +265 -0
- package/dist/ts/implementation/annotations/uri-annotation.d.ts +48 -0
- package/dist/ts/implementation/annotations/uri-annotation.ts +86 -0
- package/dist/ts/implementation/collections/dictionary.d.ts +76 -0
- package/dist/ts/implementation/collections/dictionary.ts +150 -0
- package/dist/ts/implementation/collections/index.d.ts +7 -0
- package/dist/ts/implementation/collections/index.ts +7 -0
- package/dist/ts/implementation/collections/object-object-pair/dictionary.d.ts +62 -0
- package/dist/ts/implementation/collections/object-object-pair/dictionary.ts +125 -0
- package/dist/ts/implementation/collections/object-object-pair/index.d.ts +5 -0
- package/dist/ts/implementation/collections/object-object-pair/index.ts +5 -0
- package/dist/ts/implementation/collections/utils.d.ts +27 -0
- package/dist/ts/implementation/collections/utils.ts +38 -0
- package/dist/ts/implementation/document/automatic-fields/automatic-field-info-collection.d.ts +31 -0
- package/dist/ts/implementation/document/automatic-fields/automatic-field-info-collection.ts +39 -0
- package/dist/ts/implementation/document/automatic-fields/automatic-field-info.d.ts +67 -0
- package/dist/ts/implementation/document/automatic-fields/automatic-field-info.ts +108 -0
- package/dist/ts/implementation/document/automatic-fields/automatic-field.d.ts +41 -0
- package/dist/ts/implementation/document/automatic-fields/automatic-field.ts +127 -0
- package/dist/ts/implementation/document/automatic-fields/composite-field.d.ts +46 -0
- package/dist/ts/implementation/document/automatic-fields/composite-field.ts +76 -0
- package/dist/ts/implementation/document/automatic-fields/index.d.ts +11 -0
- package/dist/ts/implementation/document/automatic-fields/index.ts +11 -0
- package/dist/ts/implementation/document/automatic-fields/multiple-value-field.d.ts +18 -0
- package/dist/ts/implementation/document/automatic-fields/multiple-value-field.ts +37 -0
- package/dist/ts/implementation/document/automatic-fields/page-count-field.d.ts +44 -0
- package/dist/ts/implementation/document/automatic-fields/page-count-field.ts +75 -0
- package/dist/ts/implementation/document/automatic-fields/pdf-numbers-convertor.d.ts +53 -0
- package/dist/ts/implementation/document/automatic-fields/pdf-numbers-convertor.ts +157 -0
- package/dist/ts/implementation/document/automatic-fields/pdf-page-number-field.d.ts +51 -0
- package/dist/ts/implementation/document/automatic-fields/pdf-page-number-field.ts +82 -0
- package/dist/ts/implementation/document/automatic-fields/pdf-template-value-pair.d.ts +38 -0
- package/dist/ts/implementation/document/automatic-fields/pdf-template-value-pair.ts +60 -0
- package/dist/ts/implementation/document/automatic-fields/single-value-field.d.ts +15 -0
- package/dist/ts/implementation/document/automatic-fields/single-value-field.ts +48 -0
- package/dist/ts/implementation/document/index.d.ts +16 -0
- package/dist/ts/implementation/document/index.ts +16 -0
- package/dist/ts/implementation/document/pdf-catalog.d.ts +39 -0
- package/dist/ts/implementation/document/pdf-catalog.ts +65 -0
- package/dist/ts/implementation/document/pdf-document-base.d.ts +132 -0
- package/dist/ts/implementation/document/pdf-document-base.ts +180 -0
- package/dist/ts/implementation/document/pdf-document-template.d.ts +166 -0
- package/dist/ts/implementation/document/pdf-document-template.ts +310 -0
- package/dist/ts/implementation/document/pdf-document.d.ts +221 -0
- package/dist/ts/implementation/document/pdf-document.ts +342 -0
- package/dist/ts/implementation/document/pdf-viewer-preferences.d.ts +467 -0
- package/dist/ts/implementation/document/pdf-viewer-preferences.ts +578 -0
- package/dist/ts/implementation/drawing/index.d.ts +5 -0
- package/dist/ts/implementation/drawing/index.ts +5 -0
- package/dist/ts/implementation/drawing/pdf-drawing.d.ts +141 -0
- package/dist/ts/implementation/drawing/pdf-drawing.ts +218 -0
- package/dist/ts/implementation/general/enum.d.ts +21 -0
- package/dist/ts/implementation/general/enum.ts +21 -0
- package/dist/ts/implementation/general/functions/index.d.ts +6 -0
- package/dist/ts/implementation/general/functions/index.ts +6 -0
- package/dist/ts/implementation/general/functions/pdf-function.d.ts +44 -0
- package/dist/ts/implementation/general/functions/pdf-function.ts +66 -0
- package/dist/ts/implementation/general/functions/pdf-sampled-function.d.ts +25 -0
- package/dist/ts/implementation/general/functions/pdf-sampled-function.ts +63 -0
- package/dist/ts/implementation/general/index.d.ts +9 -0
- package/dist/ts/implementation/general/index.ts +9 -0
- package/dist/ts/implementation/general/pdf-cache-collection.d.ts +42 -0
- package/dist/ts/implementation/general/pdf-cache-collection.ts +97 -0
- package/dist/ts/implementation/general/pdf-collection.d.ts +26 -0
- package/dist/ts/implementation/general/pdf-collection.ts +41 -0
- package/dist/ts/implementation/general/pdf-destination.d.ts +103 -0
- package/dist/ts/implementation/general/pdf-destination.ts +170 -0
- package/dist/ts/implementation/graphics/brushes/enum.d.ts +236 -0
- package/dist/ts/implementation/graphics/brushes/enum.ts +237 -0
- package/dist/ts/implementation/graphics/brushes/index.d.ts +13 -0
- package/dist/ts/implementation/graphics/brushes/index.ts +13 -0
- package/dist/ts/implementation/graphics/brushes/pdf-blend.d.ts +105 -0
- package/dist/ts/implementation/graphics/brushes/pdf-blend.ts +294 -0
- package/dist/ts/implementation/graphics/brushes/pdf-brush.d.ts +57 -0
- package/dist/ts/implementation/graphics/brushes/pdf-brush.ts +68 -0
- package/dist/ts/implementation/graphics/brushes/pdf-brushes.d.ts +726 -0
- package/dist/ts/implementation/graphics/brushes/pdf-brushes.ts +2438 -0
- package/dist/ts/implementation/graphics/brushes/pdf-color-blend.d.ts +113 -0
- package/dist/ts/implementation/graphics/brushes/pdf-color-blend.ts +295 -0
- package/dist/ts/implementation/graphics/brushes/pdf-gradient-brush.d.ts +155 -0
- package/dist/ts/implementation/graphics/brushes/pdf-gradient-brush.ts +311 -0
- package/dist/ts/implementation/graphics/brushes/pdf-linear-gradient-brush.d.ts +147 -0
- package/dist/ts/implementation/graphics/brushes/pdf-linear-gradient-brush.ts +406 -0
- package/dist/ts/implementation/graphics/brushes/pdf-radial-gradient-brush.d.ts +122 -0
- package/dist/ts/implementation/graphics/brushes/pdf-radial-gradient-brush.ts +290 -0
- package/dist/ts/implementation/graphics/brushes/pdf-solid-brush.d.ts +77 -0
- package/dist/ts/implementation/graphics/brushes/pdf-solid-brush.ts +107 -0
- package/dist/ts/implementation/graphics/brushes/pdf-tiling-brush.d.ts +161 -0
- package/dist/ts/implementation/graphics/brushes/pdf-tiling-brush.ts +304 -0
- package/dist/ts/implementation/graphics/constants.d.ts +31 -0
- package/dist/ts/implementation/graphics/constants.ts +31 -0
- package/dist/ts/implementation/graphics/enum.d.ts +413 -0
- package/dist/ts/implementation/graphics/enum.ts +413 -0
- package/dist/ts/implementation/graphics/figures/arc.d.ts +87 -0
- package/dist/ts/implementation/graphics/figures/arc.ts +133 -0
- package/dist/ts/implementation/graphics/figures/base/draw-element.d.ts +30 -0
- package/dist/ts/implementation/graphics/figures/base/draw-element.ts +59 -0
- package/dist/ts/implementation/graphics/figures/base/element-layouter.d.ts +161 -0
- package/dist/ts/implementation/graphics/figures/base/element-layouter.ts +260 -0
- package/dist/ts/implementation/graphics/figures/base/fill-element.d.ts +46 -0
- package/dist/ts/implementation/graphics/figures/base/fill-element.ts +72 -0
- package/dist/ts/implementation/graphics/figures/base/graphics-element.d.ts +16 -0
- package/dist/ts/implementation/graphics/figures/base/graphics-element.ts +34 -0
- package/dist/ts/implementation/graphics/figures/base/index.d.ts +9 -0
- package/dist/ts/implementation/graphics/figures/base/index.ts +9 -0
- package/dist/ts/implementation/graphics/figures/base/pdf-shape-element.d.ts +40 -0
- package/dist/ts/implementation/graphics/figures/base/pdf-shape-element.ts +69 -0
- package/dist/ts/implementation/graphics/figures/base/shape-layouter.d.ts +131 -0
- package/dist/ts/implementation/graphics/figures/base/shape-layouter.ts +276 -0
- package/dist/ts/implementation/graphics/figures/base/text-layouter.d.ts +107 -0
- package/dist/ts/implementation/graphics/figures/base/text-layouter.ts +205 -0
- package/dist/ts/implementation/graphics/figures/ellipse-part.d.ts +48 -0
- package/dist/ts/implementation/graphics/figures/ellipse-part.ts +76 -0
- package/dist/ts/implementation/graphics/figures/enum.d.ts +79 -0
- package/dist/ts/implementation/graphics/figures/enum.ts +80 -0
- package/dist/ts/implementation/graphics/figures/index.d.ts +13 -0
- package/dist/ts/implementation/graphics/figures/index.ts +13 -0
- package/dist/ts/implementation/graphics/figures/layout-element.d.ts +73 -0
- package/dist/ts/implementation/graphics/figures/layout-element.ts +132 -0
- package/dist/ts/implementation/graphics/figures/path.d.ts +319 -0
- package/dist/ts/implementation/graphics/figures/path.ts +646 -0
- package/dist/ts/implementation/graphics/figures/pdf-template.d.ts +113 -0
- package/dist/ts/implementation/graphics/figures/pdf-template.ts +205 -0
- package/dist/ts/implementation/graphics/figures/rectangle-area.d.ts +64 -0
- package/dist/ts/implementation/graphics/figures/rectangle-area.ts +108 -0
- package/dist/ts/implementation/graphics/figures/text-element.d.ts +213 -0
- package/dist/ts/implementation/graphics/figures/text-element.ts +445 -0
- package/dist/ts/implementation/graphics/fonts/enum.d.ts +385 -0
- package/dist/ts/implementation/graphics/fonts/enum.ts +385 -0
- package/dist/ts/implementation/graphics/fonts/index.d.ts +16 -0
- package/dist/ts/implementation/graphics/fonts/index.ts +16 -0
- package/dist/ts/implementation/graphics/fonts/pdf-font-metrics.d.ts +164 -0
- package/dist/ts/implementation/graphics/fonts/pdf-font-metrics.ts +248 -0
- package/dist/ts/implementation/graphics/fonts/pdf-font.d.ts +187 -0
- package/dist/ts/implementation/graphics/fonts/pdf-font.ts +316 -0
- package/dist/ts/implementation/graphics/fonts/pdf-standard-font-metrics-factory.d.ts +301 -0
- package/dist/ts/implementation/graphics/fonts/pdf-standard-font-metrics-factory.ts +606 -0
- package/dist/ts/implementation/graphics/fonts/pdf-standard-font.d.ts +143 -0
- package/dist/ts/implementation/graphics/fonts/pdf-standard-font.ts +243 -0
- package/dist/ts/implementation/graphics/fonts/pdf-string-format.d.ts +321 -0
- package/dist/ts/implementation/graphics/fonts/pdf-string-format.ts +474 -0
- package/dist/ts/implementation/graphics/fonts/pdf-true-type-font.d.ts +49 -0
- package/dist/ts/implementation/graphics/fonts/pdf-true-type-font.ts +165 -0
- package/dist/ts/implementation/graphics/fonts/rtl/index.d.ts +6 -0
- package/dist/ts/implementation/graphics/fonts/rtl/index.ts +6 -0
- package/dist/ts/implementation/graphics/fonts/rtl/rtl-bidirectional.d.ts +62 -0
- package/dist/ts/implementation/graphics/fonts/rtl/rtl-bidirectional.ts +958 -0
- package/dist/ts/implementation/graphics/fonts/rtl/rtl-text-shape.d.ts +68 -0
- package/dist/ts/implementation/graphics/fonts/rtl/rtl-text-shape.ts +374 -0
- package/dist/ts/implementation/graphics/fonts/rtl-renderer.d.ts +23 -0
- package/dist/ts/implementation/graphics/fonts/rtl-renderer.ts +255 -0
- package/dist/ts/implementation/graphics/fonts/string-layouter.d.ts +254 -0
- package/dist/ts/implementation/graphics/fonts/string-layouter.ts +617 -0
- package/dist/ts/implementation/graphics/fonts/string-tokenizer.d.ts +109 -0
- package/dist/ts/implementation/graphics/fonts/string-tokenizer.ts +275 -0
- package/dist/ts/implementation/graphics/fonts/ttf-OS2-Table.d.ts +204 -0
- package/dist/ts/implementation/graphics/fonts/ttf-OS2-Table.ts +206 -0
- package/dist/ts/implementation/graphics/fonts/ttf-apple-cmap-sub-table.d.ts +17 -0
- package/dist/ts/implementation/graphics/fonts/ttf-apple-cmap-sub-table.ts +18 -0
- package/dist/ts/implementation/graphics/fonts/ttf-cmap-sub-table.d.ts +17 -0
- package/dist/ts/implementation/graphics/fonts/ttf-cmap-sub-table.ts +18 -0
- package/dist/ts/implementation/graphics/fonts/ttf-cmap-table.d.ts +13 -0
- package/dist/ts/implementation/graphics/fonts/ttf-cmap-table.ts +14 -0
- package/dist/ts/implementation/graphics/fonts/ttf-glyph-header.d.ts +25 -0
- package/dist/ts/implementation/graphics/fonts/ttf-glyph-header.ts +26 -0
- package/dist/ts/implementation/graphics/fonts/ttf-glyph-info.d.ts +25 -0
- package/dist/ts/implementation/graphics/fonts/ttf-glyph-info.ts +35 -0
- package/dist/ts/implementation/graphics/fonts/ttf-head-table.d.ts +94 -0
- package/dist/ts/implementation/graphics/fonts/ttf-head-table.ts +94 -0
- package/dist/ts/implementation/graphics/fonts/ttf-horizontal-header-table.d.ts +55 -0
- package/dist/ts/implementation/graphics/fonts/ttf-horizontal-header-table.ts +56 -0
- package/dist/ts/implementation/graphics/fonts/ttf-loca-table.d.ts +9 -0
- package/dist/ts/implementation/graphics/fonts/ttf-loca-table.ts +10 -0
- package/dist/ts/implementation/graphics/fonts/ttf-long-hor-metric.d.ts +13 -0
- package/dist/ts/implementation/graphics/fonts/ttf-long-hor-metric.ts +14 -0
- package/dist/ts/implementation/graphics/fonts/ttf-metrics.d.ts +101 -0
- package/dist/ts/implementation/graphics/fonts/ttf-metrics.ts +106 -0
- package/dist/ts/implementation/graphics/fonts/ttf-microsoft-cmap-sub-table.d.ts +57 -0
- package/dist/ts/implementation/graphics/fonts/ttf-microsoft-cmap-sub-table.ts +58 -0
- package/dist/ts/implementation/graphics/fonts/ttf-name-record.d.ts +33 -0
- package/dist/ts/implementation/graphics/fonts/ttf-name-record.ts +33 -0
- package/dist/ts/implementation/graphics/fonts/ttf-name-table.d.ts +22 -0
- package/dist/ts/implementation/graphics/fonts/ttf-name-table.ts +22 -0
- package/dist/ts/implementation/graphics/fonts/ttf-post-table.d.ts +41 -0
- package/dist/ts/implementation/graphics/fonts/ttf-post-table.ts +42 -0
- package/dist/ts/implementation/graphics/fonts/ttf-reader.d.ts +225 -0
- package/dist/ts/implementation/graphics/fonts/ttf-reader.ts +1254 -0
- package/dist/ts/implementation/graphics/fonts/ttf-table-info.d.ts +22 -0
- package/dist/ts/implementation/graphics/fonts/ttf-table-info.ts +26 -0
- package/dist/ts/implementation/graphics/fonts/ttf-trimmed-cmap-sub-table.d.ts +25 -0
- package/dist/ts/implementation/graphics/fonts/ttf-trimmed-cmap-sub-table.ts +26 -0
- package/dist/ts/implementation/graphics/fonts/unicode-true-type-font.d.ts +213 -0
- package/dist/ts/implementation/graphics/fonts/unicode-true-type-font.ts +577 -0
- package/dist/ts/implementation/graphics/images/byte-array.d.ts +74 -0
- package/dist/ts/implementation/graphics/images/byte-array.ts +137 -0
- package/dist/ts/implementation/graphics/images/image-decoder.d.ts +274 -0
- package/dist/ts/implementation/graphics/images/image-decoder.ts +439 -0
- package/dist/ts/implementation/graphics/images/index.d.ts +8 -0
- package/dist/ts/implementation/graphics/images/index.ts +8 -0
- package/dist/ts/implementation/graphics/images/pdf-bitmap.d.ts +90 -0
- package/dist/ts/implementation/graphics/images/pdf-bitmap.ts +110 -0
- package/dist/ts/implementation/graphics/images/pdf-image.d.ts +88 -0
- package/dist/ts/implementation/graphics/images/pdf-image.ts +132 -0
- package/dist/ts/implementation/graphics/index.d.ts +35 -0
- package/dist/ts/implementation/graphics/index.ts +46 -0
- package/dist/ts/implementation/graphics/pdf-color.d.ts +206 -0
- package/dist/ts/implementation/graphics/pdf-color.ts +478 -0
- package/dist/ts/implementation/graphics/pdf-graphics.d.ts +1210 -0
- package/dist/ts/implementation/graphics/pdf-graphics.ts +2554 -0
- package/dist/ts/implementation/graphics/pdf-margins.d.ts +82 -0
- package/dist/ts/implementation/graphics/pdf-margins.ts +124 -0
- package/dist/ts/implementation/graphics/pdf-pen.d.ts +237 -0
- package/dist/ts/implementation/graphics/pdf-pen.ts +370 -0
- package/dist/ts/implementation/graphics/pdf-resources.d.ts +122 -0
- package/dist/ts/implementation/graphics/pdf-resources.ts +300 -0
- package/dist/ts/implementation/graphics/pdf-transformation-matrix.d.ts +143 -0
- package/dist/ts/implementation/graphics/pdf-transformation-matrix.ts +246 -0
- package/dist/ts/implementation/graphics/pdf-transparency.d.ts +34 -0
- package/dist/ts/implementation/graphics/pdf-transparency.ts +93 -0
- package/dist/ts/implementation/graphics/unit-convertor.d.ts +72 -0
- package/dist/ts/implementation/graphics/unit-convertor.ts +96 -0
- package/dist/ts/implementation/index.d.ts +103 -0
- package/dist/ts/implementation/index.ts +103 -0
- package/dist/ts/implementation/input-output/big-endian-writer.d.ts +59 -0
- package/dist/ts/implementation/input-output/big-endian-writer.ts +121 -0
- package/dist/ts/implementation/input-output/cross-table.d.ts +21 -0
- package/dist/ts/implementation/input-output/cross-table.ts +21 -0
- package/dist/ts/implementation/input-output/enum.d.ts +16 -0
- package/dist/ts/implementation/input-output/enum.ts +16 -0
- package/dist/ts/implementation/input-output/index.d.ts +12 -0
- package/dist/ts/implementation/input-output/index.ts +12 -0
- package/dist/ts/implementation/input-output/pdf-cross-table.d.ts +249 -0
- package/dist/ts/implementation/input-output/pdf-cross-table.ts +524 -0
- package/dist/ts/implementation/input-output/pdf-dictionary-properties.d.ts +568 -0
- package/dist/ts/implementation/input-output/pdf-dictionary-properties.ts +571 -0
- package/dist/ts/implementation/input-output/pdf-main-object-collection.d.ts +120 -0
- package/dist/ts/implementation/input-output/pdf-main-object-collection.ts +194 -0
- package/dist/ts/implementation/input-output/pdf-operators.d.ts +361 -0
- package/dist/ts/implementation/input-output/pdf-operators.ts +363 -0
- package/dist/ts/implementation/input-output/pdf-stream-writer.d.ts +311 -0
- package/dist/ts/implementation/input-output/pdf-stream-writer.ts +681 -0
- package/dist/ts/implementation/input-output/pdf-writer.d.ts +68 -0
- package/dist/ts/implementation/input-output/pdf-writer.ts +88 -0
- package/dist/ts/implementation/pages/enum.d.ts +201 -0
- package/dist/ts/implementation/pages/enum.ts +201 -0
- package/dist/ts/implementation/pages/index.d.ts +17 -0
- package/dist/ts/implementation/pages/index.ts +17 -0
- package/dist/ts/implementation/pages/page-added-event-arguments.d.ts +30 -0
- package/dist/ts/implementation/pages/page-added-event-arguments.ts +39 -0
- package/dist/ts/implementation/pages/pdf-document-page-collection.d.ts +86 -0
- package/dist/ts/implementation/pages/pdf-document-page-collection.ts +180 -0
- package/dist/ts/implementation/pages/pdf-page-base.d.ts +121 -0
- package/dist/ts/implementation/pages/pdf-page-base.ts +181 -0
- package/dist/ts/implementation/pages/pdf-page-layer-collection.d.ts +99 -0
- package/dist/ts/implementation/pages/pdf-page-layer-collection.ts +348 -0
- package/dist/ts/implementation/pages/pdf-page-layer.d.ts +160 -0
- package/dist/ts/implementation/pages/pdf-page-layer.ts +271 -0
- package/dist/ts/implementation/pages/pdf-page-settings.d.ts +111 -0
- package/dist/ts/implementation/pages/pdf-page-settings.ts +192 -0
- package/dist/ts/implementation/pages/pdf-page-size.d.ts +159 -0
- package/dist/ts/implementation/pages/pdf-page-size.ts +162 -0
- package/dist/ts/implementation/pages/pdf-page-template-element.d.ts +240 -0
- package/dist/ts/implementation/pages/pdf-page-template-element.ts +663 -0
- package/dist/ts/implementation/pages/pdf-page.d.ts +153 -0
- package/dist/ts/implementation/pages/pdf-page.ts +235 -0
- package/dist/ts/implementation/pages/pdf-section-collection.d.ts +109 -0
- package/dist/ts/implementation/pages/pdf-section-collection.ts +187 -0
- package/dist/ts/implementation/pages/pdf-section-page-collection.d.ts +41 -0
- package/dist/ts/implementation/pages/pdf-section-page-collection.ts +61 -0
- package/dist/ts/implementation/pages/pdf-section-templates.d.ts +64 -0
- package/dist/ts/implementation/pages/pdf-section-templates.ts +96 -0
- package/dist/ts/implementation/pages/pdf-section.d.ts +327 -0
- package/dist/ts/implementation/pages/pdf-section.ts +644 -0
- package/dist/ts/implementation/primitives/index.d.ts +12 -0
- package/dist/ts/implementation/primitives/index.ts +12 -0
- package/dist/ts/implementation/primitives/pdf-array.d.ts +192 -0
- package/dist/ts/implementation/primitives/pdf-array.ts +386 -0
- package/dist/ts/implementation/primitives/pdf-boolean.d.ts +84 -0
- package/dist/ts/implementation/primitives/pdf-boolean.ts +119 -0
- package/dist/ts/implementation/primitives/pdf-dictionary.d.ts +362 -0
- package/dist/ts/implementation/primitives/pdf-dictionary.ts +513 -0
- package/dist/ts/implementation/primitives/pdf-name.d.ts +121 -0
- package/dist/ts/implementation/primitives/pdf-name.ts +218 -0
- package/dist/ts/implementation/primitives/pdf-number.d.ts +104 -0
- package/dist/ts/implementation/primitives/pdf-number.ts +165 -0
- package/dist/ts/implementation/primitives/pdf-reference.d.ts +223 -0
- package/dist/ts/implementation/primitives/pdf-reference.ts +430 -0
- package/dist/ts/implementation/primitives/pdf-stream.d.ts +161 -0
- package/dist/ts/implementation/primitives/pdf-stream.ts +306 -0
- package/dist/ts/implementation/primitives/pdf-string.d.ts +235 -0
- package/dist/ts/implementation/primitives/pdf-string.ts +397 -0
- package/dist/ts/implementation/structured-elements/grid/index.d.ts +4 -0
- package/dist/ts/implementation/structured-elements/grid/index.ts +10 -0
- package/dist/ts/implementation/structured-elements/grid/layout/grid-layouter.d.ts +597 -0
- package/dist/ts/implementation/structured-elements/grid/layout/grid-layouter.ts +2029 -0
- package/dist/ts/implementation/structured-elements/grid/pdf-grid-cell.d.ts +288 -0
- package/dist/ts/implementation/structured-elements/grid/pdf-grid-cell.ts +1194 -0
- package/dist/ts/implementation/structured-elements/grid/pdf-grid-column.d.ts +108 -0
- package/dist/ts/implementation/structured-elements/grid/pdf-grid-column.ts +206 -0
- package/dist/ts/implementation/structured-elements/grid/pdf-grid-row.d.ts +261 -0
- package/dist/ts/implementation/structured-elements/grid/pdf-grid-row.ts +470 -0
- package/dist/ts/implementation/structured-elements/grid/pdf-grid.d.ts +292 -0
- package/dist/ts/implementation/structured-elements/grid/pdf-grid.ts +853 -0
- package/dist/ts/implementation/structured-elements/grid/styles/index.d.ts +5 -0
- package/dist/ts/implementation/structured-elements/grid/styles/index.ts +5 -0
- package/dist/ts/implementation/structured-elements/grid/styles/pdf-borders.d.ts +146 -0
- package/dist/ts/implementation/structured-elements/grid/styles/pdf-borders.ts +240 -0
- package/dist/ts/implementation/structured-elements/grid/styles/style.d.ts +272 -0
- package/dist/ts/implementation/structured-elements/grid/styles/style.ts +424 -0
- package/dist/ts/implementation/structured-elements/index.d.ts +4 -0
- package/dist/ts/implementation/structured-elements/index.ts +10 -0
- package/dist/ts/implementation/structured-elements/tables/light-tables/enum.d.ts +16 -0
- package/dist/ts/implementation/structured-elements/tables/light-tables/enum.ts +16 -0
- package/dist/ts/index.d.ts +116 -0
- package/dist/ts/index.ts +116 -0
- package/dist/ts/interfaces/i-pdf-cache.d.ts +23 -0
- package/dist/ts/interfaces/i-pdf-cache.ts +23 -0
- package/dist/ts/interfaces/i-pdf-changable.d.ts +17 -0
- package/dist/ts/interfaces/i-pdf-changable.ts +17 -0
- package/dist/ts/interfaces/i-pdf-clonable.d.ts +12 -0
- package/dist/ts/interfaces/i-pdf-clonable.ts +12 -0
- package/dist/ts/interfaces/i-pdf-primitives.d.ts +45 -0
- package/dist/ts/interfaces/i-pdf-primitives.ts +45 -0
- package/dist/ts/interfaces/i-pdf-true-type-font.d.ts +18 -0
- package/dist/ts/interfaces/i-pdf-true-type-font.ts +48 -0
- package/dist/ts/interfaces/i-pdf-wrapper.d.ts +13 -0
- package/dist/ts/interfaces/i-pdf-wrapper.ts +13 -0
- package/dist/ts/interfaces/i-pdf-writer.d.ts +29 -0
- package/dist/ts/interfaces/i-pdf-writer.ts +29 -0
- package/dist/ts/interfaces/index.d.ts +10 -0
- package/dist/ts/interfaces/index.ts +10 -0
- package/interfaces.js +0 -1
- package/package.json +6 -6
- package/src/interfaces/i-pdf-cache.js +0 -1
- package/src/interfaces/i-pdf-changable.js +0 -1
- package/src/interfaces/i-pdf-clonable.js +0 -1
- package/src/interfaces/i-pdf-primitives.js +0 -1
- package/src/interfaces/i-pdf-true-type-font.js +0 -1
- package/src/interfaces/i-pdf-wrapper.js +0 -1
- package/src/interfaces/i-pdf-writer.js +0 -1
- package/src/interfaces/index.js +0 -1
- package/CHANGELOG.md +0 -55
- package/dist/ej2-pdf-export.min.js +0 -10
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PdfBorders.ts class for EJ2-PDF
|
|
3
|
+
*/
|
|
4
|
+
import { PdfPen } from './../../../graphics/pdf-pen';
|
|
5
|
+
/**
|
|
6
|
+
* `PdfBorders` class used represents the cell border of the PDF grid.
|
|
7
|
+
*/
|
|
8
|
+
export declare class PdfBorders {
|
|
9
|
+
/**
|
|
10
|
+
* The `left` border.
|
|
11
|
+
* @private
|
|
12
|
+
*/
|
|
13
|
+
private leftPen;
|
|
14
|
+
/**
|
|
15
|
+
* The `right` border.
|
|
16
|
+
* @private
|
|
17
|
+
*/
|
|
18
|
+
private rightPen;
|
|
19
|
+
/**
|
|
20
|
+
* The `top` border.
|
|
21
|
+
* @private
|
|
22
|
+
*/
|
|
23
|
+
private topPen;
|
|
24
|
+
/**
|
|
25
|
+
* The `bottom` border.
|
|
26
|
+
* @private
|
|
27
|
+
*/
|
|
28
|
+
private bottomPen;
|
|
29
|
+
/**
|
|
30
|
+
* Gets or sets the `Left`.
|
|
31
|
+
* @private
|
|
32
|
+
*/
|
|
33
|
+
left: PdfPen;
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets the `Right`.
|
|
36
|
+
* @private
|
|
37
|
+
*/
|
|
38
|
+
right: PdfPen;
|
|
39
|
+
/**
|
|
40
|
+
* Gets or sets the `Top`.
|
|
41
|
+
* @private
|
|
42
|
+
*/
|
|
43
|
+
top: PdfPen;
|
|
44
|
+
/**
|
|
45
|
+
* Gets or sets the `Bottom`.
|
|
46
|
+
* @private
|
|
47
|
+
*/
|
|
48
|
+
bottom: PdfPen;
|
|
49
|
+
/**
|
|
50
|
+
* sets the `All`.
|
|
51
|
+
* @private
|
|
52
|
+
*/
|
|
53
|
+
all: PdfPen;
|
|
54
|
+
/**
|
|
55
|
+
* Gets a value indicating whether this instance `is all`.
|
|
56
|
+
* @private
|
|
57
|
+
*/
|
|
58
|
+
readonly isAll: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Gets the `default`.
|
|
61
|
+
* @private
|
|
62
|
+
*/
|
|
63
|
+
static readonly default: PdfBorders;
|
|
64
|
+
/**
|
|
65
|
+
* Create a new instance for `PdfBorders` class.
|
|
66
|
+
* @private
|
|
67
|
+
*/
|
|
68
|
+
constructor();
|
|
69
|
+
}
|
|
70
|
+
export declare class PdfPaddings {
|
|
71
|
+
/**
|
|
72
|
+
* The `left` padding.
|
|
73
|
+
* @private
|
|
74
|
+
*/
|
|
75
|
+
private leftPad;
|
|
76
|
+
/**
|
|
77
|
+
* The `right` padding.
|
|
78
|
+
* @private
|
|
79
|
+
*/
|
|
80
|
+
private rightPad;
|
|
81
|
+
/**
|
|
82
|
+
* The `top` padding.
|
|
83
|
+
* @private
|
|
84
|
+
*/
|
|
85
|
+
private topPad;
|
|
86
|
+
/**
|
|
87
|
+
* The `bottom` padding.
|
|
88
|
+
* @private
|
|
89
|
+
*/
|
|
90
|
+
private bottomPad;
|
|
91
|
+
/**
|
|
92
|
+
* The 'left' border padding set.
|
|
93
|
+
* @private
|
|
94
|
+
*/
|
|
95
|
+
hasLeftPad: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* The 'right' border padding set.
|
|
98
|
+
* @private
|
|
99
|
+
*/
|
|
100
|
+
hasRightPad: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* The 'top' border padding set.
|
|
103
|
+
* @private
|
|
104
|
+
*/
|
|
105
|
+
hasTopPad: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* The 'bottom' border padding set.
|
|
108
|
+
* @private
|
|
109
|
+
*/
|
|
110
|
+
hasBottomPad: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Gets or sets the `left` value of the edge
|
|
113
|
+
* @private
|
|
114
|
+
*/
|
|
115
|
+
left: number;
|
|
116
|
+
/**
|
|
117
|
+
* Gets or sets the `right` value of the edge.
|
|
118
|
+
* @private
|
|
119
|
+
*/
|
|
120
|
+
right: number;
|
|
121
|
+
/**
|
|
122
|
+
* Gets or sets the `top` value of the edge
|
|
123
|
+
* @private
|
|
124
|
+
*/
|
|
125
|
+
top: number;
|
|
126
|
+
/**
|
|
127
|
+
* Gets or sets the `bottom` value of the edge.
|
|
128
|
+
* @private
|
|
129
|
+
*/
|
|
130
|
+
bottom: number;
|
|
131
|
+
/**
|
|
132
|
+
* Sets value to all sides `left,right,top and bottom`.s
|
|
133
|
+
* @private
|
|
134
|
+
*/
|
|
135
|
+
all: number;
|
|
136
|
+
/**
|
|
137
|
+
* Initializes a new instance of the `PdfPaddings` class.
|
|
138
|
+
* @private
|
|
139
|
+
*/
|
|
140
|
+
constructor();
|
|
141
|
+
/**
|
|
142
|
+
* Initializes a new instance of the `PdfPaddings` class.
|
|
143
|
+
* @private
|
|
144
|
+
*/
|
|
145
|
+
constructor(left: number, right: number, top: number, bottom: number);
|
|
146
|
+
}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PdfBorders.ts class for EJ2-PDF
|
|
3
|
+
*/
|
|
4
|
+
import { PdfPen } from './../../../graphics/pdf-pen';
|
|
5
|
+
import { PdfDashStyle } from './../../../graphics/enum';
|
|
6
|
+
import { PdfColor } from './../../../graphics/pdf-color';
|
|
7
|
+
/**
|
|
8
|
+
* `PdfBorders` class used represents the cell border of the PDF grid.
|
|
9
|
+
*/
|
|
10
|
+
export class PdfBorders {
|
|
11
|
+
// Fields
|
|
12
|
+
/**
|
|
13
|
+
* The `left` border.
|
|
14
|
+
* @private
|
|
15
|
+
*/
|
|
16
|
+
private leftPen : PdfPen;
|
|
17
|
+
/**
|
|
18
|
+
* The `right` border.
|
|
19
|
+
* @private
|
|
20
|
+
*/
|
|
21
|
+
private rightPen : PdfPen;
|
|
22
|
+
/**
|
|
23
|
+
* The `top` border.
|
|
24
|
+
* @private
|
|
25
|
+
*/
|
|
26
|
+
private topPen : PdfPen;
|
|
27
|
+
/**
|
|
28
|
+
* The `bottom` border.
|
|
29
|
+
* @private
|
|
30
|
+
*/
|
|
31
|
+
private bottomPen : PdfPen;
|
|
32
|
+
// Properties
|
|
33
|
+
/**
|
|
34
|
+
* Gets or sets the `Left`.
|
|
35
|
+
* @private
|
|
36
|
+
*/
|
|
37
|
+
public get left() : PdfPen {
|
|
38
|
+
return this.leftPen;
|
|
39
|
+
}
|
|
40
|
+
public set left(value : PdfPen) {
|
|
41
|
+
this.leftPen = value;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Gets or sets the `Right`.
|
|
45
|
+
* @private
|
|
46
|
+
*/
|
|
47
|
+
public get right() : PdfPen {
|
|
48
|
+
return this.rightPen;
|
|
49
|
+
}
|
|
50
|
+
public set right(value : PdfPen) {
|
|
51
|
+
this.rightPen = value;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Gets or sets the `Top`.
|
|
55
|
+
* @private
|
|
56
|
+
*/
|
|
57
|
+
public get top() : PdfPen {
|
|
58
|
+
return this.topPen;
|
|
59
|
+
}
|
|
60
|
+
public set top(value : PdfPen) {
|
|
61
|
+
this.topPen = value;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Gets or sets the `Bottom`.
|
|
65
|
+
* @private
|
|
66
|
+
*/
|
|
67
|
+
public get bottom() : PdfPen {
|
|
68
|
+
return this.bottomPen;
|
|
69
|
+
}
|
|
70
|
+
public set bottom(value : PdfPen) {
|
|
71
|
+
this.bottomPen = value;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* sets the `All`.
|
|
75
|
+
* @private
|
|
76
|
+
*/
|
|
77
|
+
public set all(value : PdfPen) {
|
|
78
|
+
this.leftPen = this.rightPen = this.topPen = this.bottomPen = value;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Gets a value indicating whether this instance `is all`.
|
|
82
|
+
* @private
|
|
83
|
+
*/
|
|
84
|
+
public get isAll() : boolean {
|
|
85
|
+
return ((this.leftPen === this.rightPen) && (this.leftPen === this.topPen) && (this.leftPen === this.bottomPen));
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Gets the `default`.
|
|
89
|
+
* @private
|
|
90
|
+
*/
|
|
91
|
+
public static get default() : PdfBorders {
|
|
92
|
+
return new PdfBorders();
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// Constructor
|
|
96
|
+
/**
|
|
97
|
+
* Create a new instance for `PdfBorders` class.
|
|
98
|
+
* @private
|
|
99
|
+
*/
|
|
100
|
+
public constructor() {
|
|
101
|
+
let defaultBorderPenLeft : PdfPen = new PdfPen(new PdfColor(0, 0, 0));
|
|
102
|
+
defaultBorderPenLeft.dashStyle = PdfDashStyle.Solid;
|
|
103
|
+
let defaultBorderPenRight : PdfPen = new PdfPen(new PdfColor(0, 0, 0));
|
|
104
|
+
defaultBorderPenRight.dashStyle = PdfDashStyle.Solid;
|
|
105
|
+
let defaultBorderPenTop : PdfPen = new PdfPen(new PdfColor(0, 0, 0));
|
|
106
|
+
defaultBorderPenTop.dashStyle = PdfDashStyle.Solid;
|
|
107
|
+
let defaultBorderPenBottom : PdfPen = new PdfPen(new PdfColor(0, 0, 0));
|
|
108
|
+
defaultBorderPenBottom.dashStyle = PdfDashStyle.Solid;
|
|
109
|
+
this.leftPen = defaultBorderPenLeft;
|
|
110
|
+
this.rightPen = defaultBorderPenRight;
|
|
111
|
+
this.topPen = defaultBorderPenTop;
|
|
112
|
+
this.bottomPen = defaultBorderPenBottom;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
export class PdfPaddings {
|
|
116
|
+
//Fields
|
|
117
|
+
/**
|
|
118
|
+
* The `left` padding.
|
|
119
|
+
* @private
|
|
120
|
+
*/
|
|
121
|
+
private leftPad : number;
|
|
122
|
+
/**
|
|
123
|
+
* The `right` padding.
|
|
124
|
+
* @private
|
|
125
|
+
*/
|
|
126
|
+
private rightPad : number;
|
|
127
|
+
/**
|
|
128
|
+
* The `top` padding.
|
|
129
|
+
* @private
|
|
130
|
+
*/
|
|
131
|
+
private topPad : number;
|
|
132
|
+
/**
|
|
133
|
+
* The `bottom` padding.
|
|
134
|
+
* @private
|
|
135
|
+
*/
|
|
136
|
+
private bottomPad : number;
|
|
137
|
+
/**
|
|
138
|
+
* The 'left' border padding set.
|
|
139
|
+
* @private
|
|
140
|
+
*/
|
|
141
|
+
public hasLeftPad : boolean = false;
|
|
142
|
+
/**
|
|
143
|
+
* The 'right' border padding set.
|
|
144
|
+
* @private
|
|
145
|
+
*/
|
|
146
|
+
public hasRightPad : boolean = false;
|
|
147
|
+
/**
|
|
148
|
+
* The 'top' border padding set.
|
|
149
|
+
* @private
|
|
150
|
+
*/
|
|
151
|
+
public hasTopPad : boolean = false;
|
|
152
|
+
/**
|
|
153
|
+
* The 'bottom' border padding set.
|
|
154
|
+
* @private
|
|
155
|
+
*/
|
|
156
|
+
public hasBottomPad : boolean = false;
|
|
157
|
+
// Properties
|
|
158
|
+
/**
|
|
159
|
+
* Gets or sets the `left` value of the edge
|
|
160
|
+
* @private
|
|
161
|
+
*/
|
|
162
|
+
public get left() : number {
|
|
163
|
+
return this.leftPad;
|
|
164
|
+
}
|
|
165
|
+
public set left(value : number) {
|
|
166
|
+
this.leftPad = value;
|
|
167
|
+
this.hasLeftPad = true;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Gets or sets the `right` value of the edge.
|
|
171
|
+
* @private
|
|
172
|
+
*/
|
|
173
|
+
public get right() : number {
|
|
174
|
+
return this.rightPad;
|
|
175
|
+
}
|
|
176
|
+
public set right(value : number) {
|
|
177
|
+
this.rightPad = value;
|
|
178
|
+
this.hasRightPad = true;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Gets or sets the `top` value of the edge
|
|
182
|
+
* @private
|
|
183
|
+
*/
|
|
184
|
+
public get top() : number {
|
|
185
|
+
return this.topPad;
|
|
186
|
+
}
|
|
187
|
+
public set top(value : number) {
|
|
188
|
+
this.topPad = value;
|
|
189
|
+
this.hasTopPad = true;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Gets or sets the `bottom` value of the edge.
|
|
193
|
+
* @private
|
|
194
|
+
*/
|
|
195
|
+
public get bottom() : number {
|
|
196
|
+
return this.bottomPad;
|
|
197
|
+
}
|
|
198
|
+
public set bottom(value : number) {
|
|
199
|
+
this.bottomPad = value;
|
|
200
|
+
this.hasBottomPad = true;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Sets value to all sides `left,right,top and bottom`.s
|
|
204
|
+
* @private
|
|
205
|
+
*/
|
|
206
|
+
public set all(value : number) {
|
|
207
|
+
this.leftPad = this.rightPad = this.topPad = this.bottomPad = value;
|
|
208
|
+
this.hasLeftPad = true;
|
|
209
|
+
this.hasRightPad = true;
|
|
210
|
+
this.hasTopPad = true;
|
|
211
|
+
this.hasBottomPad = true;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Initializes a new instance of the `PdfPaddings` class.
|
|
215
|
+
* @private
|
|
216
|
+
*/
|
|
217
|
+
public constructor()
|
|
218
|
+
/**
|
|
219
|
+
* Initializes a new instance of the `PdfPaddings` class.
|
|
220
|
+
* @private
|
|
221
|
+
*/
|
|
222
|
+
public constructor(left : number, right : number, top : number, bottom : number)
|
|
223
|
+
public constructor(left ?: number, right ?: number, top ?: number, bottom ?: number) {
|
|
224
|
+
if (typeof left === 'undefined') {
|
|
225
|
+
//5.76 and 0 are taken from ms-word default table margins.
|
|
226
|
+
this.leftPad = this.rightPad = 5.76;
|
|
227
|
+
//0.5 is set for top and bottom by default.
|
|
228
|
+
this.bottomPad = this.topPad = 0.5;
|
|
229
|
+
} else {
|
|
230
|
+
this.leftPad = left;
|
|
231
|
+
this.rightPad = right;
|
|
232
|
+
this.topPad = top;
|
|
233
|
+
this.bottomPad = bottom;
|
|
234
|
+
this.hasLeftPad = true;
|
|
235
|
+
this.hasRightPad = true;
|
|
236
|
+
this.hasTopPad = true;
|
|
237
|
+
this.hasBottomPad = true;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PdfGridStyleBase.ts class for EJ2-PDF
|
|
3
|
+
*/
|
|
4
|
+
import { PdfBrush } from './../../../graphics/brushes/pdf-brush';
|
|
5
|
+
import { PdfPen } from './../../../graphics/pdf-pen';
|
|
6
|
+
import { PdfFont } from './../../../graphics/fonts/pdf-font';
|
|
7
|
+
import { PdfBorders, PdfPaddings } from './pdf-borders';
|
|
8
|
+
import { PdfBorderOverlapStyle } from './../../tables/light-tables/enum';
|
|
9
|
+
import { PdfStringFormat } from './../../../graphics/fonts/pdf-string-format';
|
|
10
|
+
import { PdfGridRow } from './../pdf-grid-row';
|
|
11
|
+
import { PdfImage } from './../../../graphics/images/pdf-image';
|
|
12
|
+
/**
|
|
13
|
+
* Base class for the `grid style`,
|
|
14
|
+
*/
|
|
15
|
+
export declare abstract class PdfGridStyleBase {
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
* @private
|
|
19
|
+
*/
|
|
20
|
+
private gridBackgroundBrush;
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
* @private
|
|
24
|
+
*/
|
|
25
|
+
private gridTextBrush;
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
* @private
|
|
29
|
+
*/
|
|
30
|
+
private gridTextPen;
|
|
31
|
+
/**
|
|
32
|
+
* @hidden
|
|
33
|
+
* @private
|
|
34
|
+
*/
|
|
35
|
+
private gridFont;
|
|
36
|
+
/**
|
|
37
|
+
* @hidden
|
|
38
|
+
* @private
|
|
39
|
+
*/
|
|
40
|
+
private gridBackgroundImage;
|
|
41
|
+
/**
|
|
42
|
+
* Gets or sets the `background brush`.
|
|
43
|
+
* @private
|
|
44
|
+
*/
|
|
45
|
+
backgroundBrush: PdfBrush;
|
|
46
|
+
/**
|
|
47
|
+
* Gets or sets the `text brush`.
|
|
48
|
+
* @private
|
|
49
|
+
*/
|
|
50
|
+
textBrush: PdfBrush;
|
|
51
|
+
/**
|
|
52
|
+
* Gets or sets the `text pen`.
|
|
53
|
+
* @private
|
|
54
|
+
*/
|
|
55
|
+
textPen: PdfPen;
|
|
56
|
+
/**
|
|
57
|
+
* Gets or sets the `font`.
|
|
58
|
+
* @private
|
|
59
|
+
*/
|
|
60
|
+
font: PdfFont;
|
|
61
|
+
/**
|
|
62
|
+
* Gets or sets the `background Image`.
|
|
63
|
+
* @private
|
|
64
|
+
*/
|
|
65
|
+
backgroundImage: PdfImage;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* `PdfGridStyle` class provides customization of the appearance for the 'PdfGrid'.
|
|
69
|
+
*/
|
|
70
|
+
export declare class PdfGridStyle extends PdfGridStyleBase {
|
|
71
|
+
/**
|
|
72
|
+
* @hidden
|
|
73
|
+
* @private
|
|
74
|
+
*/
|
|
75
|
+
private gridBorderOverlapStyle;
|
|
76
|
+
/**
|
|
77
|
+
* @hidden
|
|
78
|
+
* @private
|
|
79
|
+
*/
|
|
80
|
+
private gridHorizontalOverflowType;
|
|
81
|
+
/**
|
|
82
|
+
* @hidden
|
|
83
|
+
* @private
|
|
84
|
+
*/
|
|
85
|
+
private bAllowHorizontalOverflow;
|
|
86
|
+
/**
|
|
87
|
+
* @hidden
|
|
88
|
+
* @private
|
|
89
|
+
*/
|
|
90
|
+
private gridCellPadding;
|
|
91
|
+
/**
|
|
92
|
+
* @hidden
|
|
93
|
+
* @private
|
|
94
|
+
*/
|
|
95
|
+
private gridCellSpacing;
|
|
96
|
+
/**
|
|
97
|
+
* Initialize a new instance for `PdfGridStyle` class.
|
|
98
|
+
* @private
|
|
99
|
+
*/
|
|
100
|
+
constructor();
|
|
101
|
+
/**
|
|
102
|
+
* Gets or sets the `cell spacing` of the 'PdfGrid'.
|
|
103
|
+
* @private
|
|
104
|
+
*/
|
|
105
|
+
cellSpacing: number;
|
|
106
|
+
/**
|
|
107
|
+
* Gets or sets the type of the `horizontal overflow` of the 'PdfGrid'.
|
|
108
|
+
* @private
|
|
109
|
+
*/
|
|
110
|
+
horizontalOverflowType: PdfHorizontalOverflowType;
|
|
111
|
+
/**
|
|
112
|
+
* Gets or sets a value indicating whether to `allow horizontal overflow`.
|
|
113
|
+
* @private
|
|
114
|
+
*/
|
|
115
|
+
allowHorizontalOverflow: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Gets or sets the `cell padding`.
|
|
118
|
+
* @private
|
|
119
|
+
*/
|
|
120
|
+
cellPadding: PdfPaddings;
|
|
121
|
+
/**
|
|
122
|
+
* Gets or sets the `border overlap style` of the 'PdfGrid'.
|
|
123
|
+
* @private
|
|
124
|
+
*/
|
|
125
|
+
borderOverlapStyle: PdfBorderOverlapStyle;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* `PdfGridCellStyle` class provides customization of the appearance for the 'PdfGridCell'.
|
|
129
|
+
*/
|
|
130
|
+
export declare class PdfGridCellStyle extends PdfGridStyleBase {
|
|
131
|
+
/**
|
|
132
|
+
* @hidden
|
|
133
|
+
* @private
|
|
134
|
+
*/
|
|
135
|
+
private gridCellBorders;
|
|
136
|
+
/**
|
|
137
|
+
* @hidden
|
|
138
|
+
* @private
|
|
139
|
+
*/
|
|
140
|
+
private gridCellPadding;
|
|
141
|
+
/**
|
|
142
|
+
* @hidden
|
|
143
|
+
* @private
|
|
144
|
+
*/
|
|
145
|
+
private format;
|
|
146
|
+
/**
|
|
147
|
+
* Gets the `string format` of the 'PdfGridCell'.
|
|
148
|
+
* @private
|
|
149
|
+
*/
|
|
150
|
+
stringFormat: PdfStringFormat;
|
|
151
|
+
/**
|
|
152
|
+
* Gets or sets the `border` of the 'PdfGridCell'.
|
|
153
|
+
* @private
|
|
154
|
+
*/
|
|
155
|
+
borders: PdfBorders;
|
|
156
|
+
/**
|
|
157
|
+
* Gets or sets the `cell padding`.
|
|
158
|
+
* @private
|
|
159
|
+
*/
|
|
160
|
+
cellPadding: PdfPaddings;
|
|
161
|
+
/**
|
|
162
|
+
* Initializes a new instance of the `PdfGridCellStyle` class.
|
|
163
|
+
* @private
|
|
164
|
+
*/
|
|
165
|
+
constructor();
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* `PdfGridRowStyle` class provides customization of the appearance for the `PdfGridRow`.
|
|
169
|
+
*/
|
|
170
|
+
export declare class PdfGridRowStyle {
|
|
171
|
+
/**
|
|
172
|
+
* @hidden
|
|
173
|
+
* @private
|
|
174
|
+
*/
|
|
175
|
+
private gridRowBackgroundBrush;
|
|
176
|
+
/**
|
|
177
|
+
* @hidden
|
|
178
|
+
* @private
|
|
179
|
+
*/
|
|
180
|
+
private gridRowTextBrush;
|
|
181
|
+
/**
|
|
182
|
+
* @hidden
|
|
183
|
+
* @private
|
|
184
|
+
*/
|
|
185
|
+
private gridRowTextPen;
|
|
186
|
+
/**
|
|
187
|
+
* @hidden
|
|
188
|
+
* @private
|
|
189
|
+
*/
|
|
190
|
+
private gridRowFont;
|
|
191
|
+
/**
|
|
192
|
+
* Specifies the `border` value of the current row.
|
|
193
|
+
* @private
|
|
194
|
+
*/
|
|
195
|
+
private gridRowBorder;
|
|
196
|
+
/**
|
|
197
|
+
* Specifies the `parent row` of the current object.
|
|
198
|
+
* @private
|
|
199
|
+
*/
|
|
200
|
+
private parent;
|
|
201
|
+
/**
|
|
202
|
+
* @hidden
|
|
203
|
+
* @private
|
|
204
|
+
*/
|
|
205
|
+
private gridRowBackgroundImage;
|
|
206
|
+
/**
|
|
207
|
+
* Gets or sets the `background brush`.
|
|
208
|
+
* @private
|
|
209
|
+
*/
|
|
210
|
+
readonly backgroundBrush: PdfBrush;
|
|
211
|
+
setBackgroundBrush(value: PdfBrush): void;
|
|
212
|
+
/**
|
|
213
|
+
* Gets or sets the `text brush`.
|
|
214
|
+
* @private
|
|
215
|
+
*/
|
|
216
|
+
readonly textBrush: PdfBrush;
|
|
217
|
+
setTextBrush(value: PdfBrush): void;
|
|
218
|
+
/**
|
|
219
|
+
* Gets or sets the `text pen`.
|
|
220
|
+
* @private
|
|
221
|
+
*/
|
|
222
|
+
readonly textPen: PdfPen;
|
|
223
|
+
setTextPen(value: PdfPen): void;
|
|
224
|
+
/**
|
|
225
|
+
* Gets or sets the `font`.
|
|
226
|
+
* @private
|
|
227
|
+
*/
|
|
228
|
+
readonly font: PdfFont;
|
|
229
|
+
setFont(value: PdfFont): void;
|
|
230
|
+
/**
|
|
231
|
+
* Gets or sets the `border` of the current row.
|
|
232
|
+
* @private
|
|
233
|
+
*/
|
|
234
|
+
readonly border: PdfBorders;
|
|
235
|
+
setBorder(value: PdfBorders): void;
|
|
236
|
+
/**
|
|
237
|
+
* sets the `parent row` of the current object.
|
|
238
|
+
* @private
|
|
239
|
+
*/
|
|
240
|
+
setParent(parent: PdfGridRow): void;
|
|
241
|
+
/**
|
|
242
|
+
* Gets or sets the `backgroundImage` of the 'PdfGridCell'.
|
|
243
|
+
* @private
|
|
244
|
+
*/
|
|
245
|
+
readonly backgroundImage: PdfImage;
|
|
246
|
+
/**
|
|
247
|
+
* sets the `backgroundImage` of the 'PdfGridCell'.
|
|
248
|
+
* @private
|
|
249
|
+
*/
|
|
250
|
+
setBackgroundImage(value: PdfImage): void;
|
|
251
|
+
/**
|
|
252
|
+
* Initializes a new instance of the `PdfGridRowStyle` class.
|
|
253
|
+
* @private
|
|
254
|
+
*/
|
|
255
|
+
constructor();
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* public Enum for `PdfHorizontalOverflowType`.
|
|
259
|
+
* @private
|
|
260
|
+
*/
|
|
261
|
+
export declare enum PdfHorizontalOverflowType {
|
|
262
|
+
/**
|
|
263
|
+
* Specifies the type of `NextPage`.
|
|
264
|
+
* @private
|
|
265
|
+
*/
|
|
266
|
+
NextPage = 0,
|
|
267
|
+
/**
|
|
268
|
+
* Specifies the type of `LastPage`.
|
|
269
|
+
* @private
|
|
270
|
+
*/
|
|
271
|
+
LastPage = 1
|
|
272
|
+
}
|