Skip to content

Commit

Permalink
Introductie van pan-zoom-image
Browse files Browse the repository at this point in the history
Zie #559

Improvement
  • Loading branch information
arjan authored and arjan committed Dec 3, 2024
1 parent fdf432d commit 2c0bb33
Show file tree
Hide file tree
Showing 11 changed files with 886 additions and 26 deletions.
7 changes: 6 additions & 1 deletion src/main/java/nl/imvertor/OfficeCompiler/OfficeCompiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,13 @@ public void generateOfficeReport() throws Exception {
// kopieer documentor configuratie naar de cat folder. Eerst de standaard "Imvertor" files, en daaroverheen de owner files.
AnyFolder target = new AnyFolder(configurator.getWorkFolder() + "/app/cat/documentor");
target.mkdirs();
AnyFolder imvertorFolder = new AnyFolder(configurator.getBaseFolder(), "input" + File.separator + "Imvertor/cfg/docrules/documentor"); // waaronder default.css en default.js
AnyFolder imvertorFolder = new AnyFolder(configurator.getBaseFolder(), "input/Imvertor/cfg/docrules/documentor"); // waaronder default.css en default.js
imvertorFolder.copy(target);
// kopieer documentor configuratie
if (configurator.getXParm("documentor/image-zoomer").equals("pan-zoom-image") || configurator.getXParm("documentor/diagram-zoomer").equals("pan-zoom-image")) {
AnyFolder panZoomImageFolder = new AnyFolder(configurator.getBaseFolder(), "etc/respec/panZoomImage");
panZoomImageFolder.copyFolder(target);
}
AnyFolder ownerFolder = new AnyFolder(configurator.getInputFolder() + "/cfg/docrules/documentor");
if (ownerFolder.isDirectory())
ownerFolder.copy(target);
Expand Down
Loading

0 comments on commit 2c0bb33

Please sign in to comment.