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

Enhancement request - Links for Images #312

Open
Gary-Delancy opened this issue Apr 24, 2023 · 1 comment
Open

Enhancement request - Links for Images #312

Gary-Delancy opened this issue Apr 24, 2023 · 1 comment

Comments

@Gary-Delancy
Copy link

Word allows for links to be added to image objects. I would like to be able to do that, perhaps just an optional property for the IMAGE command?

@jjhbw
Copy link
Collaborator

jjhbw commented Apr 25, 2023

That should be possible, I think. This is the function tasked with injecting images into the resulting XML tree

const processImage = (ctx: Context, imagePars: ImagePars) => {

I'm not sure what part of the DrawingML spec deals with this though http://officeopenxml.com/drwOverview.php

Happy to merge your contribution if you can get this to work.

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

2 participants