convert from pdf to word with chart
See original GitHub issueI decided to convert excel to word but , I was suggested that I have to convert exccel to pdf , after this ok ,I convert pdf to word But Excel has a chart that correctly is in pdf Unfortunately, it does not come in Word.
import com.aspose.cells.FileFormatType;
import com.aspose.cells.Workbook;
import com.aspose.pdf.Document;
import com.aspose.pdf.SaveFormat;
public class Test {
public static void main(String[] args) throws Exception {
String dir="D:/Test/";
Workbook workbook = new Workbook(dir+"test.xlsx");
workbook.save(dir+"testexcel.pdf", FileFormatType.PDF);
Document document = new Document(dir+"testexcel.pdf");
document.save(dir+"testexcel1.docx", SaveFormat.DocX);
}
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top Results From Across the Web
2 Ways for How to Copy Table from PDF to Word - UPDF
Step 1: Select the "Export PDF" Option · Step 2: Set Word as the Output Format · Step 3: Convert PDF Table to...
Read more >How to Convert PDF Tables to Word | It Still Works - ItStillWorks
Right-click and select "Paste" from the pop-up menu, or press "Ctrl+V" to paste the table into Word. Step 7. Click the "Save" button...
Read more >PDF to Word Converter - No installation needed - PDF2Go
1. Upload your PDF file. 2. Choose Convert if your document does not contain any scanned images. 3. If you need text recognition...
Read more >How do I copy tables from a PDF to a Word document? - Quora
Open the PDF you want to copy in Adobe Acrobat. · Go to the "Basic" toolbar, click the "Select Text" drop-down arrow and...
Read more >3 Ways to Copy Table from PDF to Word (without Losing Format)
#1 Open PDF with the PDF reader · #2 Select the table, copy and paste to a Word document · #3 Adjust the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@saeedbaba, Can you please share the PDF file generated from Excel workbook, so that we can test the conversion in our environment.
My name is Nayyer and I am developer evangelist at Aspose.
Please use Aspose.PDF for Java 22.4 for PDF to Word Conversion as we have improved this feature lately. Furthermore, please create a post in our official support forum in case you notice any issues. We will further proceed to assist you accordingly.