List of usage examples for org.apache.poi.xslf.usermodel XSLFSheet getPlaceholders
@SuppressWarnings("WeakerAccess") public XSLFTextShape[] getPlaceholders()
From source file:org.joeffice.presentation.actions.NewSlideAction.java
License:Apache License
private void fillWithText(XSLFSheet slide) { String message = NbBundle.getMessage(getClass(), "MSG_EnterTextHere"); XSLFTextShape[] textShapes = slide.getPlaceholders(); for (XSLFTextShape textShape : textShapes) { textShape.setText(message);/* w ww . j av a 2 s . c om*/ } }