Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Missing pre-defined styles for grid-row, grid-cell, table-row, table-cell(Missing pre-defined styles for grid-row, grid-cell, table-row, table-cell)
Missing pre-defined styles for grid-row, grid-cell, table-row, table-cell [message #884789] Mon, 11 June 2012 16:42 Go to next message
Aleksey   is currently offline Aleksey
Messages: 42
Registered: April 2012
Member
Not having pre-defined styles for grid-row and grid-cell does not allow you to
code common behavior for grids, e.g, specify paddings, margins, colors, etc...


There are pre-defined styles for table object...however, you have to use
table-group-header1, table-group-header2... table-group-headerN/
table-group-footer2. Would be much better if there was an option to specify
predefined style just for table/grid rows and cells regardless of where this
row or cell is placed on. Not that I am saying let's remove
table-group-header1...etc styles.

To summarize it: ideally, we would like to have the following pre-defined
styles:
• table
• table-row
• table-row-cell
• grid
• grid-row
• grid-row-cell

Having the above styles will allow you to implement "library" behavior for
tables and grids w/o actually having table or grid being placed into the
library (as BIRT while allows to put table/grid into a library does not allow
to change its structure - thus having "frozen" structure table/grid in a
library is kind of totally pointless:)
Re: Missing pre-defined styles for grid-row, grid-cell, table-row, table-cell [message #884837 is a reply to message #884789] Mon, 11 June 2012 19:25 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Good points. Can you log an enhancement for this in bugzilla?

BTW as work around you could add a bit of script in the before factory
that applies an existing lib style to all the mentioned components. You
could put this script in a template and use that as your starter report.

Jason

On 6/11/2012 4:42 PM, ivkina Mising name wrote:
> Not having pre-defined styles for grid-row and grid-cell does not allow
> you to
> code common behavior for grids, e.g, specify paddings, margins, colors,
> etc...
>
>
> There are pre-defined styles for table object...however, you have to use
> table-group-header1, table-group-header2... table-group-headerN/
> table-group-footer2. Would be much better if there was an option to specify
> predefined style just for table/grid rows and cells regardless of where
> this
> row or cell is placed on. Not that I am saying let's remove
> table-group-header1...etc styles.
>
> To summarize it: ideally, we would like to have the following pre-defined
> styles:
> • table
> • table-row
> • table-row-cell
> • grid
> • grid-row
> • grid-row-cell
>
> Having the above styles will allow you to implement "library" behavior for
> tables and grids w/o actually having table or grid being placed into the
> library (as BIRT while allows to put table/grid into a library does not
> allow
> to change its structure - thus having "frozen" structure table/grid in a
> library is kind of totally pointless:)
Re: Missing pre-defined styles for grid-row, grid-cell, table-row, table-cell [message #885184 is a reply to message #884837] Tue, 12 June 2012 11:10 Go to previous message
Aleksey   is currently offline Aleksey
Messages: 42
Registered: April 2012
Member
thanks! #382301 has been logged
Previous Topic:Decreasing image quality in PDF-Export
Next Topic:BIRT Preview Report
Goto Forum:
  


Current Time: Wed Jul 30 09:28:35 EDT 2014

Powered by FUDForum. Page generated in 0.03424 seconds