6FutureDirectionsThisthesishaspresentedtwoprototypesthatwereimplementedforcomposingcomplexdocumentcontent,oneprototypeforgraphicalstyleandtheotherfortableformattingwithgridsandconstraints.Theseexperimentsledtomanyimplementationissuesandseveralnewresearchproblems.TheimplementationissuesarosefromadesiretoprovideintegratedandinteractiveillustrationandtabularcompositiontoolsintheTiogaandCedarenvironmentsatXeroxPARC.Theresearchproblemsfollowfromadesiretounifythetwoapproachesintothesamedocumentmodelandtoextendtherangeoffunctionalityinbothapproaches.Thischapteroutlinessomeofthesefutureproblemsandissues,inparticularacomprehensivedocumentframework,interactiveuserinterfacesfortheprototypes,variousproblemswithgraphicalstyleandtableformatting,andaproposalforconsideringrule-basedexpertsystemsupportforproblemsindocumentcomposition.6.1DocumentModelThedocumentmodelhasbeenacommonthreadthroughthetwoprototypesforgraphicalstyleandtableformatting.Thisexperienceshouldbegeneralizedintoadocumentmodelthatcanintegratearbitraryclassesofdocumentcontentbymorerigorouslydefiningtheobjectinterfacefortheeditorandtheformatter.Aninteractiveeditorforsuchadocumentmodelwouldcoordinatevariousspecialpurposeeditorsforeachclassofdocumentcontent6-1pï\dî gïWnî gî‡ î gï> þ;ˆ#qï;™î¶îoîüîïî"oî%¤ î-Äî1"î5 î?ï9gî gî­îLî#î)Rî,†î4î6·î=ÚîA®îDðï75î gîÀîoî† î¤î#^î'tî*¶ î3øî8Ç îB îDÔï5î gîô îÌî!sî$µî*0î-´î4+î� ï0žî g î­îðî” î&ãî*Þî,âî/»î4aî7£î<� ï.kî gîQrîHï.kï.kîqî(ï.kï.kîÎî8î"¯î)íî.ýî3î4xî9Gî;Kî?£îB|ï,9î g îþîhîAîpî'&î,8î/zî1~î6àî9¹î>Eï*î g îî îì î%‹î)Dî/+î5`î9ªî;»î?ùï'Ôî gî¤îçîøîü î%oî&Õ î2î9Ñ ï%¢î g îlîý îcî"î$ì î-uî32î:oî>)ï#pî gî;î}î“ î î#^î$Äî+|î., î6÷ î>üï!=î gîÈîÖî†î!Ãî#Çî+} sïî gîŠîÒqï:î¶îîÕîçî"Ùî&âî(Hî/î4Hî:‹î=dïî g î†î6îZî"-î%pî)† î2­î6f î>ŸîDïÖî g îî€îåî!›î&¬î* î-î3ìî:²î?ëï£î gîîîeî ¯ î(oî.óî1Ìî6·î=~î@.îCï qî gî©î‚ îÕîŸ î%¤î*sî-#î0øî2]î:î?%ï ?î g î†îCî¤î%ôî+bî.î1çî5ºî7Ëî?�tïýî)(ïýî)îïýî*hÿÉTVm$ó6FUTUREDIRECTIONS6-2andwouldprovidesharedundo/redofacilities.Severaldifficultiesarisewithdesigningacoordinatedusermodelofinteraction,specifyingthenotionofselectioninnontextualobjects,andarbitratinginteractionrequestsbetweenoverlappingobjects.AmoregeneraldocumentstructurethanahierarchicalonesimilartotheabstractdocumentobjectmodelfromKimura[Kimura,thesis]shouldbeconsideredtoincorporateobjectswitharbitraryinterlinking,suchasfootnotes,floatingfiguresortableswithseveralreferences,andrunningheaders.6.2GraphicalStyleThegraphicalstyleprototypewouldbenefitfromaninteractivedesignenvironmentforspecifyingstyles.ThenotionofinteractivepropertysheetsfromtheXeroxStarcanbeextendedtosupportstylesbynaminggroupsofpropertiesandbymanagingdictionariesofstylerules.Additionalgraphicdesigntoolsforlayoutsandrenderingalgorithmspecificationsarenecessary.Otheruserinterfaceissuesarediscussedbelow.Thesuiteofillustrationrenderingalgorithmsinthegraphicalstyleprototypeprovidesabasisforanextensiblemechanismforaddingnewalgorithms.Initialusesofthismechanismmightbetoaddnewalgorithmsforborderpatterns,shadowsontextobjects,orspecialcolorhighlights.Revealingdifferentlevelsofdetailasastyleattributewhenchangingmediacouldberequestedasanadditionalviewspecification,similartolevelclippingwhenpresentinghierarchicaldocuments.Theideasofgraphicalstyleshouldbeincorporatedintoanewillustrationsystem,perhapsbasedontheGriffinuserinterfaceandeditingmodel.ThisnewillustratorcouldincorporatelayoutconstraintsbyutilizingconstraintsasdemonstratedintheJuno[Nelson,Juno]andGob[Zabula-Salelles,GOB]illustrationsystemsandasincorporatedinthetableformattingprototypedescribedinthisthesis.6.3TableFormatterImplementationThetableformattingprototypeneedsseveralimplementationimprovements.Thecornerstitchingdatastructureimplementationshouldbereplacedbyadynamictopologicaldatastructuresothattheinsertanddeleteeditingoperationsareimplementedwithoutcopying.Theminimalrepaintingalgorithmuïfåî „î!övî"ÿïfåïfåî$uïfåî(�vî)èïfåïfåî*ltïfåîEéïfåîF¯ïfåîG)qï^ùî gî©î®î»î î(V î/Ôî5Ÿ î=¾îAžï\Æî gîÌî1 î?î!Ðî&áî(ó î1– î9Xî<1îAjïZ”î gî-î1 î^î#Qî&” î.¥ î6ßî=JïXbî g îsîîàî"*î'õî/«î6�î:Uî;º îD ïV/î gîÔîØî±îÍî$ƒî)nî.î2”rî8½ïV/ïV/î9!î>›qïV/îBäïSýî gî» îî î!Äî'Mî+î1Î î;î>ðïQËî g îîî{î!šî&Oî* î/ƒ î7¼î:þîA@sïJ¢î gîŠîfqïFÇî¶îîCîî%—î*œî02î4Gî6› î> ïD•î g îîÂ î „î%þî)hî.¡î0² î8·î?pîDMïBbî gî@î6î®î¼îî$&î&+î,9î0¬î3 î8ÿî>mî@~ ï@0î gî©î î— î"bî$sî(Fî-W î5�î;uî@¡îDœï=þî gî îMîÌî$K î.bî1, î9~î>Aï;Ëî gî.îÕî î!Þï8Åî¶îîî î!fî(å î1î3î5àî=î@×ï6“î gîîxî�î0î„ î%9î-Üî0Œî6î9Œ îB±ï4`î gîùî î2îÕî"—î$ëî&ðî*3î-· î5Õî8…î=æï2.î gîøîfî©îœî »î&î*L î2îî:¢îAiîEõï/üî gîôîøî^î1îßî#Rî*[î/Rî3àî64î=µî?¹ï-Éî g î)î î!ëî'Xî)\î-Jî3§î8 ï+—î g îM ï(�î¶îîPîaî „î$Xî)ºî, î5ºî9$î:‰î> ï&^î gî2îgîî}î"Vî'øî+Šî2Qî5“î;îA5îDîï$,î g îçîu î!2î&7 î.pî0Òî7; î?uï!ùî g î³î·î�rî¦ï!ùï!ùî î%qï!ùî(ýî,?rî0ï!ùï!ùî0vî:Tqï!ùî>{ ïÇî gîfî©î­ î!Yî#]î&6î*M î2kî9ìîASîCWï•î gsïlî gîŠîøî qï‘î¶îî6 îTî&Õî+}î0÷ î<Ï ï_î gîÑîýîœî<î& î1÷î7Xî9¬î@LîB­ï,î gî î�î î&î(!î+î.Xî2åî6(î;ï úî g îkî5 î!1î'?î.|î1æî8i î@EŽTVm$ç6FUTUREDIRECTIONS6-3forincrementalinteractiveupdatestotheThehandlingofconstraintsfortablesshouldgracefullysolvetwosetsofrowandcolumnconstraintswhentheconstraintsdonotinteract,butshouldsolvethecombinedconstraintproblemwhentheydo.Thischangewouldpermittheefficientlayoutofamajorityoftabledesignswhileenablingsophisticatedtabledesignstospecifygridmodulesthatweresquareoranyotherspecifiedaspectratio.Additionaltypographycapabilitieswillalsobenecessarytomaketheprototypefullyfunctional.Forexample,thecapabilitytocenterasetofalignedboxeswithingridlinesmentionedinChapter5.Implementingaspreadsheetapplicationbasedonthetableformattingschemewouldstresstheperformanceoftheimplementationandrevealstrategiesfordealingwithrepetitivestructures.Itwouldalsobeanopportunitytoimplementautomaticcomputationofcarry-forwardtableentries,automaticinsertionofcontinuationandsummaryheadings,andvariousstyleattributesforimprovingthereadabilityoflargetables.Itwouldbedesirabletoacceptatabledesignprespecifiedbyadesignerorprecomputedfromaprototypicaltable.Suchacompletelyspecifiedtablelayoutshouldberecognizedtoavoidcomputingthedimensionsofanimmensenumberoftableentries.Theimplementationwouldrequirestrategiesfordealingwithtableentriesthatdonotconformtotheprespecifieddesign,atleastbyreportingthem.6.4TableFormattingAlgorithmsDetermininganaestheticallypleasingtablelayoutremainsasignificantresearchproblem.Thegridstructurepresentedinthisthesisprovidesabasisfordealingwiththeproblem.Balancingtheamountofwhitespacewithinatablecanbeachievedbymanipulatingthepositionofgridlines.Somepossiblestrategiesmightbetoincreasethecolumnwidthwhilereducingtherowheight(orviceversa)ortofoldasinglelongcolumnintoseveralshorterones.Ausefulconjecturetoproveempiricallywouldbewhethertableentrieshavearowdepththatincreasesmonotonicallywithdecreasingcolumnwidth.Themonotonicrelationshipwouldpermitefficientsearchstrategies.Somegraphicdesignprinciplescanbeexpressedintermsofconstraintsongridlines,suchasforcingtableentriestobeequalwidthorequalheightwhentheyare`almost'equal.uïfåî „î!övî"ÿïfåïfåî$uïfåî(�vî)èïfåïfåî*ltïfåîEéïfåîF¯ïfåîG)qï^ùî gî î î î&7î(<î+³î/î5þî8 î@IîBùï\Æî gîÉ îcî’î Çî#ïî&î)Nî,‘î2„ î:½î?0ïZ”î g î¡îîî _î#`î(Âî,ñî/Êî7r î? ïXbî gîÚî†îüîµî!Lî&Pî+¤î.}î4çî9ìî;ýî=bîCóïV/î gî}îHîºî!s î+;î/Rî5î7!î<ªî@ ïSýî gîÅîÀîî%îLî"¥î)†î.~ïP÷î¶ îî î   î))î,]î/¹î2 î9Wî;\î?ÍïNÅî gîèîÈ î  î#Ôî*Ïî-¨ î5(î7-î<%î=Šî@îB$ïL’î gîî-î¤î„î%¾î'Âî.ïIŒî¶ î]î î$¨ î-%î1Íî4;î7î;* ïGZî gî?îDî©î‚ î(!î*2î- î8ãî<%îA ïE(î gîîáî› îç î(pî*2î/7î2’î4æî7: î@HïBõî gî­îI î%Ûî'í î2Dî6[î<ï@Ãî gî:îK îÞî" î)Pî0›î3Ýî9šî=n îDºï>‘î gî]î6 îbî!sî%ˆï;‹î¶îxî|îÑîÌî!Ðî&äî(Iî,_î1‹ î:Áî="î>‡îEï9Xî g îqî‡îì î%î*3î.Wî/½ î8î>ÿîCï7&î gîÉî îcîgî"æî+!î-ú î6œî8­î;îAûï4ôî gîxî�îêîT î(,î-0î2î î:î<ÁîB‹ï2Áî gî}îÑî/î�î�î%.î'3î* î3Aî8×î:Áî>ˆî@éï0�î gsï)gî gîŠîø îú qï%�î¶ îaîµ î$øî+aî/wî4|î:°î< ï#[î gîÞî…îîî!eî(Hî/Éî1Íî4õî9‚î@.îA“îEœï!(î gî2îëîÄî kî(î*Ýî0ëî2ü î;Qî@pîAÕïöî gîtîÉî�îþ î%î'àî./î0@î3·î8Ÿî=9ïÄî g îŠîLî¡î¥î"ôî%Íî+Àî0hî4Ûî;¯î>ˆîA×ï‘î gîî�îOînîrîéî Nî%î(»î.­î2î7’î=(îBï_î gîQ îIîNîõ î(}î-�î/Õî63î:Iî?�îC‹îDðï-î gîî{îi î&*î)ä î1õî7èî=˜ïúî gî  î î"¤î'øî.bî3t î;Ÿî@9ïÈî gî“ î î.î‚î&î(î,“î.¤ î6Ýî9Kî<ÂîA îDáï–î gî î îtîxîÌî$Mî(õî+î/”î4¦î9î<Æî?�ï cî gÿåTVm$16FUTUREDIRECTIONS6-4Wewouldliketoinvestigatehowtoapplythetablealignmenttechniquestomathematicalnotationandpagelayout.Manytwo-dimensionalnotationshavepositioningandalignmentrequirementssimilartotables.Forinstance,matrixnotationisobviouslysimilartoasmalltable,andcenteredlimitsaboveasummationoperatorshareacommonalignment.Whentwoormoresummationnotationsappearinthesamemathematicalsegment,wemaywishthatthecorrespondingpartsarealignedtogetheronacommongridline.Similarly,correspondingalignmentwouldbedesirableforlargefractionswithcomplexnumeratoranddenominatorexpressions,formatriceswithsimilarnumbersofrows,andforintegrationoperatorswithlimits.Pagelayouthaslongusedagridstructuretodescribetherelationshipsamongpartsofthepage.Pageandtablelayoutcouldshareinteractivegraphicdesigntoolsforcreatingthegridstructureandexpressingthealignmentrelationships.Treatingpagesasatablelayoutwouldrequiredefininganewkindoftableentryforflowingtextfromonepagetoanother,possiblyrelatedtothemechanismsinvolvedinthespreadsheetsystemproposedinSection6.3.6.5UserInterfaceDesignThecrucialrequirementhereistodevelopanappropriateusermodelforinteractivelyspecifyinggraphicdesignintentionsforlayoutandstyle.Thespecificationofstylesheetsthroughthemetaphorofprogrammingmacrocommandsforadocumentcompositionsystemisneitherinteractivenorintuitive.Interactivegraphicdesigntoolsareneededtosupportthegraphicdesignertoexpresstheirintentionswithintheirowndesignframework.Thegridstructureprovidesametaphorcommontothegraphicdesigndiscipline.TheinteractivetechniquesimplementedinNEWSWHOLE[Tilbrook,NEWSWHOLE]provideideasforrubber-bandgridlines,measurementrules,andgravityfornearbyplacementofobjects.Theuseofatemplatetorefertoapredefinedtablelayoutorillustrationlayoutwouldsimplifytheconstructionofrepeateddesigns.Theconstraintsystemusedintheprototypefortablelayoutneedsaninteractivespecificationtool.Techniquesarenecessaryforidentifyingalignmentrelationshipsamongasetofgridlines.Specialarrangementsmayhavetobewrittenintheexpressionlanguageunlessasuitableinteractivespecificationtechniquecanbedeveloped.uïfåî „î!övî"ÿïfåïfåî$uïfåî(�vî)èïfåïfåî*ltïfåîEéïfåîF¯ïfåîG)qï^ùî¶îÂîÇîûîÿ î%î(¼î*Áî/Nî2'î6>î=ò îF-ï\Æî g î‹îî Rî$@î*Lî/î;vîB™ïZ”î g îïî1îæ î)áî/Nî1Sî7î:DîA ïXbî gîëî îî!î#ƒî$èî)@î-Àî1î7¯î<<îA ïV/î gîïîŽîæî!Kî( î0Ûî5Äî8ùî;î?bïSýî gîŠîùîýîÖî" î,*î3 î5 î9>î=î@pïQËî g î)î?î î#Ôî*Lî,ºî.î4òî8iî<² ïO˜î g î)îÝî#áî&6î-1î/áî3öî:¯î>iïMfî gîxî» î!t î*�î-=î3Áî7{î<èîC¼ïK4î gî¾îî± îî&Aî)ûïH-î¶î±îµî¨î`î#Bî$§î(î/î1î7}î:V ïEúî gîÔîëîüîÕîËî#Æî'î+î0#î4±î9 îAïCÈî gî“îŽî>î€î!Yî$Ðî+³î.õ î6øî9ÑïA–î g î î«î"8î$=î%¢î)¸î.½î3Áî9î@îAhï?cî gî;îLîbî­î]î#Oî&‘î*§î-Ûî1Éî3Îî:Eî@¡îFï=1î gî@ î‚î:î!>î$ î,þî2^î9�î;“îAlsï6î gîŠî.îQqï2,î¶îît î!Ñî%Šî'?î)Cî/xî1Ë î:¤î>6îCGï/úî g î¶ îxî#^î(Š î02î2âî7æî;(î@ï-Èî g îßîðîÃî  î&äî)½î10î3A î=Šï+•î gî­î]îÃî y î)Èî/(î0Ýî6€ î>…îA’ ï)cî g î”îzî¥î# î&kî,)î..î4<î7î<ûîCŒï'1î gî2î îÈî"çî&Öî*tî/  ï$*î¶îî–îyî$%î%Šî,ýî3Ðî5Õî8®î>”ï!÷î g îÔî> î C î(~ î2yrî4}ï!÷ï!÷î5 ï!÷î>± ïÅî g qïÅîþî î!;î#ë î-~î0õî5? î?bîCÔï“î gîâî’î î!øî$ î*šî.î0öî3î4mî;4î=9îA4îC8ï`î g î»îÒîÖîô î(;î-?î2Dî8Ÿî;x îDÖï.î gî!ï'î¶î îºî î#ýî&î(Úî0Zî3 î7!î<%î@Íïõî g îl îãî"G î+î-Þî5(î7Ø î@+ïÂî g îîsîØîaî!rî$éî)Ñî/‚ î9²î=PîA?îCCï�î gî îîè îøî%æî*Ýî,Bî2] î:b ï ^î gîîîe ÿTVm$.6FUTUREDIRECTIONS6-56.6ExpertStyleRulesTheapplicationofexpertsystemsandknowledgerepresentationstotheproblemofdocumentformattingarebutagleamintheresearcher'seye.Capturingthestylerulesusedingraphicdesignandbookpublishingmaybeaproductiveapproachtowardsaestheticandeffectivepagelayout.Therearecertainlymanystylemanualstochoosefromfortheknowledgebase.Thegridstructureusedinthetableformattingprototypedescribedheremayserveasausefulrepresentationforthearealayoutproblemsthataretheprincipaldomainofgraphicdesign.uïfåî „î!övî"ÿïfåïfåî$uïfåî(�vî)èïfåïfåî*ltïfåîEéïfåîF¯ïfåîG)sï^¾î gîŠîÎîÀqïZåî¶î îœî­î"¿î(¾î,î4Fî?§îA«ïX²î gîîîÍ î$ëî'¶î*·î,î0øî2üî5Õ î>ºïV€î gî7îîãîìî"Íî$Òî*¸î/ãî3&î7V î?uîCîEgïTNî g î¢îÓî!ûî(µî+øî2—î6…î<‘îA`ïRî gî î­î€î"î$ î)wî-Œî0<î3î;[î@îC†ïOéî gîJî+î/îî  î(=î/¾î7$î:Þî>|îB¹îD½ïM·î gîQ îîÃî!œî%-î*2î1oî4Íî7˜î:qîA_ïK„î gîxî^ÿøTVm$õÿ TIMESROMANþŸÿ TIMESROMANþYÿ HELVETICAþŸÿ TIMESROMANþÿ TIMESROMANþŸÿ TIMESROMANþYÿ TIMESROMANû §Q ÛÍj/!ž¦�ºÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ[]<>Beach>Thesis>Chapter6.TiogaMonday, May 6, 1985 1:31 pm PDT