워터마크를 전체 페이지 공유 방식으로 변경

This commit is contained in:
dohyeons
2025-12-22 17:06:11 +09:00
parent d7f015b37d
commit 5f26e998e3
7 changed files with 120 additions and 136 deletions

View File

@@ -3067,8 +3067,8 @@ export class ReportController {
children.push(new Paragraph({ children: [] }));
}
// 워터마크 헤더 생성 (워터마크가 활성화된 경우)
const watermark: WatermarkConfig | undefined = page.watermark;
// 워터마크 헤더 생성 (전체 페이지 공유 워터마크)
const watermark: WatermarkConfig | undefined = layoutConfig.watermark;
let headers: { default?: Header } | undefined;
if (watermark?.enabled && watermark.type === "text" && watermark.text) {

View File

@@ -147,12 +147,12 @@ export interface PageConfig {
right: number;
};
components: any[];
watermark?: WatermarkConfig;
}
// 레이아웃 설정
export interface ReportLayoutConfig {
pages: PageConfig[];
watermark?: WatermarkConfig; // 전체 페이지 공유 워터마크
}
// 레이아웃 저장 요청