poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59388] setComment with option isVisible
Date Thu, 05 May 2016 10:09:03 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59388

--- Comment #4 from ORLANDI <orlandi.m70@gmail.com> ---
Hi,

comparing two XML files, a POI-generated one and an Excel-generated one, it
seems that the different behaviour is due to the \xl\drawingsvmlDrawing1.vml
file. The Excel-generated one has an additional line apparently specifying the
visibility, <x:Visible/>:

<!-- ... -->
<x:ClientData ObjectType="Note">
      <x:MoveWithCells/>
      <x:SizeWithCells/>
      <x:Anchor>10, 0, 10, 0, 11, 0, 13, 0</x:Anchor>
      <x:AutoFill>False</x:AutoFill>
      <x:Row>0</x:Row>
      <x:Column>0</x:Column>
      <x:Visible/>
   </x:ClientData> 
<!-- ... -->

If I unzip the POI-generated file, I add that line in the
drawingsvmlDrawing1.vml file and then I open the file again, the comment
visibility behaviour is preserved as expected.

Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message