libvisio: arrow head shapes not imported properly

TANAKA Hidemune info at tanaka-cs.co.jp
Fri Oct 31 17:17:53 PDT 2014


Hello,

I will ask you about the handling of POLYGONSTROKEARROW.
The following log, mpMetaFile == NULL.

I think whether is displayed if correctly set the mpMetaFile.
Am I wrong?

Of course,
mpMetaFile = new GDIMetaFile ();
It does not appear in the above.

Please advice me.
Thank you.

-------[log]----------------------------------------------------------
info:drawinglayer:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:1266: 
default case for POLYGONSTROKEARROW
info:drawinglayer:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:628: 
for Hack : POLYGONSTROKE
info:for 
Hack:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:205: tryDrawPolygonStrokePrimitive2DDirect 
: no line dashing, just copy
info:for 
Hack:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:253: tryDrawPolygonStrokePrimitive2DDirect 
: draw simple hairline
info:for 
Hack:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:267: tryDrawPolygonStrokePrimitive2DDirect 
: aSingle.count : 2
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:388: bTryAA
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:293: 
TryDrawPolyLineDirectNoAACheck(inpl)
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:316: draw the polyline
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:317: aB2DPolygon : 
<2:(844.613,692.378)--(844.613,704.179)>
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:318: fTransparency : 0
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:319: eLineJoin : 4
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:320: eLineCap : 0
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:391: 
TryDrawPolyLineDirectNoAACheck
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:393: mpMetaFile : 0
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:414: return true
info:for 
Hack:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:275: tryDrawPolygonStrokePrimitive2DDirect 
: bTryWorked = true
info:for 
Hack:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:287: tryDrawPolygonStrokePrimitive2DDirect 
: return bTryWorked 1
info:drawinglayer:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:628: 
for Hack : POLYPOLYGONCOLOR
info:for 
Hack:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:156: Set, 
done
info:for 
Hack:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:792: okay, 
done. In this case no gaps should have to be repaired, too
info:for 
Hack:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:810: mnPolygonStrokePrimitive2D 
: 0
info:for 
Hack:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:811: getOptionsDrawinglayer().IsAntiAliasing() 
: 1
info:for 
Hack:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:812: (mpOutputDevice->GetAntialiasing() 
& ANTIALIASING_ENABLE_B2DDRAW) : 2
info:for 
Hack:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:820: when 
AA is on and this filled polygons are the result of stroked line geometry,
info:for 
Hack:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:823: nCount 
: 0
info:for 
Hack:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:834: a 
: 0
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:140: DrawPolyLine
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:293: 
TryDrawPolyLineDirectNoAACheck(inpl)
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:316: draw the polyline
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:317: aB2DPolygon : 
<6:(844.613,692.344)--(844.584,692.373)--(844.592,692.381)--(844.613,692.361)--(844.633,692.381)--(844.641,692.373)>
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:318: fTransparency : 0
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:319: eLineJoin : 4
info:for Hack:27314:1:vcl/source/outdev/polyline.cxx:320: eLineCap : 0
info:drawinglayer:27314:1:drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:1269: 
end recursive for POLYGONSTROKEARROW
-------[end]----------------------------------------------------------



On 2014年10月30日 22:41, alonso wrote:
>
> Le 30 oct. 2014 à 09:45, TANAKA Hidemune <info at tanaka-cs.co.jp> a écrit :
>
>> Hi there
>>
> 	Hello,
>
>> VSDContentCollector::_lineProperties
>> I am embedded SAL_INFO here, but it did not work.
>>
> 	LibVisio already defines a macro to print debug message : VSD_DEBUG_MSG
> which must be activated when the libvisio’s module is compiled in debug mode.
>
>> git/libo/workdir/UnpackedTarball/libvisio/src/lib/VSDContentCollector.cpp
>> Please tell me how to do this compilation.
>>
>
> Notes:
>    libvisio can also be compiled to create stand-alone executables (vsd2raw, …),
>    see https://wiki.documentfoundation.org/DLP/Libraries/libvisio .
>
>    If you have/install libodfgen and writerperfect packages, you can also create vsd2odg
>    see http://www.documentliberation.org/projects/ ….
>
>    This can make the debugging easier or help to see what is generated ( by using
>    vsd2raw or vsd2odg )
>
>> I am investigating the following problem.
>> Bug 44551 - libvisio: arrow head shapes not imported properly
>> https://bugs.freedesktop.org/show_bug.cgi?id=44551
>>
>> Best regards
>>
> 	Best regards,
>

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

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

      代表取締役 田中 秀宗
            TANAKA Hidemune

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

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


More information about the LibreOffice mailing list