Xem mẫu

Figure31.ChoosingHTML compatibility options Import-Use`English(USA)`localefornumbers WhenimportingnumbersfromanHTMLpage,thedecimaland thousandsseparatorcharactersdifferaccordingtothelocaleofthe HTMLpage.Theclipboard,however,containsnoinformationabout thelocale.Ifthisoptionisnotselected,numberswillbeinterpreted accordingtotheLanguage -LocalesettinginTools>Options> Language Settings>Languages(seepage53).Ifthisoptionis selected,numberswillbeinterpretedasfortheEnglish(USA) locale. Import-ImportunknownHTMLtagsasfields Selectthisoptionifyouwanttagsthatarenotrecognizedby OOoto beimportedasfields.Foranopeningtag,anHTML_ONfieldwillbe createdwiththevalueofthetagname.Foraclosingtag,an HTML_OFFwillbecreated.Thesefieldswillbeconvertedtotagsin theHTML export. Import-Ignorefontsettings SelectthisoptiontohaveOOoignoreallfontsettingswhen importing.ThefontsthatweredefinedintheHTML PageStylewill beused. Export TooptimizetheHTMLexport,selectabrowserorHTML standard fromtheExportbox.IfOpenOffice.orgWriterisselected,specific OpenOffice.orgWriterinstructionsareexported. Export-OpenOffice.orgBasic SelectthisoptiontoincludeOOoBasicmacros(scripts)when exportingtoHTML format.Youmustactivatethisoptionbeforeyou Chapter 2 Setting up OpenOffice.org 51 createtheOpenOffice.orgBasicmacro; otherwisethescriptwillnot beinserted.OpenOffice.orgBasicmacrosmustbelocatedinthe headeroftheHTML document.Onceyouhavecreatedthemacroin theOpenOffice.orgBasicIDE,itappearsinthesourcetextofthe HTMLdocumentintheheader. Ifyouwantthemacrotorunautomatically whentheHTML documentisopened,chooseTools>Customize >Events.See Chapter13 (GettingStartedwithMacros)formoreinformation. Export-Displaywarning WhentheOpenOffice.orgBasicoption(seeabove)isnotselected, theDisplaywarningoptionbecomesavailable.IftheDisplay warningoptionisselected,thenwhenexportingtoHTMLa warningisshownthatOpenOffice.orgBasicmacroswillbelost. Export-Printlayout Selectthisoptiontoexporttheprintlayoutofthecurrentdocument aswell.TheHTMLfiltersupportsCSS2 (CascadingStyleSheets Level2)forprintingdocuments.Thesecapabilitiesareonly effective ifprintlayoutexportisactivated. Export-CopylocalgraphicstoInternet Selectthisoptiontoautomatically uploadtheembeddedpicturesto theInternetserverwhenuploadingusingFTP. Export-Character set Selecttheappropriatecharactersetfortheexport. Choosinglanguage settings Youmay needtodoseveralthingstosetthelanguagesettingstowhat youwant: • Installtherequireddictionaries • Changesomelocaleandlanguagesettings • Choosespellingoptions Installtherequired dictionaries OOo3automatically installsseveraldictionarieswiththeprogram.To addotherdictionaries,useTools>Language >More Dictionaries Online.OOowillopenyourdefaultwebbrowsertoapagecontaining linkstoadditionaldictionariesthatyoucaninstall.Followtheprompts toinstallthem. 52 Getting Started with OpenOffice.org 3 Changelocaleand languagesettings Youcanchangesomedetailsofthelocaleandlanguagesettingsthat OOousesforalldocuments,orforspecificdocuments. IntheOptionsdialog,clickLanguage Settings>Languages. Figure32: LanguageSettingOptions Ontheright-handsideoftheLanguageSettings– Languagespage (Figure33),changetheUserinterface,Localesetting,Default currency,andDefaultlanguagesfordocumentsasrequired.Inthe example,English(UK)hasbeenchosenforalltheappropriatesettings. Ifyouwantthelanguage(dictionary)settingtoapply tothecurrent documentonly,insteadofbeingthedefaultforallnewdocuments, selecttheoptionlabelledForthecurrentdocumentonly. Figure33: Choosinglanguageoptions Ifnecessary,selecttheoptionstoenablesupportforAsianlanguages (Chinese,Japanese,Korean)andsupportforCTL (complextextlayout) languagessuchasHindi,Thai,Hebrew,andArabic.Ifyouchoose eitheroftheseoptions,thenexttimeyouopenthisdialog,youwillsee someextrachoicesunderLanguageSettings,asshowninFigure34. Thesechoices(SearchinginJapanese,AsianLayout,andComplexText Layout)arenotdiscussedhere. Chapter 2 Setting up OpenOffice.org 53 Figure34: Extrapagesavailablewhenenhancedlanguage supportoptionsareselected Choosespelling options Tochoosetheoptionsforcheckingspelling,clickLanguage Settings >WritingAids.IntheOptionssectionofthepage(Figure35),choose thesettingsthatareusefulforyou.Someconsiderations: • Ifyoudonotwantspellingcheckedwhileyoutype,deselect Checkspellingasyoutype andselectDonotmarkerrors.(To findtheseconditem,scrolldownintheOptionslist.) • Ifyouuseacustomdictionarythatincludeswordsinallupper caseandwordswithnumbers(forexample,AS/400),select Checkuppercase wordsandCheckwordswithnumbers. • Checkspecialregionsincludesheaders,footers,frames,and tableswhencheckingspelling. Figure35: Choosinglanguages,dictionaries,andoptions forcheckingspelling 54 Getting Started with OpenOffice.org 3 Hereyoucanalsocheckwhichuser-defined(custom)dictionariesare activeby default,andaddorremovedictionaries,by clickingtheNew orDeletebuttons. Choosing Internet options UsetheInternetOptionspagestodefinesearchenginesandsave proxysettingsforusewithOpenOffice.org. IfyouareusingaNetscapeorMozillabrowser(suchasFirefox),you canenabletheMozillaPlug-insoyoucanopenOOofilesinyour browser,printthem,savethem,andworkwiththeminotherways. IfyouareusingaUnix-orLinux-basedoperatingsystem(including MacOSX),anadditionalpageofE-mailoptionsisavailable,whereyou canspecify thee-mailprogramtousewhenyousendthecurrent documentase-mail(Figure36).UnderWindowstheoperating system’sdefaulte-mailprogramisalwaysused. Figure36: Internetoptions,showingE-mailpageavailable toLinuxusers. Controlling OOo’s AutoCorrect functions SomepeoplefindsomeoralloftheitemsinOOo’sAutoCorrect functionannoyingbecausethey changewhatyoutypewhenyoudonot wantitchanged.ManypeoplefindsomeoftheAutoCorrectfunctions quitehelpful; ifyoudo,thenselecttherelevantoptions.Butifyoufind unexplainedchangesappearinginyourdocument,thisisagoodplace tolooktofindthecause. ToopentheAutoCorrectdialog,clickTools>AutoCorrect.(Youneed tohaveadocumentopenforthismenuitemtoappear.) InWriter,thisdialoghasfivetabs,asshownbelow.Inother componentsofOOo,thedialoghasonly fourtabs. Chapter 2 Setting up OpenOffice.org 55 ... - tailieumienphi.vn