vml

IE9, IE8, SVG, VML and doctypes

杀马特。学长 韩版系。学妹 提交于 2021-02-07 06:29:27
问题 I'm working on drawing shapes in my ASP.NET web app. In IE9 and other browsers, I'm doing it with SVG, and it's working great. In IE8 and below, I'm using VML. I'm finding that IE8 does not display the VML at all when it's in IE8 Standards mode (not using compatibility view). My doctype is set to <!DOCTYPE html> . If I take the doctype away entirely, IE8 goes to quirks mode and works fine, but IE9 then goes to its quirks mode (instead of IE9 Standards) and doesn't display the SVG. This is

How to use Python XML findall to find '<v:imagedata r:id=“rId7” o:title=“1-REN”/>'

别来无恙 提交于 2020-06-16 17:24:25
问题 I'm trying to do a find all from a Word document for <v:imagedata r:id="rId7" o:title="1-REN"/> with namespace xmlns:v="urn:schemas-microsoft-com:vml" and I cannot figure out what on earth the syntax is. The docs only cover the very straight forward case and with the URN and VML combo thrown in I can't seem to get any of the examples I've seen online to work. Does anyone happen to know what it is? I'm trying to do something like this: namespace = {'v': "urn:schemas-microsoft-com:vml"} results

Prevent Word 2010 from saving o:gfxdata base64 or uuencoded VML?

一个人想着一个人 提交于 2020-01-23 01:37:48
问题 I am working with .docx files containing several drawing canvases with images inserted and some lines and arrows drawn in Word 2010. I am using 2010 format with no compatibility mode. Word inserts an o:gfxdata attribute into each v:shape and v:group element and fills it with ascii encoded something. From what I have read it may be a copy of the VML describing the v:shape or v:group . I don't know if I just don't know what to look for, but I cannot determine what this data is for as its

How to calculate center of an ellipse by two points and radius sizes

三世轮回 提交于 2019-12-31 09:29:06
问题 While working on SVG implementation for Internet Explorer to be based on its own VML format I came to a problem of translation of an SVG elliptical arc to an VML elliptical arc. In VML an arc is given by: two angles for two points on ellipse and lengths of radiuses, In SVG an arc is given by: two pairs of coordinates for two points on ellipse and sizes of ellipse boundary box So, the question is: How to express angles of two points on ellipse to two pairs of their coordinates. An intermediate

Problems converting VML to SVG in .NET

痴心易碎 提交于 2019-12-25 03:58:08
问题 I have a very similar problem as this post; I'm using RaphaelJS to generate a chart, but more specifically in my case I need to print the result. I have used Inkscape's command line utility (it's excellent) to convert Raphael's SVG output to a PNG file, which the user can download and print. The problem is, it works in Firefox etc. but not Internet Explorer. Because IE uses VML, not SVG, Inkscape won't convert it when the user is coming from IE. I have had a look at IECapt which might well

Draggable element in VML get stuck when size change (height, width) in IE 8

馋奶兔 提交于 2019-12-24 02:56:14
问题 I'm having issue with VML (wich I use as fallback for svg) I use jQuery UI draggable to let user be able to move an element around. The problem occurs when I resize the image (wich is a v:image) by changing the style attribute of height and width. What happen at this point is that the element get stuck at the left top corner of it's container and cannot be dragged anymore. A strange thing is that when I ask for the position (top, left) of the draggable element in the javascript console, I get

Raphael setting transparent png opacity loses alpha channel

天大地大妈咪最大 提交于 2019-12-24 00:54:52
问题 I'm using Raphael 2.1.0. When I animate the opacity of a transparent PNG under IE8, the transparency animates well. ie: 'from' an opacity of 0.0 'to' an opacity of 1.0. After the opacity animation has ended, I want to set/restore the image's position/opacity to a pre-animation state, but the alpha channel of the image becomes opaque. Where there was once a transparent background there is now a white square. With an SVG renderer - Chrome and Firefox - things are fine. I've tried chaining the

SVG coords to VML coords

心不动则不痛 提交于 2019-12-21 02:55:12
问题 i have svg file <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="200px" height="" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd" viewBox="0 0 69.1341 93.4405" xmlns:xlink="http://www.w3.org/1999/xlink"> ... <path class="fil3 str0" d="M49.1257 35.5851c3.029,0.890254 7.2612,0.610968 12.3164,-0.468419 -5.13373,3.85796 -12.1161,4.96333 -19.7673,5.07307"/> ... </svg> i am trying

Automatically resizing a VML background image in Outlook

拜拜、爱过 提交于 2019-12-20 05:58:06
问题 I know about the Bulletproof Email Backgrounds hack, but as this places a set-sized VML rectangle in the background, and then places the content within it, it doesn't resize. Or to put it another way, the text in the table cell is cropped to the height of VML rectangle. I've tried everything I can think of, but there doesn't appear to be anyway to allow the content of the VML rectangle to resize it. Is there ANY other way of getting background images in Outlook? 回答1: Besides VML, the only

Outlook 2013 background image broken

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-20 03:33:17
问题 I have problem with background image in Outlook 2007/2010/2013. Code: <table cellpadding="0" cellspacing="0" border="0" width="580" style="font-family: Arial;"> <tr> <td background="http://test.endlesspeak.cz/img/bg-deepak.jpg" bgcolor="#a7a8ab" width="580" height="242" style="text-align: left; vertical-align: middle; color: #203244; font-size: 12pt; padding: 0; margin: 0;"> <!--[if gte mso 9]> <v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="width:580px