Jump to content
  • Support for additional (paragraph) styles (style tags)

    Assigned User teodord
    CategoryFeature request

    Swing supports various document styling capabilities (within text fields). It would be nice if the styled document fields within this program could be more accurately represented in JasperReport reports.


    Most of the Swing character styling is currently available (e.g., fonts, font sizes and colors, bold, italic, underline, etc.; only component and icon attribute are missing and component doesn't make much since for reports).


    However, none of the Swing paragraph styling functionality is currently supported, i.e.,

    - paragraph alignment (center, justified, left, right)

    - paragraph spacing (first, left and right indent; space above and below; line spacing)

    - tab settings (left, right, decimal)


    Support for these paragraph styling would also be useful.

    User Feedback

    Recommended Comments

    Oops! Forgive misspellings, etc. (not paying attention today):


    1st paragraph: "with programs" for "within this program"

    2nd paragraph: "sense" for "since"

    4th paragraph: "stylings" for "styling"

    Link to comment
    Share on other sites



    We have added new possible values for line spacing such as: AtLeast, Exact and Proportional, along with firstLineIndent, leftIndent, rightIndent, spacingBefore and spacingAfter, in the newly introduced tag available for text elements and report style definitions.

    The paragraph styling also includes support for tabs stops.


    Check the new /demo/samples/paragraphs sample in JR 4.0.2. Note that paragraph styling is not yet supported in styled text, but this is scheduled for an upcoming release.


    Thank you,


    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • Create New...