Skip to content

Commit 8e9202f

Browse files
committed
🌴 Release V1.10.0
1 parent 65d4caa commit 8e9202f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ poi-tl supports **custom functions (plug-ins)**, functions can be executed anywh
4141
<dependency>
4242
<groupId>com.deepoove</groupId>
4343
<artifactId>poi-tl</artifactId>
44-
<version>1.10.0-beta</version>
44+
<version>1.10.0</version>
4545
</dependency>
4646
```
4747

poi-tl-plugin-markdown/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>com.deepoove</groupId>
1313
<artifactId>poi-tl-plugin-markdown</artifactId>
14-
<version>1.0.1-SNAPSHOT</version>
14+
<version>1.0.2</version>
1515
<packaging>jar</packaging>
1616

1717
<name>poi-tl-plugin-markdown</name>

poi-tl-plugin-markdown/src/main/java/com/deepoove/poi/plugin/markdown/converter/DocumentVisitor.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private DocumentRenderData parseCode(String code, String language) {
168168
paragraphStyle = new ParagraphStyle();
169169
((ParagraphRenderData) doc).setParagraphStyle(paragraphStyle);
170170
}
171-
paragraphStyle.setSpacing(1.0f);
171+
paragraphStyle.setSpacing(1.0);
172172
// paragraphStyle.setSpacing(0.0f);
173173
// paragraphStyle.setSpacingRule(LineSpacingRule.AT_LEAST);
174174
}
@@ -240,7 +240,7 @@ private NumberingRenderData parseList(ListBlock listBlock, NumberingRenderData n
240240
if (paragraph.getParagraphStyle() == null) {
241241
paragraph.setParagraphStyle(new ParagraphStyle());
242242
}
243-
paragraph.getParagraphStyle().setIndentLeftChars(index * 1.8f);
243+
paragraph.getParagraphStyle().setIndentLeftChars(index * 1.8);
244244
result.add(new NumberingItemRenderData(-1, paragraph));
245245
}
246246
}
@@ -275,11 +275,11 @@ public void visit(BlockQuote blockQuote) {
275275
}
276276

277277
if (first) {
278-
paragraphStyle.setSpacingBeforeLines(0.4f);
278+
paragraphStyle.setSpacingBeforeLines(0.4);
279279
first = false;
280280
}
281281
if (i == size - 1) {
282-
paragraphStyle.setSpacingAfterLines(0.4f);
282+
paragraphStyle.setSpacingAfterLines(0.4);
283283
}
284284
of.addParagraph(paragraph);
285285
}

poi-tl/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>com.deepoove</groupId>
1313
<artifactId>poi-tl</artifactId>
14-
<version>1.10.0-SNAPSHOT</version>
14+
<version>1.10.0</version>
1515
<packaging>jar</packaging>
1616

1717
<name>poi-tl</name>

0 commit comments

Comments
 (0)