none
Getting individual shape size unit from a group shape. RRS feed

  • Question

  • Hi,

    How can i get individual shape size in inch, if there is no unit indicator.

    <w:pict>
    <v:group id="Group 12" o:spid="_x0000_s2049" style="height:839.75pt;margin-left:-3.5pt;margin-top:-34.05pt;;width:599.2pt;z-index:251658240" coordsize="76098,106648">
    <v:shape id="Rectangle 1" o:spid="_x0000_s2050" style="height:12573;;v-text-anchor:middle;visibility:visible;width:76098" coordsize="7591258,1204281" path="m37956,l7572231,l7591258,64495c4457533,-40280,2647332,820642,,1204281l37956,xe" fillcolor="#1f4d78" strokecolor="#1f3763" strokeweight="1pt">
    <v:stroke joinstyle="miter"/>
    <v:path arrowok="t" o:connecttype="custom" o:connectlocs="38049,0;7590766,0;7609840,67334;0,1257300;38049,0" o:connectangles="0,0,0,0,0"/>
    </v:shape>
    <v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
    <v:stroke joinstyle="miter"/>
    <v:formulas>
    <v:f eqn="if lineDrawn pixelLineWidth 0"/>
    <v:f eqn="sum @0 1 0"/>
    <v:f eqn="sum 0 0 @1"/>
    <v:f eqn="prod @2 1 2"/>
    <v:f eqn="prod @3 21600 pixelWidth"/>
    <v:f eqn="prod @3 21600 pixelHeight"/>
    <v:f eqn="sum @0 0 1"/>
    <v:f eqn="prod @6 1 2"/>
    <v:f eqn="prod @7 21600 pixelWidth"/>
    <v:f eqn="sum @8 21600 0"/>
    <v:f eqn="prod @7 21600 pixelHeight"/>
    <v:f eqn="sum @10 21600 0"/>
    </v:formulas>
    <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
    <o:lock v:ext="edit" aspectratio="t"/>
    </v:shapetype>
    <v:shape id="Picture 8" o:spid="_x0000_s2051" type="#_x0000_t75" style="height:7239;left:1397;;top:1143;visibility:visible;width:17957">
    <v:imagedata r:id="rId1" o:title=""/>
    <v:path arrowok="t"/>
    </v:shape>
    <v:rect id="Rectangle 9" o:spid="_x0000_s2052" style="height:6191;left:381;;top:100457;v-text-anchor:middle;visibility:visible;width:75438" fillcolor="#1f4d78" strokecolor="#1f4d78" strokeweight="1pt"/>
    <v:shapetype id="_x0000_t202" coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe">
    <v:stroke joinstyle="miter"/>
    <v:path gradientshapeok="t" o:connecttype="rect"/>
    </v:shapetype>
    <v:shape id="Text Box 10" o:spid="_x0000_s2053" type="#_x0000_t202" style="height:5328;left:1778;;top:100711;v-text-anchor:top;visibility:visible;width:74016" filled="f" stroked="f" strokeweight="0.5pt">
    <v:textbox>
    <w:txbxContent>
    <w:p w:rsidR="0094153D" w:rsidRPr="005D72F3" w:rsidP="0094153D">
    <w:pPr>
    <w:jc w:val="center"/>
    <w:rPr>
    <w:color w:val="FFFFFF" w:themeColor="background1"/>
    <w:sz w:val="20"/>
    <w:szCs w:val="20"/>
    </w:rPr>
    </w:pPr>
    <w:r w:rsidRPr="005D72F3">
    <w:rPr>
    <w:color w:val="FFFFFF" w:themeColor="background1"/>
    <w:sz w:val="20"/>
    <w:szCs w:val="20"/>
    </w:rPr>
    <w:t>
    Sole Juice Limited, Glenview, Carr Road, Deepcar, Sheffield S36 2NR Tel: +44 114 283 8287 Email: Sales@SoleJuice.Com
    </w:t>
    </w:r>
    </w:p>
    <w:p w:rsidR="0094153D" w:rsidRPr="0094153D" w:rsidP="0094153D">
    <w:pPr>
    <w:jc w:val="center"/>
    <w:rPr>
    <w:color w:val="FFFFFF" w:themeColor="background1"/>
    <w:sz w:val="20"/>
    <w:szCs w:val="20"/>
    </w:rPr>
    </w:pPr>
    <w:r w:rsidRPr="0094153D">
    <w:rPr>
    <w:color w:val="FFFFFF" w:themeColor="background1"/>
    <w:sz w:val="20"/>
    <w:szCs w:val="20"/>
    </w:rPr>
    <w:t>UK Company Number: 959 4455 VAT Number:</w:t>
    </w:r>
    </w:p>
    </w:txbxContent>
    </v:textbox>
    </v:shape>
    </v:group>
    Friday, August 7, 2015 10:25 AM

Answers

  • Hi AswiniRam, without looking into the details of the large block of XML you posted, are you familiar with the EMU? ISO/IEC 29500-1 section 20.1.2.1 defines an EMU as 1/914400 of an inch, or 1/360000 of a centimeter. So, if you need to convert a value such as 2286000 to inches you would divide by 914400 which would be (2286000 / 914400) = 2.5 inches.

     

    Please let me know if that helps.


    Josh Curry (jcurry) | Escalation Engineer | Open Specifications Support Team

    Friday, August 7, 2015 6:35 PM
    Moderator

All replies

  • Hi AswiniRam, thank you for your question. A member of the protocol documentation team will respond to you soon.


    Josh Curry (jcurry) | Escalation Engineer | Open Specifications Support Team

    Friday, August 7, 2015 4:13 PM
    Moderator
  • Hi AswiniRam, without looking into the details of the large block of XML you posted, are you familiar with the EMU? ISO/IEC 29500-1 section 20.1.2.1 defines an EMU as 1/914400 of an inch, or 1/360000 of a centimeter. So, if you need to convert a value such as 2286000 to inches you would divide by 914400 which would be (2286000 / 914400) = 2.5 inches.

     

    Please let me know if that helps.


    Josh Curry (jcurry) | Escalation Engineer | Open Specifications Support Team

    Friday, August 7, 2015 6:35 PM
    Moderator