@cesdk/engine 1.64.0-rc.1 → 1.65.0-nightly.20251113
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/assets/core/{cesdk-v1.64.0-rc.1-QGIIZSXE.wasm → cesdk-v1.65.0-nightly.20251113-S6A2W2ON.wasm} +0 -0
- package/assets/core/{worker-host-v1.64.0-rc.1.js → worker-host-v1.65.0-nightly.20251113.js} +1 -1
- package/index.d.ts +53 -0
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.64.0-rc.1-44YCFRT6.data → cesdk-v1.65.0-nightly.20251113-44YCFRT6.data} +0 -0
package/index.d.ts
CHANGED
|
@@ -4427,6 +4427,14 @@ export declare class BlockAPI {
|
|
|
4427
4427
|
* @returns The selected UTF-16 range or `{ from: -1, to: -1 }` if no text block is being edited.
|
|
4428
4428
|
*/
|
|
4429
4429
|
getTextCursorRange(): Range_2;
|
|
4430
|
+
/**
|
|
4431
|
+
* Sets the text cursor range (selection) within the text block that is currently being edited.
|
|
4432
|
+
*
|
|
4433
|
+
* @category Block Text
|
|
4434
|
+
* @param range - The UTF-16 range to set as the selection. If `from` equals `to`, the cursor is positioned at that index. If `from` and `to` are set to -1, the whole text is selected.
|
|
4435
|
+
* @throws Error if no text block is currently being edited or if the range is invalid.
|
|
4436
|
+
*/
|
|
4437
|
+
setTextCursorRange(range: Range_2): void;
|
|
4430
4438
|
/**
|
|
4431
4439
|
* Gets the number of visible lines in a text block.
|
|
4432
4440
|
*
|
|
@@ -7348,6 +7356,14 @@ export declare type ExportOptions = {
|
|
|
7348
7356
|
* The adjustment in size of the shape of the underlayer.
|
|
7349
7357
|
*/
|
|
7350
7358
|
underlayerOffset?: number;
|
|
7359
|
+
/**
|
|
7360
|
+
* If true, the export will include text bounding boxes that account for glyph overhangs.
|
|
7361
|
+
* When enabled, text blocks with glyphs that extend beyond their frame (e.g., decorative fonts with swashes)
|
|
7362
|
+
* will be exported with the full glyph bounds visible, preventing text clipping.
|
|
7363
|
+
*
|
|
7364
|
+
* @defaultValue false
|
|
7365
|
+
*/
|
|
7366
|
+
allowTextOverhang?: boolean;
|
|
7351
7367
|
/**
|
|
7352
7368
|
* An abortsignal that can be used to cancel the export.
|
|
7353
7369
|
*/
|
|
@@ -8337,6 +8353,33 @@ export declare class SceneAPI {
|
|
|
8337
8353
|
* @returns The current design unit.
|
|
8338
8354
|
*/
|
|
8339
8355
|
getDesignUnit(): SceneDesignUnit;
|
|
8356
|
+
/**
|
|
8357
|
+
* Get the layout of the current scene.
|
|
8358
|
+
*
|
|
8359
|
+
* ```javascript
|
|
8360
|
+
* const layout = engine.scene.getLayout();
|
|
8361
|
+
* ```
|
|
8362
|
+
*
|
|
8363
|
+
* @category Scene Properties
|
|
8364
|
+
* @returns The current layout of the scene.
|
|
8365
|
+
*/
|
|
8366
|
+
getLayout(): SceneLayout;
|
|
8367
|
+
/**
|
|
8368
|
+
* Set the layout of the current scene.
|
|
8369
|
+
* This will handle all necessary conversions including creating or destroying stack blocks
|
|
8370
|
+
* and reparenting pages as needed.
|
|
8371
|
+
*
|
|
8372
|
+
* When transitioning from stack layouts (VerticalStack, HorizontalStack, DepthStack) to Free layout,
|
|
8373
|
+
* the global positions of pages are preserved to maintain their visual appearance in the scene.
|
|
8374
|
+
*
|
|
8375
|
+
* ```javascript
|
|
8376
|
+
* engine.scene.setLayout('VerticalStack');
|
|
8377
|
+
* ```
|
|
8378
|
+
*
|
|
8379
|
+
* @category Scene Properties
|
|
8380
|
+
* @param layout - The new layout for the scene.
|
|
8381
|
+
*/
|
|
8382
|
+
setLayout(layout: SceneLayout): void;
|
|
8340
8383
|
/**
|
|
8341
8384
|
* Get the sorted list of pages in the scene.
|
|
8342
8385
|
*
|
|
@@ -9325,6 +9368,7 @@ export declare interface _UBQExportOptions {
|
|
|
9325
9368
|
exportPdfWithUnderlayer: boolean;
|
|
9326
9369
|
underlayerSpotColorName: string;
|
|
9327
9370
|
underlayerOffset: number;
|
|
9371
|
+
allowTextOverhang: boolean;
|
|
9328
9372
|
}
|
|
9329
9373
|
|
|
9330
9374
|
/**
|
|
@@ -9347,6 +9391,7 @@ export declare interface _UBQExportVideoOptions {
|
|
|
9347
9391
|
useTargetSize: boolean;
|
|
9348
9392
|
targetWidth: number;
|
|
9349
9393
|
targetHeight: number;
|
|
9394
|
+
allowTextOverhang: boolean;
|
|
9350
9395
|
}
|
|
9351
9396
|
|
|
9352
9397
|
/**
|
|
@@ -9525,6 +9570,14 @@ export declare type VideoExportOptions = {
|
|
|
9525
9570
|
* size entirely while maintaining its aspect ratio.
|
|
9526
9571
|
*/
|
|
9527
9572
|
targetHeight?: number;
|
|
9573
|
+
/**
|
|
9574
|
+
* If true, the export will include text bounding boxes that account for glyph overhangs.
|
|
9575
|
+
* When enabled, text blocks with glyphs that extend beyond their frame (e.g., decorative fonts with swashes)
|
|
9576
|
+
* will be exported with the full glyph bounds visible, preventing text clipping.
|
|
9577
|
+
*
|
|
9578
|
+
* @defaultValue false
|
|
9579
|
+
*/
|
|
9580
|
+
allowTextOverhang?: boolean;
|
|
9528
9581
|
/**
|
|
9529
9582
|
* An abortsignal that can be used to cancel the export.
|
|
9530
9583
|
*/
|