From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28237 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Milan Bracke Newsgroups: gmane.text.pandoc Subject: Proposed improvement to treat more images in docx Date: Wed, 28 Apr 2021 08:20:49 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_610_1672040847.1619623249311" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4877"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDM4NA6G6UGRBUX2UWCAMGQEFJNSUFI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Apr 28 17:20:55 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f190.google.com ([209.85.167.190]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lblzh-00016Z-Ev for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 28 Apr 2021 17:20:53 +0200 Original-Received: by mail-oi1-f190.google.com with SMTP id n63-20020acaef420000b02901027a455040sf25425267oih.23 for ; Wed, 28 Apr 2021 08:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=qIU9qq7XnOajjQ0j8TacoCFiIvSEw2QBUuNrWq8pmCg=; b=hpsExnlOhPG8vLQFv5o1/lWzEjeGOJx7v39a0qGhSIxXBksTdObKOaHwLc1PzxpzdV USvP3D5QapVGu7lNZFtoxURJzvQbuZl6QuLt6tmbNt0AMfiOcI2rVkKE6kAlz9fHRWAM yLgf0onI0auAJvDamVuqhX7g8DNJ4IPV652qTII8fsZDV0TV1SC48bhl8lz10y+l4aB7 YbpZBp01Ff73st+fAk0H4NUjHKm/dG8IkgCnooDXNIL9zsaY/4/4bEZn2qJFCQfadKNR KLycvKIej2tON/NBXy58lDzpGQwapUqZnqO4PkunxVGsJycFwOn40+oPlnpcdOnXQKTY o4ag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=qIU9qq7XnOajjQ0j8TacoCFiIvSEw2QBUuNrWq8pmCg=; b=nawkexpmFjI7rg3H/nOE3tc7C0jbLdg2h1jm5w2AcJrHnbZo7TLA3puBCwxVOH07K6 mYGDK7kHQv05rr57V+lRP48ziyToGmNWPpFdJJCb1o2zDL/Z6REcbDl1Z8QM0ZRtrqmw fwX161W1YLSq+4nu8SizfEDo888ztyWuSOnNUEqo/bo7BZHYyfFE19n4Sll39O04xJMM 9gA1dxtO8h5NMToYNskNp78alFS4qRoXbJIsKcalv7fuv3X9fyc9CIary3089V0tTpk6 ImMPqBgcWlXZEwRYOFN9ZCDvKXAFzT+LhX1GHrAaQULXQorziiqgYasDHEpQOyb8XuDB TBjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=qIU9qq7XnOajjQ0j8TacoCFiIvSEw2QBUuNrWq8pmCg=; b=kiw2j+ZtguoRiqfWp7/elDLyB4gtskCgZKtcr3R0JlKCNyknmWxB8fSOmzGCrhuvCe ShN1VEYLRdqOs4DpGOYsK0Vbjt5YgYPSttxrtMA99huJWkuKYs1oXpszb19/up0Ygvj6 PzVMJmHVdaoaUeXieHNPlGscHTK82wobn0Fo47FUEffbz46NsrIvNRCyPGlx//ttr9ew KvO0AMt7iy5ERpHgjqY6HMvVBzJSE80zFzhJGjLUJ7snTIimAlhlyPJFeQOmazJxayJ6 rlfMVtKMGKV1EWrOriHDDCRwQcrzDgScvF225baIFcIGRvPlTJDSB6zEBDqwiEfxy/lu nTFw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530P7dPI+mcpXhBvUHD5gcidifKinozZ+ITO/8CTLcGWzNUGayS0 Pk1gtmolS9gCOY7IUdcMU6k= X-Google-Smtp-Source: ABdhPJzyznaKNfcOWL0smLw7bfkXemNbXQN2KX/Kij+hfpcdl1jeIznWXOZ2IhkNUqkwnrgIQVfSZg== X-Received: by 2002:a4a:2c58:: with SMTP id o85mr7734801ooo.46.1619623251815; Wed, 28 Apr 2021 08:20:51 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:3488:: with SMTP id c8ls24721otu.10.gmail; Wed, 28 Apr 2021 08:20:50 -0700 (PDT) X-Received: by 2002:a05:6830:2456:: with SMTP id x22mr24160070otr.262.1619623250173; Wed, 28 Apr 2021 08:20:50 -0700 (PDT) X-Original-Sender: milan.bracke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:28237 Archived-At: ------=_Part_610_1672040847.1619623249311 Content-Type: multipart/alternative; boundary="----=_Part_611_9468103.1619623249311" ------=_Part_611_9468103.1619623249311 Content-Type: text/plain; charset="UTF-8" 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. ------=_Part_611_9468103.1619623249311 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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:imag= edata inside a
w:r/w:pict, both represent images linked by the r:id attr= ibute.

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<= br>with Pandoc and we have tested this on many documents.

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

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@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.
------=_Part_611_9468103.1619623249311-- ------=_Part_610_1672040847.1619623249311--