Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

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 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 fgdrf:travis_pdf_export_remember_settings branch Mar 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant