Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 18:53:09 +00:00
co-authored by renee-png
parent 5640987b14
commit 8ed07701ae
+7
View File
@@ -83,6 +83,13 @@ const captionLeftBorders = {
right: { style: BorderStyle.SINGLE, size: 8, color: "000000" },
};
const captionRightBorders = {
top: { style: BorderStyle.NONE, size: 0, color: "FFFFFF" },
bottom: { style: BorderStyle.SINGLE, size: 8, color: "000000" },
left: { style: BorderStyle.NONE, size: 0, color: "FFFFFF" },
right: { style: BorderStyle.NONE, size: 0, color: "FFFFFF" },
};
function run(text: string, opts: { bold?: boolean; italic?: boolean; underline?: boolean; superscript?: boolean; size?: number } = {}) {
return new TextRun({
text,