Added {max-row-degree} manual variable
This commit is contained in:
parent
182a212200
commit
99be1bc0bc
@ -46,5 +46,12 @@
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jooq</groupId>
|
||||
<artifactId>jooq</artifactId>
|
||||
<version>3.0.0-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@ -59,6 +59,7 @@ import org.apache.fop.apps.FOUserAgent;
|
||||
import org.apache.fop.apps.Fop;
|
||||
import org.apache.fop.apps.FopFactory;
|
||||
import org.apache.fop.apps.MimeConstants;
|
||||
import org.jooq.Constants;
|
||||
import org.joox.Context;
|
||||
import org.joox.Each;
|
||||
import org.joox.Match;
|
||||
@ -127,6 +128,11 @@ public class Transform {
|
||||
changed = true;
|
||||
}
|
||||
|
||||
if (content.contains("{max-row-degree}")) {
|
||||
content = content.replace("{max-row-degree}", "" + Constants.MAX_ROW_DEGREE);
|
||||
changed = true;
|
||||
}
|
||||
|
||||
if (changed) {
|
||||
$(context.element()).content(content);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user