import org.apache.poi.poifs.crypt.HashAlgorithm;
import org.apache.poi.poifs.crypt.dsig.facets.SignatureFacet;
import org.apache.poi.poifs.crypt.dsig.services.RelationshipTransformService;
+import org.apache.poi.util.NotImplemented;
import org.apache.xml.security.Init;
import org.apache.xml.security.utils.XMLUtils;
import org.apache.xmlbeans.XmlOptions;
return new SignaturePart(sigRelPart, SignatureInfo.this);
}
+ /**
+ * This method is not yet supported.
+ *
+ * @throws UnsupportedOperationException this method is not yet supported
+ */
+ @NotImplemented
@Override
public void remove() {
throw new UnsupportedOperationException();
}
-
/**
* Helper method for adding informations before the signing.
* Normally {@link #confirmSignature()} is sufficient to be used.
return (Number.class.isAssignableFrom(arrayComponentType));
}
+ /**
+ * @return the dataRange
+ * @throws UnsupportedOperationException if there is no Data Range Reference
+ */
@Override
public String getDataRangeReference() {
if (dataRange == null) {
import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.LittleEndianConsts;
+import org.apache.poi.util.NotImplemented;
import org.apache.poi.util.Units;
import org.apache.xmlbeans.XmlException;
import org.openxmlformats.schemas.presentationml.x2006.main.CTNotesMasterIdList;
return _tableStyles;
}
- @SuppressWarnings("RedundantThrows")
+ /**
+ * This method is not yet supported.
+ *
+ * @throws UnsupportedOperationException this method is not yet supported
+ */
@Override
+ @NotImplemented
+ @SuppressWarnings("RedundantThrows")
public MasterSheet<XSLFShape, XSLFTextParagraph> createMasterSheet() throws IOException {
// TODO: implement!
throw new UnsupportedOperationException();
import org.apache.poi.sl.usermodel.GraphicalFrame;
import org.apache.poi.sl.usermodel.ShapeType;
import org.apache.poi.util.Beta;
+import org.apache.poi.util.NotImplemented;
import org.apache.poi.util.Units;
import org.apache.xmlbeans.XmlCursor;
import org.apache.xmlbeans.XmlException;
super(shape,sheet);
}
+ /**
+ * This method is not yet supported.
+ *
+ * @throws UnsupportedOperationException this method is not yet supported
+ */
+ @NotImplemented
public ShapeType getShapeType(){
throw new UnsupportedOperationException();
}
import org.apache.poi.sl.usermodel.GroupShape;
import org.apache.poi.sl.usermodel.PictureData;
import org.apache.poi.util.Beta;
+import org.apache.poi.util.NotImplemented;
import org.apache.poi.util.Units;
import org.apache.xmlbeans.XmlObject;
import org.openxmlformats.schemas.drawingml.x2006.main.CTGroupShapeProperties;
}
}
+ /**
+ * This method is not yet supported.
+ *
+ * @throws UnsupportedOperationException this method is not yet supported
+ */
+ @NotImplemented
@Override
+ @SuppressWarnings("RedundantThrows")
public void addShape(XSLFShape shape) {
throw new UnsupportedOperationException(
"Adding a shape from a different container is not supported -"
import org.apache.poi.util.Beta;
import org.apache.poi.util.IOUtils;
import org.apache.poi.util.Internal;
+import org.apache.poi.util.NotImplemented;
import org.apache.poi.util.Units;
import org.apache.poi.xddf.usermodel.chart.XDDFChart;
import org.apache.xmlbeans.XmlCursor;
return getShapes().iterator();
}
+ /**
+ * This method is not yet supported.
+ *
+ * @throws UnsupportedOperationException this method is not yet supported
+ */
+ @NotImplemented
@Override
public void addShape(XSLFShape shape) {
throw new UnsupportedOperationException(
return this;
}
+ /**
+ * @return always returns false
+ */
@Override
public boolean getFollowMasterBackground() {
return false;
}
+ /**
+ * This method is not yet supported.
+ *
+ * @throws UnsupportedOperationException this method is not yet supported
+ */
@Override
@NotImplemented
public void setFollowMasterBackground(boolean follow) {
return false;
}
+ /**
+ * This method is not yet supported.
+ *
+ * @throws UnsupportedOperationException this method is not yet supported
+ */
@Override
@NotImplemented
public void setFollowMasterColourScheme(boolean follow) {
{
return iter.next();
}
+
+ /**
+ * This method is not yet supported.
+ *
+ * @throws UnsupportedOperationException this method is not yet supported
+ */
@Override
public void remove()
{
throw new NoSuchElementException();
}
}
+
+ /**
+ * This method is not yet supported.
+ *
+ * @throws UnsupportedOperationException this method is not yet supported
+ */
+ @NotImplemented
@Override
public void remove()
{
pr.setTabColor(color);
}
+ /**
+ * This method is not yet supported.
+ *
+ * @throws UnsupportedOperationException this method is not yet supported
+ */
@NotImplemented
@Override
public void shiftColumns(int startColumn, int endColumn, int n){
* Unexpected behavior may occur if sheets are reordered after iterator
* has been created. Support for the remove method may be added in the future
* if someone can figure out a reliable implementation.
+ *
+ * @throws UnsupportedOperationException
*/
@Override
public void remove() throws IllegalStateException {
* Unexpected behavior may occur if sheets are reordered after iterator
* has been created. Support for the remove method may be added in the future
* if someone can figure out a reliable implementation.
+ *
+ * @throws UnsupportedOperationException
*/
@Override
public void remove() throws IllegalStateException {
}
}
+ /**
+ * This method is not yet supported.
+ *
+ * @throws UnsupportedOperationException this method is not yet supported
+ */
@Override
public void remove() {
throw new UnsupportedOperationException("Remove not supported");
return record;
}
+ /**
+ * This method is not yet supported.
+ *
+ * @throws UnsupportedOperationException this method is not yet supported
+ */
@Override
public void remove() {
throw new UnsupportedOperationException("Remove not supported");
return record;
}
+ /**
+ * This method is not yet supported.
+ *
+ * @throws UnsupportedOperationException this method is not yet supported
+ */
@Override
public void remove() {
throw new UnsupportedOperationException("Remove not supported");
return getShapes().spliterator();
}
+ /**
+ * This method is not yet supported.
+ *
+ * @throws UnsupportedOperationException this method is not yet supported
+ */
@Override
public boolean removeShape(HSLFShape shape) {
// TODO: implement!
return placeholder;
}
+ /**
+ * @throws UnsupportedOperationException Only sub class(es) of HSLFPlaceholderDetails allow setting the placeholder
+ */
@Override
public void setPlaceholder(Placeholder placeholder) {
throw new UnsupportedOperationException("Only sub class(es) of HSLFPlaceholderDetails allow setting the placeholder");
return PlaceholderSize.full;
}
+ /**
+ * @throws UnsupportedOperationException Only sub class(es) of HSLFPlaceholderDetails allow setting the placeholder
+ */
@Override
public void setSize(PlaceholderSize size) {
throw new UnsupportedOperationException("Only sub class(es) of HSLFPlaceholderDetails allow setting the size");
*
* @param start Local start position, in characters
* @param end Local end position, in characters
+ * @throws UnsupportedOperationException always throws UnsupportedOperationException
*/
@Override
@Deprecated
return _tprops.getFCantSplit();
}
+ /**
+ * @throws UnsupportedOperationException not applicable for TableRow
+ */
public BorderCode getBarBorder()
{
throw new UnsupportedOperationException( "not applicable for TableRow" );