Sample to read and write LibreOffice Calc fods file in Java 2021

https://github.com/sonota88/libreoffice-java-sample/tree/20210101

An updated version of this ↓ I wrote earlier. It is a report of minor corrections and operation confirmation that "it worked even at the beginning of 2021".

Sample reading and writing LibreOffice Calc fods files in Java 2019

By the way, the above is an article at the end of 2019, so it will be the first update in about a year.

Changes

--Added sample code to get the maximum value of row index and column index within the usage range. --Changed to use mvnw --JUnit version upgrade: 4.x => 5.7.0

environment

Ubuntu Linux 18.04
LibreOffice 6.0.7.3
OpenJDK 1.8.0_275

reference

Recommended Posts

Sample to read and write LibreOffice Calc fods file in Java 2021
Sample to read and write LibreOffice Calc fods file in JRuby 2021
Sample to unzip gz file in Java
<java> Read Zip file and convert directly to string
Gzip-compress byte array in Java and output to file
How to read your own YAML file (*****. Yml) in Java
Read Java properties file in C #
Log output to file in Java
How to write comments in the schema definition file in GraphQL Java and reflect them in GraphQL and GraphQL Playground
Read xlsx file in Java with Selenium
Java to C and C to Java in Android Studio
Sample code to serialize and deserialize Java Enum enums and JSON in Jackson
The story of forgetting to close a file in Java and failing
How to read log4j configuration file in Java project summarized in jar file Memo
Read a string in a PDF file with Java
[Java] Read the file in src / main / resources
How to write Java String # getBytes in Kotlin?
How to ZIP a JAVA CSV file and manage it in a Byte array
Sample code to convert List to List <String> in Java Stream
Write ABNF in Java and pass the email address
Read Java Property file
[Java] Types of comments and how to write them
Write a class in Kotlin and call it in Java
Java classes and instances to understand in the figure
How to convert A to a and a to A using AND and OR in Java
How to convert a file to a byte array in Java
Create a Java Servlet and JSP WAR file to deploy to Apache Tomcat 9 in Gradle
Java code sample to acquire and display DBLINK source and destination data in Oracle Database using DBLINK
Generate and execute Jar file of Java file belonging to package
[Java] Change language and locale to English in JVM options
What happened in "Java 8 to Java 11" and how to build an environment
How to call and use API in Java (Spring Boot)
Sample code to parse date and time with Java SimpleDateFormat
How to write and notes when migrating from VB to JAVA
Correct the character code in Java and read from the URL
Reasons to use Servlet and JSP separately in Java development
Define abstract methods in Java enum and write each behavior
How to develop and register a Sota app in Java
Differences in how to handle strings between Java and Perl
[Rails5] japanMap link How to write parameters in js.erb file
Write DiscordBot to Spreadsheets Write in Ruby and run with Docker
Read and write like java.nio
Read binary files in Java 1
How to write java comments
Write flyway callbacks in Java
Read standard input in Java
Read binary files in Java 2
Write Java8-like code in Java8
[Java] [Android] Read ini file
Convert Excel to Blob with java, save it, read it from DB and output it as a file!
Text file placed in resources in Java cannot be read when jarted
Basics of Java development ~ How to write programs (variables and types) ~
How to read a file and treat it as standard input
[For beginners] Minimum sample to update RecyclerView with DiffUtils in Java
Read the first 4 bytes of the Java class file and output CAFEBABE
[Android] Convert Map to JSON using GSON in Kotlin and Java
Sample code to call the Yahoo! Local Search API in Java
Read items containing commas in a CSV file without splitting (Java)
How to encrypt and decrypt with RSA public key in Java
How to get the length of an audio file in java
Vuze plugin to write and enjoy