ASF Bugzilla – Attachment 17885 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]
short summary of changes
changes_summary.txt (text/plain), 1.91 KB, created by
Yegor Kozlov
on 2006-03-13 17:09:43 UTC
(
hide
)
Description:
short summary of changes
Filename:
MIME Type:
Creator:
Yegor Kozlov
Created:
2006-03-13 17:09:43 UTC
Size:
1.91 KB
patch
obsolete
>I did some changes in existing classes - added new constructors and accessors. >Below is the summary: > > >org.apache.poi.hslf.record.UserEditAtom > > public void setLastViewType(short type) { lastViewType=type; } >i need to modify UserEditAtom.lastViewType when inserting a new slide > >org.apache.poi.hslf.record.SlideAtom.java >Added default constructor to create a new record > >org.apache.poi.hslf.record.ColorSchemeAtom.java >Added default constructor to create a new record > >org.apache.poi.hslf.record.PPDrawing.java >Added default constructor to create a new record >create() - create and initialize escher container for a new slide > >org.apache.poi.hslf.record.SlideListWithText.java >Added default constructor to create a new record > >org.apache.poi.hslf.record.SlideListWithText.java >Added default constructor to create a new record > >org.apache.poi.hslf.record.Slide.java >Added default constructor to create a new record > >org.apache.poi.hslf.record.RecordContainer.java >Added an accessor: > public void setChildRecords(Record[] rec) { _children = rec; } > >org.apache.poi.hslf.record.SlidePersistAtom.java > >New accessors: >Added default constructor to create a new record. > >public void setRefID(int id) { > refID = id; >} > >public void setSlideIdentifier(int id) { > slideIdentifier = id; >} > >org.apache.poi.hslf.record.PersistPtrHolder.java >It was the most tricky part of the work > > 1. I think there was a bug in PersistPtrHolder.addSlideLookup >After you add a slide refernce you need to update header which holds number of entries in the record. > > //update info (first 4 bytes in ptr data) > int info = (slideID << 20 | 1); > LittleEndian.putInt(_ptrData, 0, info); > >I didn't find usages of this method. It seems it was reserved for future and now the time has come. > >new accessor: >public Hashtable getSlideDataLocationsLookup() { > return _slideOffsetDataLocation; >} > > >
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