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 2008/11/25 12:14:34 UTC

DO NOT REPLY [Bug 46288] New: Red crosses (X) instead of images in created Slideshows

https://issues.apache.org/bugzilla/show_bug.cgi?id=46288

           Summary: Red crosses (X) instead of images in created Slideshows
           Product: POI
           Version: 3.2-FINAL
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSLF
        AssignedTo: dev@poi.apache.org
        ReportedBy: daniel.kessler@tt-n.de


I create a slideshow the usual way.
The only objects i insert, are images.

The way i do this is the following:

slide = slideShow.createSlide();
                        slide.setFollowMasterBackground(false);

                        Fill fill = slide.getBackground().getFill();
                        int pictureData = slideShow.addPicture(outputFile,
Picture.PNG);
                        fill.setFillType(Fill.FILL_PICTURE);
                        fill.setPictureData(pictureData);

I guess its easy to understand.
after creating my slideshow, i open it in powerpoint and the first things i see
are red X's or Crosses.

The Symbol for a image that can not be shown.
A workaround to see the images is so save the Slideshow againg and switch the
viewing mode.

am i doing something wrong?
are there known issues?
i would like to see my images correct.

Regards,
DAniel


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 46288] Red crosses (X) instead of images in created Slideshows

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

Jim Talbut <ji...@spudsoft.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.2-FINAL                   |3.8-dev
         OS/Version|Windows XP                  |Windows Vista

--- Comment #1 from Jim Talbut <ji...@spudsoft.co.uk> 2011-12-08 21:05:41 UTC ---
The problem is that the refcount on the EscherBSERecord is not maintained
correctly for fills (although it is for Pictures).
I'll upload a patch as soon as I've got the tests working.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 46288] Red crosses (X) instead of images in created Slideshows

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


Daniel <da...@tt-n.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 46288] Red crosses (X) instead of images in created Slideshows

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

--- Comment #2 from Jim Talbut <ji...@spudsoft.co.uk> 2011-12-08 21:11:50 UTC ---
Created attachment 28056
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28056
Patch to correct the refcount handling for Fill pictures

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 46288] Red crosses (X) instead of images in created Slideshows

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

Yegor Kozlov <ye...@dinom.ru> changed:

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

--- Comment #3 from Yegor Kozlov <ye...@dinom.ru> 2011-12-09 12:51:39 UTC ---
Applied in r1212381

Thanks,
Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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