oasis-editor 0.0.134 → 0.0.136

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.
Files changed (54) hide show
  1. package/dist/{OasisEditorApp-B2f15Gpe.js → OasisEditorApp-DPrjPRTW.js} +772 -1033
  2. package/dist/app/controllers/EditorCommandsController.d.ts +2 -0
  3. package/dist/app/controllers/documentIO/DocumentImporter.d.ts +3 -1
  4. package/dist/app/controllers/documentIO/importProgress.d.ts +1 -1
  5. package/dist/app/controllers/useEditorDocumentIO.d.ts +3 -1
  6. package/dist/assets/{importDocxWorker-CCwhxVSR.js → importDocxWorker-B0cSSI12.js} +1 -1
  7. package/dist/core/commands/builtinCommands.d.ts +1 -1
  8. package/dist/core/commands/image.d.ts +15 -1
  9. package/dist/core/commands/publicCommandTypes.d.ts +4 -0
  10. package/dist/core/commands/table/tableCellStyleCommands.d.ts +7 -0
  11. package/dist/core/lineDash.d.ts +16 -0
  12. package/dist/core/model/index.d.ts +1 -1
  13. package/dist/core/model/types/primitives.d.ts +19 -0
  14. package/dist/core/smallCaps.d.ts +7 -0
  15. package/dist/core/tableStyleResolver.d.ts +5 -0
  16. package/dist/export/docx/docxTypes.d.ts +2 -1
  17. package/dist/export/docx/text/drawingContainerXml.d.ts +7 -1
  18. package/dist/export/pdf/draw/drawImageObject.d.ts +14 -0
  19. package/dist/export/pdf/fonts/PdfFontRegistry.d.ts +1 -0
  20. package/dist/export/pdf/fonts/officeFontAssets.d.ts +2 -0
  21. package/dist/export/pdf/writer/pdfTypes.d.ts +2 -0
  22. package/dist/i18n/locales/en.d.ts +19 -2
  23. package/dist/i18n/locales/pt-BR.d.ts +19 -2
  24. package/dist/{index-ogn0S9F3.js → index-Cbwb1bgI.js} +3771 -1616
  25. package/dist/oasis-editor.css +1 -1
  26. package/dist/oasis-editor.js +49 -49
  27. package/dist/oasis-editor.umd.cjs +4 -4
  28. package/dist/plugins/internal/essentialsCapabilities.d.ts +19 -1
  29. package/dist/text/fonts/FontMetricsProvider.d.ts +1 -1
  30. package/dist/text/fonts/core/types.d.ts +1 -1
  31. package/dist/text/fonts/decoders/WoffDecoder.d.ts +8 -0
  32. package/dist/text/fonts/preciseFontMetrics.d.ts +9 -0
  33. package/dist/text/fonts/remoteWebFonts.d.ts +16 -0
  34. package/dist/ui/OasisEditorAppProps.d.ts +4 -0
  35. package/dist/ui/OasisEditorEditorProps.d.ts +1 -0
  36. package/dist/ui/app/buildEditorViewProps.d.ts +1 -0
  37. package/dist/ui/app/createAppCommandsController.d.ts +2 -0
  38. package/dist/ui/app/createEditorCommandRuntime.d.ts +1 -0
  39. package/dist/ui/app/documentFontPreparation.d.ts +23 -0
  40. package/dist/ui/canvas/canvasFontResolution.d.ts +2 -2
  41. package/dist/ui/canvas/paragraph/canvasInlineImage.d.ts +1 -1
  42. package/dist/ui/canvas/paragraph/canvasTextEffects.d.ts +1 -0
  43. package/dist/ui/components/Toolbar/TableBordersMenu.d.ts +6 -0
  44. package/dist/ui/components/Toolbar/TableStyleGallery.d.ts +9 -0
  45. package/dist/ui/components/Toolbar/TableStyleOptions.d.ts +6 -0
  46. package/dist/ui/components/Toolbar/pictureBorderPresets.d.ts +19 -0
  47. package/dist/ui/components/Toolbar/presets/defaultToolbar/buttonSpecs.d.ts +1 -0
  48. package/dist/ui/components/Toolbar/primitives/ColorGrids.d.ts +20 -0
  49. package/dist/ui/components/Toolbar/primitives/PictureBorderPicker.d.ts +37 -0
  50. package/dist/ui/components/Toolbar/primitives/WideMenuButton.d.ts +27 -0
  51. package/dist/ui/components/Toolbar/schema/items.d.ts +23 -1
  52. package/dist/ui/editorUiTypes.d.ts +1 -0
  53. package/dist/ui/textMeasurement/fontMetrics.d.ts +3 -2
  54. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- export declare const OASIS_BUILTIN_COMMANDS: readonly ["selectAll", "insertFootnote", "insertTableOfContents", "updateTableOfContents", "pastePlainText", "bold", "italic", "underline", "strike", "superscript", "subscript", "link", "unlink", "alignLeft", "alignCenter", "alignRight", "alignJustify", "orderedList", "bulletList", "find", "replace", "toggleTrackChanges", "acceptRevisions", "rejectRevisions", "toggleShowMargins", "toggleShowParagraphMarks", "togglePreciseFonts", "undo", "redo", "pageBreak", "lineBreak", "splitBlock", "setFontFamily", "setFontSize", "increaseFontSize", "decreaseFontSize", "changeTextCase", "clearFormatting", "setColor", "setHighlight", "setTextShading", "setStyleId", "setCharacterStyleId", "setUnderlineStyle", "documentStyles", "print", "copy", "exportDocx", "exportPdf", "importDocument", "insertImage", "editImageAlt", "insertImageCaption", "imageContext", "imageWidthCm", "imageHeightCm", "imageCrop", "imageCropAspect", "outdent", "indent", "togglePageBreakBefore", "toggleKeepWithNext", "setSpacingAfter", "setSpacingBefore", "setIndentLeft", "setIndentRight", "setIndentFirstLine", "setIndentHanging", "setSpecialIndent", "setParagraphShading", "applyParagraphBorders", "setLineHeight", "setListFormat", "setListStartAt", "toggleOrientation", "setOrientation", "sectionBreakNextPage", "sectionBreakContinuous", "setPageMargins", "tableContext", "tableMerge", "tableSplit", "tableInsertColumnBefore", "tableInsertColumnAfter", "tableDeleteColumn", "tableInsertRowBefore", "tableInsertRowAfter", "tableDeleteRow", "tableCellShading", "tableCellBorders", "tableCellNoBorders", "tableWidth100", "tableAlignLeft", "tableAlignCenter", "tableAlignRight", "tableSetCellWidth", "tableToggleHeaderRow", "tableToggleTotalRow", "tableToggleBandedRows", "tableToggleFirstColumn", "tableToggleLastColumn", "tableToggleBandedColumns", "setTableStyle", "tableToggleAutoFit", "tableDistributeColumns", "tableDistributeRows", "insertTable", "insertShape"];
