PHP Classes

Tables forced to 100% and text color removed?

Recommend this page to a friend!

      PHP Parse DOCX to HTML with Images  >  All threads  >  Tables forced to 100% and text color...  >  (Un) Subscribe thread alerts  
Subject:Tables forced to 100% and text color...
Summary:Tables forced to 100% and text color removed?
Messages:2
Author:Greg
Date:2023-09-10 21:38:28
 

  1. Tables forced to 100% and text color...   Reply   Report abuse  
Picture of Greg Greg - 2023-09-10 21:38:28
Hiya, me again!

LOVE all the updates your doing to this its amazing!!

Is there any chance there could be an option to change all table widths to 100% and also remove any black or white color, as I have a dark or light theme and people who copy over from word in light mode and have the text selected as black cant be seen in dark mode?

Just intrested if this would be possible and I would learn a lot from seeing how you would do this within the code?

Thanks so much and please keep this amazing bit of working going :)


  2. Re: Tables forced to 100% and text color...   Reply   Report abuse  
Picture of Timothy Edwards Timothy Edwards - 2023-09-11 08:16:24 - In reply to message 1 from Greg
Thanks for your kind comments. Glad that you like all the improvements. My aim is to make this class as comprehensive as possible.

I have already provided an option to make all the tables 100% width of the screen - It is Option 2 as noted in the Readme file.
I.e. use the following in the calling script.
$text = $rt->readDocument('FILENAME','NY');

Not quite sure what you mean by your other comment.

Do you mean that you want an option for all text to be black and the background white?

Or do you want it to be selectable to have either black print with a white background or white print with a black background?

Note that I have now put my email address in the Readme file if you want to contact me directly to discuss or send me example word documents