public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Proposed improvement to treat more images in docx
@ 2021-04-28 15:20 Milan Bracke
       [not found] ` <f3fcee77-b7ea-4fe9-88ca-c4b22bab9d8an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Milan Bracke @ 2021-04-28 15:20 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 965 bytes --]

Hi,

Currently, when parsing a docx, a v:imagedata tag inside a 
w:r/w:object/v:shape
is ignored. But it could be treated the same as a v:imagedata inside a
w:r/w:pict, both represent images linked by the r:id attribute.

In fact, we now use a pre-processing to transform a
w:r/w:object/v:shape/v:imagedata to a w:r/w:pict/v:imagedata before 
transforming
with Pandoc and we have tested this on many documents.

So we would like to implement an improvement to treat both the same. Do you 
have
any objections or feedback? We'll make a pull request soon.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f3fcee77-b7ea-4fe9-88ca-c4b22bab9d8an%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1280 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Proposed improvement to treat more images in docx
       [not found] ` <f3fcee77-b7ea-4fe9-88ca-c4b22bab9d8an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-04-28 20:21   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2021-04-28 20:21 UTC (permalink / raw)
  To: Milan Bracke, pandoc-discuss


I can't think of any objections!

Milan Bracke <milan.bracke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hi,
>
> Currently, when parsing a docx, a v:imagedata tag inside a 
> w:r/w:object/v:shape
> is ignored. But it could be treated the same as a v:imagedata inside a
> w:r/w:pict, both represent images linked by the r:id attribute.
>
> In fact, we now use a pre-processing to transform a
> w:r/w:object/v:shape/v:imagedata to a w:r/w:pict/v:imagedata before 
> transforming
> with Pandoc and we have tested this on many documents.
>
> So we would like to implement an improvement to treat both the same. Do you 
> have
> any objections or feedback? We'll make a pull request soon.
>
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f3fcee77-b7ea-4fe9-88ca-c4b22bab9d8an%40googlegroups.com.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-28 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28 15:20 Proposed improvement to treat more images in docx Milan Bracke
     [not found] ` <f3fcee77-b7ea-4fe9-88ca-c4b22bab9d8an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-04-28 20:21   ` John MacFarlane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).