diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-10-23 06:11:55 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-10-23 06:11:55 +0000 |
| commit | 008f824e4f549695274678122435a524fe6fae9c (patch) | |
| tree | 7fdbf2a86bcc014467c31fcc42fcae37b61296a6 /components/file-manager/SecurePDFViewer.tsx | |
| parent | b83f22dcd593c80f0feadc3b3703aab30da296c5 (diff) | |
(임수민) 데이터룸 워터마크, 텍스트 파일 타입 뷰 수정
Diffstat (limited to 'components/file-manager/SecurePDFViewer.tsx')
| -rw-r--r-- | components/file-manager/SecurePDFViewer.tsx | 10 |
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; |
