Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How to format a .ods document

  1. #1
    Junior Member
    Join Date
    Oct 2019
    Posts
    16
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default How to format a .ods document

    Hello to everyone,

    with Java I can create a .ods document using
    org.jopendocument.dom.spreadsheet.SpreadSheet

    but I can't format the contents of the rows and cells because I have to populate it with a DefaultTableModel

    Can someone kindly give me a hand?

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,162
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: How to format a .ods document

    I recommend reading the API doc for that package to see what the interfaces are.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Reading Web XML Document
    By Trolltrain in forum Java Theory & Questions
    Replies: 2
    Last Post: August 12th, 2014, 02:43 PM
  2. Writing to DTD Document
    By DanG1775 in forum Java SE APIs
    Replies: 4
    Last Post: December 12th, 2011, 04:41 PM
  3. Connect to open document format (.ods) spreadsheet
    By Ayla in forum File I/O & Other I/O Streams
    Replies: 0
    Last Post: May 27th, 2011, 04:50 PM
  4. How to set Document Filter
    By nimishalex in forum AWT / Java Swing
    Replies: 0
    Last Post: December 27th, 2010, 03:32 AM
  5. How to read an XML document in Java with DOM Parse?
    By JavaPF in forum File Input/Output Tutorials
    Replies: 0
    Last Post: May 20th, 2008, 07:04 AM