• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Generating .docx files in java

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all!

I'm generating docx files using javadocx. Has anyone used this before? So far the results have been promising although my only complaint is that I cannot format tables the way I want them at all... All I can do is get a very basic table. I want the top row to be bold, certain cells to have a different width/background color, or even just change the font size! If anyone has any tips I'd love to hear them

Dara.

P.S. I have the "free" version of javadocx. Although I would have no problem buying the "pro" version if I knew it could generate tables properly. (I spent hours trawling through the (poorly-documented) api of the pro version with no fruition of my labour)

 
Rancher
Posts: 43081
77
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Seeing that it is a commercial product, what does the customer support say?
 
Dara Javaherian
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:Seeing that it is a commercial product, what does the customer support say?



Yeah, I knew I'd be slaughtered for that :P
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
Dara Javaherian
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:



Oh, sorry I thought you meant something like "don't ask for help on a commercial product"... sorry! I should have said that there is little to no customer support regarding my issue.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No customer support doesn't exactly make one want to purchase the product.

Maybe give Apache POI a try.
 
Dara Javaherian
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:No customer support doesn't exactly make one want to purchase the product.

Maybe give Apache POI a try.



Will that work for building complex tables do you know?
 
Dara Javaherian
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Dara Javaherian wrote:

Ulf Dittmer wrote:No customer support doesn't exactly make one want to purchase the product.

Maybe give Apache POI a try.



Will that work for building complex tables do you know?



Or even, do you know of a good way to generate OpenOffice.org (.odt) files?
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Dara Javaherian wrote:

Ulf Dittmer wrote:



Oh, sorry I thought you meant something like "don't ask for help on a commercial product"... sorry! I should have said that there is little to no customer support regarding my issue.


There's no problem asking help here for a commercial product, but if there is customer support available from the vendor they will be able to help you out a lot better than we are. After all, they're trained to provide the support you'd need. As for your case, if you mention that you'd be willing to upgrade to the pro version they might be wanting to help you out. The company I work at once had problems with an evaluation version of a certain database connector where my company got excellent support, even though we didn't even buy the connector in the end.
 
Dara Javaherian
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rob Spoor wrote:

Dara Javaherian wrote:

Ulf Dittmer wrote:



Oh, sorry I thought you meant something like "don't ask for help on a commercial product"... sorry! I should have said that there is little to no customer support regarding my issue.


There's no problem asking help here for a commercial product, but if there is customer support available from the vendor they will be able to help you out a lot better than we are. After all, they're trained to provide the support you'd need. As for your case, if you mention that you'd be willing to upgrade to the pro version they might be wanting to help you out. The company I work at once had problems with an evaluation version of a certain database connector where my company got excellent support, even though we didn't even buy the connector in the end.



Wow, people are so nice here. Thanks for that, I'll send them on a message. If I get a solution I'll post it here for other people to use.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

do you know of a good way to generate OpenOffice.org (.odt) files?



The https://coderanch.com/how-to/java/AccessingFileFormats page lists a couple of libraries that support ODF.
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Have you tried Aspose.Words for Java to create .DOCX/.DOC files? It is commercial product, but you not only get the complete documentation, but also the customer support through the support and development team. See if this might help you.
 
Dara Javaherian
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Shahzad Latif wrote:Hi,

Have you tried Aspose.Words for Java to create .DOCX/.DOC files? It is commercial product, but you not only get the complete documentation, but also the customer support through the support and development team. See if this might help you.



Wow, that looks so cool. $999 though? I don't think I can afford that.
 
Shahzad Latif
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just so that you know, you may also get discount. Please check out our [ur=http://www.aspose.com/corporate/purchase/policies/discount-policies.aspxl]Discount Policies[/url] and see if you could qualify for one of these discount types. You can also contact our sales team to discuss further. Moreover, you also get a lot of features which are mostly not available in a single component at such price.

Nevertheless, if you think it doesn't suite you at the moment, we would welcome you if you find interest in any of our products in future. :-)
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might also want to try the Free DocxFactory Project.

The project will also be open sourced this year.

Disclosure: I wrote the DocxFactory project.
 
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

If the OP is still needing help (remember it is an old thread), you might do well to see if you can make direct contact because she hasn't posted here since the end of this thread and may not be aware of your product.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic