Can export a full document, jpeg only
Can specify an export format
Allow to choose export quality
Can export one or more pages
Put prameters parsing in a separated function
Can Export spreads separately
Add some comments to explain the export script
Put the parameters parsing in a separated file
Get the export directory path from the document path (the path for the document to open must be specified in parameters)
Merge pull request #1 from OpenDTP/dev/ref#156

Dev/ref#156