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 2015/08/04 17:33:33 UTC

[Bug 58207] New: Provide user access to the original image dimensions.

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

            Bug ID: 58207
           Summary: Provide user access to the original image dimensions.
           Product: POI
           Version: 3.13-dev
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: XSLF
          Assignee: dev@poi.apache.org
          Reporter: Mark.Olesen@gmx.net

Created attachment 32957
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32957&action=edit
patch with proposed changes

- useful information when resizing anchors.

- simply moved some code from XSLFPictureShape to XSLFPictureData
  and cache the values there.

-- 
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 58207] Provide user access to the original image dimensions.

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

mark.o <Ma...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32957|0                           |1
        is obsolete|                            |

--- Comment #2 from mark.o <Ma...@gmx.net> ---
Created attachment 32958
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32958&action=edit
patch with proposed changes

changed method name to getImageDimensions() for some naming consistency with
org.apache.poi.ss.usermodel.Picture interface

-- 
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 58207] [PATCH] Provide user access to the original image dimensions

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Andreas Beeker <ki...@apache.org> ---
Thank you for the patch - applied with r1704097

+ same for hslf / common sl
+ unify method names in H/XSLF Slideshow for common sl
+ add/fix header information for PICT/EMF/WMF

-- 
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 58207] Provide user access to the original image dimensions.

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

--- Comment #1 from mark.o <Ma...@gmx.net> ---
I don't know if it's a bug or inconsistency.
XSLFPictureShape.resize() and HSLFPictureShape.setDefaultSize() should be
roughly equivalent in their basic functionality.
In XSLF, the image dimensions are used directly for setting the anchor size.
In HSLF, they are converted by pixelToPoints() before setting the anchor size.

I don't which is actually correct, or if the underlying anchor implementation
is different, but figured it might be worth mentioning.

-- 
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 58207] [PATCH] Provide user access to the original image dimensions

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Provide user access to the  |[PATCH] Provide user access
                   |original image dimensions.  |to the original image
                   |                            |dimensions
           Keywords|                            |PatchAvailable

-- 
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 58207] Provide user access to the original image dimensions.

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

mark.o <Ma...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |58216

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