diff --git a/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java b/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
index 09eb577..af18729 100644
--- a/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
+++ b/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
@@ -109,7 +109,18 @@ public class PDDocument implements Closeable
      */
     public PDDocument()
     {
-        document = new COSDocument();
+        this(false);
+    }
+
+    /**
+     * Creates an empty PDF document.
+     * You need to add at least one page for the document to be valid.
+     *
+     * @param useScratchFiles enables the usage of a scratch file if set to true
+     */
+    public PDDocument(boolean useScratchFiles)
+    {
+        document = new COSDocument(useScratchFiles);
         parser = null;
 
         // First we need a trailer
