How to change TableViewer header's font and Style - swt

I'm using Viewer Framework in my Eclipse RCP application, i would like to show table header a little large compared to table rows,when i set font to the table, it's applied to the entire table,i would like to show table header unique and highlighted with a separate Font and color that's different from table rows.
I used viewer.getTable().setFont(); to set Font but it sets font to whole table(including headers)
Is there a way to do this?

Unfortunately, this is currently not supported.

Related

How to auto adjust content control width to table column width in word using office js APIs?

I have custom word add-in, which inserts content control with numbers and currency symbols as text into word document at the cursor position.
Requirement is if content control is getting added inside a table, as a table cell, then width of content control should match with table column width.
Current behavior:
current behavior
Expected behavior:
expected behavior
Questions:
Is there any office JS API or out of the box Word feature to auto adjust content control width to match with table column width?
If not, is there any way to calculate width of both content control and table column programmatically and get number of spaces to be added? This algorithm should be generic so that it would work for all font families and font sizes.
Thanks for reporting the issue. It's definitely not right behavior and it has been put on our backlog 6336725. We will let you know when there is update. Thanks!

How can I use Footnotes with Oracle BI Publisher

I am putting a footnote in an .rtf template, and before generating a report it seems ok,
but when I load an XML sample and preview the document (.pdf or .doc etc.)
the footnote content goes right into the body of my report (example is in the picture).
I've tried using text boxes, but it doesn't help.
I've also tried just making a paragraph look as a footnote, but since I have a lot of
tags in my template, the footnote-looking text doesn't stay at the
bottom of the page.
and I can't use footers/headers because I need only one footnote at one page.
Try to draw a borderless table with one column and two rows where the first row has fixed hight (exactly) of the size of body, and the second row fixed hight of the size you want to reserve for the footer. Then you place your xml data in those two rows of the table the same way as you put it on the page. I use that for different forms when the position of the data is fixed. There are also other table/row/column properties that you might want to use.

SAPUI5 add icon after column header text

I have a custom table with several columns. Each column has a header text (e.g. name or age). By clicking the header text, the column gets sorted. I want to add a sap icon (sort-ascending / sort-descending) after the header text as soon as it is clicked.
This should symbolize how the column is sorted. I cant use the standard sort icons. How can I do that for my custom table? How to add a style class for this case maybe?
If you are using the Grid table by default will show the sorting icon.

Jface Table row validation

Background:
I have a Jface table on which I have set Editing support with text cell editor for each column. There are around 20 columns.
Problem:
I want to highlight invalid row field text with dark red color and whole row with light red color.
What I tried as of now:
1. I have highlighted invalid field(single cell of row) using label providers getBackgroundColor() and getForgroundColor().
2. I tried CellEditors setValidator() method to add a validator, but I don't want to clear invalid text from a cell, I just want to highlight it.
3. I have one approach to use a flag for each cell to check the validity of that cell if any of the flags is true will highlight all cells of that row(can be achieved using label providers). But, I think this approach will impact performance for my table.
4. I am not sure performance impact of table updatatestrategy of Jface. So I am not using it.
Reason of highlighting the whole row of the table is: Table have 20+ columns and user don't want to scroll the table to find out problem location.
Please suggest if you know any better solutions.
Using label providers to for the colors is the way to do this.
The label provider is only asked for the color when the row is created or refreshed - by calling one of the viewer refresh or update methods, so this should not impact performance.

How to change the default width of the record selection field on the TYPO3 BE

When selecting a record for a FCE, CE, plugin or anything else in TYPO3, there is a somewhat narrow text area that lists your records once you have selected them from the popup. That text area is too small for the length of the names of my records.
How do I globally set the width of this field, so that for all BE users, it's a custom width that is much wider?
There is not option to set the width of an input field of all modules and extensions globally. The reason is that every field is identified by it extension name.