ASF Bugzilla – Attachment 17884 Details for
Bug 38954
patch: new functionality which allows working with shapes in HSLF
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
commit notes
commit_notes.txt (text/plain), 1.01 KB, created by
Yegor Kozlov
on 2006-03-13 17:09:16 UTC
(
hide
)
Description:
commit notes
Filename:
MIME Type:
Creator:
Yegor Kozlov
Created:
2006-03-13 17:09:16 UTC
Size:
1.01 KB
patch
obsolete
>Notes: > (1) Adding a new slide. It's possible now to create new slides on the fly. > > Use case: > > SlideShow ppt = new SlideShow(new HSLFSlideShow(filename)); > //for now SlideShow must be initialized from an existing ppt file. > //In future I'm going to change it and add default constructor which creates an empty presentation. > > Slide slide = ppt.createSlide(); > > (2) Read/Write suport for shapes. > Use case: > > SlideShow ppt = new SlideShow(new HSLFSlideShow(filename)); > Slide[] slide = ppt.getSlides(); > > Shape[] shapes = slide[0].getShapes(); > for (int i = 0; i < shapes.length; i++){ > if (slide[0] instanceof org.apache.poi.hslf.model.Ellipse){ > //do smth with ellipse > } > else if (slide[0] instanceof org.apache.poi.hslf.model.Rectangle){ > ... > } >... > } > >(3) Initial support of Graphics2D for PPT. >This is similar to org.apache.poi.hssf.usermodel.EscherGraphics2d. > I took the idea from it and made it work with ppt. >Use case: > see org.apache.poi.hslf.model.TestPPGraphics2D
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 38954
: 17884 |
17885
|
17886
|
17887