Skip to content

[pdf] remember export settings for pdf wizard page#226

Merged
fgdrf merged 1 commit intolocationtech:masterfrom
fgdrf:travis_pdf_export_remember_settings
Mar 21, 2017
Merged

[pdf] remember export settings for pdf wizard page#226
fgdrf merged 1 commit intolocationtech:masterfrom
fgdrf:travis_pdf_export_remember_settings

Conversation

@fgdrf
Copy link
Contributor

@fgdrf fgdrf commented Mar 20, 2017

This pull request improves the PdfExportWizard page. Whenever the user exports a pdf the settings are stored in a PreferenceStore. Stored settings such as

  • dpi,
  • landscape mode,
  • page format, and
  • margin settings for
    • top
    • bottom
    • left and
    • right

are requested if the user exports the map to pdf again. So the user doesn't have to re-configure the same settings again and again.

In addition refactored properties naming (e.g. lower to bottom)

Signed-off-by: Frank Gasdorf fgdrf@users.sourceforge.net

Signed-off-by: Frank Gasdorf <fgdrf@users.sourceforge.net>
@fgdrf fgdrf added this to the uDig-2.0.0 milestone Mar 20, 2017
@fgdrf
Copy link
Contributor Author

fgdrf commented Mar 21, 2017

Tested in a running application to export to pdf again, settings were still present. Restarted application without deleting the workspace and settings haven't changed since restart

@fgdrf fgdrf merged commit 528f8f3 into locationtech:master Mar 21, 2017
@fgdrf fgdrf deleted the travis_pdf_export_remember_settings branch March 21, 2017 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant