Fixing row height when printing and printing teacher timetable

Started by sasbland, August 17, 2021, 11:28:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sasbland

Hi,

I really appreciate your work on the program and on answering questions. Could I ask 2 more questions.

1. I printed the coloured timetable (days horizontal) directly from the interface, and the row height is different. Is there a way to fix the row height of each period so it's quicker to compare one timetable to another by quickly looking at the size of the coloured cell? I attached the picture here.

2. Can I print the teacher's timetable directly from the interface as it is in colour? If I look in the html file in the results folder, it's not coloured in.

Many thanks.

Liviu Lalescu

Hello,

Thank you!

1. It is not done. It could be done as a special customization.

2. Please try the HTML level 7 from settings (but I see you already did this, in your first screenshot?)

sasbland

Thanks. I'm not sure about html 7. Will have a look. Where do I set it?

Could you tell me how to customise in case 1 please if it's not too complicated?

Thanks.

Liviu Lalescu

Settings->HTML level->choose 7 (colors) (then generate again, so that the new timetable level is available).

About a customization, I meant I could do it for you, because it is very complicated if you don't know the code.

sasbland

Thanks. I have changed to HTML 7 now (it was on 2 before). Now I can see the colour in the html file under results folder. However, if I want to print them out (either to pdf or to a printer), it shows as black and white as attached. Did I do something wrong?

For changing the row and column size, is it possible if you could send me an example of a file and tell me where to change if it's not a lot. I haven't got my final version of the timetable yet as I need to send it back and fro to management for consideration. It would be nice if they can see the 'easy to read' version.

Many thanks.

Liviu Lalescu

Unfortunately, printing only does the equivalent of HTML level 3.

About changing the row and column size, as I told you, I think I would need to try to modify and compile myself. But if you want, it is in the file src/interface/timetableviewteachersdayshorizontalform.cpp, maybe lines 176, 179, and 181. I cannot tell you exactly what to put instead, because I need to see how it looks and try some code. Also, you must choose how to show the rows: a predefined value, or the largest value from all the rows.

sasbland