gradle draft
This commit is contained in:
parent
c817687127
commit
840156237f
@ -48,9 +48,9 @@ public class ElementFeatureFactory {
|
||||
}
|
||||
|
||||
|
||||
private static ElementFeatures.Text buildText(Element element) throws PDFNetException {
|
||||
private static ElementFeatures.ElementFeaturesText buildText(Element element) throws PDFNetException {
|
||||
|
||||
return ElementFeatures.Text.builder()
|
||||
return ElementFeatures.ElementFeaturesText.builder()
|
||||
.elementType(element.getType())
|
||||
.boundingBox(Converter.toRectangle2D(element.getBBox()))
|
||||
.text(element.getTextString())
|
||||
|
||||
@ -103,8 +103,7 @@ public class ElementFeatures {
|
||||
@Getter
|
||||
@SuperBuilder
|
||||
@FieldDefaults(makeFinal = true, level = AccessLevel.PRIVATE)
|
||||
@SuppressWarnings("PMD")
|
||||
public static class Text extends ElementFeatures {
|
||||
public static class ElementFeaturesText extends ElementFeatures {
|
||||
|
||||
String text;
|
||||
int font;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user