Comments (4)
Hello Pete,
I really thank you for your troubleshooting.
I'm using Word in French and for me, the style "Intense Quote" = "Citation intense".
So I don't rely on the localized name of the style. Instead, you can rely on the StyleId which doesn't vary. This is why you can see "IntenseQuote" without spacing.
from html2openxml.
I see. I did some additional testing and once the style was defined in the document (instead of the local template), then it was available to use with the "IntenseQuote" name. This means that someone creating a document will need to adjust the style (in my original test, I renamed it) so that it is stored in the document and can be looked up by the StyleId. I'm curious what you think about the latest changes where I am checking for the style before BeginTag call.
from html2openxml.
Well after the discussion of yesterday, I've reviewed all my code to automatically insert the missing style.
Some style name referenced in the code are also not accurate because it use the display name (footnote and endnote).
I will commit soon a fix but I'm still running some tests to avoid regression.
Anyways, I'm grateful for your feedback and to have spot that.
from html2openxml.
This fix looks good, thanks!
from html2openxml.
Related Issues (20)
- Any plan to support OfficeMath ? HOT 1
- I have specified the paragraph color as black in template.docx, but the paragraph generated by H1 tag is still blue. Is there any way to set the color? HOT 1
- ParseHtml does not produce output of any visible kind
- TableGrid style is not working HOT 1
- Exception in code HtmlConverter.ProcessTag.cs:line 281 HOT 2
- Invalid document when html contains images and existing headers/footers contain images
- In-document Links with HTML anchor tag HOT 2
- ImagePrefetcher doesn't actually cache the images HOT 1
- Table CSS issue
- Regex matching Heading numbering incorrect
- HTML table isn't being displayed correctly HOT 2
- Stack empty exception when trying ApplyNumberingToHeadingParagraph
- Non integer font sizes specified with <FONT size= HOT 1
- Border width for tables is faulty
- Compatibilities Issues with .Net 7.0 HOT 3
- HtmlDocumentStyle changes how styles are loaded HOT 1
- The specified argument is not a child of this element HOT 1
- JavaScript Version? HOT 1
- Not compatible with OpenXML 3.01 HOT 4
- Could not load file or assembly 'HtmlToOpenXml, Version=2.4.0.0, Culture=neutral, PublicKeyToken=6ad79d83e2b60e63' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.