Skip to content

Commit

Permalink
Ad xml correct creator image 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinatzo committed Oct 8, 2023
1 parent a9d915d commit ed36839
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function abstractDocOfXml(
obj.style = { ...(obj.style as Object), type: "TableCellStyle" };
break;
case "Paragraph":
obj.style = { ...obj.style, type: "ParagraphStyle" };
obj.style = { ...obj.style, type: "ParagraphStyle", textStyle: { type: "TextStyle" } };
break;
case "TextField":
case "HyperLink":
Expand All @@ -78,7 +78,7 @@ export function abstractDocOfXml(
}
}
if (typeof obj.paragraphStyle === "object") {
obj.paragraphStyle = { ...obj.paragraphStyle, type: "ParagraphStyle" };
obj.paragraphStyle = { ...obj.paragraphStyle, type: "ParagraphStyle", textStyle: { type: "TextStyle" } };
}
if (typeof obj.cellStyle === "object") {
obj.cellStyle = { ...obj.cellStyle, type: "TableCellStyle" };
Expand Down

0 comments on commit ed36839

Please sign in to comment.