1
+ export declare const OASIS_BUILTIN_COMMANDS: readonly ["selectAll", "insertFootnote", "insertTableOfContents", "updateTableOfContents", "pastePlainText", "bold", "italic", "underline", "strike", "superscript", "subscript", "link", "unlink", "alignLeft", "alignCenter", "alignRight", "alignJustify", "orderedList", "bulletList", "find", "replace", "toggleTrackChanges", "acceptRevisions", "rejectRevisions", "toggleShowMargins", "toggleShowParagraphMarks", "togglePreciseFonts", "undo", "redo", "pageBreak", "lineBreak", "splitBlock", "setFontFamily", "setFontSize", "increaseFontSize", "decreaseFontSize", "changeTextCase", "clearFormatting", "setColor", "setHighlight", "setTextShading", "setStyleId", "setCharacterStyleId", "setUnderlineStyle", "documentStyles", "print", "copy", "exportDocx", "exportPdf", "importDocument", "insertImage", "editImageAlt", "insertImageCaption", "imageContext", "imageWidthCm", "imageHeightCm", "imageCrop", "imageCropAspect", "imageBorder", "outdent", "indent", "togglePageBreakBefore", "toggleKeepWithNext", "setSpacingAfter", "setSpacingBefore", "setIndentLeft", "setIndentRight", "setIndentFirstLine", "setIndentHanging", "setSpecialIndent", "setParagraphShading", "applyParagraphBorders", "setLineHeight", "setListFormat", "setListStartAt", "toggleOrientation", "setOrientation", "sectionBreakNextPage", "sectionBreakContinuous", "setPageMargins", "tableContext", "tableMerge", "tableSplit", "tableInsertColumnBefore", "tableInsertColumnAfter", "tableDeleteColumn", "tableInsertRowBefore", "tableInsertRowAfter", "tableDeleteRow", "tableCellShading", "tableCellBorders", "tableCellNoBorders", "tableApplyBorderPreset", "toggleTableDrawBorders", "toggleTableGridlines", "tableWidth100", "tableAlignLeft", "tableAlignCenter", "tableAlignRight", "tableSetCellWidth", "tableToggleHeaderRow", "tableToggleTotalRow", "tableToggleBandedRows", "tableToggleFirstColumn", "tableToggleLastColumn", "tableToggleBandedColumns", "setTableStyle", "tableToggleAutoFit", "tableDistributeColumns", "tableDistributeRows", "insertTable", "insertShape"];
2
2
  export type OasisBuiltinCommand = (typeof OASIS_BUILTIN_COMMANDS)[number];
