Questions tagged [xwpf]

XWPF is a Java API to handle Microsoft Word 2007 .docx format files. It is part of the Apache POI project.

XWPF is a Java API to handle Microsoft Word 2007 .docx format files. It is part of the project.

See the Apache POI home page for details.

231 questions
0
votes
1 answer

POI XWPF: Get the line numbers that an XWPFParagraph/XWPFRun starts and ends

Pretty straightforward question. Anyone knows the combination of method calls? Are there any manual methods to get the start and end lines of document elements? Maybe by calculating offsets (if getting offset values are possible). Thanks!
Ram
  • 1,016
  • 4
  • 15
  • 25
0
votes
0 answers

Java Poi XWPF convert Docx to PDF DrawText issus

I am converting docx files to pdf using Poi XWPF, the result is good, but the DrawText are missing, how can i fix this? XWPFDocument document = new XWPFDocument(inputStream); PdfOptions options =…
oueslatibilel
  • 567
  • 1
  • 8
  • 24
-1
votes
1 answer

How to read a docx file and know when the page changes? APACHE POI

I need to know how MS WORD page the documents. is it possible to know when MS WORD goes head-to-head in a new page with java APACHE POI?
-2
votes
1 answer

Apache POI Round Bullet list in Word Document

I want to create a word document using Java and want to add a bullet list to the document. The bullet has to be round shaped or check mark and not numbers. I was able to create a bullet list of numbers using XWPF but not the round shaped or check…
-2
votes
1 answer

how to insert frame in word document using poi or any other API

How to insert a frame into word file from my Java code using Apache POI? I want frame(with left border only) to insert at top-right of the page. You can see the frame highlighted in red box:
-4
votes
4 answers

How to add border to XWPFTableCell

I need a border to my XWPFTableCell like below table. **XXX Technologies** __________________ |Name |Gender |Salary | __________________ Raji FeMale 24000 Ravi Male 06790
S Kumar
  • 11
  • 1
  • 4
1 2 3
15
16