wiki:APP_RESOURCE_LIST_IMPORT_EXPORT_R1

Version 3 (modified by deyan, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=APP_RESOURCE_LIST_IMPORT_EXPORT_R1, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

The goal of this revision is to support import multiple files at once. Optionally, it should allow opening of multiple books at once.

Task requirements

  • Create support for selecting multiple items in the file dialogs
    • This should allow inserting a lot of images or other media at once and optionally multi book opening.
  • Create a menu item in the insert menu that says "Any resource"
    • The file dialog dropdown should have 1 entry - All files (*.*)
    • The tooltip should say "Import any kind of supported resource, folder or zip with resources."
    • When a folder is selected the button should not change to "Open" like it does in the other file dialogs. Insert should be available instead, which should allow import of a folder with resources
    • zip files should be scanned for resources and they should be added to the list with the resources. This should be done carefully, because Sophie internal resources are in zips too.
  • For both, folder and zip, only their supported contents should be added. But if the user has selected an unsupported file, Sophie should try to import it.

Task result

Code.

Implementation idea

(Provide some rough implementation idea(s).)

APP_RESOURCE_LIST_IMPORT_EXPORT_R0

How to demo

  1. Create a book
  2. Go to TestResources folder or download attached zip here
  3. Extract the zip
  4. Go to insert menu, choose Image..., and select 2 images by using ctrl+click
  5. Click insert
  6. Go to page 2
  7. Choose insert -> Any resource
  8. Select the folder and click insert.

Design

(Describe your design here.)

Implementation

(Describe and link the implementation results here (from the wiki or the repository).)

Testing

(Place the testing results here.)

Comments

(Write comments for this or later revisions here.)