Package org.apache.poi.hwpf.model
Class BookmarksTables
- java.lang.Object
-
- org.apache.poi.hwpf.model.BookmarksTables
-
@Internal public class BookmarksTables extends java.lang.Object
-
-
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()
java.lang.String
getName(int index)
int
getNamesCount()
void
remove(int index)
void
setName(int index, java.lang.String name)
void
writePlcfBkmkf(FileInformationBlock fib, java.io.ByteArrayOutputStream tableStream)
void
writePlcfBkmkl(FileInformationBlock fib, java.io.ByteArrayOutputStream tableStream)
void
writeSttbfBkmk(FileInformationBlock fib, java.io.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 java.lang.IndexOutOfBoundsException
- Throws:
java.lang.IndexOutOfBoundsException
-
getDescriptorFirstIndex
public int getDescriptorFirstIndex(GenericPropertyNode descriptorFirst)
-
getDescriptorLim
public GenericPropertyNode getDescriptorLim(int index) throws java.lang.IndexOutOfBoundsException
- Throws:
java.lang.IndexOutOfBoundsException
-
getDescriptorsFirstCount
public int getDescriptorsFirstCount()
-
getDescriptorsLimCount
public int getDescriptorsLimCount()
-
getName
public java.lang.String getName(int index)
-
getNamesCount
public int getNamesCount()
-
remove
public void remove(int index)
-
setName
public void setName(int index, java.lang.String name)
-
writePlcfBkmkf
public void writePlcfBkmkf(FileInformationBlock fib, java.io.ByteArrayOutputStream tableStream) throws java.io.IOException
- Throws:
java.io.IOException
-
writePlcfBkmkl
public void writePlcfBkmkl(FileInformationBlock fib, java.io.ByteArrayOutputStream tableStream) throws java.io.IOException
- Throws:
java.io.IOException
-
writeSttbfBkmk
public void writeSttbfBkmk(FileInformationBlock fib, java.io.ByteArrayOutputStream tableStream) throws java.io.IOException
- Throws:
java.io.IOException
-
-