Click here to Skip to main content
15,896,437 members
Articles / Desktop Programming / WPF

C.B.R.

Rate me:
Please Sign up or sign in to vote.
4.96/5 (52 votes)
22 Oct 2012GPL329 min read 125.7K   1.8K   132  
Comic and electronic publication reader with library management, extended file conversion, and devices support.
########################################################################################

IN THE TODO LIST, IDEAS

DEVICE VIEW
- refresh apres delete:copy
- popup menu sur tree et view
- delete/copy/rename/message box
- Add automatic conversion to file copy

EPUB
- make navigation on xps and epub
- make epub to book converter
- make epub to xaml converter
- make epub to html converter
- make an epub editor that goes with creating
- epub web viewer by default in UTF8
- improve parsing for epub cover and do not read all ?
- complete epub reading/parsing with all properties + expand the model ready for writing
- parse calibre library ? => read the metadata to complete epub ?

GENERAL

-add web/xaml editor - use the editor in Reflection studio for html/ and flow document for editing

system file icon management on file view
http://www.codeproject.com/KB/WPF/filetoiconconverter.aspx
http://www.codeproject.com/KB/WPF/WPFFileExplorer.aspx

BUG 

########################################################################################

VERSION 1.0

VERSION .9
 
VERSION .8

VERSION .7

VERSION .6



########################################################################################

VERSION .5

Added

- New explorer based on listview (previous listbox with wrap panel loose virtualization)
	- 3 views : grid, simple thumb, extended thumb
- New "home" page with actions and headlines feed (xaml from web)
- New extended options dialog (not enough place in backstage panel)
	- Extended options - Registering CBR with file types
	- Extended options - Move dynamic properties
- Add "file open" from explorer and shell registering

- Add a help button that display an online page
- Add translation(FR+ENG) and management + a dropdown button to choose available languages
- Add a localization window to manage languages
- Make xml and binary localization providers
- Add an option "start with" language

- Move new search box to explorer and device info view
- Disable sort/group/search in explorer if no books
- Rework style in search box control
- Create white shadowed button style to apply on backstage buttons like office

Bugs
- New catalog was not added in the recent file list after close/save
- Replace new WeakAction and Mediator as Sacha Barber point out the not-garbaged references (thanks -:))

########################################################################################

VERSION .4

Note : Mouse management on the image 
- left mouse button = move the image
- CTRL + left mouse button = display the magnifier
- mouse wheeel = scroll up/down
- CTRL + mouse wheel = zoom
Note that CBR has got several parts that can get the focus : the ribbon, the library explorer or the zoom slider.
Don't be surprised if they anwser to mouse events...Click on the image to put the focus on the pages !

Added
- Added/renew images, Add icons in context menu
- Finish the page navigation commands on comics
- Rework on device and usb ribbon, moved the combo, organize it
- Highlight on item view is working with drag and drop
- Book double-click in explorer to open
- Ribbon tags 'book' and 'device' becomes contextual ('book' visible only when a book is open, 'device' only when something is detected)
- Key management while reading : arrows and page up/down (was lost in rewriting)
- New command : Remove book from library
- ePUB format support (file and memory, icon, cover preview, etc...)
- New Document view with Toc explorer and WebBrowser
- Usb event detection and new USB device view in the ribbon device group with drag & drop support from/to explorer
- Device config in backstage to list supported devices, this will help when transfering data to a device to know about the needed transformation

Tech
- Rework like a ZipHelper to centralize 7zip init and functions
- Added a Drag & drop helper to manage automatically D&D in the application

Bugs :
- Scrolling disappear after group/ungroup in library explorer
- Indexing images from pdf conversion was not ok + evol when reading to order pages correctly when number are not well formatted
- BeginInvoke not compatible with stream (not possible to open books....)
- Ribbon if tabs are not visible => can allways clic and display them, need to change to collapsed instead of hidden
- Deleted file where not removed from the library
- Added the *.* for file open
- Commands were not disabled when no book view model
- remove file not existing in the recent file lists
- preloading images was lost in rewriting

########################################################################################

 

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Architect
France France
WPF and MVVM fan, I practice C # in all its forms from the beginning of the NET Framework without mentioning C ++ / MFC and other software packages such as databases, ASP, WCF, Web & Windows services, Application, and now Core and UWP.
In my wasted hours, I am guilty of having fathered C.B.R. and its cousins C.B.R. for WinRT and UWP on the Windows store.
But apart from that, I am a great handyman ... the house, a rocket stove to heat the jacuzzi and the last one: a wood oven for pizza, bread, and everything that goes inside

https://guillaumewaser.wordpress.com/
https://fouretcompagnie.wordpress.com/

Comments and Discussions