class FontFlag extends Flag
{
    private final COSDictionary fontDescriptor;

    /**
     * Constructor
     * @param fontDescDictionary COSDictionary instance.
     */
    FontFlag(COSDictionary fontDescDictionary)
    {
        fontDescriptor = fontDescDictionary;
    }

    @Override
    String getFlagType()
    {
        return "Font flag";
    }

    @Override
    String getFlagValue()
    {
        return "Flag value:" + fontDescriptor.getInt(COSName.FLAGS);
    }

    @Override
    Object[][] getFlagBits()
    {<FILL_FUNCTION_BODY>}
}

        PDFontDescriptor fontDesc = new PDFontDescriptor(fontDescriptor);
        return new Object[][]{
                new Object[]{1, "FixedPitch", fontDesc.isFixedPitch()},
                new Object[]{2, "Serif", fontDesc.isSerif()},
                new Object[]{3, "Symbolic", fontDesc.isSymbolic()},
                new Object[]{4, "Script", fontDesc.isScript()},
                new Object[]{6, "NonSymbolic", fontDesc.isNonSymbolic()},
                new Object[]{7, "Italic", fontDesc.isItalic()},
                new Object[]{17, "AllCap", fontDesc.isAllCap()},
                new Object[]{18, "SmallCap", fontDesc.isSmallCap()},
                new Object[]{19, "ForceBold", fontDesc.isForceBold()}
        };
    
<no_super_class>