Post on 03-Jun-2018
8/12/2019 trep word presentation
1/22
Welcometo
Terp Word
8/12/2019 trep word presentation
2/22
Purpose
A free offer to look at a better wordprocessor.For your next generation of applications.Why not move to the next generation ofword processing technology?
8/12/2019 trep word presentation
3/22
Terp Word Team
Kenneth KangSalman Mansoor
Ahmad IbrahimMark WolfeJay Zuckerman
Serban PadencovKen Miller
8/12/2019 trep word presentation
4/22
What is Terp Word?
Terp Word 4.0, isthe latest wordprocessor for theTerp Office SuiteOffers ourcustomers asimple, easy way todesign documentsand edit html code.
8/12/2019 trep word presentation
5/22
Why use Terp Word?
Easy to Use It isnot as complex asusing other Word
processingapplicationsExtra Features Offers extra featuresthat most Wordprocessor apps donot.
8/12/2019 trep word presentation
6/22
Why use Terp Word?
Portable Anincredibly lightprogram.Service Offersexcellentservice.
FREE!
8/12/2019 trep word presentation
7/22
FeaturesWord processing
8/12/2019 trep word presentation
8/22
FeaturesWord processingSplit Screen
8/12/2019 trep word presentation
9/22
FeaturesWord processingSplit Screen
Ability to insertimagesPlatformindependentOpen sourceUses HTML &XML data files
8/12/2019 trep word presentation
10/22
Highlights
Powerful editing toolsCut and Paste between applications
Easy to use and learn
8/12/2019 trep word presentation
11/22
Questions?
8/12/2019 trep word presentation
12/22
Demo
8/12/2019 trep word presentation
13/22
TerpWord Technical Overview
Written in Java usingthe Swing library
Lightweight and fast
125KB download,
less than 2MBinstalled
8/12/2019 trep word presentation
14/22
TerpWord Source
360 methods in 60 classes3800 lines of code
No external dependencies besides thebare JDK
8/12/2019 trep word presentation
15/22
GUI Breakdown
All subcomponents of maindisplay pane extended fromJava Swing classes
Bold, Italic, etc. handled byexisting HTMLDocumentevent listeners
Remaining tool buttonsbound to custom callbacks
8/12/2019 trep word presentation
16/22
Program ArchitectureSimplified Model-View-Controller design patternPresentation and user interface are unifiedDocument contents are internally stored in the model as HTML
Swing GUI Controls HTMLDocument
Unified View/Controller Model
8/12/2019 trep word presentation
17/22
Extensibility
Easy to extendcentralized eventhandling
Unified textformatting eventhandler
8/12/2019 trep word presentation
18/22
Split Screen
Dynamically insert and removepanes in JSplitPaneobject
Top JTextPane for normalediting
Bottom JTextPane containingmarkup code
Synchronization between the
two views is handled byquerying the HTML model uponuser action
8/12/2019 trep word presentation
19/22
Variable State GUI Elements
Buttons are disabled/enabled on the fly toreflect current options available to the user
Standard markupbuttons are disabledwhen editing inHTML pane
8/12/2019 trep word presentation
20/22
Document History
Persistent documentlist provided bylogging documenttransactions to a file
Log updated uponSave and Openactions
8/12/2019 trep word presentation
21/22
Save Dialog on Program Exit
Intercept WINDOW_CLOSING event triggeredby the top-level JFrame
Prompt also triggered upon New Document
Save capability present for multiple file formats:HTML, RTF, TXT
8/12/2019 trep word presentation
22/22
Questions?