Skip to content
Snippets Groups Projects
Commit 68459a13 authored by Marius Dumitru Florea's avatar Marius Dumitru Florea
Browse files

XWIKI-19270: Add support for performing the PDF export using a browser running...

XWIKI-19270: Add support for performing the PDF export using a browser running in a Docker container
* Make the test content pages non-hidden (for now we print to PDF all child pages but in the future we may want to filter out hidden pages).
parent 8403ee0e
No related branches found
No related tags found
No related merge requests found
......@@ -52,4 +52,27 @@
<artifactId>jquery</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-tool-xar-plugin</artifactId>
<configuration>
<contentPages>
<contentPage>.*/PDFExportIT/.*\.xml</contentPage>
</contentPages>
<entries>
<entry>
<document>PDFExportIT.Parent.WebHome</document>
<type>demo</type>
</entry>
<entry>
<document>PDFExportIT.Parent.Child.WebHome</document>
<type>demo</type>
</entry>
</entries>
</configuration>
</plugin>
</plugins>
</build>
</project>
......@@ -24,7 +24,7 @@
<web>PDFExportIT.Parent.Child</web>
<name>WebHome</name>
<language/>
<defaultLanguage/>
<defaultLanguage>en</defaultLanguage>
<translation>0</translation>
<creator>xwiki:XWiki.Admin</creator>
<parent>PDFExportIT.Parent.WebHome</parent>
......@@ -35,7 +35,7 @@
<comment/>
<minorEdit>false</minorEdit>
<syntaxId>xwiki/2.1</syntaxId>
<hidden>true</hidden>
<hidden>false</hidden>
<content>== Section 1 ==
Content of first section.
......
......@@ -24,7 +24,7 @@
<web>PDFExportIT.Parent</web>
<name>WebHome</name>
<language/>
<defaultLanguage/>
<defaultLanguage>en</defaultLanguage>
<translation>0</translation>
<creator>xwiki:XWiki.Admin</creator>
<parent>PDFExportIT.WebHome</parent>
......@@ -35,7 +35,7 @@
<comment/>
<minorEdit>false</minorEdit>
<syntaxId>xwiki/2.1</syntaxId>
<hidden>true</hidden>
<hidden>false</hidden>
<content>= Chapter 1 =
Content of first chapter. Current user is {{velocity}}$xcontext.userReference{{/velocity}}.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment