04-12-2018, 08:51 PM | #1 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
|
Shading in cells in tables - MS Word to epub
MS Word allows for shading in the cells of tables, but this disappears on Calibre conversion. Is there a way to keep them without turning the table into an image?
|
04-12-2018, 09:48 PM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you mean background color it is kept automatically. See the sample docx conversion: https://manual.calibre-ebook.com/con...word-documents
|
Advert | |
|
04-18-2018, 08:00 PM | #3 | |
Member
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
|
Quote:
|
|
04-18-2018, 08:17 PM | #4 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Then presumably you are using something other than background color to achieve that shading.
|
04-18-2018, 10:39 PM | #5 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
|
As shown in the example, this is controlled by MsWord Borders & Shading for cells in a table. In this case, the shading was set at 10%. Since Calibre picks up the border setting(s), why not the shading?
|
Advert | |
|
04-18-2018, 11:31 PM | #6 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Because there is no equivalent to shading in CSS.
|
04-18-2018, 11:36 PM | #7 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
|
I assume then that the only alternative is to print the MsWord table, photograph it, and insert the image into the MsWord text in place of the table. Yes?
|
04-19-2018, 12:41 AM | #8 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Or just use a background color instead like in the sample docx file I linked to.
|
04-19-2018, 07:33 PM | #9 |
Member
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
|
I see that there manual mentions a demo file, but where is it to be found? There is no link from there.
I very much doubt that background color will allow for scaling (text that fades into and out of view depending on the weight/percent) unless perhaps it is tweaked in html. If you mean MsWord's text highlight color, it won't fill the entire cell AFAIK, but there may be a way. |
04-19-2018, 07:39 PM | #10 | |
Grand Sorcerer
Posts: 12,170
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Quote:
The demo is at https://calibre-ebook.com/downloads/demos/demo.docx |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Column Width changes in Tables in Word Processor Documents | Bob-El | Conversion | 0 | 02-18-2012 12:14 PM |
Shading of Author Icons? | zed88 | Calibre | 3 | 04-29-2011 11:44 PM |
Converting Word Doc with Tables to Epub? | dhume01 | ePub | 8 | 12-28-2010 08:02 PM |
Q: Tables, images, and word-wrap | AndrewH | Workshop | 2 | 12-22-2010 02:34 AM |
Sheet To Go -- Word Wrap in Cells? | kenjennings | enTourage Archive | 0 | 05-06-2010 10:34 AM |