Changing the color of value in cell based on condition in Datatables PDF - datatables

I have a datatables table that displays student marks. When I open the table it perfectly shows the marks, if the the mark is less than 50% the mark is red in color.
However when I do the print PDF, the PDF does not change the color. Yet i want the marks to be red if they are less than 50%.
I want the marks in the PDF to be red if it is less than 50%
How do I go about adding those conditions specifically for PDF in Datatables

Related

Altair tooltips: Is there a way to format box shape for long text?

I have a chart where I want to display text tooltips of variable lengths as long as 300 characters, but they are displayed with random box sizes. Sometimes they are shown in a neat square box with several lines of text, which is nice. But sometimes they attempt to put all the text in one line and it doesn't fit in the chart, so some part of the text is not visible.
I wonder if there is a way to format the tooltip box to a fixed maximum width to avoid this problem.
Below are two pictures showing the same chart. The first one shows a tooltip box out of the chart and page, so the complete text is not visible. The second one shows another tooltip that randomly shows the text fine.
Note: I tried cutting the text to a fixed length of 50 or 80 characters and it's better, but I would prefer to have the complete text.

Replace a blank before a table page break Word VBA

I uncheck "Allow row to break across pages" for a table's properties So, the table is shown on a new page to ensure that all the content is on one page, this works fine. But Word generates a blank space before the page break, I need to replace it with some text for a legal reason. I can't use a watermark or shapes because un Oracle BI Publisher only prints it on PDF and I need to export it to a docx.
The data is dynamic, so sometimes the text before the table and the text inside the table may change.
Current Version https://imgur.com/a/FTx0q
I need some like this https://imgur.com/a/ySitL
MS Office support told me that it can't be done with Word...
Maybe with VBA code?
Update
Thanks Cindy for your help.
I have a table into another table many paragraphs, checkbox etc and they are fitting on a new page. It's working.
I understand there isn't a page break.
It's Paragraph mark.
But what I need to do is insert a kind of mark, a text like XXXX,-----------, Instead of leaving "free space",
It's a requirement not change the font size or another text format.
For a legal requirement, some paragraph must fit on a new page and "blank spaces" replaced by a kind of mark.
I can't hard code it because in several cases not all the paragraphs or section in a page will be shown and I don't know by default when a new page is needed.
I am available to use macros or anything.
What you could do is insert a page-size table into a textbox in the page header and format the body text with a white background. The table will thus be hidden behind any text on the page, but not otherwise (provided you don't pad unused space with empty paragraphs, etc.).

Excel userform label different color text

I am creating a userform in Excel, I have a Label with a large amount of text in. I need to have certain words in Bold and in Red color and the rest in standard black.
I can change the whole text color in the properties but not just certain words.
Is this possible and if so how would I do it?
Select certain word and fill with BOLD or make it RED
Also this depends on your Excel Version, I using Excel 2013
I do believe that it isn't possible..
You'll have to create different Labels in order to change only certain parts of your text color.

How to avoid data being cut when presenting a BIRT report as PDF?

After exporting report in PDF format I realized that a few rows were hidden. As you can see in the image:
Notice that the 1st row in the second page is not the next row fetched by the data set, which should actually be 10 January 15 03:00.
Also, there's no Page Break, instead the default layout comes from the Master Page which is US letter.
I've been trying different solutions for this problem and after checking
M Williams and James Jenkins suggestions (among others) I still couldn't find it.
Perhaps Dominique could help? Dom?
The large blank space we can see below this table suggests there is a fixed margin or something like that which prevents all rows to be displayed. What is the value of the "Page break interval" property of the table? By default it is 40, try to decrease it until all rows are displayed in PDF. Otherwise you need to find out which element of the report has a fixed height or margin, This blank space might also be due to a property of the master page such margins and footer size

Using BIRT, how can I ensure that the background colour in a row is the same height in each cell in the row?

I have a BIRT report that I have set up to use conditional formatting so that the colour of the row alternates between grey and white. It works as expected except for the fact that the grey colour in a field with a string extends slightly below where the grey extends in a field with an integer. In other words, if the grey background is 1 inch high with an integer, it is 1.1 inch high with a string. I cannot see any differences in any of the margin or padding settings so I am not sure what would be causing this small issue.
It is easy to be confused with styling, because we can set style properties on rows, cells or data fields within cells.
As you describe this issue, i think you have not applied this conditional formatting on rows, but on cells or data fields.
When a BIRT table is selected in the outline view of Eclipse designer, we need to click on the left to select the whole row, and then define a conditional formatting. Thus, physically we can't have height differences between cells (at least in html format) because the style is applied on a "div" container.