How to set table class using style maps?
See original GitHub issueHello,
<w:tbl>
<w:tblPr>
<w:tblStyle w:val="tableone"/>
<w:tblW w:w="0" w:type="auto"/>
<w:tblLook w:val="04A0" w:firstRow="1" w:lastRow="0" w:firstColumn="1"
w:lastColumn="0" w:noHBand="0" w:noVBand="1"/>
</w:tblPr>
<w:tblGrid>
With the above document excerpt, I am trying to set a class on the table styled with tableone style name.
I am using the following style_map but the output is not giving me the desired result, which should be
<table class="mytableone"></table>
as specified in below style map settings:
style_map = """
tbl[style-name='tableone'] => table.mytableone:fresh
table[style-name='tableone'] => table.mytableone:fresh
"""
None of the above produces the needed output.
What is the best way to set table classes using Mammonth’s style map settings?
Thanks for your reply.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
How to use tables to format your map content - Mapme
For example, you can style your table with borders and colors. There are 2 steps to create the tables. Add the table CSS...
Read more >How to add a CSS table next to my google map?
I'm a CSS newbie and I need to learn how to use it right. I have a google map centered on the page...
Read more >04. Styling
For each cell in the table, a style name can be set. A theme is a collection of styles that can easily be...
Read more >QGIS Map Tips Table, style every other row
I simply want to style every other row in a table I've generated using map tips with a different coloured background. I've got...
Read more >How to switch CSS class between buttons rendered with map()?
How to switch CSS class between buttons rendered with map()? ... Step 1: Create a React application using the following command:
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
There’s no reason not to add it, but I have no idea when I’d have time to do so.
@bitscompagnie @mwilliamson , Not sure if its working for me. Can you help me understand now to test it. I was trying something like below code.
table[style-name=‘body-st’] => div.body-st > table:fresh