Refactor color input fields and enhance watermark functionality

- Updated color input fields in various HTML pages to remove unnecessary classes for improved styling consistency.
- Modified the watermark node to include options for positioning and flattening watermarks.
- Enhanced the addTextWatermark function to support customizable positioning and page selection for watermarks.
- Added new controls for text and image watermarks in the UI, allowing users to specify text, font size, color, opacity, angle, and image scaling.
- Updated the WASM provider to use the latest version of pymupdf-wasm.
This commit is contained in:
alam00000
2026-02-26 19:40:08 +05:30
parent 2e64e8e8d4
commit 88260c26ab
41 changed files with 1512 additions and 383 deletions

View File

@@ -92,7 +92,8 @@
},
"addWatermark": {
"name": "إضافة علامة مائية",
"subtitle": "ختم نص أو صورة على صفحات PDF الخاصة بك."
"subtitle": "ختم نص أو صورة على صفحات PDF الخاصة بك.",
"applyToAllPages": "تطبيق على جميع الصفحات"
},
"headerFooter": {
"name": "رأس وتذييل",

View File

@@ -92,7 +92,8 @@
},
"addWatermark": {
"name": "Дадаць вадзяны знак",
"subtitle": "Накласці на старонкі PDF тэкст або відарыс."
"subtitle": "Накласці на старонкі PDF тэкст або відарыс.",
"applyToAllPages": "Прымяніць да ўсіх старонак"
},
"headerFooter": {
"name": "Верхні і ніжні калантытул",

View File

@@ -92,7 +92,8 @@
},
"addWatermark": {
"name": "Tilføj vandmærke",
"subtitle": "Placer tekst eller et billede oven på dine PDF-sider."
"subtitle": "Placer tekst eller et billede oven på dine PDF-sider.",
"applyToAllPages": "Anvend på alle sider"
},
"headerFooter": {
"name": "Sidehoved og sidefod",

View File

@@ -92,7 +92,8 @@
},
"addWatermark": {
"name": "Wasserzeichen hinzufügen",
"subtitle": "Text oder ein Bild über Ihre PDF-Seiten stempeln."
"subtitle": "Text oder ein Bild über Ihre PDF-Seiten stempeln.",
"applyToAllPages": "Auf alle Seiten anwenden"
},
"headerFooter": {
"name": "Kopf- & Fußzeile",

View File

@@ -92,7 +92,8 @@
},
"addWatermark": {
"name": "Add Watermark",
"subtitle": "Stamp text or an image over your PDF pages."
"subtitle": "Stamp text or an image over your PDF pages.",
"applyToAllPages": "Apply to all pages"
},
"headerFooter": {
"name": "Header & Footer",

View File

@@ -92,7 +92,8 @@
},
"addWatermark": {
"name": "Agregar Marca de Agua",
"subtitle": "Estampa texto o una imagen sobre tus páginas PDF."
"subtitle": "Estampa texto o una imagen sobre tus páginas PDF.",
"applyToAllPages": "Aplicar a todas las páginas"
},
"headerFooter": {
"name": "Encabezado y Pie de Página",

View File

@@ -92,7 +92,8 @@
},
"addWatermark": {
"name": "Ajouter un filigrane",
"subtitle": "Apposer un texte ou une image sur les pages du PDF."
"subtitle": "Apposer un texte ou une image sur les pages du PDF.",
"applyToAllPages": "Appliquer à toutes les pages"
},
"headerFooter": {
"name": "En-tête et pied de page",

View File

@@ -92,7 +92,8 @@
},
"addWatermark": {
"name": "Tambah Watermark",
"subtitle": "Cap teks atau gambar di atas halaman PDF Anda."
"subtitle": "Cap teks atau gambar di atas halaman PDF Anda.",
"applyToAllPages": "Terapkan ke semua halaman"
},
"headerFooter": {
"name": "Header & Footer",

View File

@@ -92,7 +92,8 @@
},
"addWatermark": {
"name": "Aggiungi Filigrana",
"subtitle": "Applica testo o un'immagine sulle pagine del tuo PDF."
"subtitle": "Applica testo o un'immagine sulle pagine del tuo PDF.",
"applyToAllPages": "Applica a tutte le pagine"
},
"headerFooter": {
"name": "Intestazione e Piè di Pagina",

View File

@@ -92,7 +92,8 @@
},
"addWatermark": {
"name": "Watermerk toevoegen",
"subtitle": "Tekst of een afbeelding over de pagina's van je PDF stempelen."
"subtitle": "Tekst of een afbeelding over de pagina's van je PDF stempelen.",
"applyToAllPages": "Toepassen op alle pagina's"
},
"headerFooter": {
"name": "Koptekst & Voettekst",

View File

@@ -70,7 +70,8 @@
},
"addWatermark": {
"name": "Adicionar Marca d'Água",
"subtitle": "Carimbe texto ou uma imagem sobre as páginas do seu PDF."
"subtitle": "Carimbe texto ou uma imagem sobre as páginas do seu PDF.",
"applyToAllPages": "Aplicar a todas as páginas"
},
"headerFooter": {
"name": "Cabeçalho e Rodapé",

View File

@@ -70,7 +70,8 @@
},
"addWatermark": {
"name": "Filigran Ekle",
"subtitle": "PDF sayfalarınızın üzerine metin veya görsel damgası ekleyin."
"subtitle": "PDF sayfalarınızın üzerine metin veya görsel damgası ekleyin.",
"applyToAllPages": "Tüm sayfalara uygula"
},
"headerFooter": {
"name": "Üst Bilgi & Alt Bilgi",

View File

@@ -92,7 +92,8 @@
},
"addWatermark": {
"name": "Thêm Watermark",
"subtitle": "Đóng dấu văn bản hoặc hình ảnh lên các trang PDF của bạn."
"subtitle": "Đóng dấu văn bản hoặc hình ảnh lên các trang PDF của bạn.",
"applyToAllPages": "Áp dụng cho tất cả các trang"
},
"headerFooter": {
"name": "Đầu trang & Chân trang",

View File

@@ -70,7 +70,8 @@
},
"addWatermark": {
"name": "添加浮水印",
"subtitle": "在你的 PDF 頁面上壓印文字或圖片。"
"subtitle": "在你的 PDF 頁面上壓印文字或圖片。",
"applyToAllPages": "套用至所有頁面"
},
"headerFooter": {
"name": "頁首與頁尾",

View File

@@ -92,7 +92,8 @@
},
"addWatermark": {
"name": "添加水印",
"subtitle": "在您的 PDF 页面上添加文字或图片水印。"
"subtitle": "在您的 PDF 页面上添加文字或图片水印。",
"applyToAllPages": "应用到所有页面"
},
"headerFooter": {
"name": "页眉和页脚",