oasis-editor 0.0.217 → 0.0.219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{OasisEditorApp-CN7pN1Mc.js → OasisEditorApp-BJpbWbOf.js} +1 -1
- package/dist/core/commands/block.d.ts +4 -2
- package/dist/core/commands/builtinCommands.d.ts +1 -1
- package/dist/core/commands/pageSetup.d.ts +63 -0
- package/dist/core/commands/publicCommandTypes.d.ts +11 -0
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/plugins/internal/essentialsCapabilities.d.ts +16 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorDocumentDesign, EditorImageBorder, EditorPageBorder, EditorPageMargins, EditorPageNumbering, EditorWatermark, EditorMathExpression } from '../../core/model.js';
|
|
1
|
+
import { EditorColumnsSettings, EditorDocumentDesign, EditorImageBorder, EditorPageBorder, EditorPageMargins, EditorPageNumbering, EditorWatermark, EditorMathExpression } from '../../core/model.js';
|
|
2
2
|
import { SectionPageNumberFormat } from '../../core/commands/pageNumber.js';
|
|
3
3
|
import { DesignThemeId } from '../../core/commands/design.js';
|
|
4
4
|
import { ImageBorderPatch } from '../../core/commands/image.js';
|
|
@@ -215,6 +215,21 @@ export interface EssentialsSectionCapability {
|
|
|
215
215
|
start?: number;
|
|
216
216
|
format?: SectionPageNumberFormat;
|
|
217
217
|
}) => void;
|
|
218
|
+
getPaperSize: () => {
|
|
219
|
+
widthPt: number;
|
|
220
|
+
heightPt: number;
|
|
221
|
+
} | undefined;
|
|
222
|
+
setPaperSize: (dimensions: {
|
|
223
|
+
widthPt: number;
|
|
224
|
+
heightPt: number;
|
|
225
|
+
}) => void;
|
|
226
|
+
setPaperSizePreset: (presetId: string) => void;
|
|
227
|
+
getColumns: () => EditorColumnsSettings | undefined;
|
|
228
|
+
setColumns: (columns: {
|
|
229
|
+
count: number;
|
|
230
|
+
space?: number;
|
|
231
|
+
separator?: boolean;
|
|
232
|
+
}) => void;
|
|
218
233
|
}
|
|
219
234
|
export interface EssentialsHeaderFooterCapability {
|
|
220
235
|
/** Enter header editing for the active section's default header. */
|