Add documentation for HWPF FileInformationBlock DggInfo methods

This documentation comes from [MS-DOC] - v20191119.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886998 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marius Volkhart 2021-02-28 15:08:39 +00:00
parent cfee75c9b6
commit 12857e68ac
1 changed files with 10 additions and 0 deletions

View File

@ -1004,11 +1004,21 @@ public final class FileInformationBlock {
return _fieldHandler.getFieldSize(FIBFieldHandler.PLCSPAMOM);
}
/**
* @return Offset in the Table Stream at which the {@link EscherRecordHolder} exists.
*/
public int getFcDggInfo()
{
return _fieldHandler.getFieldOffset(FIBFieldHandler.DGGINFO);
}
/**
* Returns the size, in bytes, of the {@link EscherRecordHolder} at the offset {@link #getFcDggInfo()}.
* <p>
* If {@code 0}, there MUST NOT be any drawings in the document.
*
* @return Size, in bytes, of the {@link EscherRecordHolder} at the offset {@link #getFcDggInfo()}.
*/
public int getLcbDggInfo()
{
return _fieldHandler.getFieldSize(FIBFieldHandler.DGGINFO);