Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-12-2018, 08:51 PM   #1
Denwayz
Member
Denwayz began at the beginning.
 
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?
Denwayz is offline   Reply With Quote
Advert
Old 04-12-2018, 09:48 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 32,705
Karma: 9906392
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
kovidgoyal is offline   Reply With Quote
Old 04-18-2018, 08:00 PM   #3
Denwayz
Member
Denwayz began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
Quote:
Originally Posted by kovidgoyal View Post
If you mean background color it is kept automatically. See the sample docx conversion: https://manual.calibre-ebook.com/con...word-documents
Take a look at the attached screenshots. In the first (MsW) cells are shaded, and in the second (Calibre converted) they are unshaded.
Attached Thumbnails
Click image for larger version

Name:	MsW_ShadedCells.JPG
Views:	21
Size:	29.7 KB
ID:	163557   Click image for larger version

Name:	CalibreConverted-CellsUnshaded.JPG
Views:	23
Size:	28.3 KB
ID:	163558  
Denwayz is offline   Reply With Quote
Old 04-18-2018, 08:17 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 32,705
Karma: 9906392
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Then presumably you are using something other than background color to achieve that shading.
kovidgoyal is offline   Reply With Quote
Old 04-18-2018, 10:39 PM   #5
Denwayz
Member
Denwayz began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
Quote:
Originally Posted by kovidgoyal View Post
Then presumably you are using something other than background color to achieve that shading.
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?
Denwayz is offline   Reply With Quote
Old 04-18-2018, 11:31 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 32,705
Karma: 9906392
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Because there is no equivalent to shading in CSS.
kovidgoyal is offline   Reply With Quote
Old 04-18-2018, 11:36 PM   #7
Denwayz
Member
Denwayz began at the beginning.
 
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?
Denwayz is offline   Reply With Quote
Old 04-19-2018, 12:41 AM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 32,705
Karma: 9906392
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.
kovidgoyal is offline   Reply With Quote
Old 04-19-2018, 07:33 PM   #9
Denwayz
Member
Denwayz began at the beginning.
 
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.
Denwayz is offline   Reply With Quote
Old 04-19-2018, 07:39 PM   #10
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 10,246
Karma: 60822319
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Glo HD, Touch, Tolino EPOS
Quote:
Originally Posted by Denwayz View Post
I see that there manual mentions a demo file, but where is it to be found? There is no link from there.
See https://manual.calibre-ebook.com/conversion.html

The demo is at https://calibre-ebook.com/downloads/demos/demo.docx
PeterT is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 08:11 PM.


MobileRead.com is a privately owned, operated and funded community.