Can I use a program via java? [closed] - java

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
My question is simple:
Is it possible to use a program via Java? Meaning, can I for example code in java exactly what I want my Microsoft Word file do? Add paragraphs, lists,import a picture, etc?

Short answer: Yes. Some programs allow you to use scripts and such, that is the beauty of open source software.
To actually edit the document you can use Apache POI which is an API for Microsoft Documents. Granted it cannot handle .docx but simple text documents. You may also want to take a look at docx4java which supports .docx, .pptx and .xlsx files.

Related

the purpose of .bak files in java [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am new to Java development and just saw a file with .bak extension that looks like a java class but it is not. So I am wondering what is the purpose of the .bak files in general and why and when should I use it?
There is no special purpose for java files (or tooling here).
bak typically resorts to backup.
Such files get generated by various tools. These tools create bak files to avoid overwriting your original file. So there is no specific notion towards "java technology" here.
Simply look into the tools (mainly: your editor), and see if their help tells you about automatically creating backup file. The old Windows notepad editor did that for example.

Write to clipboard in java and excel export link [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
In excel you can copy a cell and paste it in another using the excel paste special from the right click menu.
How can I write such a link in java to paste in excel?
Its too broad a question. What lib do you use to working with Excel? For example, using Apache POI you can just read cell to java object and save to new place (all values, or just, for instance, formulas or text only). A lot of example, to working with Excel you can found this

Is there any way to implement all the formulas that are supported by Excel , into Java? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want my program to support all the formulas that one can use in Excel file into java code.
The requirement was that all the functions that are supported by excel both mathematical and logical like (add, multiply, substract or 'OR', 'IF') and others like Vlookup etc into java with the same format?
Is there any way to achieve that?
The Apache NPOI Project seems to support Excel formulas. Some examples are available here.

Can you write a program that will modify an Excel sheet? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm trying to write a program for my dad that will take an excel sheet with a bunch of tabs in one file and turn it into several files with a couple tabs. Is there a way to do this? I was trying to do it in Java, but if there is a better way to do it, I'd be interested.
You could use Apache POI. It was used in a project I worked on (although I didn't directly use it) and it seemed to do it's job. It probably has what you're looking for.
Outside of Java, I have heard that powershell has good integration with excel, although I have never actually used it for that purpose. Here's an article about it.
Hope this helps! Good luck!

how to extract author details from pdf using java [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have 1000s and 1000s of PDF articles from which I need to extract only author name and his relevant details like address and email ID and whatever provided inside the PDF (I mean the content inside). I don't want to do this by getting the details associated with the metadata of the PDF. Since I tried that where I end up with only less details like author name, title and some other usual details which I do not need at all.
I have gone via all APIs in internet, but still I did get the solution. I need to do it in Java.
I think you can't get it directly from any library.
Use iTest library for reading pdf. Once you are able to read text find the Author using regular expression.

Categories

Resources