こんにちは。田中です。

以下のページで修正後の画像が見れます。
http://tanaka-cs.co.jp/libo_bug3.html

これ、線が明らかに太いのですが、
LibOで規定の定数などありましたらご教示ください。

以上、よろしくお願いします。


On 2014年11月07日 00:38, TANAKA Hidemune wrote:
> こんにちは。田中です。
> 
> 以下のように修正すると、vsd2odg で
> 
> http://tanaka-cs.co.jp/download/Visio.vsd
> http://tanaka-cs.co.jp/download/VisioPage1_1.JPG
> http://tanaka-cs.co.jp/download/VisioPage1_2.JPG
> http://tanaka-cs.co.jp/download/VisioPage3_1.JPG
> http://tanaka-cs.co.jp/download/VisioPage3_2.JPG
> 
> の、Visio.vsd の矢印が正しく表示されるようになりました。
> 無理矢理な方法であることは解ってはいますが、
> これ以外の方法が思いつく訳でもないのが悩ましいです。
> 
> どなたかご確認お願いできますでしょうか?
> 
> 
> (OK)
> libvisio/src/lib/VSDContentCollector.cpp
> void libvisio::VSDContentCollector::_lineProperties(const VSDLineStyle
> &style, librevenge::RVNGPropertyList &styleProps)
> --------------------------------------------------------------
>    // Deal with line markers (arrows, etc.)
>    if (style.startMarker > 0)
>    {
>      styleProps.insert("draw:marker-start-viewbox",
> _linePropertiesMarkerViewbox(style.startMarker));
>      styleProps.insert("draw:marker-start-path",
> _linePropertiesMarkerPath(style.startMarker));
>      //TANAKA
>      double w =
> m_scale*_linePropertiesMarkerScale(style.startMarker)*(0.1/(style.width*style.width+1)+2.54*style.width);
>      if (w < 0.1)
>        w = 0.1;
>      styleProps.insert("draw:marker-start-width", w);
>    }
>    if (style.endMarker > 0)
>    {
>      styleProps.insert("draw:marker-end-viewbox",
> _linePropertiesMarkerViewbox(style.endMarker));
>      styleProps.insert("draw:marker-end-path",
> _linePropertiesMarkerPath(style.endMarker));
>      //TANAKA
>      double w =
> m_scale*_linePropertiesMarkerScale(style.endMarker)*(0.1/(style.width*style.width+1)+2.54*style.width);
>      if (w < 0.1)
>        w = 0.1;
>      styleProps.insert("draw:marker-end-width", w);
>    }
> --------------------------------------------------------------
> 
> 

-- 
■□■□■□■□■□■□■□■□■□■□■□■

 株式会社 田中コンピューターサービス

    代表取締役 田中 秀宗
          TANAKA Hidemune

 本 社 東京都北区滝野川7丁目45番14号
 電 話 03−3576−7272
 FAX 03−3576−7272
 携 帯 090−6187−1418
 E-Mail [email protected]
     http://tanaka-cs.co.jp

■□■□■□■□■□■□■□■□■□■□■□■

-- 
Unsubscribe instructions: E-mail to [email protected]
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/ja/discuss/
All messages sent to this list will be publicly archived and cannot be deleted

メールによる返信