import org.apache.poi.sl.draw.geom.Outline;
import org.apache.poi.sl.draw.geom.Path;
-import org.apache.poi.sl.usermodel.FillStyle;
-import org.apache.poi.sl.usermodel.FreeformShape;
-import org.apache.poi.sl.usermodel.StrokeStyle;
-import org.apache.poi.sl.usermodel.TextShape;
+import org.apache.poi.sl.usermodel.*;
public class DrawFreeformShape extends DrawAutoShape {
public DrawFreeformShape(FreeformShape<?,?> shape) {
}
@Override
- protected TextShape<?,?> getShape() {
- return (TextShape<?,?>)shape;
+ protected TextShape<?,? extends TextParagraph<?,?,? extends TextRun>> getShape() {
+ return (TextShape<?,? extends TextParagraph<?,?,? extends TextRun>>)shape;
}
}