OASIS Open Document Format for Office Applications (OpenDocument) TC

 View Only

What means style:rel-height="scale-min" ?

  • 1.  What means style:rel-height="scale-min" ?

    Posted 01-18-2021 14:00
    Hi all, I do not understand style:rel-height="scale-min". The current specification text in 19.513 is: scale: the height should be calculated depending on the width, so that the ratio of width and height of the original image or object size is preserved. scale-min: the height should be calculated as for value scale, but the calculated height is a minimum height rather than an absolute one. Look at this markup fragment: <draw:frame â text:anchor-type="char" style:rel-height="scale-min" svg:width="60mm"> <draw:image â draw:mime-type="image/png"/> </draw:frame> The linked image has wÃh=340px à 151px with 96dpi, that is about 119.94mm à 53.27mm or 3.54inch à 1.57inch. The <draw:frame> element is in structure <table:cell><text:p><draw:frame>...</draw:frame></text:p></table:cell>. The table cell has 80mm width and 40mm height. For style:rel-height="scale" I would get height = 151/340 * 60mm â 26.65mm â 1.05inch. But what means "is a minimum height rather than an absolute one"? Kind regard Regina