oasis-editor 0.0.1
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/README.md +1 -0
- package/dist/__tests__/app/PersistenceService.test.d.ts +1 -0
- package/dist/__tests__/app/footnoteUiCommands.test.d.ts +1 -0
- package/dist/__tests__/commands/text.test.d.ts +1 -0
- package/dist/__tests__/core/editorPluginIntegration.test.d.ts +1 -0
- package/dist/__tests__/core/editorState.test.d.ts +1 -0
- package/dist/__tests__/core/footnotes.test.d.ts +1 -0
- package/dist/__tests__/core/model.test.d.ts +1 -0
- package/dist/__tests__/core/pluginCollection.test.d.ts +1 -0
- package/dist/__tests__/core/tableCommands.test.d.ts +1 -0
- package/dist/__tests__/export/docxExport.test.d.ts +1 -0
- package/dist/__tests__/export/footnotesExport.test.d.ts +1 -0
- package/dist/__tests__/export/pdfWriter.test.d.ts +1 -0
- package/dist/__tests__/export/underlineStyle.test.d.ts +1 -0
- package/dist/__tests__/import/docxComplexSmoke.test.d.ts +1 -0
- package/dist/__tests__/import/docxImport.test.d.ts +1 -0
- package/dist/__tests__/import/footnotesImport.test.d.ts +1 -0
- package/dist/__tests__/integration/documentFlow.test.d.ts +1 -0
- package/dist/__tests__/ui/CanvasTableLayout.test.d.ts +1 -0
- package/dist/__tests__/ui/canvasHitTestService.test.d.ts +1 -0
- package/dist/__tests__/ui/canvasLayoutSnapshot.test.d.ts +1 -0
- package/dist/__tests__/ui/canvasSelectionGeometry.test.d.ts +1 -0
- package/dist/__tests__/ui/canvasTextRendering.test.d.ts +1 -0
- package/dist/__tests__/ui/composeMeasuredParagraphLines.test.d.ts +1 -0
- package/dist/__tests__/ui/dialog.test.d.ts +1 -0
- package/dist/__tests__/ui/fontDialog.test.d.ts +1 -0
- package/dist/__tests__/ui/footnotesLayout.test.d.ts +1 -0
- package/dist/__tests__/ui/layoutIdentity.test.d.ts +1 -0
- package/dist/__tests__/ui/layoutProjection.test.d.ts +1 -0
- package/dist/__tests__/ui/registry.test.d.ts +1 -0
- package/dist/__tests__/ui/tabs.test.d.ts +1 -0
- package/dist/__tests__/ui/textMeasurementAlignment.test.d.ts +1 -0
- package/dist/__tests__/word-parity/fixtures/corpus.d.ts +10 -0
- package/dist/__tests__/word-parity/fixtures/loremFixtures.d.ts +8 -0
- package/dist/__tests__/word-parity/wordLayout.word-parity.d.ts +1 -0
- package/dist/app/bootstrap/createOasisEditorApp.d.ts +6 -0
- package/dist/app/bootstrap/createOasisEditorContainer.d.ts +6 -0
- package/dist/app/clipboard/htmlClipboardParser.d.ts +3 -0
- package/dist/app/controllers/EditorCommandRegistry.d.ts +23 -0
- package/dist/app/controllers/EditorCommandsController.d.ts +53 -0
- package/dist/app/controllers/documentIO/DocumentExporter.d.ts +11 -0
- package/dist/app/controllers/documentIO/DocumentImporter.d.ts +17 -0
- package/dist/app/controllers/documentIO/ImageInsertionService.d.ts +14 -0
- package/dist/app/controllers/documentIO/downloadBlob.d.ts +1 -0
- package/dist/app/controllers/tableOpsCellSpanCommands.d.ts +21 -0
- package/dist/app/controllers/tableOpsGuards.d.ts +19 -0
- package/dist/app/controllers/tableOpsMutationCommands.d.ts +4 -0
- package/dist/app/controllers/tableOpsRowColumnCommands.d.ts +12 -0
- package/dist/app/controllers/tableOpsSelectionAwareCommands.d.ts +20 -0
- package/dist/app/controllers/tableOpsSelectionNavigation.d.ts +7 -0
- package/dist/app/controllers/tableOpsSelectionRanges.d.ts +34 -0
- package/dist/app/controllers/useEditorClipboard.d.ts +28 -0
- package/dist/app/controllers/useEditorDocumentIO.d.ts +31 -0
- package/dist/app/controllers/useEditorFindReplace.d.ts +28 -0
- package/dist/app/controllers/useEditorHistoryActions.d.ts +21 -0
- package/dist/app/controllers/useEditorImageOperations.d.ts +72 -0
- package/dist/app/controllers/useEditorKeyboard.d.ts +50 -0
- package/dist/app/controllers/useEditorLayout.d.ts +42 -0
- package/dist/app/controllers/useEditorNavigation.d.ts +22 -0
- package/dist/app/controllers/useEditorPersistence.d.ts +16 -0
- package/dist/app/controllers/useEditorRevision.d.ts +12 -0
- package/dist/app/controllers/useEditorStyle.d.ts +23 -0
- package/dist/app/controllers/useEditorSurfaceEvents.d.ts +44 -0
- package/dist/app/controllers/useEditorTableDrag.d.ts +29 -0
- package/dist/app/controllers/useEditorTableOperations.d.ts +45 -0
- package/dist/app/controllers/useEditorTableResize.d.ts +32 -0
- package/dist/app/controllers/useEditorTextDrag.d.ts +38 -0
- package/dist/app/controllers/useEditorTextInput.d.ts +27 -0
- package/dist/app/services/FindReplaceService.d.ts +12 -0
- package/dist/app/services/PersistenceService.d.ts +11 -0
- package/dist/assets/Arimo-Bold.ttf +0 -0
- package/dist/assets/Arimo-BoldItalic.ttf +0 -0
- package/dist/assets/Arimo-Italic.ttf +0 -0
- package/dist/assets/Arimo-Regular.ttf +0 -0
- package/dist/assets/Carlito-Bold.ttf +0 -0
- package/dist/assets/Carlito-BoldItalic.ttf +0 -0
- package/dist/assets/Carlito-Italic.ttf +0 -0
- package/dist/assets/Carlito-Regular.ttf +0 -0
- package/dist/assets/Roboto-Italic.ttf +0 -0
- package/dist/assets/Roboto-Medium.ttf +0 -0
- package/dist/assets/Roboto-MediumItalic.ttf +0 -0
- package/dist/assets/Roboto-Regular.ttf +0 -0
- package/dist/assets/Tinos-Bold.ttf +0 -0
- package/dist/assets/Tinos-BoldItalic.ttf +0 -0
- package/dist/assets/Tinos-Italic.ttf +0 -0
- package/dist/assets/Tinos-Regular.ttf +0 -0
- package/dist/assets/importDocxWorker-DIQ28Lka.js +12 -0
- package/dist/core/Editor.d.ts +33 -0
- package/dist/core/cloneState.d.ts +8 -0
- package/dist/core/commands/CommandBus.d.ts +9 -0
- package/dist/core/commands/CommandRef.d.ts +10 -0
- package/dist/core/commands/CommandRegistry.d.ts +10 -0
- package/dist/core/commands/block.d.ts +11 -0
- package/dist/core/commands/clipboard.d.ts +13 -0
- package/dist/core/commands/footnotes.d.ts +27 -0
- package/dist/core/commands/history.d.ts +7 -0
- package/dist/core/commands/image.d.ts +15 -0
- package/dist/core/commands/link.d.ts +4 -0
- package/dist/core/commands/list.d.ts +10 -0
- package/dist/core/commands/misc.d.ts +3 -0
- package/dist/core/commands/selection.d.ts +12 -0
- package/dist/core/commands/table.d.ts +10 -0
- package/dist/core/commands/text.d.ts +12 -0
- package/dist/core/commands/utils.d.ts +69 -0
- package/dist/core/editorCommands.d.ts +14 -0
- package/dist/core/editorState.d.ts +66 -0
- package/dist/core/engine.d.ts +13 -0
- package/dist/core/footnotes.d.ts +42 -0
- package/dist/core/headings.d.ts +9 -0
- package/dist/core/model/queries.d.ts +8 -0
- package/dist/core/model.d.ts +447 -0
- package/dist/core/plugin.d.ts +64 -0
- package/dist/core/plugins/PluginCollection.d.ts +16 -0
- package/dist/core/selection.d.ts +19 -0
- package/dist/core/tableLayout.d.ts +13 -0
- package/dist/core/textStyleMappings.d.ts +8 -0
- package/dist/core/wordBoundaries.d.ts +7 -0
- package/dist/demo/OasisSiteApp.d.ts +1 -0
- package/dist/export/docx/docxTypes.d.ts +66 -0
- package/dist/export/docx/exportEditorDocumentToDocx.d.ts +4 -0
- package/dist/export/docx/footnotesXml.d.ts +40 -0
- package/dist/export/docx/tableXml.d.ts +4 -0
- package/dist/export/docx/textXml.d.ts +6 -0
- package/dist/export/docx/xmlUtils.d.ts +10 -0
- package/dist/export/pdf/OasisPdfWriter.d.ts +93 -0
- package/dist/export/pdf/draw/drawBlockList.d.ts +5 -0
- package/dist/export/pdf/draw/drawFragment.d.ts +7 -0
- package/dist/export/pdf/draw/drawPageBackground.d.ts +3 -0
- package/dist/export/pdf/draw/drawParagraph.d.ts +5 -0
- package/dist/export/pdf/draw/drawTable.d.ts +5 -0
- package/dist/export/pdf/draw/fragmentGeometry.d.ts +12 -0
- package/dist/export/pdf/draw/lists.d.ts +6 -0
- package/dist/export/pdf/exportEditorDocumentToPdf.d.ts +4 -0
- package/dist/export/pdf/fonts/PdfFontRegistry.d.ts +28 -0
- package/dist/export/pdf/fonts/collectPdfFontFamilies.d.ts +3 -0
- package/dist/export/pdf/images.d.ts +4 -0
- package/dist/export/pdf/layout/PdfTextMeasurer.d.ts +24 -0
- package/dist/export/pdf/layout/layoutParagraph.d.ts +37 -0
- package/dist/export/pdf/units.d.ts +6 -0
- package/dist/i18n/index.d.ts +7 -0
- package/dist/i18n/locales/en.d.ts +251 -0
- package/dist/i18n/locales/pt-BR.d.ts +251 -0
- package/dist/import/docx/assetRegistry.d.ts +18 -0
- package/dist/import/docx/footnotes.d.ts +17 -0
- package/dist/import/docx/headerFooter.d.ts +7 -0
- package/dist/import/docx/importDocxInWorker.d.ts +8 -0
- package/dist/import/docx/importDocxToEditorDocument.d.ts +7 -0
- package/dist/import/docx/importDocxWorker.d.ts +1 -0
- package/dist/import/docx/numbering.d.ts +9 -0
- package/dist/import/docx/paragraphs.d.ts +12 -0
- package/dist/import/docx/relationships.d.ts +4 -0
- package/dist/import/docx/runs.d.ts +41 -0
- package/dist/import/docx/sectionProperties.d.ts +16 -0
- package/dist/import/docx/settings.d.ts +4 -0
- package/dist/import/docx/styles.d.ts +24 -0
- package/dist/import/docx/tables.d.ts +8 -0
- package/dist/import/docx/themeFonts.d.ts +12 -0
- package/dist/import/docx/units.d.ts +9 -0
- package/dist/import/docx/xmlHelpers.d.ts +15 -0
- package/dist/index.d.ts +43 -0
- package/dist/layoutProjection/blockHeights.d.ts +1 -0
- package/dist/layoutProjection/blocksPagination.d.ts +18 -0
- package/dist/layoutProjection/constants.d.ts +1 -0
- package/dist/layoutProjection/documentLayout.d.ts +7 -0
- package/dist/layoutProjection/footnotePagination.d.ts +21 -0
- package/dist/layoutProjection/headerFooterFootnotes.d.ts +4 -0
- package/dist/layoutProjection/headerFooterProjection.d.ts +14 -0
- package/dist/layoutProjection/index.d.ts +7 -0
- package/dist/layoutProjection/paragraphPagination.d.ts +20 -0
- package/dist/layoutProjection/paragraphProjection.d.ts +1 -0
- package/dist/layoutProjection/sectionPagination.d.ts +35 -0
- package/dist/layoutProjection/tablePagination.d.ts +14 -0
- package/dist/layoutProjection/tableProjection.d.ts +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/oasis-editor.css +1 -0
- package/dist/oasis-editor.js +80464 -0
- package/dist/oasis-editor.umd.cjs +24 -0
- package/dist/plugins/internal/createEssentialsPlugin.d.ts +135 -0
- package/dist/plugins/internal/essentialsCommandBuilders.d.ts +10 -0
- package/dist/plugins/internal/essentialsCommandGroups.d.ts +39 -0
- package/dist/testing/wordLayoutParity.d.ts +62 -0
- package/dist/ui/OasisEditorApp.d.ts +4 -0
- package/dist/ui/OasisEditorAppProps.d.ts +49 -0
- package/dist/ui/OasisEditorContainer.d.ts +6 -0
- package/dist/ui/OasisEditorEditor.d.ts +103 -0
- package/dist/ui/app/EditorDialogsLayer.d.ts +26 -0
- package/dist/ui/app/EditorDragLayers.d.ts +20 -0
- package/dist/ui/app/EditorWorkspace.d.ts +37 -0
- package/dist/ui/app/buildEditorViewProps.d.ts +59 -0
- package/dist/ui/app/createEditorEssentialsPlugin.d.ts +42 -0
- package/dist/ui/app/createRuntimeCommandHost.d.ts +29 -0
- package/dist/ui/app/fontOptions.d.ts +5 -0
- package/dist/ui/app/shouldShowCaret.d.ts +9 -0
- package/dist/ui/app/useCanvasSurfaceHitResolver.d.ts +16 -0
- package/dist/ui/app/useEditorAppState.d.ts +11 -0
- package/dist/ui/app/useEditorContextMenuClipboard.d.ts +33 -0
- package/dist/ui/app/useEditorDialogs.d.ts +38 -0
- package/dist/ui/app/useEditorFocus.d.ts +11 -0
- package/dist/ui/app/useEditorFontOptions.d.ts +17 -0
- package/dist/ui/app/useEditorInteractionWiring.d.ts +64 -0
- package/dist/ui/app/useEditorRuntimeBootstrap.d.ts +33 -0
- package/dist/ui/app/useEditorRuntimePlugins.d.ts +14 -0
- package/dist/ui/app/useEditorTransactions.d.ts +20 -0
- package/dist/ui/app/useEditorUiOptions.d.ts +24 -0
- package/dist/ui/app/useFontDialogBridge.d.ts +31 -0
- package/dist/ui/canvas/CanvasDebug.d.ts +125 -0
- package/dist/ui/canvas/CanvasGeometry.d.ts +35 -0
- package/dist/ui/canvas/CanvasHitTestService.d.ts +37 -0
- package/dist/ui/canvas/CanvasLayoutSnapshot.d.ts +93 -0
- package/dist/ui/canvas/CanvasSelectionGeometry.d.ts +20 -0
- package/dist/ui/canvas/CanvasTableLayout.d.ts +65 -0
- package/dist/ui/canvas/canvasBlockPainter.d.ts +4 -0
- package/dist/ui/canvas/canvasImageCache.d.ts +1 -0
- package/dist/ui/canvas/canvasPageRenderer.d.ts +18 -0
- package/dist/ui/canvas/canvasParagraphPainter.d.ts +12 -0
- package/dist/ui/canvas/canvasTablePainter.d.ts +3 -0
- package/dist/ui/canvas/listNumbering.d.ts +3 -0
- package/dist/ui/caretGeometry.d.ts +30 -0
- package/dist/ui/clipboardImage.d.ts +2 -0
- package/dist/ui/components/CanvasEditorSurface.d.ts +5 -0
- package/dist/ui/components/CaretOverlay.d.ts +9 -0
- package/dist/ui/components/ContextMenu/ContextMenu.d.ts +19 -0
- package/dist/ui/components/Dialogs/Dialog.d.ts +17 -0
- package/dist/ui/components/Dialogs/FontDialog.d.ts +67 -0
- package/dist/ui/components/Dialogs/FontDialogModel.d.ts +15 -0
- package/dist/ui/components/Dialogs/ImageAltDialog.d.ts +8 -0
- package/dist/ui/components/Dialogs/LineSpacingDialog.d.ts +17 -0
- package/dist/ui/components/Dialogs/LinkDialog.d.ts +8 -0
- package/dist/ui/components/DropCaret.d.ts +16 -0
- package/dist/ui/components/FindReplace/FindReplaceDialog.d.ts +7 -0
- package/dist/ui/components/FloatingToolbar/FloatingTableToolbar.d.ts +11 -0
- package/dist/ui/components/Menubar/Menubar.d.ts +7 -0
- package/dist/ui/components/Menubar/defaultMenuItems.d.ts +3 -0
- package/dist/ui/components/Menubar/menuRegistry.d.ts +28 -0
- package/dist/ui/components/Outline/OutlinePanel.d.ts +10 -0
- package/dist/ui/components/PageBreak.d.ts +4 -0
- package/dist/ui/components/RevisionOverlay.d.ts +6 -0
- package/dist/ui/components/SelectionOverlay.d.ts +11 -0
- package/dist/ui/components/Tabs/Tabs.d.ts +18 -0
- package/dist/ui/components/TitleBar/TitleBar.d.ts +6 -0
- package/dist/ui/components/Toolbar/LineSpacingButton.d.ts +6 -0
- package/dist/ui/components/Toolbar/Toolbar.d.ts +15 -0
- package/dist/ui/components/Toolbar/ToolbarOverflowManager.d.ts +13 -0
- package/dist/ui/components/Toolbar/controls/ListOptionsControl.d.ts +7 -0
- package/dist/ui/components/Toolbar/controls/UnderlineControl.d.ts +10 -0
- package/dist/ui/components/Toolbar/groups/MetricGroup.d.ts +6 -0
- package/dist/ui/components/Toolbar/groups/SectionGroup.d.ts +6 -0
- package/dist/ui/components/Toolbar/groups/TableGroup.d.ts +6 -0
- package/dist/ui/components/Toolbar/presets/defaultPalette.d.ts +4 -0
- package/dist/ui/components/Toolbar/presets/defaultToolbar.d.ts +9 -0
- package/dist/ui/components/Toolbar/primitives/Button.d.ts +11 -0
- package/dist/ui/components/Toolbar/primitives/ColorPicker.d.ts +22 -0
- package/dist/ui/components/Toolbar/primitives/GridPicker.d.ts +12 -0
- package/dist/ui/components/Toolbar/primitives/Menu.d.ts +20 -0
- package/dist/ui/components/Toolbar/primitives/Popover.d.ts +34 -0
- package/dist/ui/components/Toolbar/primitives/Select.d.ts +12 -0
- package/dist/ui/components/Toolbar/primitives/Separator.d.ts +6 -0
- package/dist/ui/components/Toolbar/primitives/SplitButton.d.ts +30 -0
- package/dist/ui/components/Toolbar/primitives/useDismiss.d.ts +15 -0
- package/dist/ui/components/Toolbar/primitives/usePopoverPosition.d.ts +31 -0
- package/dist/ui/components/Toolbar/registry/ToolbarRegistry.d.ts +23 -0
- package/dist/ui/components/Toolbar/renderers/ToolbarItemRenderer.d.ts +13 -0
- package/dist/ui/components/Toolbar/renderers/renderers.d.ts +14 -0
- package/dist/ui/components/Toolbar/schema/items.d.ts +136 -0
- package/dist/ui/components/Toolbar/schema/palette.d.ts +15 -0
- package/dist/ui/components/Toolbar/state/bindItem.d.ts +28 -0
- package/dist/ui/components/Toolbar/state/createToolbarApi.d.ts +14 -0
- package/dist/ui/components/Toolbar/underlineStyles.d.ts +16 -0
- package/dist/ui/editorHistory.d.ts +25 -0
- package/dist/ui/editorUiTypes.d.ts +65 -0
- package/dist/ui/imageGeometry.d.ts +15 -0
- package/dist/ui/layoutIdentity.d.ts +23 -0
- package/dist/ui/layoutInvalidation.d.ts +9 -0
- package/dist/ui/mount.d.ts +10 -0
- package/dist/ui/shells/BalloonShell.d.ts +3 -0
- package/dist/ui/shells/DocumentShell.d.ts +29 -0
- package/dist/ui/shells/InlineShell.d.ts +3 -0
- package/dist/ui/tableGeometry.d.ts +16 -0
- package/dist/ui/tableUiUtils.d.ts +5 -0
- package/dist/ui/textMeasurement.d.ts +14 -0
- package/dist/ui/toolbarStyleState.d.ts +46 -0
- package/dist/ui/utils/IconManager.d.ts +2 -0
- package/dist/utils/indexeddb.d.ts +12 -0
- package/dist/utils/logger.d.ts +22 -0
- package/dist/utils/performanceMetrics.d.ts +58 -0
- package/dist/utils/throttle.d.ts +4 -0
- package/package.json +65 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EditorBlockNode, EditorDocument, EditorFootnote, EditorNamedStyle } from '../../../../core/model.js';
|
|
2
|
+
import { DocContext, ExportBuildState, NumberingContext } from '../../docxTypes.js';
|
|
3
|
+
|
|
4
|
+
export interface ReferencedFootnote {
|
|
5
|
+
/** Local editor id. */
|
|
6
|
+
footnoteId: string;
|
|
7
|
+
/** DOCX numeric id used in `w:footnoteReference w:id="N"` and `w:footnote w:id="N"`. */
|
|
8
|
+
docxId: number;
|
|
9
|
+
/** Footnote body. */
|
|
10
|
+
footnote: EditorFootnote;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Walks the document in reading order and returns one entry per distinct
|
|
14
|
+
* footnote id that is actually referenced by an inline run. Unreferenced
|
|
15
|
+
* footnotes in the registry are skipped.
|
|
16
|
+
*
|
|
17
|
+
* Returns an empty list when the document has no footnotes.
|
|
18
|
+
*/
|
|
19
|
+
export declare function collectReferencedFootnotesForExport(document: EditorDocument): ReferencedFootnote[];
|
|
20
|
+
export declare function buildFootnoteIdMap(referenced: ReferencedFootnote[]): Map<string, number>;
|
|
21
|
+
/**
|
|
22
|
+
* Serialize the footnote bodies into the `<w:footnotes>` part XML, including
|
|
23
|
+
* the conventional special entries (`separator` and `continuationSeparator`).
|
|
24
|
+
*
|
|
25
|
+
* `bodyContext` is the parent `DocContext`. We need it only to share the
|
|
26
|
+
* footnoteIdMap; image/hyperlink relationships specific to the footnotes
|
|
27
|
+
* part are returned via `partContext` (separate rels file).
|
|
28
|
+
*/
|
|
29
|
+
export interface FootnotesPartResult {
|
|
30
|
+
xml: string;
|
|
31
|
+
partContext: DocContext;
|
|
32
|
+
}
|
|
33
|
+
export declare function buildFootnotesXml(document: EditorDocument, referenced: ReferencedFootnote[], numberingContext: NumberingContext, state: ExportBuildState, buildContext: (blocks: EditorBlockNode[]) => DocContext, styles: Record<string, EditorNamedStyle> | undefined, footnoteIdMap: Map<string, number>): FootnotesPartResult;
|
|
34
|
+
/**
|
|
35
|
+
* Convenience: figure out if the document has at least one referenced
|
|
36
|
+
* footnote — used by callers to decide whether to emit the part at all.
|
|
37
|
+
*/
|
|
38
|
+
export declare function hasReferencedFootnotes(document: EditorDocument): boolean;
|
|
39
|
+
/** Re-export to keep the public surface small. */
|
|
40
|
+
export type { DocContext, NumberingContext, ExportBuildState };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { EditorParagraphNode, EditorTableCellNode, EditorTableNode } from '../../../../core/model.js';
|
|
2
|
+
|
|
3
|
+
export type SerializeTableParagraphXml = (paragraph: EditorParagraphNode, cell: EditorTableCellNode) => string;
|
|
4
|
+
export declare function serializeTableXml(table: EditorTableNode, serializeParagraphXml: SerializeTableParagraphXml): string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EditorNamedStyle, EditorParagraphNode, EditorParagraphStyle } from '../../../../core/model.js';
|
|
2
|
+
import { DocContext } from '../../docxTypes.js';
|
|
3
|
+
|
|
4
|
+
export declare function serializeParagraphXml(paragraph: EditorParagraphNode, context: DocContext, styles: Record<string, EditorNamedStyle> | undefined, overrides?: {
|
|
5
|
+
align?: EditorParagraphStyle["align"];
|
|
6
|
+
}): string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const WORD_NS = "http://schemas.openxmlformats.org/wordprocessingml/2006/main";
|
|
2
|
+
export declare const PACKAGE_REL_NS = "http://schemas.openxmlformats.org/package/2006/relationships";
|
|
3
|
+
export declare const OFFICE_REL_NS = "http://schemas.openxmlformats.org/officeDocument/2006/relationships";
|
|
4
|
+
export declare const WORD14_NS = "http://schemas.microsoft.com/office/word/2010/wordml";
|
|
5
|
+
export declare function escapeXml(text: string): string;
|
|
6
|
+
export declare function pxToTwips(value: number, fallback: number): number;
|
|
7
|
+
export declare function toTwips(value: number | null | undefined): number | null;
|
|
8
|
+
export declare function toHalfPoints(value: number | null | undefined): number | null;
|
|
9
|
+
export declare function pointsToTwips(value: number | null | undefined): number | null;
|
|
10
|
+
export declare function normalizeDocxColor(color: string | undefined, fallback?: string): string;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export interface OasisPdfPageSize {
|
|
2
|
+
width: number;
|
|
3
|
+
height: number;
|
|
4
|
+
}
|
|
5
|
+
export interface OasisPdfPage {
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
commands: string[];
|
|
9
|
+
imageResourceNames: Set<string>;
|
|
10
|
+
}
|
|
11
|
+
export interface OasisPdfRectOptions {
|
|
12
|
+
x: number;
|
|
13
|
+
y: number;
|
|
14
|
+
width: number;
|
|
15
|
+
height: number;
|
|
16
|
+
fill?: string;
|
|
17
|
+
stroke?: string;
|
|
18
|
+
lineWidth?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface OasisPdfLineOptions {
|
|
21
|
+
x1: number;
|
|
22
|
+
y1: number;
|
|
23
|
+
x2: number;
|
|
24
|
+
y2: number;
|
|
25
|
+
stroke?: string;
|
|
26
|
+
lineWidth?: number;
|
|
27
|
+
dashArray?: number[];
|
|
28
|
+
}
|
|
29
|
+
export interface OasisPdfTextOptions {
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
text: string;
|
|
33
|
+
fontSize?: number;
|
|
34
|
+
color?: string;
|
|
35
|
+
bold?: boolean;
|
|
36
|
+
italic?: boolean;
|
|
37
|
+
fontResourceName?: string;
|
|
38
|
+
characterSpacing?: number;
|
|
39
|
+
horizontalScale?: number;
|
|
40
|
+
}
|
|
41
|
+
export interface OasisPdfImageResource {
|
|
42
|
+
resourceName: string;
|
|
43
|
+
width: number;
|
|
44
|
+
height: number;
|
|
45
|
+
data: Uint8Array;
|
|
46
|
+
filter: "DCTDecode";
|
|
47
|
+
}
|
|
48
|
+
export interface OasisPdfImageOptions {
|
|
49
|
+
resourceName: string;
|
|
50
|
+
x: number;
|
|
51
|
+
y: number;
|
|
52
|
+
width: number;
|
|
53
|
+
height: number;
|
|
54
|
+
}
|
|
55
|
+
export type OasisPdfFontResource = OasisPdfBase14FontResource | OasisPdfUnicodeFontResource;
|
|
56
|
+
export interface OasisPdfBase14FontResource {
|
|
57
|
+
kind: "base14";
|
|
58
|
+
resourceName: string;
|
|
59
|
+
baseFont: string;
|
|
60
|
+
}
|
|
61
|
+
export interface OasisPdfUnicodeFontResource {
|
|
62
|
+
kind: "unicode";
|
|
63
|
+
resourceName: string;
|
|
64
|
+
family: string;
|
|
65
|
+
fontData: Uint8Array;
|
|
66
|
+
postscriptName?: string;
|
|
67
|
+
}
|
|
68
|
+
export declare class OasisPdfWriter {
|
|
69
|
+
private readonly pages;
|
|
70
|
+
private readonly fontResources;
|
|
71
|
+
private readonly unicodeFontStates;
|
|
72
|
+
private readonly usedFontResourceNames;
|
|
73
|
+
private readonly imageResources;
|
|
74
|
+
constructor(fontResources?: OasisPdfFontResource[]);
|
|
75
|
+
registerFontResource(resource: OasisPdfFontResource): void;
|
|
76
|
+
addPage(size: OasisPdfPageSize): number;
|
|
77
|
+
getPageCount(): number;
|
|
78
|
+
drawRect(pageIndex: number, options: OasisPdfRectOptions): void;
|
|
79
|
+
drawLine(pageIndex: number, options: OasisPdfLineOptions): void;
|
|
80
|
+
drawText(pageIndex: number, options: OasisPdfTextOptions): void;
|
|
81
|
+
registerImageResource(resource: Omit<OasisPdfImageResource, "resourceName"> & {
|
|
82
|
+
resourceName?: string;
|
|
83
|
+
}): string;
|
|
84
|
+
drawImage(pageIndex: number, options: OasisPdfImageOptions): void;
|
|
85
|
+
private layoutUnicodeText;
|
|
86
|
+
private encodeUnicodeGlyphRun;
|
|
87
|
+
private drawUnicodeText;
|
|
88
|
+
toArrayBuffer(): ArrayBuffer;
|
|
89
|
+
toBlob(): Blob;
|
|
90
|
+
private toUint8Array;
|
|
91
|
+
private addImageObject;
|
|
92
|
+
private addUnicodeFontObjects;
|
|
93
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { EditorDocument, EditorLayoutBlock } from '../../../../../../core/model.js';
|
|
2
|
+
import { PdfFontRegistry } from '../../../../fonts/PdfFontRegistry.js';
|
|
3
|
+
import { OasisPdfWriter } from '../../../../OasisPdfWriter.js';
|
|
4
|
+
|
|
5
|
+
export declare function drawBlockList(writer: OasisPdfWriter, pageIndex: number, blocks: EditorLayoutBlock[] | undefined, document: EditorDocument, originX: number, originY: number, contentWidth: number, fontRegistry: PdfFontRegistry, listOrdinals: Map<string, number>): Promise<void>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { EditorDocument, EditorLayoutFragment, EditorLayoutLine, EditorParagraphNode, EditorTextStyle } from '../../../../../../core/model.js';
|
|
2
|
+
import { PdfFontRegistry } from '../../../../fonts/PdfFontRegistry.js';
|
|
3
|
+
import { OasisPdfWriter } from '../../../../OasisPdfWriter.js';
|
|
4
|
+
|
|
5
|
+
export declare function drawFragmentHighlight(writer: OasisPdfWriter, pageIndex: number, line: EditorLayoutLine, fragment: EditorLayoutFragment, originX: number, originY: number, styles: Required<EditorTextStyle>): void;
|
|
6
|
+
export declare function drawFragmentDecoration(writer: OasisPdfWriter, pageIndex: number, line: EditorLayoutLine, fragment: EditorLayoutFragment, originX: number, originY: number, styles: Required<EditorTextStyle>, kind: "underline" | "strike" | "doubleStrike"): void;
|
|
7
|
+
export declare function drawFragmentText(writer: OasisPdfWriter, pageIndex: number, paragraph: EditorParagraphNode, line: EditorLayoutLine, fragment: EditorLayoutFragment, document: EditorDocument, originX: number, originY: number, fontRegistry: PdfFontRegistry): Promise<void>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { EditorDocument, EditorLayoutLine, EditorParagraphNode } from '../../../../../../core/model.js';
|
|
2
|
+
import { PdfFontRegistry } from '../../../../fonts/PdfFontRegistry.js';
|
|
3
|
+
import { OasisPdfWriter } from '../../../../OasisPdfWriter.js';
|
|
4
|
+
|
|
5
|
+
export declare function drawParagraph(writer: OasisPdfWriter, pageIndex: number, paragraph: EditorParagraphNode, lines: EditorLayoutLine[], document: EditorDocument, originX: number, originY: number, fontRegistry: PdfFontRegistry, listOrdinals: Map<string, number>): Promise<void>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { EditorDocument, EditorLayoutBlock } from '../../../../../../core/model.js';
|
|
2
|
+
import { PdfFontRegistry } from '../../../../fonts/PdfFontRegistry.js';
|
|
3
|
+
import { OasisPdfWriter } from '../../../../OasisPdfWriter.js';
|
|
4
|
+
|
|
5
|
+
export declare function drawTableBlock(writer: OasisPdfWriter, pageIndex: number, block: EditorLayoutBlock, document: EditorDocument, originX: number, originY: number, contentWidth: number, fontRegistry: PdfFontRegistry, listOrdinals: Map<string, number>): Promise<void>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EditorLayoutFragment, EditorLayoutLine } from '../../../../../../core/model.js';
|
|
2
|
+
|
|
3
|
+
export interface FragmentSlot {
|
|
4
|
+
char: string;
|
|
5
|
+
left: number;
|
|
6
|
+
offset: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function resolveFragmentSlots(line: EditorLayoutLine, fragment: EditorLayoutFragment): FragmentSlot[];
|
|
9
|
+
export declare function resolveFragmentBounds(line: EditorLayoutLine, fragment: EditorLayoutFragment, fontSizePx: number): {
|
|
10
|
+
left: number;
|
|
11
|
+
right: number;
|
|
12
|
+
} | null;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EditorDocument, EditorLayoutLine, EditorParagraphNode } from '../../../../../../core/model.js';
|
|
2
|
+
import { PdfFontRegistry } from '../../../../fonts/PdfFontRegistry.js';
|
|
3
|
+
import { OasisPdfWriter } from '../../../../OasisPdfWriter.js';
|
|
4
|
+
|
|
5
|
+
export declare function getListOrdinals(document: EditorDocument): Map<string, number>;
|
|
6
|
+
export declare function drawListPrefix(writer: OasisPdfWriter, pageIndex: number, paragraph: EditorParagraphNode, line: EditorLayoutLine, document: EditorDocument, originX: number, originY: number, fontRegistry: PdfFontRegistry, listOrdinals: Map<string, number>): void;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OasisPdfFontResource } from '../../../../OasisPdfWriter.js';
|
|
2
|
+
|
|
3
|
+
export interface PdfFontResolveOptions {
|
|
4
|
+
fontFamily?: string | null;
|
|
5
|
+
bold?: boolean | null;
|
|
6
|
+
italic?: boolean | null;
|
|
7
|
+
}
|
|
8
|
+
export interface PdfRegisteredFontFace {
|
|
9
|
+
key: string;
|
|
10
|
+
family: string;
|
|
11
|
+
bold: boolean;
|
|
12
|
+
italic: boolean;
|
|
13
|
+
writerResourceName: string;
|
|
14
|
+
pdfResource: OasisPdfFontResource;
|
|
15
|
+
}
|
|
16
|
+
export interface PdfBundledFontLoadOptions {
|
|
17
|
+
families?: Iterable<string | null | undefined>;
|
|
18
|
+
}
|
|
19
|
+
export declare class PdfFontRegistry {
|
|
20
|
+
private readonly faces;
|
|
21
|
+
private fallbackFamily;
|
|
22
|
+
constructor();
|
|
23
|
+
registerFontFace(face: PdfRegisteredFontFace): void;
|
|
24
|
+
resolveFontFace(options: PdfFontResolveOptions): PdfRegisteredFontFace;
|
|
25
|
+
getPdfFontResources(): OasisPdfFontResource[];
|
|
26
|
+
loadBundledUnicodeFaces(options?: PdfBundledFontLoadOptions): Promise<void>;
|
|
27
|
+
private registerOfficeCompatibleFaces;
|
|
28
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { EditorDocument, EditorImageRunData } from '../../../../core/model.js';
|
|
2
|
+
import { OasisPdfWriter } from '../../OasisPdfWriter.js';
|
|
3
|
+
|
|
4
|
+
export declare function registerPdfImageRun(writer: OasisPdfWriter, document: EditorDocument, image: EditorImageRunData): Promise<string | null>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface PdfTextMeasureOptions {
|
|
2
|
+
text: string;
|
|
3
|
+
fontFamily?: string | null;
|
|
4
|
+
fontSize: number;
|
|
5
|
+
bold?: boolean;
|
|
6
|
+
italic?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface PdfGlyphMeasurement {
|
|
9
|
+
char: string;
|
|
10
|
+
codePoint: number;
|
|
11
|
+
x: number;
|
|
12
|
+
width: number;
|
|
13
|
+
advance: number;
|
|
14
|
+
}
|
|
15
|
+
export interface PdfTextMeasurement {
|
|
16
|
+
width: number;
|
|
17
|
+
glyphs: PdfGlyphMeasurement[];
|
|
18
|
+
}
|
|
19
|
+
export declare class PdfTextMeasurer {
|
|
20
|
+
private readonly cache;
|
|
21
|
+
measureText(options: PdfTextMeasureOptions): PdfTextMeasurement;
|
|
22
|
+
measureTextWidth(options: PdfTextMeasureOptions): number;
|
|
23
|
+
getCacheSize(): number;
|
|
24
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EditorParagraphNode, EditorTextRun } from '../../../../../../core/model.js';
|
|
2
|
+
import { PdfTextMeasurer } from '../../../PdfTextMeasurer.js';
|
|
3
|
+
|
|
4
|
+
export interface PdfParagraphTextContext {
|
|
5
|
+
pageNumber: number;
|
|
6
|
+
totalPages: number;
|
|
7
|
+
measurer: PdfTextMeasurer;
|
|
8
|
+
}
|
|
9
|
+
export interface PdfParagraphFragment {
|
|
10
|
+
run: EditorTextRun;
|
|
11
|
+
text: string;
|
|
12
|
+
x: number;
|
|
13
|
+
width: number;
|
|
14
|
+
fontSize: number;
|
|
15
|
+
}
|
|
16
|
+
export interface PdfParagraphLine {
|
|
17
|
+
fragments: PdfParagraphFragment[];
|
|
18
|
+
width: number;
|
|
19
|
+
height: number;
|
|
20
|
+
}
|
|
21
|
+
export interface PdfParagraphLayout {
|
|
22
|
+
lines: PdfParagraphLine[];
|
|
23
|
+
width: number;
|
|
24
|
+
height: number;
|
|
25
|
+
}
|
|
26
|
+
export interface LayoutPdfParagraphOptions {
|
|
27
|
+
paragraph: EditorParagraphNode;
|
|
28
|
+
maxWidth: number;
|
|
29
|
+
context: PdfParagraphTextContext;
|
|
30
|
+
defaultFontSize: number;
|
|
31
|
+
defaultLineHeight: number;
|
|
32
|
+
pxToPt: (value: number) => number;
|
|
33
|
+
}
|
|
34
|
+
export declare function resolvePdfRunText(run: EditorTextRun, context: PdfParagraphTextContext): string;
|
|
35
|
+
export declare function pdfRunFontSizePt(run: EditorTextRun, defaultFontSize: number, pxToPt: (value: number) => number): number;
|
|
36
|
+
export declare function measurePdfRunTextWidthPt(run: EditorTextRun, text: string, context: PdfParagraphTextContext, defaultFontSize: number, pxToPt: (value: number) => number): number;
|
|
37
|
+
export declare function layoutPdfParagraph(options: LayoutPdfParagraphOptions): PdfParagraphLayout;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EditorTextStyle } from '../../../../core/model.js';
|
|
2
|
+
|
|
3
|
+
export declare const PX_TO_PT: number;
|
|
4
|
+
export declare const DEFAULT_FONT_SIZE_PX = 15;
|
|
5
|
+
export declare function pxToPt(value: number): number;
|
|
6
|
+
export declare function textStyleToFontSizePt(style: Required<EditorTextStyle>): number;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { en } from '../locales/en.js';
|
|
2
|
+
|
|
3
|
+
export type Locale = "en" | "pt-BR";
|
|
4
|
+
export type TranslationKey = keyof typeof en;
|
|
5
|
+
export declare function setLocale(locale: Locale): void;
|
|
6
|
+
export declare function getLocale(): Locale;
|
|
7
|
+
export declare function t(key: TranslationKey, params?: any[]): string;
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
export declare const en: {
|
|
2
|
+
"toolbar.file": string;
|
|
3
|
+
"toolbar.export": string;
|
|
4
|
+
"toolbar.import": string;
|
|
5
|
+
"toolbar.undo": string;
|
|
6
|
+
"toolbar.redo": string;
|
|
7
|
+
"toolbar.insert": string;
|
|
8
|
+
"toolbar.image": string;
|
|
9
|
+
"toolbar.table": string;
|
|
10
|
+
"toolbar.pageNumber": string;
|
|
11
|
+
"toolbar.totalPages": string;
|
|
12
|
+
"toolbar.link": string;
|
|
13
|
+
"toolbar.unlink": string;
|
|
14
|
+
"toolbar.footnote": string;
|
|
15
|
+
"toolbar.alt": string;
|
|
16
|
+
"toolbar.review": string;
|
|
17
|
+
"toolbar.trackChanges": string;
|
|
18
|
+
"toolbar.accept": string;
|
|
19
|
+
"toolbar.reject": string;
|
|
20
|
+
"toolbar.bold": string;
|
|
21
|
+
"toolbar.italic": string;
|
|
22
|
+
"toolbar.underline": string;
|
|
23
|
+
"toolbar.underlineRemove": string;
|
|
24
|
+
"toolbar.strike": string;
|
|
25
|
+
"toolbar.superscript": string;
|
|
26
|
+
"toolbar.subscript": string;
|
|
27
|
+
"toolbar.alignLeft": string;
|
|
28
|
+
"toolbar.alignCenter": string;
|
|
29
|
+
"toolbar.alignRight": string;
|
|
30
|
+
"toolbar.justify": string;
|
|
31
|
+
"toolbar.bulletList": string;
|
|
32
|
+
"toolbar.numberedList": string;
|
|
33
|
+
"toolbar.increaseIndent": string;
|
|
34
|
+
"toolbar.decreaseIndent": string;
|
|
35
|
+
"toolbar.listFormat": string;
|
|
36
|
+
"toolbar.listStartAt": string;
|
|
37
|
+
"toolbar.formatDecimal": string;
|
|
38
|
+
"toolbar.formatLowerLetter": string;
|
|
39
|
+
"toolbar.formatUpperLetter": string;
|
|
40
|
+
"toolbar.formatLowerRoman": string;
|
|
41
|
+
"toolbar.formatUpperRoman": string;
|
|
42
|
+
"toolbar.formatBullet": string;
|
|
43
|
+
"toolbar.moreTools": string;
|
|
44
|
+
"toolbar.style": string;
|
|
45
|
+
"toolbar.fontFamily": string;
|
|
46
|
+
"toolbar.font": string;
|
|
47
|
+
"toolbar.fontSize": string;
|
|
48
|
+
"toolbar.size": string;
|
|
49
|
+
"toolbar.color": string;
|
|
50
|
+
"toolbar.highlight": string;
|
|
51
|
+
"toolbar.colorAutomatic": string;
|
|
52
|
+
"toolbar.noHighlight": string;
|
|
53
|
+
"toolbar.themeColors": string;
|
|
54
|
+
"toolbar.standardColors": string;
|
|
55
|
+
"toolbar.moreColors": string;
|
|
56
|
+
"metric.pageBreak": string;
|
|
57
|
+
"metric.pageBreakBefore": string;
|
|
58
|
+
"metric.keepNext": string;
|
|
59
|
+
"metric.keepWithNext": string;
|
|
60
|
+
"metric.lineHeight": string;
|
|
61
|
+
"metric.line": string;
|
|
62
|
+
"metric.spacingBefore": string;
|
|
63
|
+
"metric.before": string;
|
|
64
|
+
"metric.spacingAfter": string;
|
|
65
|
+
"metric.after": string;
|
|
66
|
+
"metric.leftIndent": string;
|
|
67
|
+
"metric.indent": string;
|
|
68
|
+
"metric.firstLineIndent": string;
|
|
69
|
+
"metric.first": string;
|
|
70
|
+
"metric.hangingIndent": string;
|
|
71
|
+
"metric.hang": string;
|
|
72
|
+
"metric.paragraphBgColor": string;
|
|
73
|
+
"metric.paraBg": string;
|
|
74
|
+
"metric.paraBorders": string;
|
|
75
|
+
"metric.applyBorders": string;
|
|
76
|
+
"metric.lineSpacing": string;
|
|
77
|
+
"metric.lineSpacingOptions": string;
|
|
78
|
+
"metric.lineSpacingOption": string;
|
|
79
|
+
"lineSpacing.title": string;
|
|
80
|
+
"lineSpacing.lineSpacingLabel": string;
|
|
81
|
+
"lineSpacing.lineSpacingValue": string;
|
|
82
|
+
"lineSpacing.spacingBeforeLabel": string;
|
|
83
|
+
"lineSpacing.spacingAfterLabel": string;
|
|
84
|
+
"lineSpacing.preview": string;
|
|
85
|
+
"lineSpacing.previewText": string;
|
|
86
|
+
"section.orient": string;
|
|
87
|
+
"section.pageSetup": string;
|
|
88
|
+
"section.toggleOrientation": string;
|
|
89
|
+
"section.margins": string;
|
|
90
|
+
"section.marginsNormal": string;
|
|
91
|
+
"section.marginsNarrow": string;
|
|
92
|
+
"section.secNext": string;
|
|
93
|
+
"section.secNextTooltip": string;
|
|
94
|
+
"section.secCont": string;
|
|
95
|
+
"section.secContTooltip": string;
|
|
96
|
+
"table.merge": string;
|
|
97
|
+
"table.mergeTooltip": string;
|
|
98
|
+
"table.split": string;
|
|
99
|
+
"table.splitTooltip": string;
|
|
100
|
+
"table.insertColumnLeft": string;
|
|
101
|
+
"table.insertColumnRight": string;
|
|
102
|
+
"table.deleteColumn": string;
|
|
103
|
+
"table.insertRowAbove": string;
|
|
104
|
+
"table.insertRowBelow": string;
|
|
105
|
+
"table.deleteRow": string;
|
|
106
|
+
"table.cellColor": string;
|
|
107
|
+
"table.applyBorders": string;
|
|
108
|
+
"table.removeBorders": string;
|
|
109
|
+
"table.width100": string;
|
|
110
|
+
"table.width100Tooltip": string;
|
|
111
|
+
"table.alignLeft": string;
|
|
112
|
+
"table.alignCenter": string;
|
|
113
|
+
"table.alignRight": string;
|
|
114
|
+
"table.cellWidth": string;
|
|
115
|
+
"table.cellBgColorPrompt": string;
|
|
116
|
+
"table.cellWidthPrompt": string;
|
|
117
|
+
"generic.close": string;
|
|
118
|
+
"generic.cancel": string;
|
|
119
|
+
"generic.save": string;
|
|
120
|
+
"generic.apply": string;
|
|
121
|
+
"generic.ok": string;
|
|
122
|
+
"title.untitled": string;
|
|
123
|
+
"dialog.imageAlt.title": string;
|
|
124
|
+
"dialog.imageAlt.label": string;
|
|
125
|
+
"dialog.imageAlt.placeholder": string;
|
|
126
|
+
"dialog.link.title": string;
|
|
127
|
+
"dialog.link.label": string;
|
|
128
|
+
"dialog.link.placeholder": string;
|
|
129
|
+
"dialog.font.title": string;
|
|
130
|
+
"dialog.font.family": string;
|
|
131
|
+
"dialog.font.size": string;
|
|
132
|
+
"dialog.font.style": string;
|
|
133
|
+
"dialog.font.bold": string;
|
|
134
|
+
"dialog.font.italic": string;
|
|
135
|
+
"dialog.font.underline": string;
|
|
136
|
+
"dialog.font.strike": string;
|
|
137
|
+
"dialog.font.color": string;
|
|
138
|
+
"dialog.font.customColor": string;
|
|
139
|
+
"dialog.font.highlight": string;
|
|
140
|
+
"dialog.font.familyFilter": string;
|
|
141
|
+
"dialog.font.customSize": string;
|
|
142
|
+
"dialog.font.sizeInvalid": string;
|
|
143
|
+
"dialog.font.styleList": string;
|
|
144
|
+
"dialog.font.styleRegular": string;
|
|
145
|
+
"dialog.font.styleItalic": string;
|
|
146
|
+
"dialog.font.styleBold": string;
|
|
147
|
+
"dialog.font.styleBoldItalic": string;
|
|
148
|
+
"dialog.font.underlineStyle": string;
|
|
149
|
+
"dialog.font.underlineColor": string;
|
|
150
|
+
"dialog.font.doubleStrike": string;
|
|
151
|
+
"dialog.font.smallCaps": string;
|
|
152
|
+
"dialog.font.allCaps": string;
|
|
153
|
+
"dialog.font.hidden": string;
|
|
154
|
+
"dialog.font.tabFont": string;
|
|
155
|
+
"dialog.font.tabAdvanced": string;
|
|
156
|
+
"dialog.font.advancedScale": string;
|
|
157
|
+
"dialog.font.advancedSpacing": string;
|
|
158
|
+
"dialog.font.advancedBy": string;
|
|
159
|
+
"dialog.font.advancedNormal": string;
|
|
160
|
+
"dialog.font.advancedExpanded": string;
|
|
161
|
+
"dialog.font.advancedCondensed": string;
|
|
162
|
+
"dialog.font.advancedPosition": string;
|
|
163
|
+
"dialog.font.advancedRaised": string;
|
|
164
|
+
"dialog.font.advancedLowered": string;
|
|
165
|
+
"dialog.font.advancedKerning": string;
|
|
166
|
+
"dialog.font.advancedKerningAbove": string;
|
|
167
|
+
"dialog.font.advancedCharacterSpacingGroup": string;
|
|
168
|
+
"dialog.font.advancedOpenTypeGroup": string;
|
|
169
|
+
"dialog.font.advancedPreviewGroup": string;
|
|
170
|
+
"dialog.font.advancedDefault": string;
|
|
171
|
+
"dialog.font.advancedLigatures": string;
|
|
172
|
+
"dialog.font.advancedLigaturesNone": string;
|
|
173
|
+
"dialog.font.advancedLigaturesStandard": string;
|
|
174
|
+
"dialog.font.advancedLigaturesContextual": string;
|
|
175
|
+
"dialog.font.advancedLigaturesHistorical": string;
|
|
176
|
+
"dialog.font.advancedLigaturesStandardContextual": string;
|
|
177
|
+
"dialog.font.advancedNumberSpacing": string;
|
|
178
|
+
"dialog.font.advancedNumberSpacingProportional": string;
|
|
179
|
+
"dialog.font.advancedNumberSpacingTabular": string;
|
|
180
|
+
"dialog.font.advancedNumberForm": string;
|
|
181
|
+
"dialog.font.advancedNumberFormLining": string;
|
|
182
|
+
"dialog.font.advancedNumberFormOldStyle": string;
|
|
183
|
+
"dialog.font.advancedStylisticSet": string;
|
|
184
|
+
"dialog.font.advancedContextualAlternates": string;
|
|
185
|
+
"dialog.font.advancedScaleInvalid": string;
|
|
186
|
+
"dialog.font.advancedAmountInvalid": string;
|
|
187
|
+
"dialog.font.advancedKerningInvalid": string;
|
|
188
|
+
"dialog.font.advancedStylisticSetInvalid": string;
|
|
189
|
+
"dialog.font.advancedPlaceholder": string;
|
|
190
|
+
"dialog.font.preview": string;
|
|
191
|
+
"dialog.font.previewText": string;
|
|
192
|
+
"contextmenu.cut": string;
|
|
193
|
+
"contextmenu.copy": string;
|
|
194
|
+
"contextmenu.paste": string;
|
|
195
|
+
"contextmenu.link": string;
|
|
196
|
+
"contextmenu.font": string;
|
|
197
|
+
"status.words": string;
|
|
198
|
+
"status.characters": string;
|
|
199
|
+
"status.page": string;
|
|
200
|
+
"status.zoom": string;
|
|
201
|
+
"status.saved": string;
|
|
202
|
+
"status.saving": string;
|
|
203
|
+
"status.error": string;
|
|
204
|
+
"import.overlay.title": string;
|
|
205
|
+
"import.phase.reading-file": string;
|
|
206
|
+
"import.phase.opening-docx": string;
|
|
207
|
+
"import.phase.parsing-document": string;
|
|
208
|
+
"import.phase.applying-editor-state": string;
|
|
209
|
+
"import.phase.stabilizing-layout": string;
|
|
210
|
+
"import.phase.done": string;
|
|
211
|
+
"import.phase.error": string;
|
|
212
|
+
"find.title": string;
|
|
213
|
+
"find.placeholder": string;
|
|
214
|
+
"replace.placeholder": string;
|
|
215
|
+
"find.next": string;
|
|
216
|
+
"find.prev": string;
|
|
217
|
+
"replace.one": string;
|
|
218
|
+
"replace.all": string;
|
|
219
|
+
"find.matchCase": string;
|
|
220
|
+
"find.noMatches": string;
|
|
221
|
+
"find.prevTooltip": string;
|
|
222
|
+
"find.nextTooltip": string;
|
|
223
|
+
"replace.allBtn": string;
|
|
224
|
+
"find.wholeWord": string;
|
|
225
|
+
"menu.file": string;
|
|
226
|
+
"menu.file.export": string;
|
|
227
|
+
"menu.file.new": string;
|
|
228
|
+
"menu.file.print": string;
|
|
229
|
+
"menu.edit": string;
|
|
230
|
+
"menu.edit.cut": string;
|
|
231
|
+
"menu.edit.copy": string;
|
|
232
|
+
"menu.edit.paste": string;
|
|
233
|
+
"menu.edit.selectAll": string;
|
|
234
|
+
"menu.view": string;
|
|
235
|
+
"menu.view.margins": string;
|
|
236
|
+
"menu.view.paragraphMarks": string;
|
|
237
|
+
"menu.view.outline": string;
|
|
238
|
+
"menu.view.fullscreen": string;
|
|
239
|
+
"menu.insert": string;
|
|
240
|
+
"menu.format": string;
|
|
241
|
+
"menu.format.align": string;
|
|
242
|
+
"menu.format.text": string;
|
|
243
|
+
"menu.format.lists": string;
|
|
244
|
+
"menu.tools": string;
|
|
245
|
+
"menu.tools.wordcount": string;
|
|
246
|
+
"menu.help": string;
|
|
247
|
+
"menu.help.shortcuts": string;
|
|
248
|
+
"menu.help.about": string;
|
|
249
|
+
"outline.toggle": string;
|
|
250
|
+
"outline.empty": string;
|
|
251
|
+
};
|