| 1 | [[BackLinksMenu]] |
| 2 | |
| 3 | [[TicketQuery(summary=PUBLISHED_BOOK_FORMAT_R0, 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|)]] |
| 4 | |
| 5 | |
| 6 | = Analysis = |
| 7 | |
| 8 | == Overview == |
| 9 | |
| 10 | The user may want to publish his book. A published book cannot be edited. Sophie books do not need to be published to be read in Sophie Reader, but publishing can make sense when the user has finished editing a book. |
| 11 | |
| 12 | == Task requirements == |
| 13 | |
| 14 | * A book can be published by File > Publish Book [[BR]] |
| 15 | First the .spbf book is saved and closed. [[BR]] |
| 16 | Then a published book is generated and opened. [[BR]] |
| 17 | |
| 18 | * A published book has the extension .sophie. |
| 19 | |
| 20 | * When a book is published the unused resources should be striped from it. |
| 21 | |
| 22 | * (optional for R0)If opened in Sophie Author a published book should behave as if it is in Test mode - links are always active, and it cannot be edited. |
| 23 | |
| 24 | == Task result == |
| 25 | |
| 26 | The result of this task is source code. |
| 27 | |
| 28 | == Implementation idea == |
| 29 | |
| 30 | Add a flag indicating that a book is published. |
| 31 | |
| 32 | == Related == |
| 33 | |
| 34 | [wiki:SOPHIE2_BOOK_FORMAT_R0] |
| 35 | |
| 36 | == How to demo == |
| 37 | |
| 38 | * Publish book and show that a new .sophie copy of the book is generated and opened. |
| 39 | * Show that in the .sophie book there are no unused resources. |
| 40 | |
| 41 | = Design = |
| 42 | |
| 43 | |
| 44 | = Implementation = |
| 45 | ^(Implementation results should be described and linked here (from the wiki or the repository))^ |
| 46 | |
| 47 | = Testing = |
| 48 | |
| 49 | = Comments = |
| 50 | ^(Write comments for this or later revisions here.) |