Package org.apache.poi.hwpf.model
Class BookmarksTables
- java.lang.Object
-
- org.apache.poi.hwpf.model.BookmarksTables
-
-
Constructor Summary
Constructors Constructor Description BookmarksTables(byte[] tableStream, FileInformationBlock fib)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterDelete(int startCp, int length)
void
afterInsert(int startCp, int length)
int
getBookmarksCount()
GenericPropertyNode
getDescriptorFirst(int index)
int
getDescriptorFirstIndex(GenericPropertyNode descriptorFirst)
GenericPropertyNode
getDescriptorLim(int index)
int
getDescriptorsFirstCount()
int
getDescriptorsLimCount()
String
getName(int index)
int
getNamesCount()
void
remove(int index)
void
setName(int index, String name)
void
writePlcfBkmkf(FileInformationBlock fib, ByteArrayOutputStream tableStream)
void
writePlcfBkmkl(FileInformationBlock fib, ByteArrayOutputStream tableStream)
void
writeSttbfBkmk(FileInformationBlock fib, ByteArrayOutputStream tableStream)
-
-
-
Constructor Detail
-
BookmarksTables
public BookmarksTables(byte[] tableStream, FileInformationBlock fib)
-
-
Method Detail
-
afterDelete
public void afterDelete(int startCp, int length)
-
afterInsert
public void afterInsert(int startCp, int length)
-
getBookmarksCount
public int getBookmarksCount()
-
getDescriptorFirst
public GenericPropertyNode getDescriptorFirst(int index) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
getDescriptorFirstIndex
public int getDescriptorFirstIndex(GenericPropertyNode descriptorFirst)
-
getDescriptorLim
public GenericPropertyNode getDescriptorLim(int index) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
getDescriptorsFirstCount
public int getDescriptorsFirstCount()
-
getDescriptorsLimCount
public int getDescriptorsLimCount()
-
getName
public String getName(int index)
-
getNamesCount
public int getNamesCount()
-
remove
public void remove(int index)
-
setName
public void setName(int index, String name)
-
writePlcfBkmkf
public void writePlcfBkmkf(FileInformationBlock fib, ByteArrayOutputStream tableStream) throws IOException
- Throws:
IOException
-
writePlcfBkmkl
public void writePlcfBkmkl(FileInformationBlock fib, ByteArrayOutputStream tableStream) throws IOException
- Throws:
IOException
-
writeSttbfBkmk
public void writeSttbfBkmk(FileInformationBlock fib, ByteArrayOutputStream tableStream) throws IOException
- Throws:
IOException
-
-