• 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

jasper report indent on paragraph problem

 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
in my application i can save any paragraph using JTextPane, ill press a tab in every paragraph i type, when i save it to the database, and retrieve it, the indent is there, the paragraph is the same as i have save it. now when i call that paragraph into my report(which I'm using is iReport 3.7), the indents are gone.

any help would be much appreciated.

bhadz
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving thread to a more appropriate location. Not quite sure where: let's try databases, in case the database doesn't store \t characters.

By the way: there is a difference between indented text and the \t character.
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What kind of format is the report - PDF? HTML? Something else? Tab formatting doesn't generally work in HTML, and it works in PDFs only if you're carefully controlling paragraph endings and fonts.
 
Roldan Baldo
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
none, i just use JasperPrint then view it in a JRViewer. if i save it to .docx the tabs are shown, but in pdf, the tabs are not shown,
my problem their is in the JRViewer, in my application, because it didnt show the tabs there.
 
Your mind is under my control .... your will is now mine .... read this tiny ad
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic