Skip to content

Commit

Permalink
🌴 Release V1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayi committed Jun 7, 2021
1 parent 65d4caa commit 8e9202f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ poi-tl supports **custom functions (plug-ins)**, functions can be executed anywh
<dependency>
<groupId>com.deepoove</groupId>
<artifactId>poi-tl</artifactId>
<version>1.10.0-beta</version>
<version>1.10.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion poi-tl-plugin-markdown/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>com.deepoove</groupId>
<artifactId>poi-tl-plugin-markdown</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>1.0.2</version>
<packaging>jar</packaging>

<name>poi-tl-plugin-markdown</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private DocumentRenderData parseCode(String code, String language) {
paragraphStyle = new ParagraphStyle();
((ParagraphRenderData) doc).setParagraphStyle(paragraphStyle);
}
paragraphStyle.setSpacing(1.0f);
paragraphStyle.setSpacing(1.0);
// paragraphStyle.setSpacing(0.0f);
// paragraphStyle.setSpacingRule(LineSpacingRule.AT_LEAST);
}
Expand Down Expand Up @@ -240,7 +240,7 @@ private NumberingRenderData parseList(ListBlock listBlock, NumberingRenderData n
if (paragraph.getParagraphStyle() == null) {
paragraph.setParagraphStyle(new ParagraphStyle());
}
paragraph.getParagraphStyle().setIndentLeftChars(index * 1.8f);
paragraph.getParagraphStyle().setIndentLeftChars(index * 1.8);
result.add(new NumberingItemRenderData(-1, paragraph));
}
}
Expand Down Expand Up @@ -275,11 +275,11 @@ public void visit(BlockQuote blockQuote) {
}

if (first) {
paragraphStyle.setSpacingBeforeLines(0.4f);
paragraphStyle.setSpacingBeforeLines(0.4);
first = false;
}
if (i == size - 1) {
paragraphStyle.setSpacingAfterLines(0.4f);
paragraphStyle.setSpacingAfterLines(0.4);
}
of.addParagraph(paragraph);
}
Expand Down
2 changes: 1 addition & 1 deletion poi-tl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>com.deepoove</groupId>
<artifactId>poi-tl</artifactId>
<version>1.10.0-SNAPSHOT</version>
<version>1.10.0</version>
<packaging>jar</packaging>

<name>poi-tl</name>
Expand Down

0 comments on commit 8e9202f

Please sign in to comment.