<!-- ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... -->
<module name="NoWhitespaceAfter">
<property name="allowLineBreaks" value="false"/>
- <property name="tokens" value="BNOT,DEC,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>
+ <property name="tokens" value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>
</module>
<module name="NoWhitespaceAfter">
<property name="allowLineBreaks" value="true"/>
- <property name="tokens" value="ARRAY_INIT,DOT"/>
+ <property name="tokens" value="ARRAY_INIT"/>
</module>
<!-- ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... -->
String baseURL = null;
try {
- baseURL = new File(sourcefile.getAbsolutePath()).
- getParentFile().toURI().toURL().toExternalForm();
+ baseURL = new File(sourcefile.getAbsolutePath())
+ .getParentFile().toURI().toURL().toExternalForm();
} catch (Exception e) {
baseURL = "";
}
( CharSequence cs, int[][] gpa, String script, String language ) {
load(true);
if ( realFontDescriptor instanceof Substitutable ) {
- return ((Substitutable)realFontDescriptor).
- reorderCombiningMarks(cs, gpa, script, language);
+ return ((Substitutable)realFontDescriptor)
+ .reorderCombiningMarks(cs, gpa, script, language);
} else {
return cs;
}
(RetrieveMarker) foNode);
}
if (foNode != null) {
- getPSLM().getLayoutManagerMaker().
- makeLayoutManagers(foNode, newLMs);
+ getPSLM().getLayoutManagerMaker()
+ .makeLayoutManagers(foNode, newLMs);
}
}
}
LineArea title = null;
if (getPageSequence().getTitleFO() != null) {
try {
- ContentLayoutManager clm = getLayoutManagerMaker().
- makeContentLayoutManager(this, getPageSequence().getTitleFO());
+ ContentLayoutManager clm = getLayoutManagerMaker()
+ .makeContentLayoutManager(this, getPageSequence().getTitleFO());
title = (LineArea) clm.getParentArea(null);
} catch (IllegalStateException e) {
// empty title; do nothing
*/
protected StreamCache encodeStream() throws IOException {
//Allocate a temporary buffer to find out the size of the encoded stream
- final StreamCache encodedStream = StreamCacheFactory.getInstance().
- createStreamCache(getSizeHint());
+ final StreamCache encodedStream = StreamCacheFactory.getInstance()
+ .createStreamCache(getSizeHint());
OutputStream filteredOutput
= getFilterList().applyFilters(encodedStream.getOutputStream());
outputRawStreamData(filteredOutput);
*/
public String toPDFString() {
StringBuffer sb = new StringBuffer(64);
- sb.append(getObjectID()).
- append("<< /Type /Pages\n/Count ").
- append(this.getCount()).
- append("\n/Kids [");
+ sb.append(getObjectID())
+ .append("<< /Type /Pages\n/Count ")
+ .append(this.getCount())
+ .append("\n/Kids [");
for (int i = 0; i < kids.size(); i++) {
Object kid = kids.get(i);
if (kid == null) {
/** {@inheritDoc} */
public GraphicsConfiguration getDeviceConfiguration() {
- return GraphicsEnvironment.getLocalGraphicsEnvironment().
- getDefaultScreenDevice().getDefaultConfiguration();
+ return GraphicsEnvironment.getLocalGraphicsEnvironment()
+ .getDefaultScreenDevice().getDefaultConfiguration();
}
/**
} else {
try {
if (task.getFofile() != null) {
- this.baseURL = task.getFofile().getParentFile().toURI().toURL().
- toExternalForm();
+ this.baseURL = task.getFofile().getParentFile().toURI().toURL()
+ .toExternalForm();
}
} catch (MalformedURLException mfue) {
logger.error("Error creating base URL from XSL-FO input file", mfue);
}
try {
if (task.getRelativebase()) {
- this.baseURL = f.getParentFile().toURI().toURL().
- toExternalForm();
+ this.baseURL = f.getParentFile().toURI().toURL()
+ .toExternalForm();
}
if (this.baseURL == null) {
- this.baseURL = fs.getDir(task.getProject()).toURI().toURL().
- toExternalForm();
+ this.baseURL = fs.getDir(task.getProject()).toURI().toURL()
+ .toExternalForm();
}
} catch (Exception e) {