You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2016/10/27 10:11:43 UTC

[Bug 60311] New: XSLFShape draw can not draw a straight line (form)

https://bz.apache.org/bugzilla/show_bug.cgi?id=60311

            Bug ID: 60311
           Summary: XSLFShape draw can not draw a straight line (form)
           Product: POI
           Version: 3.14-FINAL
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLF
          Assignee: dev@poi.apache.org
          Reporter: konstantin.vogel@apparentmedia.de

I was trying to draw a simple straight line. But since wether its horizontally
or vertically the height or width is 0. Within the drawShape method the bounds
are checked with shapeBounds.isEmpty() and returns. Given that lines cannot be
drawn.

-- 
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


[Bug 60311] XSLFShape draw can not draw a straight line (form)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60311

Andreas Beeker <ki...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from Andreas Beeker <ki...@apache.org> ---
no response for 2 months + works for me -> closed

-- 
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


[Bug 60311] XSLFShape draw can not draw a straight line (form)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60311

--- Comment #2 from Andreas Beeker <ki...@apache.org> ---
Created attachment 34406
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34406&action=edit
Working line ...

The attached PPTX contains the following anchor and PPTX2PNG renderes a
transparent background with the black line:
<a:ext cx="4680000" cy="0"/>

So this works for me ...

-- 
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


[Bug 60311] XSLFShape draw can not draw a straight line (form)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60311

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
Can you share some code that demonstrates this? Othwerwise it's very cumbersome
to reproduce or comment on it.

-- 
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