+ private long words;
+
+ /**
+ * Empty constructor, not to use.
+ */
+ @SuppressWarnings("unused")
+ private Paragraph() {
+ // for serialisation purposes
+ }
+
+ /**
+ * Create a new {@link Paragraph} with the given image.
+ *
+ * @param imageUrl
+ * the image as an URL
+ */
+ public Paragraph(URL imageUrl) {
+ this(ParagraphType.IMAGE, imageUrl.toString(), 0);
+ }