From abf382a03b5084c5db1d501bab96ccec01123e80 Mon Sep 17 00:00:00 2001 From: Sergey Linnik Date: Mon, 18 Mar 2024 18:21:10 +0300 Subject: [PATCH 01/12] nodejs: creating pdf form --- .gitmodules | 4 ++-- CHANGELOG.md | 1 + .../nodejs/public/assets/document-formats | 2 +- .../nodejs/public/assets/document-templates | 2 +- .../nodejs/public/images/{file_docxf.svg => file_pdf.svg} | 0 .../nodejs/public/stylesheets/stylesheet.css | 2 +- web/documentserver-example/nodejs/views/index.ejs | 2 +- web/documentserver-example/nodejs/views/wopiIndex.ejs | 2 +- 8 files changed, 8 insertions(+), 7 deletions(-) rename web/documentserver-example/nodejs/public/images/{file_docxf.svg => file_pdf.svg} (100%) diff --git a/.gitmodules b/.gitmodules index 43b3007a..588e6d46 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,11 +1,11 @@ [submodule "web/documentserver-example/nodejs/public/assets/document-templates"] path = web/documentserver-example/nodejs/public/assets/document-templates url = https://github.com/ONLYOFFICE/document-templates - branch = main/en + branch = main/en-8.1 [submodule "web/documentserver-example/nodejs/public/assets/document-formats"] path = web/documentserver-example/nodejs/public/assets/document-formats url = https://github.com/ONLYOFFICE/document-formats - branch = feature/v8.0 + branch = feature/v8.1 [submodule "web/documentserver-example/csharp-mvc/assets/document-templates"] path = web/documentserver-example/csharp-mvc/assets/document-templates url = https://github.com/ONLYOFFICE/document-templates diff --git a/CHANGELOG.md b/CHANGELOG.md index faa51cba..77fd4315 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Change Log +- nodejs: creating pdf instead docxf - fill permission in embedded mode - nodejs: wopi formsubmit icon - nodejs: close editor diff --git a/web/documentserver-example/nodejs/public/assets/document-formats b/web/documentserver-example/nodejs/public/assets/document-formats index 7b7c406c..d754dc9e 160000 --- a/web/documentserver-example/nodejs/public/assets/document-formats +++ b/web/documentserver-example/nodejs/public/assets/document-formats @@ -1 +1 @@ -Subproject commit 7b7c406cc69b3239693cf4c0ac59b4817b5485eb +Subproject commit d754dc9e6725043d0b9374bb59ac13501aae7333 diff --git a/web/documentserver-example/nodejs/public/assets/document-templates b/web/documentserver-example/nodejs/public/assets/document-templates index 1fc823af..cd3c2023 160000 --- a/web/documentserver-example/nodejs/public/assets/document-templates +++ b/web/documentserver-example/nodejs/public/assets/document-templates @@ -1 +1 @@ -Subproject commit 1fc823afa909e4c49551e4e5b945189a21ff1999 +Subproject commit cd3c2023779bc53c4aef255f6a9459ad6c3ce9e7 diff --git a/web/documentserver-example/nodejs/public/images/file_docxf.svg b/web/documentserver-example/nodejs/public/images/file_pdf.svg similarity index 100% rename from web/documentserver-example/nodejs/public/images/file_docxf.svg rename to web/documentserver-example/nodejs/public/images/file_pdf.svg diff --git a/web/documentserver-example/nodejs/public/stylesheets/stylesheet.css b/web/documentserver-example/nodejs/public/stylesheets/stylesheet.css index 2be31b73..0247a96f 100644 --- a/web/documentserver-example/nodejs/public/stylesheets/stylesheet.css +++ b/web/documentserver-example/nodejs/public/stylesheets/stylesheet.css @@ -162,7 +162,7 @@ label .checkbox { } .try-editor.form { - background-image: url("../images/file_docxf.svg"); + background-image: url("../images/file_pdf.svg"); } .side-option { diff --git a/web/documentserver-example/nodejs/views/index.ejs b/web/documentserver-example/nodejs/views/index.ejs index b69de87c..7202f294 100755 --- a/web/documentserver-example/nodejs/views/index.ejs +++ b/web/documentserver-example/nodejs/views/index.ejs @@ -58,7 +58,7 @@ Presentation
  • - PDF form + PDF form