@sobree/core 0.1.41 → 0.1.42
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/docx/import/imageBands.d.ts +11 -0
- package/dist/index.js +1858 -1800
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AnchoredFrame, Block } from '../../doc/types';
|
|
2
|
+
/**
|
|
3
|
+
* Replace each qualifying picture band with an `InlineFrame` at its anchor
|
|
4
|
+
* paragraph and drop those frames from the overlay set. Pure — inputs
|
|
5
|
+
* untouched. Body length is preserved (the empty anchor paragraph is
|
|
6
|
+
* REPLACED, never removed), so downstream paragraph indices stay valid.
|
|
7
|
+
*/
|
|
8
|
+
export declare function groupAnchoredPictureBands(body: readonly Block[], frames: readonly AnchoredFrame[]): {
|
|
9
|
+
body: Block[];
|
|
10
|
+
frames: AnchoredFrame[];
|
|
11
|
+
};
|