protected void finishInlineBox(final InlineRenderBox box) {
    if (box.getStaticBoxLayoutProperties().isVisible() == false) {
      return;
    }

    textExtractorHelper.finishBox(box.getInstanceId(), box.getAttributes());
  }
 protected boolean startInlineBox(final InlineRenderBox box) {
   if (box.getStaticBoxLayoutProperties().isVisible() == false) {
     return false;
   }
   return textExtractorHelper.startInlineBox(
       box.getInstanceId(), box.getAttributes(), box.getStyleSheet(), box.getBoxDefinition());
 }
  protected void finishInlineBox(final InlineRenderBox box) {
    if (box.getStaticBoxLayoutProperties().isVisible()) {
      return;
    }

    if (box.isBoxVisible(getDrawArea()) == false) {
      return;
    }

    final PdfTextSpec textSpec = (PdfTextSpec) getTextSpec();
    if (textSpec != null) {
      textSpec.finishText();
    }
    super.finishInlineBox(box);
  }