<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Regina,<div><br></div><div>In your first mail you mentioned that MSO has viewbox size 43200x43200, while LibreOffice has viewbox size 21600x21600.</div><div>And MSO viewbox only contains the current sector but LibreOffice contains the eclipse. </div><div><br></div><div>I think it's correct that you want to make LibreOffice viewbox only contain the current sector. But I think the problem is caused by incorrect conversion of the draw:enhanced-path (see the content.xml in saved odt file) instead of the incorrect viewbox size. I think it's important to find out why it failed to convert the enhanced-path so that it only contains the sector.</div><div><br></div><div>Although changing the viewbox size might have the expected effect for the arc shape msoSptArc, but I don't understand why it works and we might also miss the chance to fix the conversion of problematic drawing commands for other custom shapes.<br></div><div><br></div><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Regina Henschel <<a href="mailto:rb.henschel@t-online.de">rb.henschel@t-online.de</a>> 於 2019年3月13日 週三 上午2:22寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Mark,<br>
<br>
Mark Hung schrieb am 12-Mar-19 um 15:59:<br>
> <br>
> <br>
> Regina Henschel <<a href="mailto:rb.henschel@t-online.de" target="_blank">rb.henschel@t-online.de</a> <br>
> <mailto:<a href="mailto:rb.henschel@t-online.de" target="_blank">rb.henschel@t-online.de</a>>> 於 2019年3月11日 週一 上午6:11寫道:<br>
> <br>
>     Hi all,<br>
> <br>
>     It is not possible to change the outer position to set the sector to<br>
>     the<br>
>     original position, because that might result in positions outside the<br>
>     page. But that is not possible for text documents.<br>
> <br>
>     I consider to change the import so, that the viewbox only includes the<br>
>     current sector not the entire ellipse. What do you think?<br>
> <br>
> <br>
> I wonder why this is necessary if both MSO and LibreOffice interpret the <br>
> viewbox and arc command the same way.<br>
<br>
But they have different size and position of the viewbox. I have written <br>
<a href="https://bugs.documentfoundation.org/show_bug.cgi?id=124029" rel="noreferrer" target="_blank">https://bugs.documentfoundation.org/show_bug.cgi?id=124029</a>. It has a <br>
document attached, where you can see the problem.<br>
<br>
  If they don't, I'd consider to<br>
> scale the parameters of the arc command because other command might rely <br>
> on the viewbox.<br>
<br>
It is only about the shape 'arc'. I do not see the problem for other <br>
shape types. The 'arc' has a special treating anyway, see <br>
msdffimpl.cxx#4513. Setting a special viewbox for the 'arc' shape would <br>
have no effect on other shapes.<br>
<br>
There would be a difference for the user. If he changed the angle of the <br>
arc, he would notice, that the adjustment handles leave the rectangle of <br>
the resize handles and the sector might be partly outside the rectangle <br>
of the resize handles.<br>
<br>
  Or maybe the view port were set to 0,0,0,0 as in<br>
> tdf#76334? I saw pptx always import the viewbox as 0,0,0,0, and there <br>
> are treatment that I felt that might be wrong.<br>
<br>
That is in the OOXML import filter and not affected here. The treating <br>
there is wrong, but it is a different problem.<br>
<br>
Kind regards<br>
Regina<br>
<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Mark Hung<br></div></div></div>