Export pdf with a single program (Java / Perl / VBA)

Overview

-Export a PDF file as text -PDF files are usually partially compressed within the file, but this tool exports everything in text. (Therefore, the file size will be large) -There are basic methods such as writing characters and drawing lines, which can be controlled programmatically (image output is not supported).

Example

(Note: This file has been exported and compressed)

https://github.com/santarou6/tokumori/blob/master/guruguru1.pdf https://github.com/santarou6/tokumori/blob/master/guruguru2.pdf https://github.com/santarou6/tokumori/blob/master/guruguru3.pdf https://github.com/santarou6/tokumori/blob/master/guruguru4.pdf

Source

The source is here https://github.com/santarou6/tokumori Link

Execution example

java

c:\> javac eater.java
c:\> java eater > out.pdf


perl

c:\> eater.pl > out.pdf


excel

do "mainEater" from macro

Recommended Posts

Export pdf with a single program (Java / Perl / VBA)
Read a string in a PDF file with Java
Try debugging a Java program with VS Code
I tried OCR processing a PDF file with Java
Paging PDF with Java + PDFBox.jar
Java program to resize a photo into a square with margins
I tried OCR processing a PDF file with Java part2
Build a Java project with Gradle
I created a PDF in Java.
Output PDF and TIFF with Java 8
[Introduction to Java] How to write a Java program
Split a string with ". (Dot)" in Java
Program PDF headers and footers in Java
Until you run a Java program with the AWS SDK local to Windows
I made a primality test program in Java
Create a CSR with extended information in Java
Create a simple bulletin board with Java + MySQL
[Windows] [IntelliJ] [Java] [Tomcat] Create a Tomcat9 environment with IntelliJ
Let's create a timed process with Java Timer! !!
[Java] Create a collection with only one element
I wrote a primality test program in Java
Text extraction in Java from PDF with pdfbox-2.0.8
Prepare a scraping environment with Docker and Java
I wrote a prime factorization program in Java
I tried to break a block with java (1)
Build a Java development environment with VS Code