Java and Word - 09 - Reading Documents

preview_player
Показать описание
So far we've only been able to create documents. How about we go even deeper? Let's even read something! *dramatic music*

You can also create your own document. Every word document that includes words should be alright.
Рекомендации по теме
Комментарии
Автор

how do we read text from a docx file when it is inserted inside a text area

nishantsingh
Автор

Wow dude. I have been literally been searching the whole web for this. Just annoyingly bad explenations that didnt even work. You made it super simple. Thanks so much! <3 Subscribed :D

espenmland
Автор

sir how to read only math formulas from the word document

lavakumar_techie
Автор

The libraries we imported in the first tutorial only work for the newer documents (those docx documents, 2007 and higher). If you've watched my Excel tutorials, we only imported the single poi library, with which it was only possible to read and create older documents ('.xls', 2004 and lower). If you wanted to read older documents, you'd have to import that library and create an HWPFDocument instead of an XWPFDocument, the rest should be the same.

erifetim
Автор

This has been a longer issue on apache poi, so until now, version 3.9, it's sadly not possible to add margins to a word file.

erifetim
Автор

would you please make a tutorial video how to add shape?

lengkimhong
Автор

what are the jars needeed  here to get the text from doc file cal u please share it

srinivasvadla
Автор

Hi, i watched all of your tutorials it's just awesome, greate work thank you !
However i'm just wondering if it is a possibility to add an image in our word document ?

Regards

maamovies
Автор

How do you change the margins in a Word file?

uttbigal
Автор

I watched all ur tutorials based on apache...it's a great work...very clear guidance indeed! thnx (y) :D

kjtdimlak
Автор

Hello Mr.
Thanks you for your videos.
Greetings from Peru.
Have a question? I want have a template of word for example a contract in which I want replace some words like name of employee, doi, etc. I'm think use bookmark and replace from app java, It's posible?
I hope that you can help me!

carlosnole
Автор

Thanks for series of teaching videos, Helping me a lot,
BTW, I have stucked in something wrong !
I have the word document which open track edition and also have been edited,
I would visit all element without markup, in the others word, I wanna read the last edition of text, how can I do, I feel hopeless ! or Is apache poi api offer the method for Accepting all change instead !!

panda
Автор

i loved so much your useful and funny tutorials

elmobarmig
Автор

How to read maths or chemical formulas from word document? Can you post that video? Advance thanks to you.

manikandann
Автор

this is only worked for docx but not doc!!! do you have any clue why is that??

AzharNoohKR
Автор

Hi
First of all, your tutorials were really helpful. however, I have a question. Do you know how to add page number into the footer with apache POI?? thanks

guillaumefortin
Автор

hi, i'm just start learning java and its kinda confusing.. do i have to download apache poi before doing the code? or should I just do this code straight?

richallecangas
Автор

Hello sir I'm having a trouble while running the same problem could you please help me resolve this  , it says:




Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
XWPFDocument cannot be resolved to a type
XWPFDocument cannot be resolved to a type
XWPFWordExtractor cannot be resolved to a type
XWPFWordExtractor cannot be resolved to a type

at =>XWPFDocument document=new XWPFDocument(new

maunikrghvndr
Автор

I have learned how to read word document and at the same time I liked the JOKE
ask your friend to send you more jokes
Thanks once again for teaching us
Nagag

nagagsalka
Автор

bro add some other stuff like page margins and orientation .. i really need to understand ..

hamzasaqib