Please can i have a good answer for my question :
I need to generate a docx file with editable graphs
I wanna know if i can use xlsx4j to generate charts then, i'll put them in docx using (OLE objects) ?
Thanks for advance.
You don't need to create an XLSX (or use xlsx4j).
Instead, just create the chart part, as explained at http://www.docx4java.org/forums/docx-java-f6/generate-complex-word-document-t2542.html#p8742
Please don't cross post.
Related
I would like to generate multiple pdfs at once. Those pdfs should pull data from a database. It can be an excel table or a relational database, doesn't matter, I can create whatever.
Using excel and javascript in adobe acrobat pro I managed to pull data into a template pdf, but for every record (row) I have in excel table I have to manually generate one pdf, then another, and so on.. and there are a lot of records, so I would like to do that automatically if possible.
Is there a way to do that? Any suggestions?
I added an image to better explain it...
Look into the Acrobat SDK, Section: "Interapplication Communication" to learn how you can control Acrobat via VB/VBA and how you can work with the JavaScript Object (JSO).
Then have a look into the "Acrobat JavaScript Scripting reference" and look at
the Doc Object with commands like .. addField and at
the Field object to set the properties of the fields.
That should do what you want, Reinhard
PS: With Open Office you can save spreadsheets as PDF and with newer version of Excel too. Wouldn't that be already enough or perhaps a mix of above and this.
Full disclosure: I founded and run Epsillion Software.
mirta, one option is Epsillion Publisher. We built it for your exact use case.
You would need to specify what your template should look like. The Epsillion team will design it for you.
You then specify what your variables are in a Word document (e.g., name, last name, date of birth). The software will process the Word and Excel files and return PDFs for you.
Templates are flexible and flow as needed.
Hope that helps. Good luck!
I need to create Excel Sheet report in nodejs, along with some pie/bar charts. The Packages like https://github.com/SheetJS/js-xlsx and https://github.com/guyonroche/exceljs doesn't provide the facility to create charts.
Can anyone suggest any methodor existing package so that pie/bar charts can be included in xlsx report in Nodejs?
I have the same problem and I am looking for the solution as well.
I have found https://www.npmjs.com/package/xlsx-chart but I don't know yet how to integrate data along with the chart because the plugin generate separate sheet for data and table.
Using https://www.npmjs.com/package/quiche you will get an URL with the image. I´ve tryed to integrated it in exceljs or to save it like an image but seems impossible
You can generate a Google Chart image and insert it in your report. There is https://github.com/ryanrolds/quiche for that.
It will call Google API to generate your image and return the URL. I believe it's not hard to integrate an image from URL into the xls.
You can use an npm lib called office-chart.
https://www.npmjs.com/package/office-chart/v/1.0.26
It will allow you to create xlsx charts in mulisheets and also create pptx with charts.
I'm using Export plugin for Grails(http://www.grails.org/plugin/export) to generate excel sheets. Now I need to create multiple sheets in the same Excel document and if possible, name those individual sheets. Searching around in internet, couldn't find any solution to this problem. Can someone please help on this?
thanks
There looks to be no way of doing this currently with that plugin.
Your best bet would be to add it as a feature request on the JIRA for that module -- or better yet -- take the module, add that functionality and submit a patch to the JIRA.
Or you're going to have to look for another way of exporting XLS data.
I am looking for a way to add some meta-infromation to PowerPoint files. Specifically, I want to add annotation to bullets and slides.
Are there any XML attributes which can be added to the elements (of the slideX.xml file) without invalidating it? In other words, where can I find the schema/DTD of the slideX.xml files?
"Best Practice" is to download the Open XML SDK 2.0 and use the tool DocumentReflector
Create the document you would like to have and then load that pptx into the DocumentReflector and check how to generate that code....
http://blogs.msdn.com/ericwhite/archive/2008/09/06/announcing-the-first-ctp-of-open-xml-sdk-v2.aspx
Annotations to slide is that Notes on the slide?!?! Then you need to create a NotesSlide
http://msdn.microsoft.com/en-us/library/documentformat.openxml.presentation.notesslide(office.14).aspx
Yeah, you can use ExtLst and Ext which is basically adding your own extension to PresentationML, to "tag" just about anything at all in SlideX.xml. You can read more about it here.
We are interested in trying to import an Excel spreadsheet into our Blog.
A sample of the Excel spreadsheet that we generate each day and want to export into our Blog is located at:
http://www.wallstreetsignals.com/WhatsWorking.html
Our Blog is located at:
http://whatsworkinginthestockmarket.blogspot.com/
We are interested in a program or method that would allow us to just import the Excel spreadsheet into our Blog instead of having to hand input all the data, which is what we are doing now.
Thank you for your thoughts and the cost to have you help accomplish our goal.
Philip
WallStreetSignals.com
Well, outside of creating a program (which is possible, using PHP, Perl, Java, etc and either an excel input module or converting to CSV or XML and processing that)...
Have you considered using Google Documents or another online spreadsheet software? It's easy to import an excel spreadsheet, and then embed the spreadsheet in the blog post or webpage. Then if you need to change it, modify the google document spreadsheet and the changes are rendered on the webpage or blog post immediately.
-Adam
The easiest thing might be to use Google Docs. Upload your spreadsheet, then publish from Google Docs to your blog. See this article.
Can your blog consume XML? You can set up an XML Schema in Excel 2007 and just export it to an XML file. You would need to write an XSLT.
I also have a macro that will write out XML to a file... can upload that if it would help...
If your spreadsheet is generated by a macro, you could just modify a macro to generate html or some other sort of blog markup ready for copy and paste.
Excel can save as HTML, which you could then strip the metadata from and use in your website. Unfortunately the HTML that it generates is very bloated. If you do not mind client lock-in, you could consider embedding the XLS file directly on your website, and having your viewers use the IE embedded excel viewer.
If you can use ASP.NET you could use SpreadsheetGear for .NET to load an Excel workbook, grab values, formatted values or even images to display on a web page. There are live ASP.NET samples with source if you want to check it out.
Disclaimer: I work for SpreadsheetGear LLC