Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOM element interface to avoid a big switch on tag name #43

Open
p0nce opened this issue Feb 19, 2022 · 0 comments
Open

DOM element interface to avoid a big switch on tag name #43

p0nce opened this issue Feb 19, 2022 · 0 comments

Comments

@p0nce
Copy link
Collaborator

p0nce commented Feb 19, 2022

Remove the many, many virtual functions of IFlowDocument with a DOM interface IDOMElement that abstracts the DOM API (the problem is with things like <img src="path.png" />, must query the tag inside FlowDocument. This is a breaking API change unless we also keep the tag callback (this allows direct Markdown to PDF generation... so not sure).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant