Xem mẫu

Creating atemplateusing awizard Youcanusewizardstocreatetemplatesforletters,faxes,agendas, presentations,andWebpages. Forexample,theFaxWizardguidesyouthroughthefollowingchoices: • Typeoffax(businessorpersonal) • Documentelementslikethedate,subjectline(businessfax), salutation,andcomplementaryclose • Optionsforsenderandrecipientinformation(businessfax) • Texttoincludeinthefooter(businessfax) Tocreateatemplateusingawizard: 1) Fromthemainmenu,chooseFile >Wizards>[typeoftemplate required]. Figure47.Creatingatemplateusingawizard 2) Followtheinstructionsonthepagesofthewizard.Thisprocessis slightly differentforeachtypeoftemplate,buttheformatisvery similar. 3) Inthelastsectionofthewizard,youcanspecify thenameand locationforsavingthetemplate.Thedefaultlocationisyouruser templatesdirectory,butyoucanchooseadifferentlocationifyou prefer. 4) Finally,youhavetheoptionofcreatinganewdocumentfromyour templateimmediately,ormanually changingthetemplate.For futuredocuments,youcanre-usethetemplatecreatedby the wizard,justasyouwoulduseanyothertemplate. Chapter 3 Using Stylesand Templates 71 Editing a template Youcaneditatemplate’sstylesandcontent,andthen,ifyouwish,you canreapply thetemplate’sstylestodocumentsthatwerecreatedfrom thattemplate.(Notethatyoucanonlyreapply styles.Youcannot reapply content.) Toeditatemplate: 1) Fromthemainmenu,chooseFile >Templates>Organize.The TemplateManagementdialogopens(seeFigure48). Figure48: Templatemanagementdialog 2) Intheboxontheleft,double-clickthefolderthatcontainsthe templatethatyouwanttoedit.Alistofallthetemplates containedinthatfolderappearsunderneaththefoldername. 3) Selectthetemplatethatyouwanttoedit. 4) ClicktheCommandsbuttonandchooseEditfromthedrop-downmenu. 5) Editthetemplatejustasyouwouldany otherdocument.Tosave yourchanges,chooseFile>Savefromthemainmenu. 72 Getting Started with OpenOffice.org 3 Updating adocumentfromachanged template Thenexttimeyouopenadocumentthatwascreatedfromthechanged template,thefollowingmessageappears. Figure49.Apply currentstylesmessage ClickYestoapply thetemplate’schangedstylestothedocument.Click Noifyoudonotwanttoapply thetemplate’schangedstylestothe document.Whicheveroptionyouchoose,themessageboxclosesand thedocumentopensinOOo. Adding templates using theExtension Manager TheExtensionManagerprovidesaneasywaytoinstallcollectionsof templates,graphics,macros,orotheradd-insthathavebeen “packaged”intofileswitha.OXTextension.SeeChapter14 (CustomizingOpenOffice.org)formoreabouttheExtensionManager. ThisWebpagelistsmany oftheavailableextensions: http://extensions.services.openoffice.org/. Toinstallanextension,followthesesteps: 1) Downloadanextensionpackageandsaveitanywhereonyour computer. 2) InOOo,selectTools>ExtensionManagerfromthemenubar. IntheExtensionManagerdialog,clickAdd. 3) Afilebrowserwindowopens.Findandselectthepackageof templatesyouwanttoinstallandclickOpen.Thepackagebegins installing.Youmay beaskedtoacceptalicenseagreement. 4) Whenthepackageinstallationiscomplete,thetemplatesare availableforusethroughFile>New>Templatesand DocumentsandtheextensionislistedintheExtensionManager. Chapter 3 Using Stylesand Templates 73 Figure50: Newly-addedpackageoftemplates. Setting adefault template Ifyoucreateadocumentby choosingFile>New>TextDocument (orSpreadsheet,Presentation,orDrawing)fromthemainmenu, OOocreatesthedocumentfromtheDefaulttemplateforthattypeof document.Youcan,however,setacustomtemplatetobethedefault. Youcanresetthedefaultlaterifyouchoose. Setting acustomtemplateasthedefault Youcansetanytemplatetobethedefault,aslongasitisinoneofthe foldersdisplayedintheTemplateManagementdialog. Tosetacustomtemplateasthedefault: 1) Fromthemainmenu,chooseFile >Templates>Organize.The TemplateManagementdialogopens. 2) Intheboxontheleft,selectthefoldercontainingthetemplate thatyouwanttosetasthedefault,thenselectthetemplate. 3) ClicktheCommandsbuttonandchooseSetAsDefault Template fromthedrop-downmenu. Thenexttimethatyoucreateadocumentby choosingFile >New,the documentwillbecreatedfromthistemplate. 74 Getting Started with OpenOffice.org 3 Althoughmany importantsettingscanbechangedintheOptions dialog(seeChapter2),forexampledefaultfontsandpagesize,more advancedsettings(suchaspagemargins)canonly bechangedby replacingthedefaulttemplatewithanewone. Resetting thedefaulttemplate Tore-enableOOo’sDefaulttemplateforadocumenttypeasthe default: 1) IntheTemplateManagementdialog,clickanyfolderintheboxon theleft. 2) ClicktheCommandsbuttonandchooseResetDefault Templatefromthedrop-downmenu. Thenexttimethatyoucreateadocumentby choosingFile >New,the documentwillbecreatedfromOOo’sDefaulttemplateforthat documenttype. Associating a document with a different template Attimesyoumightwanttoassociateadocumentwithadifferent template,orperhapsyou’reworkingwithadocumentthatdidnotstart fromatemplate. Oneofthemajoradvantagesofusingtemplatesistheeaseofupdating stylesinmorethanonedocument,asdescribedonpage73.Ifyou updatestylesby loadinganewsetofstylesfromadifferenttemplate (asdescribedonpage67),thedocumenthasnoassociationwiththe templatefromwhichthestyleswereloaded—soyoucannotusethis method.Whatyouneedtodoisassociatethedocumentwiththe differenttemplate. Youcandothisintwoways.Inbothcases,forbestresultsthenames ofstylesshouldbethesameintheexistingdocumentandthenew template.Iftheyarenot,youwillneedtouseSearchandReplaceto replaceoldstyleswithnewones.SeeChapter4 (GettingStartedwith Writer)formoreaboutreplacingstylesusingSearchandReplace. Method1 Thismethodincludesanygraphicsandwording(suchaslegalnotices) thatexistsinthenewtemplate,aswellasincludingstyles.Ifyoudon’t wantthismaterial,youneedtodeleteit. Chapter 3 Using Stylesand Templates 75 ... - tailieumienphi.vn