summaryrefslogtreecommitdiff
path: root/components/file-manager/SecurePDFViewer.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/file-manager/SecurePDFViewer.tsx')
-rw-r--r--components/file-manager/SecurePDFViewer.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/file-manager/SecurePDFViewer.tsx b/components/file-manager/SecurePDFViewer.tsx
index eeb59b83..bd28214b 100644
--- a/components/file-manager/SecurePDFViewer.tsx
+++ b/components/file-manager/SecurePDFViewer.tsx
@@ -192,7 +192,7 @@ export function SecurePDFViewer({ documentUrl, fileName, onClose }: SecurePDFVie
setIsLoading(false);
// 워터마크 추가
- const watermarkText = `${session?.user?.email || 'CONFIDENTIAL'}\n${new Date().toLocaleString()}`;
+ const watermarkText = `SHI DATAROOM\n${session?.user?.email || 'CONFIDENTIAL'}\n${new Date().toLocaleString()}`;
// 대각선 워터마크
documentViewer.setWatermark({
@@ -200,8 +200,8 @@ export function SecurePDFViewer({ documentUrl, fileName, onClose }: SecurePDFVie
text: watermarkText,
fontSize: 14,
fontFamily: 'Arial',
- color: 'rgba(128, 128, 128, 0.15)', // 연한 회색
- opacity: 15, // 15% 투명도
+ color: 'rgba(128, 128, 128, 0.3)', // 연한 회색
+ opacity: 30, // 15% 투명도
rotation: -45,
})
});
@@ -222,8 +222,8 @@ export function SecurePDFViewer({ documentUrl, fileName, onClose }: SecurePDFVie
watermarkAnnot.setContents(
`${session?.user?.email}\n${docFileName}\n${new Date().toLocaleDateString()}`
);
- watermarkAnnot.FillColor = new instance.Core.Annotations.Color(255, 0, 0, 0.1);
- watermarkAnnot.TextColor = new instance.Core.Annotations.Color(255, 0, 0, 0.3);
+ watermarkAnnot.FillColor = new instance.Core.Annotations.Color(255, 0, 0, 0.3);
+ watermarkAnnot.TextColor = new instance.Core.Annotations.Color(255, 0, 0, 0.4);
watermarkAnnot.FontSize = '24pt';
watermarkAnnot.TextAlign = 'center';
watermarkAnnot.Rotation = -45;