@@ -1,4 +1,4 @@
1
- import { EditorPosition, EditorState, EditorImageRunData, EditorImageCrop } from '../model.js';
1
+ import { EditorPosition, EditorState, EditorImageRunData, EditorImageBorder, EditorImageCrop, EditorLineDash } from '../model.js';
2
2
  import { SelectedObjectRun } from './selectedObjectRun.js';
3
3
  import { WrapPreset } from './floatingLayout.js';
4
4
 
@@ -42,6 +42,20 @@ export type ImageCropAspectMode = number | "reset";
42
42
  export declare function computeImageAspectCrop(image: EditorImageRunData, mode: ImageCropAspectMode): ImageCropUpdate;
43
43
  /** Applies an aspect-ratio crop preset to the selected image. */
44
44
  export declare function applySelectedImageCropAspect(state: EditorState, mode: ImageCropAspectMode): EditorState;
45
+ /** Outline of the selected image (`pic:spPr/a:ln`), or `null`. */
46
+ export declare function getSelectedImageBorder(state: EditorState): EditorImageBorder | null;
47
+ /**
48
+ * A partial edit of the image outline, as dispatched by the picture-border
49
+ * toolbar popup. Each popup action touches one facet, so the patch merges onto
50
+ * whatever border the image already has. `color: null` removes the outline.
51
+ */
52
+ export interface ImageBorderPatch {
53
+ color?: string | null;
54
+ widthPt?: number;
55
+ dash?: EditorLineDash;
56
+ }
57
+ /** Merges `patch` onto the selected image's outline. `color: null` clears it. */
58
+ export declare function setSelectedImageBorder(state: EditorState, patch: ImageBorderPatch): EditorState;
45
59
  export declare function rotateSelectedImage(state: EditorState, rotation: number): EditorState;
46
60
  export declare function getSelectedImageWrapPreset(state: EditorState): WrapPreset | null;
47
61
  export declare function isSelectedImageFixedPosition(state: EditorState): boolean;
@@ -1,6 +1,7 @@
1
1
  import { CommandRef } from './CommandRef.js';
2
2
  import { EditorPageMargins } from '../model.js';
3
3
  import { TextCaseMode } from './text.js';
4
+ import { TableBorderPreset } from './table.js';
4
5
 
