Screenshot
...
The two options work independently on each other. If there are both activated, word wrapping is done before calculating the page size for paging.
Labels/Messages
Keyid | Description |
---|---|
LicencePanel.info | The label text to be shown as panel label above the contents. |
Resources
Resourceid | Description |
---|---|
PDFLicencePanel.<panel id> | The name of the PDF file that contains the license agreement to show on the panel. If you don't specify the panel id then pane id is assumed to be licence (i.e. the resource id will be PDFLicencePanel.licence). |
Localization
The PDFLicencePanel is fully localized.
...
Code Block | ||
---|---|---|
| ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>some-group-id</groupId> <artifactId>some-parent-artifact-id</artifactId> <version>1.0.0-SNAPSHOT</version> </parent> <artifactId>some-artifact-id</artifactId> <name>Sample Installer</name> <description>Installer for Sample</description> <packaging>jar</packaging> <dependencies> <!-- PDF Panel --> <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox</artifactId> <version>1.8.10</version> </dependency> <dependency> <groupId>org.icepdf.os</groupId> <artifactId>icepdf-core</artifactId> <version>6.0.1</version> </dependency> <dependency> <groupId>org.icepdf.os</groupId> <artifactId>icepdf-viewer</artifactId> <version>6.0.1</version> </dependency> <!-- PDF Panel --> </dependencies> <build> <defaultGoal>package</defaultGoal> <resources> <resource> <directory>src/izpack</directory> <filtering>true</filtering> </resource> </resources> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <encoding>${project.build.sourceEncoding}</encoding> <source>${maven.compiler.source}</source> <target>${maven.compiler.target}</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <configuration> <transitive>true</transitive> </configuration> <executions> <execution> <id>pdf</id> <phase>process-resources</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <stripVersion>true</stripVersion> <includeScope>compile</includeScope> <outputDirectory>${stage.dir.fullpath}/deps</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.izpack</groupId> <artifactId>izpack-maven-plugin</artifactId> <version>${izpack-maven-plugin.version}</version> <dependencies> <dependency> <groupId>org.codehaus.izpack</groupId> <artifactId>izpack-compiler</artifactId> <version>${izpack.version}</version> </dependency> <!-- PDF Panel --> <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox</artifactId> <version>1.8.10</version> </dependency> <dependency> <groupId>org.icepdf.os</groupId> <artifactId>icepdf-core</artifactId> <version>6.0.1</version> </dependency> <dependency> <groupId>org.icepdf.os</groupId> <artifactId>icepdf-viewer</artifactId> <version>6.0.1</version> </dependency> <!-- PDF Panel --> </dependencies> <configuration> <baseDir>${stage.dir.fullpath}</baseDir> <installFile>${stage.dir.fullpath}/install.xml</installFile> <mkdirs>true</mkdirs> <jarName>${project.build.finalName}-standard</jarName> </configuration> <executions> <execution> <id>standard-installer</id> <phase>package</phase> <goals> <goal>izpack</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <repositories> <repository> <id>ice-maven-release</id> <name>Ice Maven Release Repository</name> <url>http://anonsvn.icesoft.org/repo/maven2/releases</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>ice-maven-release</id> <name>Ice Maven Release Repository</name> <url>http://anonsvn.icesoft.org/repo/maven2/releases</url> </pluginRepository> </pluginRepositories> </project> |
Limitations
The panel name & panel id are not taken into account for the panel label, the key is always taken as LicencePanel.info. The label LicencePanel.info is shared with LicencePanel & HTMLLicencePanel as well.