wordinweb 0.3.2 → 0.3.3
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.
|
@@ -16744,7 +16744,7 @@ var Engine = class {
|
|
|
16744
16744
|
"hRel" in s && s.hRel === "char" ? charX : this.colX,
|
|
16745
16745
|
"vRel" in s && s.vRel === "line" ? lineY : paraTop
|
|
16746
16746
|
);
|
|
16747
|
-
if ("wrap" in s && s.wrap && s.wrap !== "none"
|
|
16747
|
+
if ("wrap" in s && s.wrap && s.wrap !== "none") reBreak = true;
|
|
16748
16748
|
}
|
|
16749
16749
|
if (reBreak) broken = breakNow(paraTop);
|
|
16750
16750
|
};
|
|
@@ -18444,7 +18444,7 @@ var Engine = class {
|
|
|
18444
18444
|
autofit: shape.autofitHeight ? "resizeShape" : shape.shrinkText ? "shrinkText" : "none"
|
|
18445
18445
|
};
|
|
18446
18446
|
}
|
|
18447
|
-
if (shape.wrap && shape.wrap !== "none"
|
|
18447
|
+
if (shape.wrap && shape.wrap !== "none") {
|
|
18448
18448
|
const d = shape.dist ?? { t: 0, b: 0, l: 0, r: 0 };
|
|
18449
18449
|
const list = this.floats.get(page) ?? [];
|
|
18450
18450
|
list.push({
|
|
@@ -20474,7 +20474,8 @@ function distributePctColumns(grid, tableWidth, margins) {
|
|
|
20474
20474
|
}
|
|
20475
20475
|
function resolveGrid(tbl, available, overflowAllowed = false, cellMargins = 0, pctBoxAddsMargins = false) {
|
|
20476
20476
|
const fixedOverflow = overflowAllowed && tbl.props.layout === "fixed";
|
|
20477
|
-
const
|
|
20477
|
+
const pctOverflow = overflowAllowed && (tbl.props.widthPct ?? 0) > 1;
|
|
20478
|
+
const cap = fixedOverflow || pctOverflow ? Number.POSITIVE_INFINITY : available;
|
|
20478
20479
|
const pctBase = fixedOverflow && pctBoxAddsMargins ? available + cellMargins : available;
|
|
20479
20480
|
const target = Math.min(
|
|
20480
20481
|
cap,
|
|
@@ -55763,4 +55764,4 @@ export {
|
|
|
55763
55764
|
cfb/cfb.js:
|
|
55764
55765
|
(*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com *)
|
|
55765
55766
|
*/
|
|
55766
|
-
//# sourceMappingURL=chunk-
|
|
55767
|
+
//# sourceMappingURL=chunk-5SLXOYCF.js.map
|