Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Reference to list of all internal styles

  1. #1

    Default Reference to list of all internal styles

    Where can we find the list of all the internal styles defined for a report. Is there a CSS which can be solid reference while creating external styles.

    I do see some good details at http://diethardsteiner.blogspot.in/2...-designer.html. But this seem to be pretty old blog. Wish to have similar info on latest PRD version and wish such details are from Official Pentaho Report Designer documentation
    Last edited by nagendra.raja; 04-18-2017 at 01:25 PM.

  2. #2
    Join Date
    Mar 2003
    Posts
    8,085

    Default

    PRD does not have internal styles sheets, we are primitive compared to browsers. For any particular Element instance, you can use Element#getDefaultStyleSheet() to get the built-in defaults.

    That should give you the following instances:

    org.pentaho.reporting.engine.classic.core.style.ReportDefaultStyle for master-report and all subreports
    org.pentaho.reporting.engine.classic.core.style.ReportSectionDefaultStyle for instances of Section that are not RootLevelBand or Band
    org.pentaho.reporting.engine.classic.core.style.RootElementDefaultStyle for instances of RootLevelBand
    org.pentaho.reporting.engine.classic.core.style.BandDefaultStyle for Band instance,
    org.pentaho.reporting.engine.classic.core.style.ElementDefaultStyle for everything else.


    They should all be read-only, btw. Dont mess with them or the bark Exceptions at you.
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.