5
6
  export interface InsertTablePayload {
6
7
  rows: number;
@@ -105,6 +106,9 @@ export interface OasisCommandPayloads {
105
106
  tableCellShading: string | null;
106
107
  tableCellBorders: undefined;
107
108
  tableCellNoBorders: undefined;
109
+ tableApplyBorderPreset: TableBorderPreset;
110
+ toggleTableDrawBorders: undefined;
111
+ toggleTableGridlines: undefined;
108
112
  tableWidth100: undefined;
109
113
  tableAlignLeft: undefined;
110
114
  tableAlignCenter: undefined;
@@ -1,5 +1,12 @@
1
1
  import { EditorBorderStyle, EditorState, EditorTableCellStyle } from '../../model.js';
2
2
 
3
+ export type TableBorderPreset = "bottom" | "top" | "left" | "right" | "none" | "all" | "outside" | "inside" | "insideHorizontal" | "insideVertical" | "diagonalDown" | "diagonalUp";
4
+ /** Word's default border: black, solid, one half point. */
5
+ export declare const DEFAULT_TABLE_BORDER: EditorBorderStyle;
3
6
  export declare function setTableCellStyleValue<K extends keyof EditorTableCellStyle>(state: EditorState, key: K, value: EditorTableCellStyle[K] | null): EditorState;
4
7
  export declare function setTableCellWidth(state: EditorState, width: number | string | null): EditorState;
5
8
  export declare function setTableCellBorders(state: EditorState, border: EditorBorderStyle | null): EditorState;
9
+ /** Apply a ribbon Borders preset to the selected cells. The cell-style command
10
+ * already resolves rectangular table selections (including merged cells) and
11
+ * keeps property revisions intact. */
12
+ export declare function applyTableBorderPreset(state: EditorState, preset: TableBorderPreset, border?: EditorBorderStyle): EditorState;
@@ -0,0 +1,16 @@
1
+ import { EditorLineDash } from './model/types/primitives.js';
2
+
3
+ /**
4
+ * Canonical dash patterns for DrawingML `a:prstDash` presets, expressed in
5
+ * typographic points. This is the single source of truth shared by every
6
+ * renderer: the canvas scales them by `PX_PER_POINT` for `setLineDash`, the PDF
7
+ * exporter feeds them straight to the `d` operator, and the DOCX serializer
8
+ * needs no numbers at all (it writes the preset name back out verbatim).
9
+ *
10
+ * `solid` is the empty pattern — a continuous line in both backends.
11
+ */
12
+ export declare const LINE_DASH_PATTERN_PT: Record<EditorLineDash, number[]>;
13
+ /** Narrows an untrusted `a:prstDash/@val` to a supported preset. */
14
+ export declare function parseLineDash(value: string | null | undefined): EditorLineDash | undefined;
15
+ /** Dash pattern for a border, in points. Empty for solid/undefined. */
16
+ export declare function lineDashPatternPt(dash: EditorLineDash | undefined): number[];
@@ -6,7 +6,7 @@
6
6
  * statements that pointed there continue to work via the barrel
7
7
  * re-export in `src/core/model.ts`.
8
8
  */
9
- export type { EditorUnderlineStyle, EditorLigatures, EditorNumberSpacing, EditorNumberForm, EditorTextLanguage, EditorBorderStyle, EditorEmphasisMark, EditorTabStop, EditorParagraphListStyle, EditorImageCrop, EditorImageFillMode, EditorImageFloatingPosition, EditorImageFloatingLayout, EditorImageRunData, EditorWrapPolygonPoint, EditorFieldData, EditorFieldChar, EditorFootnoteReferenceData, EditorEndnoteReferenceData, EditorRevision, EditorRevisionMetadata, EditorStructuralRevision, EditorPropertyRevision, EditorAsset, EditorFootnoteNumberFormat, EditorFootnoteRestart, EditorDocxWidthValue, EditorTableLayout, EditorTableRowHeightRule, EditorGradientStop, EditorTextFill, EditorTextOutline, EditorTextShadow, EditorGlow, EditorReflection, } from './types/primitives.js';
9
+ export type { EditorUnderlineStyle, EditorLigatures, EditorNumberSpacing, EditorNumberForm, EditorTextLanguage, EditorBorderStyle, EditorEmphasisMark, EditorTabStop, EditorParagraphListStyle, EditorImageCrop, EditorImageFillMode, EditorLineDash, EditorImageBorder, EditorImageFloatingPosition, EditorImageFloatingLayout, EditorImageRunData, EditorWrapPolygonPoint, EditorFieldData, EditorFieldChar, EditorFootnoteReferenceData, EditorEndnoteReferenceData, EditorRevision, EditorRevisionMetadata, EditorStructuralRevision, EditorPropertyRevision, EditorAsset, EditorFootnoteNumberFormat, EditorFootnoteRestart, EditorDocxWidthValue, EditorTableLayout, EditorTableRowHeightRule, EditorGradientStop, EditorTextFill, EditorTextOutline, EditorTextShadow, EditorGlow, EditorReflection, } from './types/primitives.js';
10
10
  export type { EditorTextStyle, EditorParagraphStyle, EditorTableStyle, EditorTableFloatingLayout, EditorTableConditionalFormat, EditorConditionalRowStyle, EditorTableConditionalType, EditorTableConditionalFlags, EditorTableCellStyle, EditorNamedStyle, } from './types/styles.js';
11
11
  export type { EditorRunBase, EditorTextRun, EditorTextBoxShape, EditorTextBoxBody, EditorTextBoxData, EditorDropCap, EditorSdtBlockWrapper, EditorParagraphNode, EditorTableCellNode, EditorTableRowStyle, EditorTableRowNode, EditorTableNode, EditorBlockNode, } from './types/nodes.js';
12
12
  export type { RunKind, RunOfKind, RunVisitor } from './runKind.js';
@@ -110,6 +110,24 @@ export interface EditorImageCrop {
110
110
  bottom?: number;
111
111
  }
112
112
  export type EditorImageFillMode = "stretch" | "tile";
113
+ /**
114
+ * Preset dash patterns for an outline, mapped from DrawingML `a:prstDash/@val`.
115
+ * The member names are the serialized OOXML tokens.
116
+ */
117
+ export type EditorLineDash = "solid" | "dot" | "sysDot" | "dash" | "sysDash" | "dashDot" | "lgDash" | "lgDashDot" | "lgDashDotDot";
118
+ /**
119
+ * An image outline, mapped from `pic:spPr/a:ln`. Word centers the stroke on the
120
+ * displayed box edge and reserves no layout space for it. An absent `border`
121
+ * means no outline.
122
+ */
123
+ export interface EditorImageBorder {
124
+ /** `a:ln/a:solidFill/a:srgbClr` as `#RRGGBB`. */
125
+ color: string;
126
+ /** `a:ln/@w`, in points. Absent ⇒ 1pt. */
127
+ widthPt?: number;
128
+ /** `a:ln/a:prstDash/@val`. Absent ⇒ solid. */
129
+ dash?: EditorLineDash;
130
+ }
113
131
  export interface EditorImageFloatingPosition {
114
132
  relativeFrom?: string;
115
133
  align?: string;
@@ -145,6 +163,7 @@ export interface EditorImageRunData {
145
163
  linkedSrc?: string;
146
164
  crop?: EditorImageCrop;
147
165
  fillMode?: EditorImageFillMode;
166
+ border?: EditorImageBorder;
148
167
  rotation?: number;
149
168
  flipH?: boolean;
150
169
  flipV?: boolean;
@@ -0,0 +1,7 @@
1
+ /** True when Word small-caps formatting must uppercase and reduce this glyph. */
2
+ export declare function isLowercaseSmallCapsChar(char: string): boolean;
3
+ /** Applies the display-only casing used by w:caps and w:smallCaps. */
4
+ export declare function resolveRenderedTextChar(char: string, styles: {
5
+ allCaps?: boolean;
6
+ smallCaps?: boolean;
7
+ } | undefined): string;
@@ -11,6 +11,11 @@ export interface ResolvedTableCellFormatting {
11
11
  }
12
12
  export declare function resolveEffectiveTableStyle(table: EditorTableNode, styles?: Record<string, EditorNamedStyle>): EditorTableStyle;
13
13
  export declare function resolveTableParagraphInheritance(tableStyle: EditorParagraphStyle | undefined, paragraphStyleId: string | undefined, styles: Record<string, EditorNamedStyle> | undefined): EditorParagraphStyle | undefined;
14
+ export declare function resolveNamedTableStyle(styleId: string | undefined, styles: Record<string, EditorNamedStyle> | undefined, seen?: Set<string>): {
15
+ tableStyle: EditorTableStyle;
16
+ paragraphStyle?: EditorParagraphStyle;
17
+ textStyle?: EditorTextStyle;
18
+ };
14
19
  export declare function resolveEffectiveTableCellFormatting(options: {
15
20
  table: EditorTableNode;
16
21
  rowIndex: number;
@@ -1,4 +1,4 @@
1
- import { EditorBlockNode, EditorImageCrop, EditorImageFillMode, EditorImageFloatingLayout, EditorParagraphListStyle, EditorWrapPolygonPoint } from '../../core/model.js';
1
+ import { EditorBlockNode, EditorImageBorder, EditorImageCrop, EditorImageFillMode, EditorImageFloatingLayout, EditorParagraphListStyle, EditorWrapPolygonPoint } from '../../core/model.js';
2
2
  import { BookmarkEventsByParagraph } from './bookmarksXml.js';
3
3
  import { CommentEventsByParagraph } from './commentsXml.js';
4
4
 
@@ -36,6 +36,7 @@ export interface DocContext {
36
36
  alt?: string;
37
37
  crop?: EditorImageCrop;
38
38
  fillMode?: EditorImageFillMode;
39
+ border?: EditorImageBorder;
39
40
  rotation?: number;
40
41
  flipH?: boolean;
41
42
  flipV?: boolean;
@@ -1,8 +1,14 @@
1
- import { EditorImageFloatingLayout, EditorWrapPolygonPoint } from '../../../core/model.js';
1
+ import { EditorImageBorder, EditorImageFloatingLayout, EditorWrapPolygonPoint } from '../../../core/model.js';
2
2
  import { DocContext } from '../docxTypes.js';
3
3
 
4
4
  export declare function buildXfrmAttrs(img: DocContext["images"][number]): string;
5
5
  export declare function buildSrcRect(crop: DocContext["images"][number]["crop"]): string;
6
+ /**
7
+ * The picture outline. Belongs inside `pic:spPr` right after `a:prstGeom` —
8
+ * `CT_ShapeProperties` sequences xfrm, geometry, fill, then `a:ln` (a picture's
9
+ * fill lives in `pic:blipFill`, so nothing sits between the two here).
10
+ */
11
+ export declare function buildImageLnXml(border: EditorImageBorder | undefined): string;
6
12
  export declare function buildDrawingContainerXml(options: {
7
13
  cx: number;
8
14
  cy: number;
@@ -0,0 +1,14 @@
1
+ import { EditorDocument, EditorImageRunData } from '../../../core/model.js';
2
+ import { OasisPdfWriter } from '../OasisPdfWriter.js';
3
+
4
+ /**
5
+ * Draws one image — inline or floating — onto a page: the XObject itself, then
6
+ * its picture outline (`pic:spPr/a:ln`) if it has one. Shared by both call
7
+ * sites so the two can never drift on border handling.
8
+ *
9
+ * The rect passed in is the displayed box, in points. Crop never changes it:
10
+ * `drawImage` already clips the (enlarged) source to this same box, so the
11
+ * outline hugs what the reader sees. Rotation is applied around the box centre,
12
+ * mirroring `paintTextBox`.
13
+ */
14
+ export declare function drawImageObject(writer: OasisPdfWriter, pageIndex: number, document: EditorDocument, image: EditorImageRunData, x: number, y: number, width: number, height: number): Promise<void>;
@@ -24,5 +24,6 @@ export declare class PdfFontRegistry {
24
24
  resolveFontFace(options: PdfFontResolveOptions): PdfRegisteredFontFace;
25
25
  getPdfFontResources(): OasisPdfFontResource[];
26
26
  loadBundledUnicodeFaces(options?: PdfBundledFontLoadOptions): Promise<void>;
27
+ loadRemoteWebFontFaces(options?: PdfBundledFontLoadOptions): Promise<void>;
27
28
  private registerOfficeCompatibleFaces;
28
29
  }
@@ -13,6 +13,8 @@ export declare const ROBOTO_FONT_FILES: FontFaceFiles;
13
13
  export declare const OFFICE_COMPAT_FONT_FAMILIES: OfficeFontFamilyDef[];
14
14
  export declare function normalizeFamily(fontFamily: string | null | undefined): string;
15
15
  export declare function resolveMetricCompatibleFamily(fontFamily: string | null | undefined): string;
16
+ /** True when a family already has an embedded browser/layout face. */
17
+ export declare function isBundledMetricFontFamily(fontFamily: string | null | undefined): boolean;
16
18
  /** Maps a bold/italic combination to the corresponding {@link FontFaceFiles} key. */
17
19
  export declare function faceStyleKey(bold: boolean, italic: boolean): keyof FontFaceFiles;
18
20
  /**
@@ -87,6 +87,8 @@ export interface OasisPdfRectOptions {
87
87
  fill?: string;
88
88
  stroke?: string;
89
89
  lineWidth?: number;
90
+ /** Stroke dash pattern, in points. Ignored without a `stroke`. */
91
+ dashArray?: number[];
90
92
  }
91
93
  export interface OasisPdfLineOptions {
92
94
  x1: number;
@@ -389,6 +389,7 @@ export declare const en: {
389
389
  "ribbon.group.cellSize": string;
390
390
  "ribbon.group.alignment": string;
391
391
  "ribbon.group.size": string;
392
+ "ribbon.group.imageStyles": string;
392
393
  "image.crop": string;
393
394
  "image.height": string;
394
395
  "image.width": string;
@@ -400,6 +401,20 @@ export declare const en: {
400
401
  "image.cropRatio.2x3": string;
401
402
  "image.cropRatio.3x4": string;
402
403
  "image.cropRatio.9x16": string;
404
+ "image.border": string;
405
+ "image.borderNone": string;
406
+ "image.borderMoreColors": string;
407
+ "image.borderWeight": string;
408
+ "image.borderDashes": string;
409
+ "image.borderDash.solid": string;
410
+ "image.borderDash.sysDot": string;
411
+ "image.borderDash.sysDash": string;
412
+ "image.borderDash.dot": string;
413
+ "image.borderDash.dash": string;
414
+ "image.borderDash.dashDot": string;
415
+ "image.borderDash.lgDash": string;
416
+ "image.borderDash.lgDashDot": string;
417
+ "image.borderDash.lgDashDotDot": string;
403
418
  "toolbar.exportDocx": string;
404
419
  "toolbar.exportPdf": string;
405
420
  "underline.style.single": string;
@@ -479,8 +494,10 @@ export declare const en: {
479
494
  "status.error": string;
480
495
  "import.overlay.title": string;
481
496
  "import.phase.reading-file": string;
482
- "import.phase.opening-docx": string;
483
- "import.phase.parsing-document": string;
497
+ "import.phase.opening": string;
498
+ "import.phase.parsing": string;
499
+ "import.phase.finishing": string;
500
+ "import.phase.preparing-fonts": string;
484
501
  "import.phase.applying-editor-state": string;
485
502
  "import.phase.stabilizing-layout": string;
486
503
  "import.phase.done": string;
@@ -389,6 +389,7 @@ export declare const ptBR: {
389
389
  "ribbon.group.cellSize": string;
390
390
  "ribbon.group.alignment": string;
391
391
  "ribbon.group.size": string;
392
+ "ribbon.group.imageStyles": string;
392
393
  "image.crop": string;
393
394
  "image.height": string;
394
395
  "image.width": string;
@@ -400,6 +401,20 @@ export declare const ptBR: {
400
401
  "image.cropRatio.2x3": string;
401
402
  "image.cropRatio.3x4": string;
402
403
  "image.cropRatio.9x16": string;
404
+ "image.border": string;
405
+ "image.borderNone": string;
406
+ "image.borderMoreColors": string;
407
+ "image.borderWeight": string;
408
+ "image.borderDashes": string;
409
+ "image.borderDash.solid": string;
410
+ "image.borderDash.sysDot": string;
411
+ "image.borderDash.sysDash": string;
412
+ "image.borderDash.dot": string;
413
+ "image.borderDash.dash": string;
414
+ "image.borderDash.dashDot": string;
415
+ "image.borderDash.lgDash": string;
416
+ "image.borderDash.lgDashDot": string;
417
+ "image.borderDash.lgDashDotDot": string;
403
418
  "toolbar.exportDocx": string;
404
419
  "toolbar.exportPdf": string;
405
420
  "underline.style.single": string;
@@ -479,8 +494,10 @@ export declare const ptBR: {
479
494
  "status.error": string;
480
495
  "import.overlay.title": string;
481
496
  "import.phase.reading-file": string;
482
- "import.phase.opening-docx": string;
483
- "import.phase.parsing-document": string;
497
+ "import.phase.opening": string;
498
+ "import.phase.parsing": string;
499
+ "import.phase.finishing": string;
500
+ "import.phase.preparing-fonts": string;
484
501
  "import.phase.applying-editor-state": string;
485
502
  "import.phase.stabilizing-layout": string;
486
503
  "import.phase.done": string;