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 voidafterDelete(int startCp, int length)voidafterInsert(int startCp, int length)intgetBookmarksCount()GenericPropertyNodegetDescriptorFirst(int index)intgetDescriptorFirstIndex(GenericPropertyNode descriptorFirst)GenericPropertyNodegetDescriptorLim(int index)intgetDescriptorsFirstCount()intgetDescriptorsLimCount()java.lang.StringgetName(int index)intgetNamesCount()voidremove(int index)voidsetName(int index, java.lang.String name)voidwritePlcfBkmkf(FileInformationBlock fib, java.io.ByteArrayOutputStream tableStream)voidwritePlcfBkmkl(FileInformationBlock fib, java.io.ByteArrayOutputStream tableStream)voidwriteSttbfBkmk(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
-
-