Example usage for org.apache.poi.hwpf.usermodel CharacterRun isMarkedDeleted

List of usage examples for org.apache.poi.hwpf.usermodel CharacterRun isMarkedDeleted

Introduction

In this page you can find the example usage for org.apache.poi.hwpf.usermodel CharacterRun isMarkedDeleted.

Prototype

public boolean isMarkedDeleted() 

Source Link

Usage

From source file:mj.ocraptor.extraction.tika.parser.microsoft.WordExtractor.java

License:Apache License

/**
 * Determines if character run should be included in the extraction.
 *
 * @param cr/*w w w.j av a 2  s  .  c  o  m*/
 *          character run.
 * @return true if character run should be included in extraction.
 */
private boolean isRendered(final CharacterRun cr) {
    return cr == null || !cr.isMarkedDeleted();
}