Pass DigitalDocument as parameter