Skip to content

Commit

Permalink
Upgrade version for aspose bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
nntthuy-axonivy committed Jan 14, 2025
1 parent 1abe78a commit a0ccace
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aspose-barcode-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<properties>
<project.build.plugin.version>12.0.0</project.build.plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<aspose.version>23.4</aspose.version>
<aspose.version>24.3</aspose.version>
</properties>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion doc-factory/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<properties>
<project.build.plugin.version>12.0.0</project.build.plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<aspose.version>23.4</aspose.version>
<aspose.version>24.4</aspose.version>
</properties>

<repositories>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import com.aspose.words.LayoutCollector;
import com.aspose.words.Node;
import com.aspose.words.NodeCollection;
import com.aspose.words.NodeType;
import com.aspose.words.Paragraph;
import com.aspose.words.ParagraphCollection;
import com.aspose.words.SaveFormat;
Expand Down Expand Up @@ -47,7 +48,7 @@ private static boolean isPageEmpty(int page, Document document) throws Exception
ParagraphCollection pc = section.getBody().getParagraphs();
for (Paragraph p : pc) {
if (lc.getStartPageIndex(p) == page) {
NodeCollection<?> nodes = p.getChildNodes();
NodeCollection<?> nodes = p.getChildNodes(NodeType.PARAGRAPH, false);
for (Node node : nodes) {
pageText += node.toString(SaveFormat.TEXT).trim();
}
Expand Down

0 comments on commit a0ccace

Please sign in to comment.