0% found this document useful (0 votes)
145 views503 pages

OpenOffice User Guide

OpenOffice User Guide

Uploaded by

Leon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
145 views503 pages

OpenOffice User Guide

OpenOffice User Guide

Uploaded by

Leon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

OpenOffice.

orgUserGuide
forVersion2.x

[OpenOffice.orgUserGuidefor2.x]
[0.2]
Firstedition:[20050411]
FirstEnglishedition:[20050411]

Contents
Overview................................................................................................... ........................1
UsingtheGuide...........................................................................................................................1

ImportantFeatureswith2.x.......................................................................... ..................3
OpenStandardsXMLFileFormat(OASISOpenDocument)....................................................3
NewMultipaneView.................................................................................................................3
NewCustomShapes(compatiblewithMicrosoftAutoShapes)

..................................................3
MoreSlideTransitionsandAnimationEffects...........................................................................3
EnhancedPDFExport.................................................................................................................3
NewenhancedDatabaseFeatures...............................................................................................5
MailMergeWizard.....................................................................................................................5
EnhancedWordCount

Feature

...................................................................................................5
SupportforNestedTables...........................................................................................................5
DigitalSignaturesSupport

..........................................................................................................5
XFormsSupport..........................................................................................................................5
WordPerfectFilters..................................................................................................................6
Calcnowhas65,536Rows.........................................................................................................6
EnhancedDataPilotSupport.......................................................................................................6
NativeInstallers..........................................................................................................................6
NativeDesktopIntegration.........................................................................................................6
FloatingToolbars........................................................................................................................6
StylePaintBrush.........................................................................................................................6
Quickstarterfor*NIXOperatingSystems..................................................................................7
MultipleLanguageSupport

.........................................................................................................7
NewChartingModule.................................................................................................................7

Chapter1:[Link].......................................... ................................9
[Link].............................................................................................9
Tips............................................................................................................................................10
Turningtipsonandoff.........................................................................................................10
ExtendedTips.......................................................................................................................10
Turningextendedtipsonandoff.....................................................................................10
OpenOffice.orgUserGuidefor2.x

HelpAgent................................................................................................................................10
TurningtheHelpAgentonandoff......................................................................................11

Chapter2:[Link]............................................................... ....13
TheUserInterface................................................................................................................13
[Link].......................................................................................................13
[Link]...................................................................................14
[Link].............................................................................14
TheTitleBar....................................................................................................................14
TheMenuBar..................................................................................................................15
TheToolbars....................................................................................................................15
ExamplesofFloatingToolbars........................................................................................16
UsingFloatingToolbars..................................................................................................17
Thedocumentwindow....................................................................................................17
Dockingtoolbars..............................................................................................................17
Dockingwindows............................................................................................................18
ChangingtheVisibilityofButtonsonToolbars..............................................................18
OpeningandSavingDocuments

...............................................................................................19
OpeningDocuments.............................................................................................................19
SavingDocuments....................................................................................................................22
ChangingtheWorkDirectory..............................................................................................23
SavingDocumentsAutomatically........................................................................................23
BackupaFileAutomatically...........................................................................................23
SavingRecoveryInformationAutomaticallyEvery'n'Minutes.....................................23
[Link]....................................................................................................24
XMLfileformatnames........................................................................................................24
[Link]......................................................................................25
DefinitionoftheXMLformats............................................................................................26
SettingTabstops...................................................................................................................26
SendingDocumentsasEMail

..................................................................................................27
SingleMessages...................................................................................................................27
MailMerge............................................................................................................................27
PrintingDocuments...................................................................................................................28
OpenOffice.orgUserGuidefor2.x

ii

DisplayingPrintPreviews....................................................................................................29
ReducedPrintingofDocuments...........................................................................................30
Toprinttwopagesbesideoneanotherononesheetofpaper.........................................30
PrintinginBlackandWhite

.................................................................................................30
Printingtextandgraphicsinblackandwhite

..................................................................30
PrintingallDrawandImpressdocumentsinblackandwhite

........................................30
Printingonlytextinblackandwhite

...............................................................................31
PrintingallWriterdocumentswithblackandwhitetext

............................................31
PrintingthecurrentWriterdocumentwithblackandwhitetext

................................31
PrintingBrochures................................................................................................................31
Spellcheck.................................................................................................................................32
AutomaticSpellcheck

...........................................................................................................32
CheckingMultilingualTexts................................................................................................33
StartingSpellcheck

...............................................................................................................34
ExcludingTextFromtheSpellcheck

..............................................................................35
AddingWritingAidsforOtherLanguages...............................................................................35
GettingNewWritingAids....................................................................................................35
UsingAutomaticFunctions.......................................................................................................40
UsingAutoCorrectandAutoFormat

.........................................................................................40
TurningoffURLRecognitionby

AutoCorrect

....................................................................42
UndoURLrecognition

....................................................................................................42
TurnoffURLrecognition

................................................................................................42
OtherAutoCorrectfunctions

................................................................................................42
CreatingaLetterTemplateWiththeWizard............................................................................44
Find&Replace.........................................................................................................................45
FindingaWordinText........................................................................................................45
SearchingforWholeWordsOnly........................................................................................46
MatchCase......................................................................................................................46
SearchingforTextWithWildcards.................................................................................46
SearchingBackward........................................................................................................47
CurrentSelectionOnly....................................................................................................47
SearchingforStyles.........................................................................................................47
OpenOffice.orgUserGuidefor2.x

iii

SearchingforTextAttributes..........................................................................................47
SearchingforSpecialFormats........................................................................................48
SimilaritySearch.............................................................................................................48
ListofRegularExpressions..................................................................................................48
DigitalSignaturesandPrintingorExportingDocuments

.........................................................51
Onlyopenpassword,norestriction..................................................................................53
openpassword,restricted..................................................................................................53
Permissionrestrictedonly....................................................................................................53
PDFwithoutrestriction(Defaultbehaviour)........................................................................53
Permissionsavailable................................................................................................................53
Printing.................................................................................................................................53
Changes................................................................................................................................53
Enablecopy..........................................................................................................................54
Enableaccessibility..............................................................................................................54
ProgrammingPDFSecurityinMacros...............................................................................54

Chapter3:ManagingTextDocumentsWithWriter....................................... ...........57
[Link]......................................................................................57
Writing..................................................................................................................................57
DesigningandStructuring....................................................................................................57
[Link].................................................................58
Calculations..........................................................................................................................58
CreatingDrawings................................................................................................................58
InsertingGraphics................................................................................................................58
CustomizableProgramInterface..........................................................................................58
Drag&Drop...........................................................................................................................58
ExtensiveHelpFunctions.....................................................................................................58
[Link]........................................................................................59
[Link]..................................................................................59
EnteringandFormattingText

...................................................................................................60
EnteringNewText...............................................................................................................60
Toenternewtext:............................................................................................................60
Linebreaks.......................................................................................................................60
OpenOffice.orgUserGuidefor2.x

iv

Automaticcorrection.......................................................................................................60
Wordcompletion.............................................................................................................60
InsertingText........................................................................................................................60
SwitchingBetweenInsertModeandOverwriteMode........................................................61
Usingthekeyboard:.........................................................................................................61
Usingthemouse:.............................................................................................................61
EnteringTextAnywhereonaPage......................................................................................61
SelectingandDeletingText

.................................................................................................62
Deletingcharacters..........................................................................................................62
Deletingtext.....................................................................................................................62
Selectingtexttodeletewiththemouse.......................................................................62
Selectingtexttodeletewiththekeyboard..................................................................62
Deletingnonadjacentpiecesoftext...........................................................................62
Statusbaruses..................................................................................................................63
SettingtheViewingZoomFactor...............................................................................63
EditingorActivatingHyperlinks

................................................................................63
ApplyingVariousFonts......................................................................................................63
KeyboardNavigatingandSelectioninWriter.....................................................................64
InsertingSpecialCharacters

.................................................................................................64
InsertingProtectedSpaces,HyphensandConditionalSeparators

.......................................65
Nonbreakingspaces........................................................................................................65
Nonbreakinghyphen......................................................................................................65
Hyphen,emdashandendash

.........................................................................................65
ManualHyphenation.......................................................................................................65
EmphasizingText.................................................................................................................66
ChangingthecolourofText

.................................................................................................66
RotatingText........................................................................................................................66
DefiningBorders..................................................................................................................67
ChooseFormatfromthemenubar,Borderstabpage.....................................................67
UsetheBordersfloatingtoolbarwithTables

..................................................................69
SuperscriptsandSubscripts..................................................................................................71
Applyingsubscripts/superscriptsretrospectively............................................................72
OpenOffice.orgUserGuidefor2.x

WritinginUppercaseorLowercase

.....................................................................................72
MovingTextSectionsinDocuments...................................................................................72
ResettingFontAttributesWhileTyping..............................................................................73
ExampleprocedureforresettingFontAttributes

............................................................73
QuickFormattingUsingtheAdjacentParagraphFormat....................................................73
UsingSections......................................................................................................................73
SectionsandColumns..........................................................................................................75
InsertingSections.................................................................................................................75
EditingSections....................................................................................................................75
FormattingTextWithandWithoutStyles................................................................................76
DirectFormattingorFormattingWithStyles......................................................................76
[Link].......................................................................................77
TheStylesintheStylesandFormattingWindow................................................................77
ParagraphStyles...................................................................................................................77
ParagraphStyle.....................................................................................................................78
CharacterStyles....................................................................................................................80
HierarchicalStyles................................................................................................................80
NumberingStyles................................................................................................................81
CreatingNewCharacterStylesorParagraphStyles............................................................81
CreatingDocumentTemplates

.............................................................................................82
TheAdvantagesoftheStylesandFormattingWindow.......................................................83
FormattingMultipleParagraphs...........................................................................................83
ChangingaStyletheEasyWay...........................................................................................83
PageStylesandPageNumbers............................................................................................84
CreatePageStyles...........................................................................................................84
EditingPageStyles..........................................................................................................88
PageBreaksasParagraphFormats..................................................................................88
ChangingtheFormatofPageNumbers...........................................................................89
PageStylesSummary......................................................................................................91
DefiningdefaultTemplates.......................................................................................................92
TemplatesandStyles.................................................................................................................93
CopyingStylesBetweenTemplatesandDocuments...........................................................93
OpenOffice.orgUserGuidefor2.x

vi

NewStylefromSelection.....................................................................................................94
TransferringFormatsWithFillFormatMode

......................................................................94
UpdatingStylesFromSelections.........................................................................................94
ThisishowtoupdateaStyle:..........................................................................................94
Stylecanalsobeupdatedbyusingdraganddrop:..........................................................95
EnteringandFormattingTextAutomatically

.......................................................................95
DisablingtheAutoCorrectFunction

................................................................................95
ASCIIQuotationmarksarereplacedwithCustomQuotes

.............................................95
Sentencesalwaysbeginwithacapitalletter

....................................................................95
Threeidenticalcharacterswillbecomeawholeline.......................................................96
AutomaticSpellcheck

...............................................................................................................96
ToexcludewordsfromSpellcheck

......................................................................................96
UsingAutoText

.........................................................................................................................97
DefiningAutoText

................................................................................................................98
UsingAutoText

inNetworks

................................................................................................99
PrintingAutoTexts...............................................................................................................99
AutoTextWith

AutoComplete

................................................................................................100
ExceptionsinAutoCorrect

.................................................................................................100
Example.........................................................................................................................100
TextFrames.............................................................................................................................101
Inserting,EditingandLinkingTextFrames.......................................................................101
InsertingTextFrames....................................................................................................101
EditingTextFrames......................................................................................................102
LinkingTextFrames......................................................................................................102
UsingTextAnimation

.............................................................................................................104
DrawingLinesinText

............................................................................................................107
EditingTextWithFontWork

..................................................................................................108
AligningTextWithLines.......................................................................................................110
Aligningtextonafreeformline........................................................................................110
Aligningtextwithstraightlines..............................................................................................110
TheNavigator..........................................................................................................................111
JumpingFromOneObjecttoAnotherinText...................................................................111
OpenOffice.orgUserGuidefor2.x

vii

JumpingtoaSpecificPage.................................................................................................112
ChaptersinNavigator.........................................................................................................113
IndexesandTablesofContentsinWriter...............................................................................114
DefiningIndex/TableofContentsEntries..........................................................................114
EditingorDeletingIndexandTableEntries......................................................................115
CreatingaTableofContents..............................................................................................116
CreatingAlphabeticalIndexes...........................................................................................117
CreatingUserDefinedIndexes..........................................................................................117
UsingaConcordanceFile

..................................................................................................119
Preparation.....................................................................................................................119
EnteringData.................................................................................................................119
Examplefile...................................................................................................................120
CreatingBibliographies......................................................................................................122
Updating,EditingandDeletingIndexesandTablesofContents

......................................123
EditingtheFormatofanIndex/TableofContents.............................................................123
IndexesCoveringMultipleDocuments..............................................................................124
HeadingsandNumbering........................................................................................................125
NumberingandNumberingStyles.....................................................................................125
TurningBulletsOnandOff................................................................................................125
TurningNumberingOnandOff.........................................................................................126
Examplenumberedlistwithsublevels:.........................................................................127
OutlineNumbering.............................................................................................................127
AutomaticBulletsandNumbering.....................................................................................128
NumberingIllustrationsbyChapters..................................................................................129
DefiningNumberRanges...................................................................................................129
UsingMasterDocumentsandSubdocuments.........................................................................131
ImportingListsFromOtherTextPrograms............................................................................136
ChangingNumberingviatheKeyboard.............................................................................136
InterruptingandContinuingNumbering.................................................................................137
Deletetheautomaticnumbering

.........................................................................................137
Formattingtheparagraph...................................................................................................137
Continuingnumberingwithanewstartingvalue...............................................................137
OpenOffice.orgUserGuidefor2.x

viii

NumberingLines.....................................................................................................................138
LineNumberingforAllParagraphs...................................................................................138
LineNumberingforParticularParagraphs.........................................................................138
TablesinText..........................................................................................................................139
InsertingTables..................................................................................................................139
Insertinganemptytableusingthemouse:....................................................................139
InsertinganemptytableviatheInsertmenuorfloatingtoolbar:..................................139
Insertingasinglerowtablebytyping++...or||............................................................139
[Link]................................................139
[Link]............................................140
DeletingTables...................................................................................................................140
InsertingParagraphsBeforeTablesatStartofPage..........................................................141
Resizecolumns,rows,andcells....................................................................................141
TableAutoFormat..........................................................................................................141
Tablepropertiesingeneral............................................................................................141
CalculatinginTextDocuments...............................................................................................143
FormulaeinTextDocuments.............................................................................................143
FormulaOptions............................................................................................................143
BasicCalculationFunctions......................................................................................143
BasicFunctionsintheSubmenu...............................................................................143
Operators...................................................................................................................143
StatisticalFunctions..................................................................................................144
TrigonometricFunctions..........................................................................................144
MoreDefinedValues................................................................................................145
CalculatinginText.............................................................................................................145
CalculatingWithformulaeLocatedinText

.......................................................................146
ConditionalText.................................................................................................................147
Definingandusingconditionaltextbyexample

........................................................147
Definingaconditionalvariable

.................................................................................147
TypeReminderinthedocument,andthenaddspace................................................147
Definingaconditionandtheconditionaltext:

..........................................................148
Displayingtheconditionaltext:

.....................................................................................149
OpenOffice.orgUserGuidefor2.x

ix

CalculatinginTextDocumentTables................................................................................150
CalculatingAcrossMultipleTables...................................................................................151
CalculatingCellTotalsinTables

.......................................................................................152
MergingandSplittingCells

................................................................................................152
[Link].......................................................................152
[Link].......................................................................152
[Link]....................................................152
[Link]........................152
InsertingorDeletingRows/ColumnsUsingtheKeyboard

................................................153
RepeatingMultipleHeadingRowsinaTable...................................................................153
EnlargingandReducingCellsinTextTables....................................................................153
AdaptingTableWidths.......................................................................................................154
Images,Drawings,ClipartandFontWork

..............................................................................156
PositioningObjects.............................................................................................................156
CaptionsandNumberRanges

............................................................................................157
DefiningCaptions

..........................................................................................................157
Editingordeleting

captions

...........................................................................................157
Insertinganobjectinanumberrange............................................................................157
NumberingIllustrationsbyChapters..................................................................................158
InsertingGraphics..............................................................................................................158
InsertingGraphicsviadialogue.....................................................................................158
[Link]..........................................159
InsertingGraphicsviaDragandDropFromtheGallery

..............................................159
AddingGraphicsTotheGalleryviaDragandDrop.....................................................160
InsertingGraphicsWithaScanner................................................................................160
[Link].....................................................................160
DraggingandDroppingtheChartwithMoveorCopy.................................................160
ChartswithLinkedData................................................................................................161
InsertingDecorativeHorizontalLines...............................................................................161
Headers,FootersandFootnotes..............................................................................................162
SomeNotesConcerningHeadersandFooters

...................................................................162
InsertingPageNumbersinFooters....................................................................................162
OpenOffice.orgUserGuidefor2.x

FormattingHeadersandFooters

........................................................................................165
DefiningDifferentHeaders

................................................................................................165
InsertingPageNumbersofContinuationPages.................................................................165
InsertingLinesUnderHeaders

...........................................................................................166
FootnotesandEndnotes......................................................................................................167
InsertingandEditingFootnotes..........................................................................................168
Insertingafootnoteviaanicon.....................................................................................168
Insertingafootnoteviaadialogue.................................................................................168
TipsforWorkingwithFootnotes..................................................................................169
SpacingBetweenFootnotes...............................................................................................169
Spellcheck,Dictionaries,Hyphenation

...................................................................................170
ControllingSpellcheck

viathedialogue

.............................................................................170
AutomaticSpellcheck

.........................................................................................................171
Toexcludewordsfromthe

Spellcheck

:........................................................................172
RemovingWordsFromUserDefinedDictionaries

...........................................................172
Hyphenation.......................................................................................................................172
Automatichyphenation..................................................................................................172
ManualHyphenation.....................................................................................................173
Thesaurus............................................................................................................................174
FormLetters,BusinessCardsandLabels...............................................................................176
CreatingFormLetters.........................................................................................................176
BriefInstructions(ForQuickResults)..........................................................................176
FixedandVariableFields..............................................................................................176
CreatingandPrintingLabels

andBusinessCards

..............................................................178
DesigningBusinessCardsviadialogue.........................................................................178
DesigningLabelsandBusinessCards

...........................................................................179
PrintingLabelsWithSerialNumbers

............................................................................179
PrintingAddressLabels

.................................................................................................180
AvoidingBlankParagraphs................................................................................................181
Newsletters..............................................................................................................................183
CreatingaNewsletterFromaTemplate.............................................................................184
CreatingPageStyles......................................................................................................184
OpenOffice.orgUserGuidefor2.x

xi

EditingHeaders

.............................................................................................................184
EditingColumns............................................................................................................184
EditingParagraphStyles................................................................................................185
WorkingwithFrames....................................................................................................186
FormattingaFrame.......................................................................................................186
AnchoringFrames.........................................................................................................186
DefiningaFrameWrap................................................................................................186
DefiningaWrapRegion....................................................................................................187
UsingcolouredorGraphicBackgrounds

..........................................................................188
CreatingaTableofContents.............................................................................................188
FurtherInformation............................................................................................................191
UsingAutomaticHyphenation

......................................................................................191
LettersWithEnvelopes...........................................................................................................192
UsingaReadyMadeLetterTemplate...............................................................................192
CreatingaLetterTemplateUsingtheWizard....................................................................192
CreatinganEnvelopeTemplate.........................................................................................193
InsertinganEnvelopeintoaDocument.........................................................................194
AdjustingthePrinterforthePrintout...........................................................................195
CreatingandPrintingaLetterWithanEnvelope..............................................................195
CreatinganSingleEnvelope..............................................................................................195
AddingaPOSTNETBarCodetoanEnvelope..................................................................196
GetaPOSTNETfont.....................................................................................................196
BuildingaCompletePOSTNETBarCodeforPrinting................................................196
[Link]..........................................................................197
SettingTextLanguage

........................................................................................................197
AddingMoreTextLanguages............................................................................................198
SettingUILanguage

...........................................................................................................200
AddingMultipleLanguageSupportusing

LanguagePacks

...................................................200

Chapter4:SpreadsheetsinCalc..................................................... ............................203
OverviewoftheFunctionsinCalc..........................................................................................203
Calculating..........................................................................................................................203
DatabaseFunctions.............................................................................................................203
OpenOffice.orgUserGuidefor2.x

xii

ArrangingData...................................................................................................................203
ExaminingandExtrapolating

Data

....................................................................................203
WhatIfCalculations..........................................................................................................203
DynamicCharts..................................................................................................................204
ImportingandExportingData............................................................................................204
ImportingintoCalc........................................................................................................204
ExportingfromCalc......................................................................................................205
ReferencingDatainNetworksandtheInternet.................................................................205
TheCalcWindow..................................................................................................................206
StructureofaSpreadsheet..................................................................................................206
RowsandColumns.............................................................................................................207
MultipleSheetsinaDocument..........................................................................................208
InsertingSheets..............................................................................................................208
RenamingSheets...........................................................................................................208
ValuesandFormulaeasCellContents...................................................................................210
CalculatinginSpreadsheets................................................................................................210
UsingBuiltinFunctions....................................................................................................212
AShortDescriptionofWhatCellsCanContain................................................................213
Text.....................................................................................................................................213
Numbers.............................................................................................................................215
CalculatingWithformulae......................................................................................................218
CalculatingWithDatesandTimes.........................................................................................219
InsertingandEditingNotes................................................................................................220
HandlingMultipleSheets........................................................................................................221
DisplayingMultipleSheets................................................................................................221
WorkingWithMultipleSheets...........................................................................................221
PrintingSpreadsheets.........................................................................................................222
FormattingaSpreadsheet........................................................................................................223
FormatingNumbers............................................................................................................223
Dates..............................................................................................................................223
FormattingCellsandSheets...............................................................................................224
UsingAutoFormatforTables

.............................................................................................224
OpenOffice.orgUserGuidefor2.x

xiii

LayoutofSpreadsheets...........................................................................................................225
DesigningSpreadsheetsClearly.........................................................................................225
FormattingTextinaSpreadsheet.......................................................................................226
FormattingNumbersinaSpreadsheet...............................................................................226
FormattingBordersandBackgroundsforCellsandPages

................................................226
AddressingCells.....................................................................................................................227
AddressesandReferences,AbsoluteandRelative.............................................................227
RelativeAddressing.......................................................................................................227
AbsoluteAddressing.....................................................................................................227
WhentoUseRelativeandAbsoluteReferences...........................................................227
AddressingbyName..........................................................................................................229
RecognizingNamesasAddressing....................................................................................229
OnlyCopyVisibleCells

.....................................................................................................230
ReferencingaCellinAnotherDocument..........................................................................231
UsingReferencesinformulae.................................................................................................232
ReferencestoOtherSheets.................................................................................................233
UsingCharts............................................................................................................................235
EditingChartTitles

............................................................................................................238
EditingChartLegends........................................................................................................238
AddingTexturetoChartBars

............................................................................................239
EditingChartAxis..............................................................................................................239
DatabaseFunctionsinCalc.....................................................................................................240
DefiningDatabaseRanges.................................................................................................240
CreatingRecordsinaSpreadsheet.....................................................................................240
DefiningDatabaseRanges.................................................................................................242
SortingDatabaseRanges....................................................................................................242
FilteringDatabaseRanges..................................................................................................243
GroupingDatabaseRangesandCalculatingSubtotals......................................................245
TransferringDataFromaDataSourcetoaSpreadsheet

...................................................246
OpeningaDatabaseFileinCalc

...................................................................................246
EvaluatingDataWithCalc......................................................................................................249
DataPilot.............................................................................................................................249
OpenOffice.orgUserGuidefor2.x

xiv

WhatuseistheDataPilot?..................................................................................................250
CreatingDataPilotTables...................................................................................................250
SelectingDataPilotOutputRanges....................................................................................252
EditingDataPilotTables.....................................................................................................252
FilteringDataPilotTables...................................................................................................252
UpdatingDataPilotTables.................................................................................................252
DeletingDataPilotTables...................................................................................................252
ConsolidatingData..................................................................................................................253
ApplyingGoalSeek................................................................................................................255
NamingCells......................................................................................................................255
StartGoalSeek...................................................................................................................256
ApplyingMultipleOperations............................................................................................256
MultipleOperationsinColumnsorRows.....................................................................256
Examples........................................................................................................................256
CalculatingWithOneFormulaandOneVariable........................................................257
CalculatingwithSeveralformulaeSimultaneously......................................................257
MultipleOperationsAcrossRowsandColumns...............................................................257
CalculatingwithTwoVariables....................................................................................258
UsingScenarios.......................................................................................................................259
UsingReadyMadeScenarios............................................................................................259
CreatingPersonalScenarios...............................................................................................259
ValidityofCellContents........................................................................................................261
UsingCellContentsValidity..............................................................................................261
Samplemacro:....................................................................................................................263
PrintingorExportingSpreadsheets.........................................................................................264
PrintingSheetDetails.........................................................................................................264
DefiningNumberofPagesforPrinting..............................................................................264
PrintingSheetsinLandscapeFormat.................................................................................265
PrintingRowsorColumnsonEveryPage.........................................................................265
SavingandOpeningSheetsinHTML....................................................................................267
SavingSheetsinHTML.....................................................................................................267
OpeningSheetsinHTML..................................................................................................267
OpenOffice.orgUserGuidefor2.x

xv

formulaeandValuesasCSVFiles..........................................................................................268
ExportingformulaeandValuesasCSVFiles....................................................................268
ImportingaCSVFile.........................................................................................................268
AutoFill...................................................................................................................................270
ApplyingSortLists.............................................................................................................270
AutomaticRowFilling.......................................................................................................270
ProtectingSheets................................................................................................................271
CreatingaReference..........................................................................................................272
FurtherInformation............................................................................................................272
Insertinganote..................................................................................................................273
Insertingasheetintoanotherdocument............................................................................273
Displayingformulae..........................................................................................................273
Usingprintranges..............................................................................................................273
FreezingColumns...............................................................................................................273
SplittingaCalcWindow....................................................................................................273
ConditionalFormatting......................................................................................................273
DefiningValidity................................................................................................................275
CreatingInputHelp............................................................................................................275
LinkingSheetInformation.................................................................................................276

Chapter5:CreatingPresentationsWithImpress.............................................. ........277
[Link].................................................................278
HowtoCreateaBasicPresentation........................................................................................279
CreatingaPresentationWiththeWizard...........................................................................279
CreatingaSimplePresentationWithouttheWizard..........................................................284
SwitchingPresentationViews............................................................................................285
ArrangingSlides.................................................................................................................286
IncorporatingSlideShowEffects.......................................................................................287
InSlideEffects..............................................................................................................287
ShowingaPresentation......................................................................................................287
EditingPresentations...............................................................................................................288
DefiningBackgroundcolours

.............................................................................................288
SwitchingPageStyles........................................................................................................289
OpenOffice.orgUserGuidefor2.x

xvi

PresentationStyles..............................................................................................................289
UsingOutlineView.................................................................................................................290
SlideTransitions,EffectsandAnimation...............................................................................291
AutomaticSlideTransition.................................................................................................291
EffectsforObjects..............................................................................................................291
SelectingHiddenObjects...................................................................................................292
IndividualPresentations.....................................................................................................292
Exporting,PrintingandPresenting.........................................................................................294
PrintingaPresentationSlide..............................................................................................294
ExportingPresentationsasWebPages...............................................................................295
ExchangingDataviatheClipboard....................................................................................296
CreatingaBusinessReport.....................................................................................................297
CreatingaBusinessReportinPresentationForm..............................................................297
EnteringTextintheOutlineView.....................................................................................298
ChangingtheSlideLayout.................................................................................................298
DesigningSlides.................................................................................................................298
CreatingaSlideShow.............................................................................................................300
DefiningorChangingSlideOrder.....................................................................................300
CreatingCrossFadeEffects..............................................................................................300
StartingPresentations........................................................................................................300
WorkingwithConnectors.......................................................................................................302
"EdgetoEdgeConnectors................................................................................................302
"MiddletoMiddleConnectors.........................................................................................303
EditingConnectors.............................................................................................................303
UsingaSnapGrid.............................................................................................................303
EditingGluePoints............................................................................................................304
HintsandTipsforaSuccessfulPresentation..........................................................................305
UsingtheMouseasaPointer.............................................................................................305
ChangingBulletSymbolsinOutlineView........................................................................305
Inserting,DeletingandRenamingSlides

...........................................................................305
CreatingandPrintingHandouts.........................................................................................306
OrganizingandPrintingNotes...........................................................................................306
OpenOffice.orgUserGuidefor2.x

xvii

UsingtheNavigator............................................................................................................307
EditJumpTargets...............................................................................................................307
ModifyingObjectSize.......................................................................................................307
CreatingAdditionalObjects..............................................................................................307
ChangingFontandFontSize............................................................................................307
Modifyingcolours.............................................................................................................307
KeyboardNavigatingandSelectioninImpress.................................................................308

Chapter6:CreatingDrawingswithDraw

................................................................ ..309
[Link].............................................................................................309
CreatingandPublishingVectorGraphics

..........................................................................309
Creating3DObjects...........................................................................................................309
ManageOrganizationCharts

..............................................................................................309
Drawing..............................................................................................................................309
Export.................................................................................................................................310
Construct.............................................................................................................................310
Integrate..............................................................................................................................310
[Link]........................................................................................311
[Link]............................................................311
DrawingRectanglesandEllipses

andEnteringText

.........................................................312
RotatingandResizingObjects

...........................................................................................314
ArrangingandAligningObjects

.............................................................................................315
ArrangingObjects..............................................................................................................315
AligningObjects.................................................................................................................315
DrawingSectorsandSegments

..........................................................................................316
EnteringText......................................................................................................................317
NormalText........................................................................................................................317
FittingTexttoFrames........................................................................................................317
Callouts...............................................................................................................................318
ConvertingTextInto3D....................................................................................................318
Drawing,EditingandConverting...........................................................................................319
CurvesandObjects.............................................................................................................319
DrawingCurves.............................................................................................................319
OpenOffice.orgUserGuidefor2.x

xviii

EditingCurves....................................................................................................................320
VectorizingBitmaps...........................................................................................................321
ConvertingTextCharacterstoCurves...............................................................................322
ConvertingtoCurves,Polygons,3D..................................................................................323
WorkingWithObjects............................................................................................................326
DuplicatingObjects............................................................................................................326
CrossFadingBetweenTwoObjects

..................................................................................327
GroupingObjects..........................................................................................................328
EnteringGroups.............................................................................................................328
ExitingGroups...............................................................................................................328
NavigatingBetweenObjectsofaGroup.......................................................................329
CombiningObjectsandConstructingShapes.........................................................................330
CombiningObjects.............................................................................................................330
ConstructingShapes...........................................................................................................330
ShapesMerge..............................................................................................................331
ShapesSubtract...........................................................................................................331
GraphicObjectsinDrawingsandPresentations.....................................................................332
InsertingBitmaps................................................................................................................332
EditingBitmaps..................................................................................................................332
ApplyingTexttoBitmaps.............................................................................................332
SavingBitmaps...................................................................................................................333
WorkingWithcolours.............................................................................................................335
ThecolourBar

....................................................................................................................335
DefiningCustomcolours

....................................................................................................336
ReplacingcoloursusingtheEyedropper............................................................................338
GradientsandPatternsforObjectsand

Background

..............................................................340
DefiningGradients.............................................................................................................340
DefiningacustomcolourGradient

....................................................................................340
InteractivelyDefiningacolourGradient

............................................................................341
OrganizingtheAttributeTables.........................................................................................342
3DGlobe.................................................................................................................................343
CreatingTextureona3DObject........................................................................................343
OpenOffice.orgUserGuidefor2.x

xix

UsingIllumination..............................................................................................................345
More3dEffects..................................................................................................................345
3DEffects:Favourites...................................................................................................345
3DEffects:Geometry....................................................................................................346
3DEffects:Shading

.......................................................................................................346
3DEffects:Illumination................................................................................................347
3DEffects:TexturesandMaterial................................................................................347
Designing3DObjectsFromFontCharacters.........................................................................348
FirstStep:.......................................................................................................................348
SecondStep:..................................................................................................................349
ThirdStep:....................................................................................................................350
FourthStep:...................................................................................................................352
FifthStep:......................................................................................................................353
UsingaGrid.......................................................................................................................355
MechanicalorConstructionDrawings

....................................................................................356
CreatingaConstructionPlan..............................................................................................357
UsingSnapLines...........................................................................................................361
UsingDimensionLines......................................................................................................361
WorkingWithMultipleLayers..........................................................................................362
UsingOnecolourperLayer

...............................................................................................363

Chapter7:DatabasesandDataSources

........................................................... ..........364
Creatingadatabasefile

...........................................................................................................364
Creatingatable.......................................................................................................................365
Creatingarelatedtable............................................................................................................366
Creatingarelationshipbetweentables....................................................................................367
Creatingadataentryform.......................................................................................................367
Makingdataentryeasier.........................................................................................................368
Modifyingadatefield

........................................................................................................368
Addingalistboxtoaform.................................................................................................369
Addingacombobox

toaform

...........................................................................................370
Changingthetaborderofaform.......................................................................................371
ViewingData..........................................................................................................................372
OpenOffice.orgUserGuidefor2.x

xx

Copyingtheform...............................................................................................................372
Changingtheform'sproperties...........................................................................................372
Settingasortorderforaform............................................................................................372
Creatingaquerytofindtoday'sappointments........................................................................373
Addasortordertothequery..............................................................................................374
ChangingtheJointypeinthequery...................................................................................374
Creatingareport......................................................................................................................375
SometipsforusingtheCalendardatabase.............................................................................376
Addingdatatoarelatedtable.............................................................................................376
Opentheformfortherelatedtable................................................................................376
OpentheDataSources

window

.....................................................................................376
Refreshingtheform.......................................................................................................377
FilteringData......................................................................................................................377
RegisteringaDataSource

.......................................................................................................378
Connectingtoothertypesofdatabases...................................................................................378
AddressBooks........................................................................................................................379
RegisteringanAddressBook

.............................................................................................379
UsingtheWizardtoimportanAddressBook...................................................................379
ManuallyRegistering

anExistingAddressBook

.............................................................379
SystemAddressBookasDataSource................................................................................380
ImportingandExportingDatainTextFormat

...................................................................380
ExportinginCSVTextFormat..........................................................................................381
FormDesign............................................................................................................................382
[Link]....................................................................................................382
Availablecontrols..........................................................................................................383
Customizingcontrols.....................................................................................................384
Creatingagroupofoptionbuttons................................................................................385
Doanyothercontrolshaveanwizard?..............................................................................385
Attachingadatasourcetoaform..................................................................................385
Associatingdatawithafield..........................................................................................386
Activatingformcontrolsinadocument

........................................................................386
Howtousetheform......................................................................................................387
OpenOffice.orgUserGuidefor2.x

xxi

SearchinginTablesandFormDocuments............................................................................388
SearchingWithaFormFilter

............................................................................................389
Operators........................................................................................................................389
Commands....................................................................................................................390

Chapter8:[Link].................................................. ..................392
[Link].......................................392
ConfiguringtheKeyboard..................................................................................................392
ConfiguringMenus.............................................................................................................393
ChangingToolbars.............................................................................................................394
Inserting,MovingandDeletingIconsonToolbars

............................................................394
ChangingIconViews.........................................................................................................395
ChangingtheLookoftheUserInterface................................................................................396
SelectingMeasurementUnits

.............................................................................................396
Moving,DeletingorCopyingIcons...................................................................................396
[Link]

..................................................397
CreatingaLANFriendlyFaxingSolutionunderLinux....................................................397
CreatingaLANFriendlyFaxingSolutionunderWindows...............................................397
SendingaFaxviadialogue.................................................................................................398
[Link]...............................................................398
FurtherInformation.................................................................................................................398

Chapter9:AdvancedTechniques...................................................... .........................399
CopyingandMovingDataUsingDragandDrop

..................................................................399
[Link]...........................................399
InsertingObjectsFromtheGallery

....................................................................................399
Insertinganobjectasacopy..........................................................................................399
Insertinganobjectasalink...........................................................................................400
Insertinganobjectasabackgroundgraphic

..................................................................400
Insertinganobjectasatexture(pattern)foranotherobject..........................................400
CopyingGraphicsFromtheGallery

..................................................................................400
InsertingGraphicsFromaDocumentintheGallery.........................................................400
CopyingGraphicsBetweenDocuments.............................................................................401
CopyingDrawObjectsintoOtherDocuments...................................................................401
OpenOffice.orgUserGuidefor2.x

xxii

InsertingaDrawobjectinatextdocument

........................................................................402
InsertingaDrawobjectinaspreadsheet

............................................................................403
DragandDropWiththe

DataSourceView

............................................................................404
Usingdatainatextdocument............................................................................................404
Applyingdatatoatabledocument.....................................................................................404
Insertingcontrolsinatextform.........................................................................................404
CopyingSheetAreastoTextDocuments...............................................................................405
InsertingDataFromSpreadsheets......................................................................................405
InsertingDataFromTextDocuments................................................................................405
CopyingTextUsingDragandDrop

..................................................................................406
RevisionMarkingFunction.....................................................................................................407
RecordingandDisplayingChanges...................................................................................407
AcceptingorRejectingChanges........................................................................................408
ComparingVersionsofaDocument..................................................................................409
MergingVersions...............................................................................................................409
RecordingChanges.............................................................................................................409
VersionManagement..............................................................................................................410
[Link]...................................................................................411
ProtectingAllDocumentsWhenSaving............................................................................411
Turningonprotection...................................................................................................411
Turningoffprotection...................................................................................................411
ProtectingRevisionMarking..............................................................................................411
Turningonrevisionprotection.....................................................................................411
Turningoffrevisionprotection.....................................................................................411
ProtectingCellRangesinCalc...........................................................................................411
ProtectingSectionsinWriter..............................................................................................412
Turningonprotection...................................................................................................412
Turningoffprotection...................................................................................................412
[Link]............................................................412
AutomaticProtectionofIndexesandTables......................................................................413
Turningonprotection...................................................................................................413
Turningoffprotection...................................................................................................413
OpenOffice.orgUserGuidefor2.x

xxiii

Protectingframes,graphicsandOLEobjects....................................................................413
ProtectingDrawingObjectsandFormObjects..................................................................413
Turningonprotection...................................................................................................413
Turningoffprotection...................................................................................................413
ProtectingRecords..............................................................................................................414
DigitalSignaturesandEncryption

..........................................................................................414
Overview............................................................................................................................414
Certificates..........................................................................................................................414
HowtogetaCertificate?

...............................................................................................414
Selfsignedcertificates..............................................................................................415
CertificatesfromaCertificateAuthority

..................................................................415
[Link]

....................................................................415
ChangingDefaultsandOtherConfigurationItems................................................................416
SavingConfigurationWithDocument...............................................................................416
InsertingandEditingTabStops.........................................................................................416
MovingTabsontheRuler.............................................................................................417
ChangingthePropertiesofTabs....................................................................................417
DeletingTabs.................................................................................................................417
ChangingtheDefaults...................................................................................................417
ChangingthecolourofText

...................................................................................................418
InsertingLandscapepagesintoaPortraitorientedDocument...........................................418
MoreonTemplates.................................................................................................................419
ChangingDefaultTemplates..............................................................................................419
ModifyingDefaultTemplates............................................................................................419
ResettingDefaultTemplates..............................................................................................419
UsingCustomTemplates

...................................................................................................419
[Link]..............................................................................420

Chapter10:[Link]

....................................421
AccessingtheSampleMacros................................................................................................421
CallingtheSampleMacros................................................................................................421
EditingtheSampleMacros................................................................................................422
TheSampleMacros.................................................................................................................423
OpenOffice.orgUserGuidefor2.x

xxiv

AutoText.............................................................................................................................423
ChangeAllChars.................................................................................................................423
GetTexts.............................................................................................................................423
ReadDir...............................................................................................................................423
Userfields............................................................................................................................423

Chapter11:[Link].................................. .................................424
FormulaEntry.........................................................................................................................424
Toolbar..............................................................................................................................424
CommandIconBox............................................................................................................425
CommanddialogueBox.....................................................................................................425
CreatinganEquationwithdialogueCommands.....................................................................426
SpecialFormating...................................................................................................................427
Exponentiation:...................................................................................................................427
Subscripting:.......................................................................................................................427
Leadingandtrailingsuperscriptandsubscript:

..................................................................427
Centresubscript/superscript:

............................................................................................427
Underbrace/Overbrace:...................................................................................................428
VarioustypesofBrackets...................................................................................................428
SpecialCharacters...................................................................................................................429
SpecialOperators....................................................................................................................430
IntegralSign:......................................................................................................................430
SummationCharacter:........................................................................................................430
ProductCharacter:..............................................................................................................430
VectorsandMatrices...............................................................................................................431
Vector.................................................................................................................................431
Matrix.................................................................................................................................431
Formatting...............................................................................................................................432
Size.....................................................................................................................................432
Colour.................................................................................................................................432
Layout.................................................................................................................................432
Alignment...........................................................................................................................433
Examples.................................................................................................................................434
OpenOffice.orgUserGuidefor2.x

xxv

Chapter12:BuildingFormswithXforms

................................................. ................435
StepbyStepProcedure...........................................................................................................435

Chapter13:XmlEnhancements................................................. ................................446
FlatXMLfilter........................................................................................................................446
CreatinganewDocbookFilter...............................................................................................451

Chapter14:TroubleshootingCommonProblems.............................. .......................452
ErrorMessagecontainsGetStorage:"NoContent"............................................................452
UnderWindows...............................................................................................................452
Multiuserinstallations:.................................................................................................452
Singleuserinstallations:................................................................................................452
UNIXsystems....................................................................................................................453
Outlinenumberingisnotretainedafterasave........................................................................453
Howgetthepagecount

tonotcountatitlepage?

OrHowdoIoffsetthepagecount

?........................................................................................454
Whattodowhendocumentprintsorexportswithblankpages............................................454
WhattotodowithaGeneralerrorGeneralinput/outputerror..............................................455
[Link]...............................................................455
[Link]:.........................................................455
HowtogetsoundsunderLinux?...........................................................................................456
Overview............................................................................................................................456
Starting...............................................................................................................................456
InstallingtheJRE...............................................................................................................457
[Link]...............................................................................457
InstallatingtheJMF............................................................................................................457
[Link].........................................................................458
RegistrationofthePluginsintheJMF..........................................................................459
[Link]................................................................459
Timeforthesecondtest.................................................................................................460
[Link]................................................................461
Timeforthethirdtest....................................................................................................461
Whattodoifitfails?..........................................................................................................462
HowtoopenMicrosoftWorksDocumentsinOpenOffice.org2.x........................................462
OpenOffice.orgUserGuidefor2.x

xxvi

Index.................................................................................................................. ............464
PublicDocumentationLicense,Version1.0............................... ................................472

OpenOffice.orgUserGuidefor2.x

xxvii

Overview

Overview
[Link]'sGuideattemptstoprovideanswerstoquestionsaboutworking
[Link],butitshouldalsobe
[Link],forthemostpart,thoseusingtheolderstyle
iconsratherthanthenewerCrystalgraphics,whicharecurrentlyonlyintheen_USand
de_DEreleasesof2.[Link]
existingones.Allthesewillchangefrequentlyasthe1.9/2.0cycleprogresses.
Inaddition,[Link],userscan
getdetailedanswerstoallquestionsatanytimebypressing(F1),openingtheHelpmenuor
[Link]
Chapter1,[Link].
Othersourcesofsupportareavailablethroughtheusers@[Link],the
[Link]
[Link].

UsingtheGuide
ThisUser'sGuideisdesignedforuserswhoarealreadyfamiliarwiththebasicfunctionsof
[Link]
systems,[Link]
particularplatform,thisisasystemrelatedlimitationcausedbytheplatforminuse.

OpenOffice.orgUserGuidefor2.x

Overview

OpenOffice.orgUserGuidefor2.x

ImportantFeatureswith2.x

ImportantFeatureswith2.x
OpenStandardsXMLFileFormat(OASISOpenDocument)
[Link]
[Link]
implementationindependentfileformat,andthusguaranteesfreedomandindependence.
[Link],theopensourceofficesuiteKOfficeaswellas
[Link]
[Link]
recommendedbytheEuropeanCommission.

NewMultipaneView
[Link]
Multipaneviewprovidesallimportanttoolsandwindowsthroughonecoherent,integrated,
[Link]
2.0easytouse.

NewCustomShapes(compatiblewithMicrosoftAutoShapes)
[Link]'s
[Link],AutoShapesareimportedanddisplayedcorrectly.
CustomShapesareshapesthatcannotonlychangetheirsizebutalsotheirappearance.

MoreSlideTransitionsandAnimationEffects
[Link]
[Link],the
extendedsupportforeffectsimprovestheMicrosoftPowerPointcompatibility.

EnhancedPDFExport
[Link]
[Link]
[Link],thePDFsupportnowcorrectlyhandlesthumbnailimagesand
hyperlinks.
Inaddition,withthereleaseof2.0.4,[Link]
features,Theseare:
1. AnewSecuritytabtotheExportasPDFfeatureasshownbelow:

OpenOffice.orgUserGuidefor2.x

ImportantFeatureswith2.x

2. EncryptioniscompatiblewithPDFv1.4,onlyARCFOUR(RC4compatible)128bit
encryptionisprovided.
3. [Link]
readersandviewersareexpectedtosupportthesefeatures;however,somemaynot.

OpenOffice.orgUserGuidefor2.x

ImportantFeatureswith2.x

NewenhancedDatabaseFeatures
[Link],butinpastversionstheywerevery
[Link],[Link]
databasecanbecreatedviathe"File>New"[Link]
providesanewTableWizardthatallowstocreatedatabasetableswithoutanyknowledgeof
[Link]
allowstocreate"databasedocuments".Thesesimpledatabasefilesdon'trequireabackend
[Link](tabledefinitions,data,queries,
forms,reports)isstoredinoneXMLfile.
QueryinQueryisavailablewithOpenOffice.org2.0.4asdatabasequeriesareanessential
[Link]
[Link],filters,and
sortsinformationspreadovermultipletablesoftherelationaldatabase.

MailMergeWizard
ThenewMailMergeWizardwillmakeitveryeasytodomailingstohundredsofrecipients.
[Link]
fortheaddressinformation.Therearedifferencesthoughfrom1.1.x.

EnhancedWordCountFeature
With1.1.x,itwasonlypossibletofinddocumentstatisticsunder"FileProperties..."orby
[Link]
[Link]"Tools"
menu.

SupportforNestedTables
WithOpenOffice.org2.0itisnowpossibletocreatetableswithintables(nestedtables).This
increasestheoverallusability,butalsoimprovestheMicrosoftWordcompatibility.

DigitalSignaturesSupport
[Link]
storedintheregularrepositories.

XFormsSupport
OpenOffice.org2.0nowallowstocreateformsbasedontheopenW3CXFormsstandard.
WithXFormsitisveryeasytoimplementsimplelogicwithoutanyprogramming.

OpenOffice.orgUserGuidefor2.x

ImportantFeatureswith2.x

WordPerfectFilters
OpenOffice.org2.0includesaWordPerfectfilterdevelopedbytheopensourcecommunity.
Developersareinvitedtocontributetothisproject.

Calcnowhas65,536Rows
OpenOffice.org1.1.xsupportedonly32,768rowsinspreadsheetdocuments,whichcaused
[Link]
samelevelasMicrosoftExcel.

EnhancedDataPilotSupport
WiththeDataPilotinOpenOffice.org2.0(similartoMicrosoftExcel'sPivotTablefeature)it
isnowpossibletocreatenewgroups,filterdatabasedonvalues,showdifferencesand
percentagesinsteadofabsolutevalues,etc.
[Link]
analysis.

NativeInstallers
[Link],.MSIand
.CABfilesareprovidedonMicrosoftWindows,RPM,[Link].
Foruserswithmoresophisticatedmanagementrequirements,Sunprovidesconfiguration
managementtoolsaspartoftheStarOfficesoftware.StarOffice8willalsointroduceMacro
migrationtools.

NativeDesktopIntegration
[Link],[Link]
[Link]
likeaWindowsapplication,andonLinuxitusesthesameUIwidgetsasGIMPorEvolution.

FloatingToolbars
[Link]
detachtoolbars,movethemaroundandcustomizethem.

StylePaintBrush
Annewicon
painterinthe

[Link]
StyleandFormattingWindow.

OpenOffice.orgUserGuidefor2.x

ImportantFeatureswith2.x

Quickstarterfor*NIXOperatingSystems
ThereleaseofOpenOffice.org2.0.4,nowaddsquickstartcapabilitytothe*NIXreleasesin
thesamemannerasquickstartunderWindows.

MultipleLanguageSupport
[Link]
[Link].orghasinexcessof92languagesin
[Link],frothemostpart,createdbytheir
associatedNativeLanguageCommunity(NLC).PleasechecktheNLCwebsitethatsupports
thelanguageneeded.

NewChartingModule
ThetargetforthenewchartingmoduleisOpenOffice.org2.3.(Fordetails,see
[Link]
expectwiththisnewfeature:

NewChartWizardthatsimplfiesthecreationofchartsandprovidesalivepreview.
FlexibleSourceRangesthatallowuserstochooseseparatedatarangesforsinglepartsof
[Link],selectionofdifferentxvaluesfordifferentseries.
Settingsfor3Dchartsmdeeasierviaasingledialoguethatnowcontainseasieraccessto
simpleandrealisticlookandsimplifiedperspectivesettings.
Enhancedlogarithmicscalesthatpermituserstochooseminimum,maximumandmajor
intervals.
Piesegmentoffsetfor3Dchartsthatallowuserstodragoutsingle3Dpiesegmentsand
donutsegments.
Enhancedautomaticscalingsothatautomaticminimumandmaximumvaluesimprove
appearanceofgeneratedcharts.

Improvedautomaticaxislabellayout.

Improvedselectionhandling.

Regressioncurvesarenowalsoavailablefor2Dlinecharts,2Dbarandcolumnchartsand
2Dareacharts
Additionalsubcharttypes:2DLinessubtype'pointsonly',2Dnetsubtype'pointsonly',
3DXY,3Dsmoothlines,3Ddonut

OpenOffice.orgUserGuidefor2.x

ImportantFeatureswith2.x

OpenOffice.orgUserGuidefor2.x

Chapter1:[Link]

Chapter1:[Link]
[Link].

StepbystepinstructionswithfullreferencesviatheContentsandIndexselections
[Link]

HelpTipsthatpopupnexttothemousepointer

ExtendedtipswithmoredetailedexplanationsthanprovidedwithTips

[Link]
ToaccessHelp,usetheHelpmenuitemorclicktheHelpbuttonsintheindividualdialogues.

OpenOffice.orgUserGuidefor2.x

Chapter1:[Link]

[Link],whenHelpisopenedinWriterit
[Link],togethelpaboutCalc,eitherfirstopenaspreadsheetandonly
thenlookforhelp,orselectHelpforthespecificmodulefromthepulldownlistatthetopof
[Link]
asthecurrentsectionforsearching.

Tips
Tipsareonatinstallationbydefaultanditisrecommendedthatthisfeatureshouldalwaysbe
[Link],forexample,letthemousepointerrestonanicon
[Link].
Forexample,whenscrollingthroughatable,thetipshowstheroworcolumn.
Turningtipsonandoff
SelectTools>Options>[Link]>General>Tipstoenableordisablethis
feature.
ExtendedTips
[Link]
thisoptiongivesabriefdescriptionofeachitemonthescreenwhenthemousepointeris
hoveredovertheitemforamoment.
Turningextendedtipsonandoff

ChooseTools>Options>[Link]>General>ExtendedTipstoturnextended
[Link].
PressShift+[Link]
[Link]
[Link],the
pointerreturnstothenormalmousepointer.

HelpAgent
[Link],theHelpAgent
[Link].
[Link],itisreplacedbya
[Link]
withthesametopicisrepeatedlyignoredorclosedinsteadofbeingclicked,itdoesnot
[Link]
[Link].

OpenOffice.orgUserGuidefor2.x

10

Chapter1:[Link]

TurningtheHelpAgentonandoff
1. ChooseTools>Options>[Link]>General>HelpAgenttohavetheHelp
[Link],theHelpAgentisautomaticallydisplayedwhen
[Link],byaccessingTools>Options>
[Link]>Generalfromthemaintoolbar,userscanresettheHelpAgent.

OpenOffice.orgUserGuidefor2.x

11

Chapter1:[Link]

OpenOffice.orgUserGuidefor2.x

12

Chapter2:[Link]

Chapter2:[Link]
[Link]
[Link]
[Link],suchastoolbars,
[Link]
[Link].
TheUserInterface
[Link],
suchasmenusandicons,[Link],manyof
[Link],openedbyright
[Link]
droppingwiththemouse.
[Link]
UnderWindows,oncetheprogramisinstalled(seetheseparatesetupguidethatispartof
thedownloadimageandisonmostCDs),[Link]
[Link]*NIX,itslocationdependsuponwhereitis
installedandwhichwindowmanagerisused;however,underGnomeandKDE,the
[Link]
Writer,[Link],clickSpreadsheet,andsoon.
NOTE:UnderWindows,[Link]
[Link]
fromwhichanew,[Link]
Documentsdialogue.

OpenOffice.orgUserGuidefor2.x

13

Chapter2:[Link]

[Link]
[Link],presentationsor
drawingsaredisplayedinverysimilarwindows,exceptthemenusandiconschange
automaticallydependingonthecontext.

[Link]
TheTitleBar

Thetitlebarshowsthenameoftheprogram,[Link],andusuallythefilenameof
[Link]>Properties>Description,this
titleisdisplayedratherthanthefilename.

OpenOffice.orgUserGuidefor2.x

14

Chapter2:[Link]

TheMenuBar

[Link],immediatelyunderthetitlebar,isthemenubar.
[Link]
menuopens,[Link]
barcanalsobeaccessedfromthekeyboard,bypressingtheAltkey.
[Link],forexample,providesthe
functionsneededtoeditthecurrentdocument(cut,copy,paste,undochangesandsoon),
whiletheViewmenuhasfunctionsthatallowcontroloftheviewoftheelementsdisplayed
[Link],thecommandsusedforediting,viewing,sequencing,
formattingandprintingadocumentcanonlybeusedwhenthedocumentisopenandactive.
Active,inthissense,[Link]
commandsshouldcorrespondtoanobjectinthedocument,thenthatobjecthastobe
[Link],themenusarecontextsensitive,.Thismeansthatonlythosemenu
[Link],ifthecursor
islocatedinatextdocument,thenonlythetexteditingmenucommandsareavailable.
Likewise,ifgraphicsareselectedinadocument,thenonlythemenucommandsthatcanbe
[Link]
choosingTools>Options>[Link]>View,onecanselecttheShowinactivemenu
itemsfieldandthenseetheinactivemenuitemsasgrayentriesinmenus.
[Link]
thetoolbarsandthestatusbarmaysobemodifiedtosuitpersonalrequirements.
TheToolbars

[Link]
[Link],
exporttoPDF,undoandredo,accessthenavigator,orgalleryorprintthecurrentdocument.
[Link]
arealwaysappropriatetothecurrentcontextsuchasalignment,fontstyles,listsand
[Link],ifapieceofnormaltextisselected,onewillseedifferenticonsfrom
thosewithinatexttable.
[Link]
documenttype(text,spreadsheet,presentation,drawingorformula).
Othertoolbarssuchastheoptionbarandcolourbarwillbedescribedlater.
[Link],ifthepositionofthemain
toolbarshouldbeontherightedgeofthedocumentinsteadofontheleft,simplydragthe
knurledhandleatthefarleftinthetoolbartoanewlocationaroundtheedgeofthemain
window.
Note:underWindows,oneonlyneedstouse(Alt).

OpenOffice.orgUserGuidefor2.x

15

Chapter2:[Link]

[Link]
[Link],anewwindowopens
[Link]
behaviourthanalongclickbutgivethesamefunctionality.
ExamplesofFloatingToolbars

OpenOffice.orgUserGuidefor2.x

16

Chapter2:[Link]

UsingFloatingToolbars

Wheneditingatextdocument,[Link]
[Link].

Theusernowhasafewchoicestomake:eithertoclicktheicontoactivatethefeature,orto
grabthewindowbyitstitlebaranddragitawayfromthemaintoolbarwhileholdingdown
theleftmousebutton(remembertofirstreleasethemousebuttonthatwasclickedtoopenthe
popupotherwisethetitlebarcannotbegrabbedwiththemouse).Noticethattheicon,that
wasusedpreviously,[Link],noticethatthisicon
[Link]
directlyvisiblefunctionandalongerclicktoreopenthefloatingtoolbar.
Thedocumentwindow

Atthetoplefthandedgeofthedocumentwindowarethetoolbarsthatareneededforwork,
[Link]
[Link]
[Link],eitherbydouble
[Link],referto
Help.
Dockingtoolbars

[Link]
[Link]
[Link],dragthehandle
attheleftortop(ifvertical)ofthetoolbar.
Inthefloatingstate,thewindowfloatsabovetheworkplacesothatthewindowsbelowitare
[Link]
thewindowisdockedtotheleftoftheworkplace,thefollowingbuttonsappeardependingon
thestate:
Unhide
Ahiddenwindowcanbeunhidden(shown)byclickingthearrow
button.

OpenOffice.orgUserGuidefor2.x

17

Chapter2:[Link]
Unhide
Hide
Clickthearrowbuttontohideawindow.
Lock
Clickthisbuttontolockafloatingwindow.
Floating
Clickthisbuttontochangealockedwindowtoafloatingwindow.

Dockingwindows

[Link],suchastheStylesand
Formattingwindow,[Link]
[Link].
Todockoneofthesewindows,dragthetitlebarofthewindowtotheedgeuntilanoutline
[Link]
[Link]
[Link]
awindowismoved,notethatanoutlinedisplaysshowingwherethewindowwilldockand
howbigitwillbe.
Toundockatoolandmakeitafloatingwindowagain,pointtothegreyareaofthetools
toolbaranddragthetoolawayfromtheedgeuntiltheoutlineindicatesthatitisnolonger
attached.
ChangingtheVisibilityofButtonsonToolbars

[Link]
arevisiblebydefault.
Toquicklymakeabuttonvisibleornotonitstoolbar:
1. ClickonthesmalldownarrowatthefarrightofthetoolbarandselectVisibleButtons.
2. [Link]
tothetoolbarbecausetoolbarsmaybeplacedsidebyside.
Note:Whilebuttonsmaybemovedorduplicatedacrosstoolbars,ornewtoolbarsmaybecreatedorremoved
completely,[Link].

OpenOffice.orgUserGuidefor2.x

18

Chapter2:[Link]

OpeningandSavingDocuments
[Link],byusingtheFile
>Opendialogue,theOpeniconontheStandardtoolbarortheFile>Newmenu.
NOTE:UnderWindows,[Link]
[Link]>Options>[Link]>[Link]
[Link].

OpeningDocuments
Toopenanexistingdocumentthatwassavedontheharddriveoronaremovabledisk,
[Link]>Open,clicktheOpenFileicononthe
Standardtoolbar,orusetheCtrl+Oshortcutkeys.
Iseachcase,theOpendialogueisdisplayed.

[Link],hereareafewtips:

Changethesizeofthedialoguebydraggingthebordersofthedialoguewith
themouse.
ClicktheDefaultDirectoryicontogostraighttoone'[Link]
defineaworkdirectory,seetheChangingtheWorkDirectorysection
[Link]
[Link]
superordinatedirectories.
Toonlyseefilescontainingacertainname,enterthenamewithwildcardsin

OpenOffice.orgUserGuidefor2.x

19

Chapter2:[Link]

[Link]*.txt,forexample,is
[Link].
Ifs*isused,allnamesbeginningwiththeletterswillbedisplayed.
[Link]
document,clicktheEditFileiconontheStandardtoolbar.
TheTemplatesandDocumentsdialogue

TheTemplatesandDocumentsdialoguecanberegardedasakindofcommandcentrefor
[Link]'sworkdirectoryandtoany
[Link]
[Link],chooseFile>New>Templatesand
DocumentsorpressShift+Ctrl+[Link],[Link]
Quickstartericononthetaskbar.

Thedialogueoffersthefollowingareas,whichcanbeselectedbyclickingoneofthe
offeringsintheshortcutbarontheleft:

NewDocumentAwaytocreateanew,emptydocumentfromasetofprepared
templates.

TemplatesChoosefromthemanyreadytousedocumenttemplates.

OpenOffice.orgUserGuidefor2.x

20

Chapter2:[Link]

[Link]
maybedefinedbyselectingTools>Options>[Link]>Pathsandenteringthe
pathrequiredforMyDocuments.
SamplesThisisanemptyfolderwheninstalled;however,someexamplesmaybe
downloadedfrom
[Link]

(See
NewDocumentforexampletemplates)

OpenOffice.orgUserGuidefor2.x

21

Chapter2:[Link]

SavingDocuments
Savingthecurrentdocumentcanbedoneinthreeways,usingFile>Savecommand,the
SaveDocumenticon
ontheStandardtoolbar,orjustpressCtrl+S.
Forafirsttimesave,useFile>[Link]
storethefile.

WithFile>Saveas,oneassignsthedocumentanamewhereastheothertwooptionssave
[Link],usingtheSaveasfeatureisespecially
[Link],chooseanynamedesired
(limitedonlybytherestrictionsimposedbytheoperatingsystem).Whenthedocumentisto
beopenedlater,finditunderthatname.
[Link]
[Link]
currentdocument.
Note:AnuntitleddocumentmustbegivenauniquenameforAutoSavetoobeythesettingsinTools>Options>
LoadandSave>[Link].

OpenOffice.orgUserGuidefor2.x

22

Chapter2:[Link]

ChangingtheWorkDirectory
WhentheOpendialoguecomesup,[Link]
directoryasfollows:
1. SelectTools>Options>[Link]>Paths.
2. DoubleclickMyDocumentstoopentheeditdialogue.
3. IntheSelectPathdialogue,entertheworkdirectorywantedandclickSelect.
4. ClosewithOK.
Likewise,[Link],todisplaya
differentdefaultdirectoryforinsertinggraphics,changethepathfortheentryGraphics.
SavingDocumentsAutomatically
BackupaFileAutomatically

Tocreateabackupcopyofadocumenteverytimeadocumentissaved:
1. SelectTools>Options>Load/Save>General.
2. CheckAlwayscreateabackupcopy.
Ifthecurrentdocumentissaved,usingthesamepathandfilenamewithwhichitwasfirst
opened,usingFile>SaveorCtrl+S,theoldversionwillbeoverwrittenbythenew
[Link],theoldversionisfirstcopiedtothe
backupdirectory.

Thedefaultbackupdirectoryis$HOME/[Link]<release>/user/backup.
Changethis,asdescribedabove,inTools>Options>[Link]>Paths>
Backupsentry.
Thebackupcopyretainsthesamenameasthedocument,buttheextensionischangedto
.[Link],itisoverwrittenwithoutwarning!

SavingRecoveryInformationAutomaticallyEvery'n'Minutes

1. SelectTools>Options>Load/Save>General.
2. CheckSaveAutoRecoveryinformationeveryandselectthetimeintervalinthelistbox.

OpenOffice.orgUserGuidefor2.x

23

Chapter2:[Link]

[Link]
[Link].
XMLfileformatnames
[Link]
selected,[Link]:
ApplicationFile

extension

[Link]

*.odt

[Link]

*.ott

HTMLDocument

*.html

HTMLDocumentTemplate

*.oth

[Link]

*.ods

[Link]

*.ots

[Link]

*.odp

[Link]

*.otp

[Link]

*.odg

[Link]

*.otg

[Link]/Math

*.odf

Masterdocuments

*.odm

Thesefilenameextensionspermitreasonabledifferentiationwhensearchingthoughalotof
[Link],itshouldbe
evidentthatthesemustfirstbeunpackedbeforebeingmanipulated,forexample,byatext
editor.
Note:Ifauserwantstoworkpermanentlywithanotherfileformat,[Link]>
Options>Load/Save>[Link]
type.

OpenOffice.orgUserGuidefor2.x

24

Chapter2:[Link]

[Link]
[Link]
[Link],suchasWinZipon
Windowsorunzipon*NIX,[Link]
tothefollowingillustration.
Archive:[Link]
Length

Method

Size

Ratio


30

Stored

30

4260

Stored

9022

Defl:N

2447

Date

Time

CRC32 Name

0.00% 15/05/05

15:25

39 31a5e1 mimetype

4260

0.00% 15/05/05

15:25

2 147

76.00% 15/05/05

15:25

cd8d 5105 [Link]

Defl:N

954

6 1.00% 15/05/05

15:25

08c 57cab Basic/~wizard/[Link]

1586

Defl:N

642

60.00% 15/05/05

15:25

55c9 31dc Basic/~wizard/[Link]

389

Defl:N

223

43.00% 15/05/05

15:25

756d8953 Basic/~wizard/[Link]

2 87

Defl:N

193

33.00% 15/05/05

15:25

5280 21b8 Basic/Standard/[Link]

a 10af03b Pictures/ 100 010 DA222DD8 [Link]

405

Defl:N

225

44.00% 15/05/05

15:25

95c3869e Basic/[Link]

5 9152

Defl:N

5 041

92.00% 15/05/05

15:25

e86699c4 st [Link]

13 81

Stored

13 81

0.00% 15/05/05

15:25

70e3c0fc [Link]

6674

Defl:N

6 841

Defl:N

1230

82.00% 15/05/05

15:25

0d922df6 [Link]

16 02

Defl:N

349

78.00% 15/05/05

15:25

8e 61970e METAINF/[Link]

87402

0.00% 15/05/05 15:25

16 675 81.00%

af1ecee5 Thumbnails/[Link]

12files

Note:UnderWindows,outputshouldbesimilartotheabove.

[Link],
forexample,apuretexteditor.
Bydefault,[Link]
[Link]>
Options>Load/Save>General>SizeoptimizationforXMLformatthisprocedure
canbechangedsothatthelinessavedarestructuredinamorehumanreadableformat.

[Link],whichisenteredviaFile>
Properties.
Indocumentssavedwithsecurity,[Link].

[Link],forexample
ontheprinter,ontherecordingofchanges,theassociateddatasourcesandsoon.

st [Link],thesecanbeseen
intheStylesandFormattingwindow.
metainf/mani [Link].

OpenOffice.orgUserGuidefor2.x

25

Chapter2:[Link]

[Link],Graphicscanbe
foundinthePicturessubdirectory,BasiccodeintheBasicsubdirectoryandlinkedBasic
librariesarefoundinfurthersubdirectoriesofBasic.
DefinitionoftheXMLformats
TheDTD(DocumentTypeDescription)filescanbefoundin
$HOME/[Link]<release>/share/dtd.
[Link].
[Link].

SettingTabstops
[Link]
[Link]>
[Link]>Index>Searchterm>tabstopsandarequitecomplete.

OpenOffice.orgUserGuidefor2.x

26

Chapter2:[Link]

SendingDocumentsasEMail
SingleMessages
[Link],onecansendthecurrentdocumentasanemailattachment
providingthatthedefaultemailprogramupissetupcorrectly.
Note:Tosetupthisfeature,selectTools>Options>Internet>EMailandconfiguretheprogramtouse.

1. ChooseFile>Send>DocumentasEmail.
2. Whentheemailcomposerwindowappears,enterarecipient,subjectandanytextand
sendtheemail.
MailMerge
AsofOpenOffice.org2.0.1,providingthatpythonisenabledatsetuptime(default),users
[Link]
allowsprintingofthesefordeliverybypost.
1. ChooseTools>MailMergeWizard
2. Followthedialogues.

OpenOffice.orgUserGuidefor2.x

27

Chapter2:[Link]

PrintingDocuments
Uponcreatingadocument,normallyonewillwanttoprintitoutonpaperfordistribution.
Printthecurrentdocumenteitherdirectlytoaprinter,[Link],all
[Link]
anothercomputer,thefilecanthenbecopieddirectlytotheprinterconnectedtoit.
Note:[Link]
[Link],alwaysdefineadefaultprinter,evenifthereisnoavailableprinter.

ClickthePrintFileiconontheStandardtoolbartoprintthecurrentdocumentwithout
theinterventionofadialogue.
Toretainfinercontrolofprinting,eitherselectFile>Print,orusethekeyboardshortcut
Ctrl+P.
IntheFile>Printdialogue,selectaspecificprinter(ifthereismorethanoneinstalled
printer).UnderPrintrange,determinehowmanypagestoprint(oronlycertainpages),and
howmanycopiesarewanted.

Inadditiontothegeneralprintingoptionsalreadymentioned,onecanchoosespecialprinter
[Link]
allowtheusertocontrolthewaythecontentsorthepagesofthedocumentareprinted.
DefinetheseprinteroptionsforthecurrentprintjobbyclickingtheOptionsbuttoninthe
[Link]>Options>(nameofdocumenttype)>Printtocreatea
generaldefinitionfornormaluse.
OpenOffice.orgUserGuidefor2.x

28

Chapter2:[Link]
Note:[Link]
theoperatingsystem,[Link]
characters,[Link]
thewaytheywillappearwhenprinted.

DisplayingPrintPreviews
Beforeprintingoutadocument,reviewinghowtheprinteddocumentwillappearonpaperis
[Link]
allowingadjustmentofmarginwidths,optimizationofpagebreaksetcetera.
1. Switchtothedocumentforpreview.
1. SelectFile>PagePreview.
2.

Usetheiconsontheobjectbartozoominorout.

3.

Usethearrowkeysorobjectbariconstoscrollthroughthepagesof
thedocumentandcheckhowtheywillappearinprint.

OpenOffice.orgUserGuidefor2.x

29

Chapter2:[Link]

ReducedPrintingofDocuments
Togetareducedprintoutofatextdocument,chooseFile>[Link],decide
whethertohavetwo,fouroranynumberofpagesbesideandontopofeachother.
Toprinttwopagesbesideoneanotherononesheetofpaper

1. ChooseFile>PagePreview.
2. LocatethePagePreviewicon
.Iftherearemoreorfewerpagesthandesired,long
clicktheicontotherightofthegrayedoutPagePreview:TwoPagesontheobjectbar
andselectthenumberofpagesneededforpreviewing.
3.

ClickonthePrintpageviewicon.

ClickingthePrintoptionspageviewicon
settingsforreducedprinting.

opensadialoguewhereonecanenter

4. ClickOKtoconfirm.
PrintinginBlackandWhite
Ifthereisacolourprinterinstalledbutprintingshouldberestrictedtoblackandwhiteonly,
useoneofthefollowingoptions:
Printingtextandgraphicsinblackandwhite

1. SelectFile>[Link].
2. [Link].
3. [Link],refertothehelpfor
theprinterorreadtheprintermanual.
4. ConfirmthePropertiesdialogueandclickOKinthePrintdialogue.
5. Thecurrentdocumentwillbeprintedinblackandwhite.
PrintingallDrawandImpressdocumentsinblackandwhite

1. ChooseTools>Options>[Link]>Options>
[Link],asappropriate.
2. ThenchoosePrint.
3. UnderQualityselecteitherGrayscaleorBlack&[Link],all
presentationsordrawingswillbeprintedwithoutcolour.
SelectingtheDefaultqualityoptionallowsdocumentstobeprintedincolouragainlater
on.
Grayscaleconvertseverythingtoamaximumof256gradationsfromblacktowhite.
Black&Whiteconvertseverythingintothetwovaluesblackandwhite.

OpenOffice.orgUserGuidefor2.x

30

Chapter2:[Link]

Printingonlytextinblackandwhite

InWriter,[Link]
specifiedeitherforalltextdocumentstobeprintedsubsequently,oronlyforaprinting
processofthecurrenttextdocument.
PrintingallWriterdocumentswithblackandwhitetext

1. ChooseTools>Options>[Link]>Options>
[Link]/Writer.
2. ThenchoosePrint.
3. UnderContentsmarkPrintblackandclickOK.
AlltextdocumentsorHTMLdocumentswillfromnowonbeprintedwithblacktext.
PrintingthecurrentWriterdocumentwithblackandwhitetext

1. ChooseFile>[Link].
2. [Link].
3. UnderContentsmarkPrintblackandclickOK.
ThetextdocumentorHTMLdocumentnowbeingprintedwillbeprintedinblacktext.
PrintingBrochures
[Link]
[Link]
printednexttoeachotheronapageinlandscape(horizontal)[Link]
pagewillbeprinted(mostprintersrequirethatuserstakeoutthepaperafterthefirsthalfof
theprintingprocessandfeeditinagainnsuchawayastoprintontheblankside).
[Link].
[Link]
continuouslybylayingthepagestogether,foldtheminthecentreandstaplingtheminthe
fold.
Tomakeabrochureusingthecurrentdocument,selectFile>[Link]
opens,dothefollowing;
1. InPrinter>PropertiesmakesureOrientationissettolandscape
2. Whilestillinthisdialogue,setthePapersizeofthe*document*toA4orUSletter,as
needed.
3. ClickOKtoclosethedialogue.
4. ClicktheOptionsbuttoninthelowerleftofthePrintdialogue.
5. Nextselectwhethertoprintrightandleftpagesallatonce,rightpagesorleftpages.
Thefollowingshouldprovidesufficientinformationtomakeadecision:

OpenOffice.orgUserGuidefor2.x

31

Chapter2:[Link]

(a) Iftheprinteriscapableofduplexprinting,chooseLeftandRightpagesand
brochure.
(b) Withasinglesidedprinter:
i. chooseLeftorRightandbrochure.
ii. ClickOKthengotostep6.
iii. Whenprintingiscomplete,takethepagesfromtheoutputtrayandputthem
intotheinputtrayinsuchawayastoprintontheblanksideandchoosethe
[Link](ii).
6. ClickOK
7. ClickOK

Spellcheck
[Link],oractivated
manually.
AutomaticSpellcheck

TheautomaticspellcheckcanbeturnedonandoffbyclickingtheAutoSpellingCheck
on/[Link],wordsrecognizedas
incorrectarehighlightedwithawavyredunderline.
Incorrectwordsarerecognizedasincorrectifallthefollowingconditionsaremet:

aspellcheckmoduleisinstalledforthelanguageoftheword,

thismoduleisenabled,

thewordisnotfoundintheinstalleddictionaries.

thewordisnotinanyactiveuserdictionary.

OpenOffice.orgUserGuidefor2.x

32

Chapter2:[Link]

Userscancreateanynumberofcustom/userdictionaries.
CreateauserdictionarybyselectingTools>Options>LanguageSettings>WritingAids.

Astextisproofread,[Link]
course,Spellcheckwillnotcatchspellingmistakesthatformotherrecognizablewords(such
asfuninsteadofrun).Aslongastheautomaticspellcheckisactivated,theredmarkings
canbeseenonthescreenbutarenotprinted.
[Link]
menuthatofferssuggestedcorrectedspellings,andoptionstoaddthewordtothedictionary
[Link].
Spellchecknotonlyreplacestheredunderlinedwordwiththesuggestionselected,italso
[Link]
again,Spellcheckautomaticallyreplacesthemistypedwordwiththecorrectedspelling.
Ifthewordisspelledcorrectly,itmaybeaddedtoadictionarybyclickingAddand
[Link],but
infrequentlyusedword,clickIgnoreAll.
CheckingMultilingualTexts
[Link](plusthesaurusandhyphenation)inmultiple
languages(33atthetimeofwriting).[Link]
CustomInstallationand,afterinstallationviatheModifyoptioninsetup,
whereonecanchoosewhichlanguagemodulestoinstall.

OpenOffice.orgUserGuidefor2.x

33

Chapter2:[Link]

SelectthelanguageofanentiretextdocumentwithTools>Options>LanguageSettings>
[Link]'sneeds,[Link]
paragraphsformattedwiththesameParagraphStyle,applyalanguageviatheParagraph
[Link],ordirectlywith
Format>Character.
InTools>Options>LanguageSettings>WritingAids,checktheoptionCheckinAll
[Link],[Link]
correctlytypedinanyoftheinstalledlanguagesareregardedascorrectlytyped,irrespective
[Link],theautomaticcheckingthatwasenabledby
clickingtheiconontheStandardtoolbar,[Link]
ofaredunderlinedwordthatisrecognizedasincorrect,specifythatthewordorthewhole
[Link]
orallcharactersoftheparagraphisautomaticallyassignedasacharacterformat.
StartingSpellcheck
Tochecktheentiretextforspellingmistakesintheclassicway([Link]
throughthewholedocumentonitsown),[Link]
SpellcheckdialoguewillonlyappeariftherearewordsinatextunknowntotheSpellcheck.
ThevariousoptionstobeseenintheSpellcheckdialoguearedescribedindetailinthe
[Link],ifanunrecognizedwordisincludedina
userdictionary,theusercanalsodefinethepermittedhyphensfortheautomatichyphenation.
Enterthehyphensinthewordasanequalssign(=).
Note:placinganequalssignattheendofthewordmeansthatthiswordwillnotbeautomaticallyhyphenated.

OpenOffice.orgUserGuidefor2.x

34

Chapter2:[Link]

ExcludingTextFromtheSpellcheck

Ifcertainareas,wordsortablesshouldnotbespellcheckedbecausetheyare,say,ina
foreignlanguageforwhichthereisnoinstalledmodule,thenspecify"Unknown"asthe
[Link]
thetextandthenchoosingFormat>Character>Fontorbymodifyingthecorresponding
St yleforthetext([Link]...).

AddingWritingAidsforOtherLanguages
[Link]
wellasprovidingawizardtoinstallmoredictionaries,hyphenationdictionariesand
thesauruses.
Thisallowsuseofmorethanonelanguageinadocumentasasattributeoftheentire
documentoragroupofwords.
Asanadjuncttotheadditionofwritingaidsinvariouslanguages,userscanchangethe
defaultlanguageusedeithergenerallyorforasingledocumentbymeansofselectingthat
languageinTools>Options>Languagesettings>[Link]
aidsmustbeinstalledfirst.
GettingNewWritingAids
1. SelectFileWizardsInstallnewdictionaries...tostarttheprocesstoinstallmore
languages.
2. Clickthelanguageneededonthispageforinstructionsinthatlanguage.

OpenOffice.orgUserGuidefor2.x

35

Chapter2:[Link]

3. Clickthebigbuttoninthemiddleofthedocumentpagetostarttheinstallation
process:

OpenOffice.orgUserGuidefor2.x

36

Chapter2:[Link]

4. Thefollowingdialogueopenstobegintheselectionoftheneededcomponents:

5. ClickNext
6. ClickRetrievethelistandselectthoseneeded:

OpenOffice.orgUserGuidefor2.x

37

Chapter2:[Link]

7. ClickNextandselecttheHyphenationdictionariesneededandclickNextwhendone:

8. ClickNextandselecttheThesaurusesneededandclickNextwhendone

OpenOffice.orgUserGuidefor2.x

38

Chapter2:[Link]

9. ClickingNext,startsthedownloadandinstallationoftheitemsselectedinthe
previoussteps.

OpenOffice.orgUserGuidefor2.x

39

Chapter2:[Link]

UsingAutomaticFunctions
[Link],allofwhichhavenames
beginningwithauto.
[Link],refertothe
[Link].

UsingAutoCorrectandAutoFormat
Inadditiontocatchingtypingerrors,[Link]
[Link]
efficientlybyautomaticallyformattingandcorrectingcommonerrorswhiletheusertypes.
Hereareacoupleofexamples.

[Link],ifonetends
tocapitalizenotonlythefirstletterofsomewordsbutalsothesecond,simplyselectthe
AutoCorrectfunctionthatcorrectsmistakesofthissortwhiletyping.
[Link]
beginningwithahyphenfollowedbyataborspace,andreformattheparagraphasabullet
[Link].
Automaticbulletingendswhentheuserentersablankparagraphcontainingonlya
Return.

Intextdocuments,toggleAutoFormatonoroffbyselectingFormat>AutoFormat.A
[Link],checkthe
[Link]
currentselectionatalatertime,[Link]
[Link]
acceptorrejectallchangesormayrevieweachchangeseparately.
OnemayalsoselectandsettheoptionsinTools>[Link]
[Link]
[Link]
[Link],thenthelist
forthehigherrankinglanguagefamily,andfinallyinallinstalledlanguages(Forexample,
firstin"English(US)",thenin"English",thenin"AllLanguages").

OpenOffice.orgUserGuidefor2.x

40

Chapter2:[Link]

[Link]
[Link].

Inadditiontothefunctionsshownhere,[Link]
allquotationmarksenteredasasimplecomputercharacterwithShift+2areautomatically
turnedintocorrecttypographer'[Link]
purpose.

OpenOffice.orgUserGuidefor2.x

41

Chapter2:[Link]

TurningoffURLRecognitionbyAutoCorrect
Whentextisentered,[Link]
[Link]
attributes(colourandunderline)thepropertiesofwhichareobtainedfromcertainCharacter
Styles.
[Link],turnoffthis
featureusingoneofthefollowingmethods.
UndoURLrecognition

1. PressCtrl+Ztoundotextthathasbeenautomaticallyconvertedintoahyperlink.
2. SelectthehyperlinkandchooseFormat>Defaultifthisconversionisnotnoticeduntil
later.
TurnoffURLrecognition

1. [Link],if
modifyingURLrecognitionfortextdocuments,openatextdocument.
2. [Link]>AutoCorrect....
3. IntheAutoCorrectdialogue,choosetheOptionstab.
4. DeselectURLRecognition,sothatwordswillnolongerbeautomaticallyreplacedwith
hyperlinks.
[Link]
columnisformodifyinginaposteditsessionwhilethefieldinthesecondcolumn
enablesAutoCorrecttomakethecorrectionswhiletyping.
OtherAutoCorrectfunctions
TheTools>AutoCorrect>Replacetabhasadefaultlistofitemsthatwillbeautomatically
replacedprovidedthatUsereplacementtableontheTools>AutoCorrect>Optionstab
[Link]
[Link]
[Link],(C)is
immediatelyturnedintothecopyrightsymbol.
Note:[Link],onecaneasily
[Link],chooseInsert>
[Link].
EnterintheAbbreviationtextboxeu,[Link]
[Link],aEurosymbolwillbe
inserted.

OntheExceptionstab,enteranyexceptionsforthetwotypesofautomaticcorrection:

OpenOffice.orgUserGuidefor2.x

42

Chapter2:[Link]

AssumingtheReplaceoptionisenabledtoautomaticallystarteachsentencewitha
capital(uppercase)letter,[Link]
[Link],[Link]
Exceptionlisttopreventthistypeofcorrection.
Again,assumingtheReplaceoptionisenabledtoautomaticallyconvertthesecondoftwo
capitallettersatthebeginningofawordtoalowercaseletter,enteranyexceptionsthatare
correctlywrittenwithtwocapitalletters,suchasPCandCD.

TheseexceptionscanalsobeautomaticallyincludedbyselectingtheAutoinclude
[Link]
inthetextthatisautomaticallycorrectedbutwhichshouldnotbecorrected,immediately
pressCtrl+[Link],butalsoseestoitthat
thisparticularcorrectionwillnotbemadeautomaticallyagaininthesession.
AutoCorrectcanalsobeusedtoreplaceonewordorabbreviationwithsomethingmore
[Link],replaceASAPwiththetextassoonaspossible;
however,[Link].

OpenOffice.orgUserGuidefor2.x

43

Chapter2:[Link]

CreatingaLetterTemplateWiththeWizard
Ifoneiswritingapersonalletter,theWizardandstandardAutoTextsarenotessential,butin
formalbusinesscorrespondencetheseaidscansavealotoftimeandmakeworkmucheasier.
Note:Toproduceastandardletter,[Link]
Shift+Ctr+NorchooseFile>New>TemplatesandDocuments.

StarttheWizardwiththeFile>Wizards>Lettermenucommand.

[Link]
doesproduceadocumentthatcanimmediatelybefilledin,printed,andsent,usingthe
[Link]
thingsasbusinessletters,faxesandothertypesofdocumentsforwhichthereisaWizard
ensuresthatcorrespondencehasaconsistentformat.
Whileonemay,thereisnoneedtogothroughallthestepsoftheWizardeachtimeone
[Link],inordertogetthemostfromthefollowing,itis
recommendedthatoneacceptallthedefaultsprovidedwithoutchangingthem,andthenprint
[Link],sothateverypageisseenatleastonceduring
[Link]
[Link]
allowsmodificationsaccordingtoeachuser'spreferencesincludingsenderandrecipient
addresses,bothofwhichcanalsobeenteredmanually.(Forexample,senderinformationis
automaticallytakenfromthepersonaldetailsthateachuserentersatthetimeofinstallation.
ThesedetailsmaybechangedatanytimebyselectingTools>Options>[Link]>
UserDataandenteringnewinformationoreditingexistingdetails.)Predefinedelementswill
appearbutusersalwayshavethefinalsayonwhattoincludeintheirletter.
ThankstotheWizard,onedoesn'thavetostartfromscratchbutcanusepreexistingtexts
whencreatingcustomtemplates,whetherforbusinessletters,faxes,memos,orother
documents.
OpenOffice.orgUserGuidefor2.x

44

Chapter2:[Link]

Find&Replace
Whenworkingwithacomputeritisoftenusefultobeabletolocatecertainpiecesoftext
[Link],Calc,ImpressandDrawisthetoolto
[Link]
searchtocertainplacesinthedocument,suchasthebeginningofawordortheendofa
paragraph.
Textstringsfoundinthetextcanbereplacedbyotherstringswithorwithoutconfirmation,
althoughsometimesmanualeditingisstillnecessarywhere,forexample,therearedeviations
ingenderfoundinotherlanguages.

FindingaWordinText
Let'ssaythewordHollandappearssomewhereinalongtextandtheuserwishestolocate
[Link]+[Link]
[Link]
[Link],anewdialogueappears
[Link]
[Link],itishighlighted.
[Link]
[Link],anewdialogueappearsaskingwhether
[Link]
[Link],itishighlighted.

OpenOffice.orgUserGuidefor2.x

45

Chapter2:[Link]

TheFind&Replacedialoguecanremainopenwithoutinterferingwithtextentryandit
[Link],whenitisclosed,itremembersthe
previouslyenteredstringssotheydonotneedtobereenteredforthenextsearch,butcanbe
selectedfromthelistbox.
[Link],usingFindAll,
[Link]
searchtermintheSearchforfieldandthen
[Link]
[Link], andclicktheBoldiconinthetextobject
bartoboldfacealloccurrencesofthesearchterm.
Thedialoguegraphicaboveillustratesthatthereareseveralwaysofexpandingorrestricting
[Link]
eachoptionaredescribedbelow.
SearchingforWholeWordsOnly
SelecttheWholewordsonlyoptiontofindwholewordsthatmatchthesearchedforword.
Forinstance,ifthewordinisenteredasthesearchtermintheSearchforfield,all
instancesofin,orIn,[Link]
[Link]
expressionsorforStyles,donotselectthisoption.
MatchCase

Whenthischeckboxisselected,thesearchiscasesensitivetouppercaseandlowercase
[Link],itwillbefound,butnotthewordIn,CombineaMatch
casesearchwiththeWholewordsonlyoptionasneeded.
SearchingforTextWithWildcards

[Link]>Find&ReplacedialogueoruseCtrl+F.
[Link]>Regularexpressionsbox.
[Link].
Regularexpressionsareenteredusingtextcombinedwithkeyboardcharactersandsymbols
thathavespecialmeaninginthiscontext:

Thewildcardforanynumberofagivencharacteristhecharacteritselffollowedbyan
asterisk(*).Notethatthisisdifferenttotheway'*'isusedinfilenames.
Example:EnterHawai*[Link]'s,
includingnoneatall,[Link],Hawaiand
Hawaiiwillbefound.

Thewildcardforasinglecharacteristheperiodordot(.).Thisisequivalenttothe
wildcard'?'infilenames.
Combiningtheabovetworules,thewildcardforseveralunspecifiedcharactersin
successionis'.*'(periodandasterisk).Thisisequivalenttothewildcard'*'infilenames.

OpenOffice.orgUserGuidefor2.x

46

Chapter2:[Link]

Aparagraphendcanbefoundwiththedollarsign($),andthefirstcharacteratthe
beginningofaparagraphwiththestring'^.'(caretandperiod).
Regularexpressionsmayonlybesearchedwithinparagraphs.

TherearemanyotherwildcardsthatcanbeusedthatarelistedinHelp>[Link]
[Link]
Expressionsisincludedinthisdocument.
IfyouneedmoreinformationofRegularExpressions,pleasesee
[Link]
SearchingBackward

Whenlocatingafrequentlyappearingwordinalongtext,theusermightclickfindoncetoo
[Link]
locationofthepreviouslyfounditem.
CurrentSelectionOnly

ChecktheCurrentselectiononlyboxoptiontolimitthesearchratherthancausingthe
[Link]
[Link],thesearchwill
automaticallytakeplaceonlywithinthatselectedrange.
SearchingforStyles

[Link],textformattedwiththe
[Link]
[Link]
[Link]
[Link]
thesinglereplacement,replaceallmatchingstylesfoundinthetext,ortocanceltheprocess.
SearchingforTextAttributes

SelectAttributestoopenadialoguefromwhichtoselectthosetextattributestobe
[Link]
[Link],iftheFontWeight
checkboxisselected,theprogramcanfindallwordsthathaveaheavierfontthannormal.
ThesecouldbewordsthathavehastheBoldattributeapplied,eitherthroughdirector
indirectformatting,orthathavebeenhighlightedwithafontpreviouslydefinedasabold
font,suchasonescontainingthewords"Bold"or"Black"[Link],Find
[Link],aftersearchingfortheattributes,onemayenable
theIncludingStylescheckboxinthegroupssectionoftheFind&Replacedialoguewhere
[Link],thesearchextendsfromthedirectattributeswe
selectedpreviouslytoincludeindirectattributes,[Link].

OpenOffice.orgUserGuidefor2.x

47

Chapter2:[Link]

SearchingforSpecialFormats

ByclickingtheFormatbutton,oneopensadialoguefromwhichtoselectthespecific
[Link],ifonehasmanuallycenteredafewlinesinthetext,find
themusingtheoptionsofFormatintheFind&[Link]'ssaythatthe
foundattributemustbereplacedwithanother,todothistakethefollowingsteps:
1. PositionthecursorintheReplacewithfield.
2. ClicktheFormatbutton.
3. Choosethereplacementattribute.
[Link]
replacementisindicatedfortheattributefoundinthetext,thedefaultsettingsare
automaticallyapplied.
SimilaritySearch

Thisfunctionseeksnotonlyforthesearchterm,[Link]
needed,finetunethedegreeofsimilaritybyclickingthebuttonimmediatelytotherightof
theSimilaritysearchcheckbox.
ListofRegularExpressions
ThislistisalsoinHelpbutisincludedhereasaconvenience.
Character

Result/Use

[Link]"[Link]"findsboth"shirt"and"short".

Using^Peterwillfindthissearchtermonlyifitappearsatthebeginningofaparagraph.
Specialcharacters(forexample,blankspacesandcharacteranchoredframes)atthe
beginningofaparagraphareignored.

[Link],
using$[Link],ifone
searchesfor,say,Peterattheendofaparagraph,enterPeter$intheSearchforbox.
Specialcharacters(forexample,blankspacesandcharacteranchoredframes)attheend
ofaparagraphareignored.

^$

Enter^$intheSearchboxtofindemptyparagraphs.

Findszeroormoreofthecharacterimmediatelyinfrontofthe"*".Forexample,
"Ab*c"finds"Ac","Abc","Abbc","Abbbc",andsoon.

Thecharacterbeforethissymbolmustappearatleastonce:"AX+4"finds"AX4",
AXX4,butnot"A4".

Findszerooroneofthecharactersinfrontofthe"?".Forexample,"Texts?"findsthe
words"Texts"and"Text".

Onlyfindsthecharacter(nodigits)[Link]
[Link],ifonesearchesfor\*+,
*,**and***[Link],theregularexpressioninterpretationof'*'is
turnedoffonlyforthatoneinstance.

OpenOffice.orgUserGuidefor2.x

48

Chapter2:[Link]

Character

Result/Use

\n

FindsahardrowbreakthatwasinsertedwithShift+[Link]
paragraphbreaks,enter\nintheSearchforandReplacewithboxes,andthenclickthe
Replaceallbutton.

\t

[Link].

\>

[Link],"book\>"
finds"checkbook",butnot"bookmark".

\<

[Link],
"\>book"finds"bookmark",butnot"checkbook".

^$

Searchesforemptyparagraphs.

^.

Searchesforthefirstcharacterofaparagraph.

&

UsethischaracterintheReplacewithboxtoaddthecharactersthatmatchedthesearch
criteriawhenareplacementismade.
Forexample,ifoneenters"window"intheSearchforboxand"&frame"inthe
Replacewithbox,thewordwindowisreplacedwith"windowframe".
Userscanalsoentera&intheReplacewithboxtomodifytheAttributesora
differentFormatofthesearchcriteriaenteredintheSearchforbox.

[abc123]

Findsthecharactersthatarebetweenthebrackets.

[ae]

Findsthecharactersthatarebetweenaande.

[aehx]

Findsthecharactersthatarebetweenaeandhx.

[^as]

Findsallcharactersexceptforas

\xXXXX

Findsaspecialcharacterbasedonitsfourdigithexadecimalcode(XXXX).
[Link]
bychoosingInsertSpecialCharacter.

Findsthesearchtermsthatoccurbeforeandafterthe"|".Forexample,"this|that"finds
both"this"and"that"inthesearch.

{2}

Definesthenumberoftimesthatthecharacterinfrontoftheopeningbracketoccurs.
Forexample,"tre{2}"finds"tree".

{1,2}

Definesthenumberoftimesthatthecharacterinfrontoftheopeningbracketcanoccur.
Forexample,"tre{1,2}"findsboth"tree"and"treated".

()

[Link]
referenceinthecurrentexpressionwith"\1",tothesecondreferencewith"\2",andso
on.
Forexample,ifthetextcontainsthenumber13487889andonesearchesusingthe
regularexpression(8)7\1\1,"8788"isfound.

[:digit:]?

[Link],use[:digit:]*.

[:space:]?

Findswhitespacesuchasspacesandtabs.

[:print:]?

Findsprintablecharacters.

[:cntrl:]?

Findsnonprintingcharacters.

[:alnum:]?

Findsalphanumericcharacters(numbersandtextcharacters).

[:alpha:]?

Findsalphabeticcharacters.

[:lower:]?

FindslowercasecharactersifMatchcaseisselectedintheOptionsarea.

[:upper:]?

FindsuppercasecharactersifMatchcaseisselectedintheOptionsarea.

OpenOffice.orgUserGuidefor2.x

49

Chapter2:[Link]
Note:Thelongestpossibletextwithintheparagraphisalwaysfound.IftheparagraphcontainsthetextAX4A4,
thesearchtermA.*4findsthefirstAtothelast4,i.e.AX4A4.
Note:The'()'and'\1..\9'referenceREcombinationswillbefamiliartoprogrammerswhohaveusedstandardRE's,
[Link]'\1..\9'cannotbeusedinthereplacetermas
[Link]'&'totransfertheentirematchingsearchtermtothereplace
term

OpenOffice.orgUserGuidefor2.x

50

Chapter2:[Link]

DigitalSignaturesandPrintingorExportingDocuments
Therearemanyprintoptionsforputtingdocumentsonpaper,[Link]
waysofdistributingdocumentsaretopublishinHTMLformat,XHTM,TeX,bib,docbook
[Link]
[Link].
Whatisnewisthat,asofOpenOffice.org2.0.4,exporttoPDFhassomeaddedsecurity
[Link]
(DRM)featuressuchascopy,printingoptions,[Link]
informationonPDFexport,seethespecification.
Thefollowinggraphicshowstheseoptions.

WiththenewPDFExportsecuritytabtheuserhasthefollowingpossibilities:

createaPDFdocumentthatcanbeopenedonlywiththecorrectpassword,once
passwordopenedtheusercandowhateveritlikeswithit(seeOnlyopenpassword,
norestriction);

OpenOffice.orgUserGuidefor2.x

51

Chapter2:[Link]

createaPDFdocumentthatcanbeopenedonlywiththecorrectpassword,butwith
restrictedpermissions;forexamplethedocumentcannotbeprinted,oranyofthe
selectionsfrom6to9in(seeopenpassword,restricted);

createaPDFdocumentthatcanbeopenedbyanyone,butwithrestricted
permissions;forexamplethedocumentcannotbeprinted,oranyoftheselections.

createaPDFdocumentwithoutrestrictions,everythingisallowed(seePDFwithout
restriction).

OpenOffice.orgUserGuidefor2.x

52

Chapter2:[Link]

Onlyopenpassword,norestriction
TocreateaPDFdocumentthatcanbeopenedbyusershavingthecorrectpasswordandto
enablethoseuserstodoanythingtheywantwiththePDF,doasfollows:
1. SelectEncryptthePDFdocument
2. ClickSetOpenPasswordtosetandconfirmthepassword;thepasswordcanbe
emptyorupto32characterslong;
3. DeselectRestrictpermission
Note:AnemptyopenpasswordmeansthatthePDFdocumentcanbeopenedbyanyone.

openpassword,restricted
1. SelectEncryptthePDFdocument
2. ClickSetOpenPasswordtosetandconfirmthepassword;thepasswordcanbe
emptyorupto32characterslong.
3. [Link],thepassword
canbeemptyorupto32characterslong.
4. Selectthepermissionsasdesired,[Link]
availablepermissions.
Permissionrestrictedonly
1. DeselectEncryptthePDFdocument
2. [Link],thepassword
canbeemptyorupto32characterslong.
3. Selectthepermissionsasdesired,[Link]
availablepermissions.
PDFwithoutrestriction(Defaultbehaviour)
1. DeselectEncryptthePDFdocument
2. DeselectRestrictpermission

Permissionsavailable
[Link]
documentwherefthechosenviewerrespectsthesettings.
Printing
Point(6)[Link]
selectionwilldisabletheprinting.
Changes
Point(7)[Link],theyareself
descriptive.
OpenOffice.orgUserGuidefor2.x

53

Chapter2:[Link]

TheNotpermittedselectionwilldisableallthechanges(butcopy,seeEnablecopy).
Enablecopy
Point(8)[Link](selection)oftextandimagestobeusedinotherdocuments
(throughpaste).Itcanbeselectedindependentlyfromtheotherpermissions.
Enableaccessibility
Point(9)[Link]
independentlyfromtheotherpermissions.
ProgrammingPDFSecurityinMacros
[Link]
informationonprogrammingwithmacros,seeChapter10.

OpenOffice.orgUserGuidefor2.x

54

Chapter2:[Link]

Name

Type

Default
value

Notes

EncryptFile

boolean

false

specifiesthatthePDFdocumentshouldbe
encryptedwhileexportingit,meanifulonlyif
theDocumentOpenPasswordpropertyisnot
empty.
Itcorrespondstoitem(1)in.

DocumentOpenPassword

String

empty

thepasswordthatauserwillneedtoreadthe
exportedPDF,[Link]
usedwiththeflagEncryptFileabove.
Itcorrespondstoitem(2)in.

RestrictPermissions

boolean

false

specifythatPDFrelatedpermissionsofthis
[Link]
thePermissionPasswordpropertybelowis
notempty.
Itcorrespondstoitem(4)in.

PermissionPassword

String

Empty

thepasswordthatauserwillneedtochange
thepermissionsoftheexportedPDF,shouldbe
[Link]
RestrictPermissionsabove.
Itcorrespondstoitem(5)in.

Printing

int

specifieswhatprintingisallowed:

0meaningthatthedocumentcannot
beprinted

1meaningthedocumentcanbe
printedatlowresolutiononly,

2meaningthedocumentcanbe
printedatmaximumresolution.
Itcorrespondstoitem(6)in.

Changes

int

specifiesthechangesallowedtothedocument.

0meaningthedocumentcannotbe
changed

1meaninginserting,deletingand
rotatingpagesisallowed

2meaningfillingofformfieldis
allowed,

3meaningfillingofformfieldand
commentingisallowed,

4meaningallthechangesofthe
previousselectionsarepermitted,
withtheonlyexclusionofpage
extraction.
Itcorrespondstoitem(7)in.

EnableCopyingOfConte
nt

OpenOffice.orgUserGuidefor2.x

boolean

true

specifiesthatthepagesandthedocument
contentcanbeextractedtobeusedinother
documents(copyfromthePDFdocument,

55

Chapter2:[Link]

Name

Type

Default
value

Notes
pasteelsewhere).
Itcorrespondstoitem(8)in.

EnableTextAccessForA
ccessibilityTools

OpenOffice.orgUserGuidefor2.x

boolean

true

specifiesthatthedocumentcontentcanbe
extractedtobeusedinaccessibility
applications.
Itcorrespondstoitem(9)in.

56

Chapter3:ManagingTextDocumentsWithWriter

Chapter3:ManagingTextDocumentsWithWriter
Inthischapter,[Link],called
[Link],itwillintroducethemoresophisticatedfunctionsand,lastly
provideanexplanationofsomeofthetemplatesandsampledocumentsthatarepartofthe
distribution.
Remembertoexamineotherchaptersintheguideforotherimportantinformationon
workinginWriter:

Usageofmenus,windows,floatingtoolbarsetceteraisdescribedinChapter1.
[Link],workingwithdata
sources,[Link],andabouttherevisionmarkingfunctioniscontainedina
separatechapterAdvancedTechniques.

[Link]
[Link]
Writer.
Writing
[Link],
formletters,brochures,faxes,[Link]
canbesavedastemplates,forexample,[Link]
areatone'[Link],havetheAutoCorrectandhyphenationfunctionsactivewhile
typing.
[Link]
[Link]
[Link]
Wizard.
DesigningandStructuring
[Link]
Formattingwindowtocreate,assignandmodifystylesforparagraphs,individualcharacters,
[Link],theNavigatorcanhelpcreatestructuredtextsandalsoallows
modificationofthestructure,forinstance,byshiftingparagraphsfromonepositionto
another.
Additionally,[Link]
[Link]
hyperlinksandbookmarksallowjumpingdirectlytothecorrespondingitemsinthetext.

OpenOffice.orgUserGuidefor2.x

57

Chapter3:ManagingTextDocumentsWithWriter

[Link]
[Link]
[Link],andhavetextframes,graphics,tables,etc.
[Link],evenbeyondpagelimitsto
[Link],flowofcontours
throughandaroundgraphics,anddefiningofcharacters,paragraphsandtablesinanycolour
complementthetoolstolenddocumentsaprofessionallook.
Calculations
[Link]
[Link]
createdinordertoperformcalculations.
CreatingDrawings
Draw,vectordrawingtool,letsuserscreatedrawings,graphics,legends,etceteradirectlyin
textdocuments.
InsertingGraphics
Pictureswithdifferentformatscanbeinsertedintoatextdocument,includinggraphicswith
[Link]
[Link],theGalleryprovidesacollectionofclipartgraphics
organizedbytheme.
CustomizableProgramInterface
[Link]'sprograminterfaceissuchthateachusercanconfigureit
[Link](StylesandFormattingwindow,
Navigator,etcetera)canbepositionedasfloatingwindowsanywhereonthescreenandsome
[Link].
Drag&Drop
Thedraganddropfeatureenablesuserstoworkevenmorequicklyandefficientlywithtext
[Link],onecandraggraphicsdirectlyfromtheGallery
intoanactivedocument.
ExtensiveHelpFunctions
TheprogramprovidesanextensiveHelpfunctionwhichservesasareferenceguidetothe
[Link]
andcomplextasks.

OpenOffice.orgUserGuidefor2.x

58

Chapter3:ManagingTextDocumentsWithWriter

[Link]
[Link]
Theabovegraphicshowsthevariouswindowsandtoolbarsavailableforuseinmanaging
[Link],thewindows,listed
counterclockwise,areInsertfloatingtoolbar,InsertFieldssubmenu,InsertObject
floatingtoolbar,FormFunctionsfloatingtoolbar,DrawFunctionsfloatingtoolbar,
NavigationWindow,NavigatorWindowandStylesandFormattingwindowWindow.

OpenOffice.orgUserGuidefor2.x

59

Chapter3:ManagingTextDocumentsWithWriter

EnteringandFormattingText
[Link],letussay,
[Link]
whetherornottosplitasectionoftextintotwocolumnsimmediatelyortodelaytheaction.
Textneverhastobedeletedandretypedsimplybecauseformattingneedschanging.
Basically,toedittext,firstselectitandthenchoosetherelevantcommand,suchastheoneto
[Link],forexample,usingthe
arrowkeyswhilstholdingdowntheShiftkey,orwiththemousewhilstkeepingthemouse
[Link],forexample,witha
menucommand,withatoolbariconorwithshortcutkeys.
EnteringNewText
Toenternewtext:

1. Openanexistingtextdocumentorcreateanewone.
2. Entertextusingthekeyboard.
Whenspecialcharacters,suchasthecopyrightsymboloraccentedcharactersthatarenot
availableonthekeyboardaretobeentered,selectInsert>SpecialCharacterandchose
whatisneededfromthetable.
3. PressEntertobeginanewparagraph.
Linebreaks

[Link]
pressEnteratthepointtostartanewparagraph.
Automaticcorrection

[Link]
[Link],automaticallycapitalizingthestartofeverysentence.
Wordcompletion

[Link],let'ssay,
there'[Link],Writersuggestsaworditrecognizesas
[Link],PressEnter(or
defineanotherkey)toacceptit.
InsertingText
1. Openanexistingdocument.
2. placethecursoratthepointwheretextistobeaddedusingeitherthemouseorthearrow
keys,andenterthenewtext.

OpenOffice.orgUserGuidefor2.x

60

Chapter3:ManagingTextDocumentsWithWriter

Insertmodeisenabledbydefault,thusanytext,followingtheinsertionpoint,isshiftedas
[Link],selectOverwritemodeby
clickingtheINSRTfieldinthestatusbarasshownbelow.

SwitchingBetweenInsertModeandOverwriteMode
Usingthekeyboard:

IfthekeyboardhasanInskey,pressittotogglebetweenoverwritemodeandinsertmode.
Thecurrentmodeisdisplayedonthestatusbar.
Usingthemouse:

Onthestatusbar,clickinthefourthfieldfromtheleft,whichindicatesthecurrentmode,to
switchtotheothermode:

INSRT
[Link]
enableoverwritemode.

OVER
[Link]
insertmode.

defaultlayoutofthestatusbar:

Note:theareathatisclickedtochangefrominserttooverwrite

Afterclicking

EnteringTextAnywhereonaPage
Writerenablesonetoentertextatanypositionwithinthetypeareainthetextdocument.
Thisisthedirectcursorfunction:
1
.

ClicktheDirectCursoron/[Link]
[Link],thedirect
cursorisenabled.

2
.

[Link]
showshowthetextthatisenteredwillbealigned.
AlignLeft

OpenOffice.orgUserGuidefor2.x

61

Chapter3:ManagingTextDocumentsWithWriter

Centre
3
.

AlignRight

[Link]
blanklines,tabsandspaces.

SelectingandDeletingText
Somebasicstepstostart.
Deletingcharacters

Todeleteonecharactertotheleftofthecursor,pressBackspace(abovetheEnter
key).
Todeleteonecharactertotherightofthecursor,presstheDeletekey(maybelabelled
Del).

Deletingtext
Selectingtexttodeletewiththemouse

1. Leftclicktosetthecursoronthefirstcharactertobedeleted.
2. Keepingthemousebuttondepressed,dragthepointertothelastcharactertobedeleted.
Thecharacterswillbehighlighted.
3. Releasethemousebutton.
4. PresstheDeletekeytodeletetheselectedtext.
Selectingtexttodeletewiththekeyboard

1. Usethearrowkeystogotothefirstcharactertobedeleted.
2. HolddowntheShiftkey.
3. Usingthearrowkeys,movethecursortojustafterthelastcharactertobedeleted.
4. [Link].
5. PresstheDeletekeytodeletetheselectedtext.
Note:Toputtheselectedtextintotheclipboardforuselaterortoputelsewhereinthedocument,press
Ctrl+XratherthanDelete .[Link],
whereverandasoftenasdesired,pressCtrl+Vwhenthecursorissettothecorrectlocation.

Deletingnonadjacentpiecesoftext.

1. PressCtrlandkeepitpressed.
2. Leftclicktosetthecursoratthefirstcharacterofthefirstpieceoftexttobedeleted.
3. Presstheleftmousebuttonanddragthepointertothelastcharacterofthetexttobe
deleted.

OpenOffice.orgUserGuidefor2.x

62

Chapter3:ManagingTextDocumentsWithWriter

4. ReleasethemousebuttonandtheCtrlkey.
5. Repeatsteps1to4foreachpieceoftexttobedeleted.
6. PresstheDeletekeytodeletetheselectedtext.
Statusbaruses
SettingtheViewingZoomFactor

Note:theareathatisRightclickedtochangetheZoomfactor
Byrightclickingintheareashownabove,theusercanselectthedisplayZoomfactorforthe
[Link]
orNavigatoraredockedandopened,offandon,duringasessioninthatthefullwidthpage
oftextisalwaysdisplayed.
EditingorActivatingHyperlinks

Clickinginthisfieldonthestatusbarswitchesthetexthyperlinksinthedocumentfromactive(HYP)toedit
(SEL).

Display

Effect

HYP

ClickaHyperlinktoloadthecorrespondingURL.

SEL

ClickaHyperlinktextandedititaswithnormaltext.

ToedittheURLinsteadoftheHyperlinktext,thestatusbarmusthaveHYPdisplayedinthis
[Link],thenclickandholddownthemousebuttonastheHyperlinkis
[Link].
IftheHyperlinkisinsertedasabuttonratherthanastext(seeLinkbutton),theHyperlink
canonlybeediteidifonechangesthepropertiesofthecontrolfield:Selectthebutton,open
itscontextmenuandchoosetheControlcommandandtheneditthetextonthebuttonand
theURLfromthePropertiesdialogueofthebutton.
Clickahyperlinkinadocument,bringsupadialogueaskingtoopenthelinkeddocument.
ApplyingVariousFonts
ModifytheParagraphStyletopermanentlychangethefontsizeandstyleforallparagraphs
[Link],positionthecursorinthetextthattobemodified
andselectthecommandEditParagraphStyleinthecontextmenu.

OpenOffice.orgUserGuidefor2.x

63

Chapter3:ManagingTextDocumentsWithWriter

TheParagraphStyledialogueopens,[Link]
thetype,size,andstyleofthefont.
Note:Ifonewantstoemphasizeaparticularpassageinaletter,simplyselectthetextandclicktheBoldorItalic
[Link],simplyplacethecursoranywhereinthewordandclickBoldorItalic.

Makeanyothernecessarychanges,thenclicktheSaveDocumenticonandclosethe
documenttemplate.
Note:Whencreatingatemplate,[Link]
[Link]
aletter.

KeyboardNavigatingandSelectioninWriter
[Link]
Home,End,[Link]
[Link]
providesanoverviewofthekeysusedfornavigation.
Key

Function

+Ctrlkey

Right/leftarrow
keys
Up/downarrow
keys
Home

Goonecharactertotheleftorright

Goonewordtotheleftorright

Goonelineupordown

HomeInatable

Gotothebeginningofthecurrentcell

End
EndInatable

Gototheendofthecurrentrow
Gototheendofthecurrentcell

PgUp
PgDn

Scrollonepageupthescreen
Scrollonepagedownthescreen

Movethecurrentparagraphupor
down
Gotothebeginningofthe
document
[Link]
[Link]
[Link]
document
Gototheendofthedocument
[Link]
[Link]
theendofthedocument
Switchtotheheaderandback
Switchtothefooterandback

Gotothebeginningofthecurrentline

InsertingSpecialCharacters
Thisishowtoinsertspecialcharacters(suchascheckmarks,boxes,telephonesymbolsetc.)
intext:

SelectInsert>SpecialCharacterstoviewtheselectionofcharactersavailable.
Inthelargeselectionfieldselectthedesiredcharacterormorethanonebyclickingwith
[Link]
[Link],alldisplayedcharactersin
theselectedfontareinsertedinthecurrentdocumentatthecursor.

OpenOffice.orgUserGuidefor2.x

64

Chapter3:ManagingTextDocumentsWithWriter

Ifaspecialcharacterisrequiredinanytextinputfield(suchasintheURLfieldofthe
StandardtoolbarorintheinputfieldsintheFind&Replacedialogue),press
Shift+Ctrl+StopopuptheSpecialCharactersdialogue.

InsertingProtectedSpaces,HyphensandConditionalSeparators
Nonbreakingspaces

Topreventtwowordsfrombeingseparatedattheendofaline,presstheCtrlkeywhile
[Link],forexample,betweenatitleandthe
person'sname.
Nonbreakinghyphen

[Link]
havingAappearattheendofalineandZatthebeginningofthenextlineisnotusually
[Link],pressShift+Ctrl+[Link],hold
downtheShiftandCtrlkeysandpresstheminuskey.
Hyphen,emdashandendash

Toenterlongerdashes,addthecharactersequencesandreplacementunderTools>
AutoCorrect>Replace.
NOTE:ThereisaReplacedashesundertheOptionstabbutbeawarethatthisselectionisforcreatingparagraph
borderswhenasequenceofthreehyphensorthreeequalssignsareenteredthesearereplacedbyasingleline
borderandadoublelineborderrespectively.

Hereisamethodtouse:
1. Openatextdocumentandplacethecursorinaconvenientlocation.
2. UsetheSpecialCharacterdialoguetofindthelong(em)dashtouseandinsertitinthe
document.
3. Copythecharacter.
4. OpenTools>AutoCorrect>Replace.
5. PastethedashcharacterintotheWithfield
6. [Link],twohyphens
()totriggerthereplacement.
Nowthereisashortcutthatdefinedthatautomaticallyreplacestheuserdefinedinput
[Link].
ManualHyphenation

[Link],
userscanoverridethisfeaturebyenteringCtrl+[Link]
hyphenatedattheendofthelineregardlessofthestateautomatichyphenationforthis
paragraph.
OpenOffice.orgUserGuidefor2.x

65

Chapter3:ManagingTextDocumentsWithWriter

EmphasizingText
[Link]:

[Link],changethe
texttoboldortoanotherfontstyle,changethetextcolourandbackground,orcentrethe
text.
[Link]
istobeemphasized,rightclicktoitscontextmenuandselectParagraph,thenclickon,
forexample,[Link],abordermaybeselectedtoframethe
paragraph,andalsowithshadowshading,[Link]
borderandtheparagraphtextcanbeadjustedunderSpacingtocontents.
UsingaTextFrame,providesthefollowingpossibilities:
a) Textcanreceiveaborder
b) Textcanbeplacedoutsideofthetextmarginonthesideofthepage.
c) Textframescanbelinkedwhentextshouldflowfromoneframetoanother.

ChooseFormat>Paragraph>Backgroundtoapplyabackgroundcolourtothe
paragraph.
UsetheDrawTextfunction:OpentheDrawfunctiontoolbar(ontheStandard
toolbar),selecttheTexticon,[Link]
positionedasdesired,whichincludesrotatingatvariousangles,orcurvingandslanting
thetextwiththehelpofFormat>Object>FontWork.

ChangingthecolourofText
ClickthelittledownarrowoftheFontcolouriconinWriterandothermodulestoobtaina
[Link],long
clicktheiconitself.
[Link].
Whenusingashortclickwithnotextselected,themousepointerchangesitsappearancetoa
[Link]
[Link]
astheiconisactive(looksdepressed),oruntilsimplyclickingwithoutdragging,oruntilthe
(Esc)keyispressed.
RotatingText
Textcanberotatedbyenteringitintoatextframeasfollows:

OpenOffice.orgUserGuidefor2.x

66

Chapter3:ManagingTextDocumentsWithWriter

OpentheShowDrawFunctionsfloatingtoolbarontheStandardtoolbar.
OntheDrawFunctionstoolbar,[Link]
changestoa'+'whichindicatesthatatextframemaydefinedandopened.
Openupatextframe,releasethemousebuttonandtypeinanytext.
[Link],which
[Link].
Now,ifoneclicksononeofthehandlesinthecornersofthetextframeand
dragthemouse,thewholetextframeturnswiththetext.
FromthecontextmenuoftheTextFrame,ausercanstartthePositionandSizedialogueby
[Link]
numerically.
DefiningBorders
Bordersofpages,paragraphs,tablesandotherobjectscanbedefinedintwoplaces:

ChooseFormat>(objectname)>Borderswhere<objectname>ispageor
paragraph.
Intables,usetheBordersfloatingtoolbarontheobjectbar.

ChooseFormatfromthemenubar,Borderstabpage

Tosetaborder,selectFormat>Page>BordersorFormat>Paragraph>Borderswhich
opensthefollowingdialogue:

OpenOffice.orgUserGuidefor2.x

67

Chapter3:ManagingTextDocumentsWithWriter

[Link]
[Link],clickin
[Link]
Defaultborderswhichmayalsobeused.
Inbothcases,[Link]
choosealinestyleoracolour,itwillbeappliedtotheselectedpartoftheborder.
Note:Ifanemptylineisselectedinthepreview,thatistosay,if,oneofthethreeconditionsLine,GrayLine
andNoLine,TheconditionNoLineappears,Thismeansthattherelevantpartoftheborderwillbedeleted.

ClickingrepeatedlyonanelementintheBordersdialogueswitchesbetweenthree
alternativemodes:
Theelementisdisplayedasaline

ClickingOKwillapplytheformattotheelement.

Theelementisdisplayedasathick
blackline

IfOKisclicked,theobjectremainsunchanged.

Theelementisnotdisplayed

ClickingOKdeletestheelement.

OpenOffice.orgUserGuidefor2.x

68

Chapter3:ManagingTextDocumentsWithWriter

UsetheBordersfloatingtoolbarwithTables

Supposethefollowingtableborderisrequiredforadocument:
Berlin

NewYork

London

Country

Germany

USA

GreatBritain

River

Spree

Hudson

Thames

>3MillionCitizens

>7MillionCitizens

>6MillionCitizens

Population

1. Placethecursoratthepositioninthedocumentwherethetableistobeinserted.
2. ChooseInsert>TabletoopentheInsertTabledialogue,andinsertatableofthe
requiredsize,e.g.4columnsand3rows.
3. SelectthewholetablebypressingCtrlAtwice,thenclicktheBordersicononthe
[Link],whichmeansNoBorder.

OpenOffice.orgUserGuidefor2.x

69

Chapter3:ManagingTextDocumentsWithWriter

4. Now,withthemouse,selectthewholeofthefirstrow,openthecontextmenuandchoose
TabletoopentheTableFormatdialogue.

5. OpentheBorderstabpage.
6. Inthelinefieldselecttherequiredlinethickness,e.g.2.50pt.
7. FirstselectfullborderingfromtheDefaults
8. InthelargeLinearrangementfield,clickonceintheareabetweenthetwotopangles
(seeillustration)toremovethetoplineandthenonOK.
8. NowselectthesecondrowofthetableandagainopentheTableFormatdialogueby
choosingTableinthecontextmenu.
9. UnderLinearrangement,clicktheareasbetweenthetwobottomangles(see
illustration)toremovethebottomlinebetweentherowsandthenonOK.
9. NowselectthethirdrowofthetableandagainopentheTableFormatdialogueby
choosingTableinthecontextmenu.
[Link],clicktheareasbetweenthetwotopangles(seeillustration)to
removethetoplinebetweentherowsandthenonOK.
[Link].
[Link].
OpenOffice.orgUserGuidefor2.x

70

Chapter3:ManagingTextDocumentsWithWriter

SuperscriptsandSubscripts
Usershavethefollowingoptionsforsuperscriptingorsubscriptingtext:
1. UsethekeyboardshortcutsCtrl+Shift+PandCtrl+Shift+B.
2. ChooseFormat>Character>Position.
3. UsetheTextObjecttoolbarSuperscript/[Link]
inthetoolbar,exposethemusingthemethoddescribedunderChangingtheVisibilityof
ButtonsonToolbars.
1. Makingtextsuperscript/subscriptwhiletyping
Supposeonewantstotype1m(superscript2):
1. Typethecharacterm.
2. PressCtrl+Shift+ P
. Ctrl+Shift+Pisthekeyboardshortcutforsuperscripttext.
3. Typethe2.
4. Pressthekeyboardshortcut,Ctrl+Shift+P,againtodisablesuperscripting.
Note:Attheendofaparagraph,aneasierwaytodisablesuperscriptingistopressthe
rightarrowkeyonce.
5. Continueenteringthetext.
SupposethatenteringH2Owithasubscript2iswanted:
1. TypetheH.
2. PressCtrl+Shift+[Link]+Shift+Bisthekeyboardshortcutforsubscripttext,
Ctrl+Shift+Pforsuperscripttext.
3. Typethe2.
4. Pressthekeyboardshortcutagain.
Thereisaneveneasierwaywhenthecursorisattheendofaparagraph:Presstheright
arrowkeyonce.
5. TypetheO.

OpenOffice.orgUserGuidefor2.x

71

Chapter3:ManagingTextDocumentsWithWriter

Applyingsubscripts/superscriptsretrospectively

Let'ssaythatwhileproofingtext,thetextH2Oneedstoalteredtoincludeasubscripted2
giving(H2O).Todoso,useeitherthekeyshortcutmethod,describedabove,orusethis
methodmethodviathemenucommand:
1. Highlightthecharacterthatshouldbeinsubscript/[Link],selectthe2.
2. ChooseFormat>[Link].
3. ClickthePositiontab.
4. SelectSubscriptandclickOK.
The2nowappearsinsubscript.
WritinginUppercaseorLowercase
Writerhasthefollowingmethodsforreformattingtextinuppercaseorlowercase.

Todisplayinuppercase:HighlightthetextandchooseFormat>Character>Font
Effectstab,andunderEffectsselectCapitals.
Displayinginlowercase:HighlightthetextandchooseFormat>Character>Font
Effectstab,andunderEffectsselectLowercase.
Convertingtouppercase:Highlighttext,thenchooseFormat>Case/Characters>
Uppercaseorrightclickandmakethesameselectionformthepopupmenu.
Convertingtolowercase:Highlighttext,thenchooseFormat>Case/Characters>
Lowercaseorrightclickandmakethesameselectionfromthepopupmenu.

MovingTextSectionsinDocuments
1. Selectthetextthattobemoved.
2. Placethemousepointerintheselectedtext,thenpressthemousebuttonandkeepit
pressed.
3. Dragthemouseuntilasymbolappearsnexttothepointer,indicatingthattheselectedarea
[Link],agraytextcursormoveswiththemousepointer,indicating
wheretheselectionistobeinserted.
MousePointerShape

Meaning
Moving
Copying
Creatingalink

OpenOffice.orgUserGuidefor2.x

72

Chapter3:ManagingTextDocumentsWithWriter

Tocopythetext,ratherthanmove,it,pressCtrlwhileperformingtheactionsdescribed
[Link],[Link]
pressandreleasetheCtrlkeyasoftenasneeded theactionappliestothecondition
prevailingatthetimethemousebuttonwasreleased.
ResettingFontAttributesWhileTyping
Usersmayapplydirectformattingwhiletypingtextandlaterdecidetoresetallformatting
[Link]
formatting,toresettheformattingtodefault,presstherightarrowkeyoncewhichcausesthe
[Link],continueenteringtextattheendof
thecurrentparagraph.
ExampleprocedureforresettingFontAttributes

Supposeonewantstotypethewordsbolditalic,andsetthelasttwowordsto
[Link],thenclickontheBoldand
[Link]
withnormalsetting,,simplypresstherightarrowkeyonceandfinishtheparagraph.
Thisissimplerthanclickingonthetwoiconsagain.
QuickFormattingUsingtheAdjacentParagraphFormat
Whentherearetwoconsecutiveparagraphswithdifferentparagraphformatsthatshouldbe
formattedthesameway,doitquicklywiththefollowingmethod:
a) Deletetheparagraphmarkbetweentwoparagraphs.
b) PressEnter.
BothparagraphsnowhavethesameformatwiththesameStyle.
Note:toseeparagraphmarks,enableView>NonprintingCharacters
Deleteparagraphmarksinthefollowingtwoways:
1. GotheendofthefirstparagraphandpresstheDelete(Del)[Link]
intothefirst(knownasdeletingtotheright).Toturnthetextbackintotwoparagraphs,PresstheEnterkey
twiceandthesecondparagraphhasthesameformatasthefirst.
2. GotothebeginningofthesecondparagraphandpressBackspace(usuallyabovetheEnterkey).the
secondparagraphmergeswiththefirstparagraphbutkeepsitsformat(knownasdeletingtotheleft).
PressingEntercreatestwoparagraphsbutbothhavetheformatofthesecondparagraph.

UsingSections
[Link].
OneexampleoftheiruseinWriterisinpreparingcompletedocumentsusingMaster
[Link].
ThefollowingarethewaysthatsectionscanbeincorporatedinaWriterdocument:

Sectionsoftextthathaveadifferentnumberofcolumnsthanthemastertext.

Sectionsprotectedfromfurtherediting.

Sectionsthatareonlytobeshownundercertaincircumstancesorhidden.

OpenOffice.orgUserGuidefor2.x

73

Chapter3:ManagingTextDocumentsWithWriter

Sectionsthataretobeinsertedintoadocumentasfilesorpartsoffiles.

SectionsthatcanbeincorporatedintoothertextdocumentsviaDDE

[Link],it
automaticallyendswithaparagraphbreak.
[Link]
[Link],withina
singledocument,[Link]
section,placethecursorattheverybeginningorendofthesectionandpressAlt+Enter.

OpenOffice.orgUserGuidefor2.x

74

Chapter3:ManagingTextDocumentsWithWriter

SectionsandColumns
Multicolumnsection:[Link],
forexample,tocreateatwocolumnsectiononapageoftext,andthencreateathree
columnsectionwithinthatsection.
Multicolumnpage:Thepageformat(Format>Page>Columns),whichalwaysappliesto
allpageswiththecurrentPageStyle,isindependentofthesections.
Multicolumnframe:[Link]
movedfreelyaroundthepage(fromToolstoolbar,longclicktoopenInsertfloatingtoolbar,
clickInsertframeicon).Fortheseframes,forexample,onecanselectthatthetextinthe
framebepositionedacertaindistancefromtheedgeoftheframe(ChooseFormat>Frame
>Wrap).
InsertingSections
1. Placethecursoratthepointtoinsertthenewsection,orselectthetextthatistoforma
newsection.
2. ChooseInsert>[Link],defineothersettingsforthesection.
3. ClickInsert.
[Link],Linksmust
[Link],orclick...[Link]
namedsectionofthedocumentintheSectionpulldownlist.
Whenopeningadocumentthatcontainslinkedsections,apopupaskstheusertoupdate
[Link],thecurrentversionsofthelinkedsectionswillbe
updated.
UnderWindows,theDDEmethodcanbeusedtokeepinsertedsectionsuptodatewiththe
[Link].
[Link]
[Link]
contentwassavedasanHTMLdocument.
EditingSections
EditthesectionsinthetextdocumentbychoosingFormat>[Link]
theusertoprotectsections,unprotectsections,revealhiddensections,changetheconditions
andremovesections;thatisturnthembackintonormaltext.

OpenOffice.orgUserGuidefor2.x

75

Chapter3:ManagingTextDocumentsWithWriter

FormattingTextWithandWithoutStyles
Plaintextcanbetooblandunlessoneappliesvisualeffectstoit,suchasgivingoverall
structuretothetext,emphasizingindividualwords,quotationsorreferencesorbreakingup
[Link].
DirectFormattingorFormattingWithStyles
WhenworkingwithWriter,[Link]
applytextattributessuchasbold,italics,fonttypeandfontsize.
Applydirectformatbydirectlysettingacertainattribute(s)[Link]
example,clickingtheBoldicononthetextobjectbardirectlyappliestheboldformattoa
[Link]
[Link],forexample,tomakeawordbold,justpositionthe
[Link].
Styles,ontheotherhand,[Link]
[Link],withthehelpofStyles,is
[Link]
[Link],[Link]
arebestdoneusingtheStylesandFormattingwindow.
Bywayofexample,let'sassumethateachoftheheadingsisformattedwitha24point
He lveticafontbutthisnowneedstobechangedinalltheheadingstoa20pointTimes
[Link];however,hadtheformat
beendefinedasaStyle,saywiththenameHead1,thatwasappliedtotheheadingsinthe
document,onecouldsimplymodifytheHead1Style,andallheadingswouldbe
automaticallychangedtomatchthenewsettings.

OpenOffice.orgUserGuidefor2.x

76

Chapter3:ManagingTextDocumentsWithWriter

[Link]
Stylesforcharacters,paragraphs,frames,numberedlistsandpages(orcellsintables)are
[Link],onecancopytheStylesofonedocumentto
anotherdocumentandchoosewhetherorenottooverwrite(replace)Stylesofthesame
name.
[Link],includingthe
Character,Paragraph,Frame,NumberingandPageStylesitcontains,[Link]
anewdocumentbasedonthistemplateisopened,allthoseStylesareavailabletotheuser.
[Link],whenanewtext
documentisopenedusingFile>New>TextDocument,anew,blankdocumentisopened
[Link]
progressesand,ifdesired,thisdocumentcanbeturnedintoadefaulttemplatebysavingit
viaFile>Templates>[Link]
defaulttemplatewillthenapplytoallnewdocumentscreatedwiththistemplate.
TheStylesintheStylesandFormattingWindow
OpentheStylesandFormattingwindowbyselectingFormat>StylesandFormattingor
bypressingF11orbyclickingtheStylesandFormattingiconontheFormattingtoolbar.
[Link].
AtthetopoftheStylesandFormattingwindowareiconsforselectingtheStyletypeto
[Link],fromlefttoright:Paragraph,Character,Frame,Page,NumberingStyles,
FillFormatMode,NewStylefromSelectionandUpdateStyle.

ThescrollingframeoftheStylesandFormattingwindowliststhoseavailablestylesinthe
activeStylecategorythatisspecifiedinthelistboxatthebottomoftheStylesand
Formattingwindow.
Forexample,inthegraphicbelow,[Link]
[Link],select
AllSt ylesfromthelistbox.
ParagraphStyles
SelectParagraphStyles,ifitisnotalreadyselected,byclickingtheParagraphStylesiconin
[Link].

OpenOffice.orgUserGuidefor2.x

77

Chapter3:ManagingTextDocumentsWithWriter

[Link]
[Link]
FormattingwindowonanotherParagraphStyle,andtheformattingofthecurrentparagraph
changesaccordingly.
Toformataparagraphasaheading,followthisprocedure:
1. TypethelinetobeformattedasaheadingandpresstheEnterkey.
2. Setthecursorinthatline.
3. [Link],bypressingtheF 11key.
4. DoubleclicktheParagraphStyleHeading1.
[Link]
whichattributesareincludedinthisparagraphformat,clickHeading1intheStylesand
Formattingwindow,[Link]
theParagraphStyle:Heading1dialogue,whichtellseverythingaboutthepropertiesofthis
ParagraphStyle.
WhenonedecidesnottomodifythisParagraphStyle,simplyclosethedialoguebyclicking
[Link],thisParagraphStyleshoulddefinethecorrespondingmodifications
[Link]
paragraphs(oldandnew)havingtheHeading1
ParagraphStyle.
ChangescanalsobeappliedthetoallParagraphStylesthatarederivedfromtheParagraph
StyleHeading1.TheParagraphStylesHeading1toHeading10 areall
[Link]
Hierarchicalfromthelistboxatthebottom,onecanimmediatelyseewherea
[Link],thestyleimmediatelyhigherupis
theonefromwhichthestyleisderivedandthefollowingone,whichisderivedfromthe
customstyle.

OpenOffice.orgUserGuidefor2.x

78

Chapter3:ManagingTextDocumentsWithWriter

Bywayofexample,ifonechangestheleftindentto2.54cm(1inch)intheParagraphStyle
Heading,forexample,thatthiswillchangetheleftindentforallParagraphStyles
Heading1toHeading10 [Link]
theStyledialogueshavepriorityoverthepropertiesinheritedfromhigherrankingStyles.
RightclickonastyleandopenitwithModifytogettheParagraphStylesdialogueand
[Link],onewillseefrom
whichStyletheselectedStyleisderived.

OpenOffice.orgUserGuidefor2.x

79

Chapter3:ManagingTextDocumentsWithWriter

CharacterStyles
Inthefollowingillustration,theStylesandFormattingwindowdisplaysalistofavailable
[Link],butonlythesingleword
inwhichthecursoriscurrentlypositionedoraselectedtextrange.

UseormodifythesuppliedStyles,[Link]
startbyselectingaStylefromtheStylesandFormattingwindow(withasingleclick),which
[Link],then,merelyhasto
enterthepropertiesthataredifferentfromtheselectedStylesincetheotherpropertiesare
inheritedfromtheparentStyle.
ThefollowingtabledescribesthebaseStylesandthevariousattributesavailable.
StyleType

AttributeSelection

Paragraph

StylesIndentsandSpacing,Alignment,Hyphenation,
Tabs,Font,Language,Initials

CharacterStyles

Font,FontSize,Language

FrameStyles

Position,Anchoring,Borders

PageStyles

Header,Footer,Margins,Columns

NumberingStyles

NumberingType,Outline,Bullets,AssigningNumbering
Styles

HierarchicalStyles
[Link],onedefinedStylecanbederivedfrom
anotherwiththeresultthatthenewStylecontainsonlythedifferencesfromthebasic
[Link],iflateronechangesthebasicStyle,tohavealltextwiththe
derivedStylealsoupdatedaccordingly.

OpenOffice.orgUserGuidefor2.x

80

Chapter3:ManagingTextDocumentsWithWriter

Forexample,[Link]
Romanin12pointtocreateaStylecalledindentedtextwheretheonlyaddition
[Link],theuserdecidestochangethefontintext
bodyandthenthefontisautomaticallychangedintheindentedtextStyleaswell.
Stickingwiththisexample,ifoneredefinedtheleftindentationinthedefault,itwould
havenoeffectontheparagraphsformattedwithindentedtextbecause,inthe
hierarchy,themorecloselyassociatedformatalwayshaspriority.
NumberingStyles
SimplebulletingandnumberinginadocumentcanbeeasilysetusingtheiconsontheWriter
[Link],theiconsforbold,[Link]
[Link],too,offers
variousNumberingStylesthatmaybeappliedbydoubleclickingthenameoftheStyle.
Formorecontrolofnumberinginadocument,useFormat>BulletsandNumberingwhich
offersseveralotheroptionsthatmaybemoresuitableandwhichcanbeusedtocreate
customstyles.
CreatingNewCharacterStylesorParagraphStyles
[Link]
followingisastepbystepprocedurewithwhichtostart:
a) Firstofall,applynew,directformattingtoanycharactersoranyparagraph,whichwill
[Link],eitherusethetextobjectbaroropentheFormatmenuand
chooseCharacterorParagraph.
b) [Link],
simplypositionthecursorintherespectivewordorparagraph.
c) AtthetopoftheStylesandFormattingwindow,clicktheParagraphStylesicontocreate
[Link],clicktheCharacterStylesicontocreateanew
CharacterStyle.
d) AtthetopoftheStylesandFormattingwindow,[Link]
openstheCreateStyledialogue.
e) EnteranameforthenewStyleandclickOK.
AscanbeseenintheStylesandFormattingwindow,anewStylehasbeencreatedinthe
CustomSt ylesgroupmakingitavailableforuseforindirectformattingindocuments.
[Link]
isamethodbywhichtocreateanewparagraphstyle.
a) IntheStylesandFormattingwindow,chooseParagraphStylebyclickingitsicon.(the
onefarthesttotheleftintheStylesandFormattingwindowstoolbar.)
b) CallthecontextmenuoftheStylesandFormattingwindow(clickrightmousebutton).
c) ChooseNe w...
d) EnterthedataforthedesiredStyle
OpenOffice.orgUserGuidefor2.x

81

Chapter3:ManagingTextDocumentsWithWriter

e) closethedialoguewithOK.
YetanotherexampleshowshowtodefineaParagraphStyleforasubtitleandassumesthere
areseveralsubtitlesinthetextthatarecandidatesforformattingwithacustomParagraph
Style.
1. PositionthecursorinaparagraphinthetextthattoformatwiththenewParagraphStyle.
2. [Link]
[Link],doubleclickontheHeading1
ParagraphStyleintheStylesandFormattingwindow.
3. TheparagraphisnowformattedasHeading1.
4. [Link].
5. ModifythetypeofcharactersbyselectinganitalicfontintheCharacterdialogue
(ChooseFormat>Character>Font)orbyclickingtheItalicsicononthetextobject
bar.
6. IntheStylesandFormattingwindow,clickontheNewStylebyExampleiconandenter
anameforthenewStyleinthedialoguebox,forexample,Head1
7. ClickOK.
8. NowapplythenewHead1ParagraphStylebyplacingthecursorintheparagraphand
doubleclickingtheHead1StylenameintheStylesandFormattingwindow.
WherethedesiredStylealreadyexistsinadocument,selectandapplyitfromtheApply
Stylepulldownlistontheobjectbar.
CreatingDocumentTemplates
ForanyuserdefinedParagraphorCharacterStylestobeavailableinotherdocuments,first
[Link]
[Link]:
1. [Link],deletealltextfromthecurrentdocument,leaving
onlytheStyles.
2. CallthemenucommandFile>Templates>Save.
3. InthedialogueDocumentTemplates,selectthecategoryintowhichtosavethetemplate.
IntheNewTemplatetextfield,enterthenameforthetemplate.
4. clickOKtocompletetheprocessofcreatingatemplate.
Withthetemplatesaved,thenexttimewhenFile>New>TemplatesandDocumentsis
usedtoselectatemplateforcreatingadocument,thistemplatewillselectablefromthose
[Link]
document.

OpenOffice.orgUserGuidefor2.x

82

Chapter3:ManagingTextDocumentsWithWriter

TheAdvantagesoftheStylesandFormattingWindow
FromtheprecedinginstructionsusersshouldnowknowhowtoapplythestylesintheStyles
andFormattingwindowtotext,howtoapplycustomStylesandhowtocreateatemplatethat
[Link]
[Link]
eitherselectingFormat>StylesandFormattingorbyopeningtheStyleandFormatting
windowandusingLoadStylesfromtheNewStylefrom
Selectiondropdown
[Link],thedesiredformattingcanbeappliedtothe
documentquicklyand
[Link].
FormattingMultipleParagraphs
Intheworkdescribedabove,thesameParagraphStyleHeading1wasappliedtoeach
[Link]:
[Link],selecttheStylethatshouldbeappliedonmultiple
paragraphsbyclickingtheStyleonce.
[Link],clickonthe
FillFormatMode
[Link]
intothedocument.
[Link].
[Link],toswitchoffthismode,clicktheFillFormatModeiconagainorpressthe
Escapekey.
ChangingaStyletheEasyWay
[Link]
usedthecustomStylemadeintheprevioussectionstoformatadocumentwiththenew
[Link],later,theusermaydecidethatitwouldlookbetteriftheheadings
[Link]
makingthischange:
1. LocatethelongestheadingformattedwiththeHead1Styleinthedocumentandclick
threetimesinthatheadingtoselecttheentireline.
2. [Link],usethismethod:
a) chooseFormat>Character,orchooseCharacterfromthecontextmenufor
theselectedline.
b) IntheCharacterdialogue,clickthePositiontabandintheSpacinglistbox
[Link],increasethespacingtomaketheheading
wider.
c) ClosethedialoguewithOK.
3. NowadditionaldirectformattinghasbeenononeoftheheadingsformattedwiththeStyle
Head1.AlldirectandStyleformattingshouldnowbeaddedtotheHead1Paragraph
[Link].

OpenOffice.orgUserGuidefor2.x

83

Chapter3:ManagingTextDocumentsWithWriter

4. AtthetopoftheStylesandFormattingwindow,click
headingsformattedwithHead1willbe
themodifiedStyle.

[Link]
automaticallyreformattedwith

[Link]
dialoguefortheStyle,[Link]
changetheformattingof,say,aparagraphformattedwiththisStyleandhavetheformatting
ofallotherparagraphswiththesameStylebeautomaticallychangedaswell.
PageStylesandPageNumbers
Oftentextdocumentsarecreatedwithoutapagenumberonthetitlepagebutwithlowercase
oruppercaseromannumeralsonthepagesoftheTableofContents(onedoesnotknowhow
manyyet),andtostartnumberingtherestofthepageswithArabicnumerals.
Note:[Link].

Pagenumbersarebetterlocatedinfootersorheadersratherthanintherunningtext,
[Link]
belowshowhowtodothis:
1. CreateanewPageStyle
2. ApplythenewPageStyle
3. EditthePageStyle
4. UsethefooterParagraphStyletoformatpagenumbers.
Note:DonotusetheOffsetboxunderInsert>Fields>Other>Documenttabtochangethepagenumberofa
[Link],forexample,attheendofapagetodisplaythenumberofthenextpage,[Link]
thedisplay;itdoesnotchangethepagenumberitself.
Themanuallyenteredpagenumber(incontrasttotheautomaticallynumberedpagenumbers)isanattributeofthat
[Link].

CreatePageStyles

1. Openthedocumentinwhichtoenterorchangethepagenumbersorbeginwithanewtext
document,althoughuserswillneedtofirstentersometextandpagebreakstobeableto
followthestepsdescribedhere.
2. OpentheStyles

andFormattingwindow.

3. SelectthePageStylesviewintheStylesandFormattingwindow.

OpenOffice.orgUserGuidefor2.x

84

Chapter3:ManagingTextDocumentsWithWriter

4. CallupthecontextmenuofoneofthePageStylesandselecttheNew...command.
[Link]
blinkingintheNametextboxinwhichtoenterthenameofthefirstnewPageStyle.

5. [Link]
changedlater.

OpenOffice.orgUserGuidefor2.x

85

Chapter3:ManagingTextDocumentsWithWriter

6. InthecontextmenuoftheStylesandFormattingwindowclicktheNew...commandagain
anddefinethePageStylewiththenameTableofcontents.
7. [Link],thenames
[Link],onewouldnaturallyenterthe
namesofchoice.
Withthecompletionoftheabovesteps,thereshouldnowbethreenewStylesthathavebeen
created.
1. [Link]
theStylesandFormattingwindow.
So,[Link],onewillseethename
[Link],userscanalsoedit
(doubleclick)andassignexistingPageStylesviathecontextmenuofthePageStylefield
onthestatusbar.
If,however,onenowscrollsthroughthepagesofthedocument,itmaybenoticedthatthe
[Link]
theStandardPageStyle,[Link]
applytoallprecedingaswellasfollowingpages,unlessapagebreakoccurswitha
changeofPageStyle.
OntheOrganizertabpage,ifaNextStyleforaPageStyleisentered,thismeansthat
afterapagebreak(whetheritisenteredmanuallyoroccursautomatically)theNextStyle
[Link],forthePageStyleTitle
[Link]
[Link]
togothroughtheproceduredescribedbelowinvolvingtheManualBreakdialogue.
Note:AlwayschoosetheTableofContentsPageStyleastheNextStyletofollowtheTableofContents,since
noonecanbesurethenumberofpagesthattheTableofContentswillrequire.

2. NowplacethecursoratthebeginningofthepagewheretheTableofContentsshould
[Link].
3. SelectInsert>[Link].

OpenOffice.orgUserGuidefor2.x

86

Chapter3:ManagingTextDocumentsWithWriter

4. [Link]
Stylewhichwillthenbeginatthispointinthedocument.
5. ClickOK.
6. Placethecursoratthebeginningofthefirstlineinthemaintext.

7. ChooseInsert>[Link].
8. [Link],selecttheMaintextPage
Style,[Link]
andselectthenewpagenumber1.
9. NowclickOK.
Note:Forheadersorfooterstocontaindifferentcontentsontherightandleftsides,justunchecktheSamecontent
left/rightcheckboxunderFormat>Page>Footer.

OpenOffice.orgUserGuidefor2.x

87

Chapter3:ManagingTextDocumentsWithWriter

UnderFormat>Page>Page,[Link]
[Link]
oftenhavedifferentPageStylessothat,forexample,theleftpageshaveaheader,butthe
[Link];
sousetheseinsteadofMaintext.Thefirstpageofthemaintextispage1andcontainsthe
RightpageStyle;[Link]
canbeassignedtothecorrespondingpagesintheStylesandFormattingwindowcontext
[Link],choosetheNextStyle.
Caution:Thereisanactiveissuethatinsertsblankpageswhereone
[Link],pleaseusetheworkaroundat
page454
EditingPageStyles

[Link]
itso,dothefollowing:
1. SelectMainTextintheStylesandFormattingwindow,rightclicktoopenthecontext
menuandselectModify.
2. TheparagraphStyledialoguewindowopenstodisplaythedefinitionsforMainText.
3. ClicktheFootertab.
4. ChecktheFooteronbox.
5. ClickOKwhichplacesanemptyfooteronthedocumentpage.
6. Clickthemousecursorinthefooterareaofthepagetoenterdata.
7. ChooseInsert>Fields>[Link]>FieldShadingsisenabled,thepage
numberappearsinagrayfieldotherwisewithnoshading.
8. TohavePageprecedethepagenumber,placethecursorinfrontofthefieldandenter
Page.
9. ClicktheCentrediconontheobjectbartocentrethecurrentparagraph.
[Link].
PageBreaksasParagraphFormats

Inthefirstparagraphofthemaintext,directparagraphformattingwasautomaticallyapplied,
[Link]
[Link]
themanualbreak,chooseParagraph...fromthecontextmenu(notEditParagraphStyle,
sincethisisadirectformattingattributeforaparagraph).

OpenOffice.orgUserGuidefor2.x

88

Chapter3:ManagingTextDocumentsWithWriter

IfaparticularparagraphshouldbeonanewpagewithanewPageStyle,thenthatwouldbea
[Link]>Paragraph>
TextFlow.
ChangingtheFormatofPageNumbers

PagenumbersmaybespecifiedaseitherdirectorasapropertyofthePageStylejustlike
[Link],however,shouldonlybeemployedinafew
[Link],oneeditsthethefielddirectlyasfollows:
1. [Link]:Documentdialogueopens.

OpenOffice.orgUserGuidefor2.x

89

Chapter3:ManagingTextDocumentsWithWriter

2. Selectthedesiredfieldformat.
3. ClickOK.
Betterthanthedirectformattingmethod,justdescribed,istomakethepagenumberformata
propertyofthePageStyleasexplainedbelow:
1. [Link],forexample,
thePageStyle:[Link],thetitlebarofthedialogue
containsthenameofthecurrentPageStyle.
2. GotothePagetab.
3. IntheNumberingpulldownlist,determinehowthenumberingshouldappearonall
pageswiththisStyle.
4. ClosethedialoguewithOK.
5. NowselecttheAsPageStyleformatforthefieldwhichshowsthepagenumber(seethe
descriptionofdirectformatsabove).
Usersmaychangeotherpropertiesinthefooter,suchasthefont,byeditingtheFooter
ParagraphStylesothatthechangeswillapplytoallfooters.

[Link].

IncreasingthespacingofthefooterfromthetextaboveisalsoaformatattributeofthePage
Style:
1. SelectthepagestyleintheStylesandFormattingwindow.
2. RightclickandselecttheModify...commandinthethecontextmenu.
OpenOffice.orgUserGuidefor2.x

90

Chapter3:ManagingTextDocumentsWithWriter

3. InthePageStyledialoguesetthedesiredwidthandheightofthefooter.
PageStylesSummary

Unlikeassigningacharacterstyleorparagraphstyle,whereonefirstselectsthetextthen
doubleclicksintheStylesandFormattingwindowonthenameofthestyletoapplythe
chosenstyle,applyingpagestylesisdifferent.
Apagestyleisalwaysapropertyofthefirstparagraphofapagewhetherornotthisthefirst
[Link],notevery
[Link],[Link]
searchesforthepagestyleattributeofthecurrentpagebystartingatthecurrentcursor
positionandcontinuestosearchtowardthebeginningofthedocument,checkingeachfirst
paragraphofapagetolocateapagestyleasattribute.
Tochangefromonepagestyletoanother,usethecontextmenuofthefieldintheStatusbar
whichdisplaysthecurrentpagestyle.

PageStyleMenu

Uponrightclickingonthisfield,onegetsapopupcontainingalistofpagestyles,selectthe
pagestylewantedforthispageandWritersearchesbackwardsuntilthefirstparagraphatthe
[Link]
styleandthisstylewillbeappliedfromthispointuptotheendofthedocumentoruntila
newfirstparagraphcontaininganotherpagestyleisfound.

OpenOffice.orgUserGuidefor2.x

91

Chapter3:ManagingTextDocumentsWithWriter

DefiningdefaultTemplates
Wheneverusersfindsthattheyareforeverchangingtheformattingofnewdocumentstosuit
requirements,[Link],thisisknownasthedefault
[Link],thisdefaulttemplatecanbesetsothateverytimeanewtext
documentisopenedandthisisthetemplatethatisemployeduponselectingFile>New>
[Link]:
1. Createoropenadocumentthatcontainstheuser'sfavouritestylesandformatting.
2. Deletethetextofthedocument,asdesired,sothatonlythestylesandothersettings
remain.
3. SavethedocumentastemplatebychoosingFile>Templates>[Link]
documentasatemplatein$HOME/[Link]<release>/user/templateunder*NIX
and,underWindows,%HOME%\[Link]<release>\user\[Link]
user'sdefaulttemplatedirectory.
4. SelectFile>Templates>Organize.
5. Intheleftlistboxoftemplates,doubleclickMyTem [Link]
[Link].
6. [Link]
templatewillnowbeusedasthedefaulttemplate.

OpenOffice.orgUserGuidefor2.x

92

Chapter3:ManagingTextDocumentsWithWriter

TemplatesandStyles
[Link],custom
documents,[Link],logos,othergraphic
[Link],everytemplatecontainsasetofstylesthatareviewablein
[Link](text,table,drawing,
presentationetc.),asingletemplatefileisdefined,calledadefaulttemplate(file).This
templateisalwaysusedasthedefaultwhen,forexample,createanew(usuallyempty)
documentwithFile>New.
[Link]
[Link]
thatapplytodrawings,presentationsandspreadsheets.
CopyingStylesBetweenTemplatesandDocuments
ByselectingFile>Templates>Organizer,thefollowingdialogueappears.
UsethisdialoguetocopytheStylescontainedinaparticulartemplateorinaparticular
[Link]
[Link]

[Link],doubleclicktoexpandthelistof
[Link]
theStylesthatareactuallyusedinthatdocument.
Whendragginganddroppingelementsfromonetemplateordocumenttotheanother,the
[Link]
pointerisacirclewithalinethroughit,inwhichcasethecontentcannotbemovedtothat
place,orthemousepointerhasaninsertlinethatmarkstheplacewherethecontentwillbe
movedtowhenthemousebuttonisreleased.
OpenOffice.orgUserGuidefor2.x

93

Chapter3:ManagingTextDocumentsWithWriter

CreatingNewStylesFromSelections
Createanewstylebycopyinganexistingstyle,asfollows:
1. OpentheStylesandFormattingwindow.
2. Inthedocument,selectformattedtextoraparagraphthathastheformatfromwhichto
createthenewstyle.
3. Clicktheicon

ontheStylesandFormattingwindowStandardtoolbar.

NewStylefromSelection
Newstylescanalsobecreatedfromaselectionbydragginganddroppingit:
1. Selectthetypeofstyletobemadebyclickingthecorrespondingiconatthetopofthe
StylesandFormattingwindow([Link],Character,Frame,PageorNumbering).
2. Selectthatpartoftheparagraph,textorobjectformwhichtoformthenewstyle.
3. DragthistothemainStylesandFormattingwindowareaandreleasethemousebutton
overafreeareawhentheinsertionlineisnolongervisible.
TransferringFormatsWithFillFormatMode
ApplyinganewStyleinFillFormatMode:
1. OpentheStylesandFormattingwindow.
2. IntheStylesandFormattingwindow,selectthestyletocopy.
3. ClicktheFillFormatModeicon.
4. Positionthepaintcanpouringcursorontheobjecttowhichtoapplythestyleselected.
5. Pressthemousebutton.
Note:Thereisanexceptiontothisprocedure:whenapplyingaCharacterStyleintheFillFormatMode,selectthe
characterwiththemouse(paintcanpouring)whileholdingdownthemousebuttoninsteadofonlyclicking.
Toquitthefillformatmode,clicktheiconagainorpressEsc.

Warning:Ifthewateringcaniconisactivated,arightclickanywhereinthe
[Link]
rightclickandthusundoactionsthatshouldbekept.
UpdatingStylesFromSelections
ThisishowtoupdateaStyle:

1. OpentheStylesandFormattingwindow.
2. Inthedocument,selectaformattedtextorparagraphwiththeformattoadoptasastyle.
3. IntheStylesandFormattingwindow,selectthestyletoupdate(singleclick,donot
doubleclick!)
4. IntheStylesandFormattingwindow,clickon
OpenOffice.orgUserGuidefor2.x

theUpdateStyleicon:
94

Chapter3:ManagingTextDocumentsWithWriter

Stylecanalsobeupdatedbyusingdraganddrop:

1. SelectthestyletobeupdatedintheStylesandFormattingwindow.
2. Selectthesectionofparagraphtext,theformatofwhichistobeusedtoupdatethestyle
selectedintheStylesandFormattingwindow.
3. DragthetextintothemainStylesandFormattingwindowareaandreleasethemouse
buttonwhentheinsertionlineisseenaboveanentry.
Withthisprocedure,theparagraphstyledirectlyabovetheinsertionlineisgiventhenew
format.
EnteringandFormattingTextAutomatically
Thissectiondealswithcertainautomaticfunctionsthatinvolveenteringandformattingtext.
DisablingtheAutoCorrectFunction

Writerhasfunctionsthatareturnedonbydefaulttocorrectmanycommontypingerrorsas
[Link],[Link]
canbereversedimmediatelyafteritismadebypressing(CtrlZ).
[Link]
corrections(andreenablethem):
ASCIIQuotationmarksarereplacedwithCustomQuotes

[Link].
[Link]>AutoCorrect.
[Link].
Sentencesalwaysbeginwithacapitalletter

[Link].
[Link]>AutoCorrect.
[Link].
Awordisreplacedwithanotherword
[Link].
[Link]>AutoCorrect.
[Link].

OpenOffice.orgUserGuidefor2.x

95

Chapter3:ManagingTextDocumentsWithWriter

Threeidenticalcharacterswillbecomeawholeline

Whenthreeofthefollowingcharacters(_=*~#)areenteredatthestartofanew
paragraphandEnterispressed,[Link]
[Link]>Paragraph>Borderstoeditordelete
it.
Toturnthisfeatureoff:
[Link].
[Link]>AutoCorrect.
3. [Link]
conversionshouldnolongeroccur.

AutomaticSpellcheck

Fromwithinatextdocument,clicktheAutoSpellcheckon/officonontheStandard
[Link]
red.
[Link]
appears.
Thecontextmenuoftenprovidesalistofsuggestedwords,oneofwhichonemayclickto
[Link].

IfthewronglytypedwordisreplacedusingtheAutoCorrectfunctioninthecontextmenu,
[Link],
chooseTools>AutoCorrect>Replacetab.
Ifthewordunderlinedinrediscorrect,itcanbestoredinacustomdictionaryusingtheAdd
command.
ToexcludewordsfromSpellcheck
Forwordsmarkedasincorrect,userscanexcludethemfromspellcheckingasfollows.
1. Rightclickonthewordtoopenthecontextmenu.
2. ChooseIgnoreAll.

OpenOffice.orgUserGuidefor2.x

96

Chapter3:ManagingTextDocumentsWithWriter

UsingAutoText
WritercontainsanAutoTextfunctionwhichhelpsuserstouseshortcutsand
abbreviationstoaddexpandedwordstoletters,[Link]
documents.
ToinsertAutoTextdothefollowing:

EntertheshortcutforanAutoTextitemandpresstheF3key.
[Link],enterDT
andpresstheF3keytoinsertadummytextwhichcanbeusedtocheckthelookofapage
filledwithtext(andotherobjects).LikewiseenteringFNandpressingF3willinsertan
[Link].

ChooseEdit>AutoText.

[Link],AutoTextscan
evencontaingraphicsandtables.

LongclickontheEditAutoTexticonontheInserttoolbarandselectanAutoTextcategory
asshownbelow:

OpenOffice.orgUserGuidefor2.x

97

Chapter3:ManagingTextDocumentsWithWriter

[Link]
button,thetextisinsertedinthetextatthecursorposition..
Note:[Link].

DefiningAutoText
[Link].
NowselectEdit>[Link],selectthecategory(e.g.'default'),assigna
nameforthenewtextcomponentinthetextboxandcorrecttheabbreviationifnecessary.
NowsavethetextcomponentviaAutoText>Newandclosethedialogue.

OpenOffice.orgUserGuidefor2.x

98

Chapter3:ManagingTextDocumentsWithWriter

UsingAutoTextinNetworks
[Link]
networkinstallation:
AreadonlycompanywideAutoTextlistmightbelocatedontheserverandauserdefined
AutoTextlistlocatedinauser'[Link]
typing.

ChooseTools>[Link]>Paths.
[Link]
AutoTextlistfromtheserverinstallationwhilethesecondpathtakestheAutoTextlist
[Link]
samename,[Link].

PrintingAutoTexts
ToprintalistofallAutoTexts,[Link]
[Link]
document.
1. SelectTools>Macros>RunMacro.
2. [Link]
lefthandlist.
3. SelectAutoTextinthenewlyexpandedlist.
4. ClickRun.

OpenOffice.orgUserGuidefor2.x

99

Chapter3:ManagingTextDocumentsWithWriter

AutoTextWithAutoComplete
ToenableAutoCompletionofselectionsintheAutoTextdialogue,checkDisplayremainder
ofnameassuggestionwhiletyping.

Sowhiletyping,enterawordinthetextthatexistsasanAutoTextname,thissequenceis
recognizedafterthethirdmatchingletteristypedandaHelptipappearscontainingthe
[Link],pressEntertoinsertthe
AutoText.
Note:HelptipsometimecontainseveralAutoTextnamesthatbeginthesameway,useCtrl Tab toscroll
forwardsandShiftCtrl Tab toscrollbackwardsthroughthelisttoselectthetextwanted.

ExceptionsinAutoCorrect
ShouldAutoCorrectcorrectawordthatisenteredbutthiscorrectionisnotwanted,restore
[Link]
exceptionsinAutoCorrectprovingthatAutoIncludeischeckedintheAutoCorrect
dialogue.(Bydefaultitischecked.)
Example

Bydefault,[Link],
inthecaseofproductnamesandothersimilartexts,twoinitialcapitalsmayexactlywhatis
needed.
Supposethere'[Link],AutoCorrect
automaticallychangesthistoEst;however,bypressingtheCtrlZkeysequencethe
automaticreplacementisreversed(Undo)andthewordEStisautomaticallyaddedtothe
listofexceptionsintheAutoCorrectdialogue.
Note:SeealsothefunctionsforautomaticnumberingofheadingsinHelp.

OpenOffice.orgUserGuidefor2.x

100

Chapter3:ManagingTextDocumentsWithWriter

TextFrames
[Link],userscan
customizeitsappearanceformaximumimpact.
Inserting,EditingandLinkingTextFrames
Atextframeisaboundedareathatcancontaintext,graphicsandotherobjectsandbeplaced
anywhereonapage;forexample,tomakecolumnsforanewsletter.
Linkingthecontentofaframetoanother,let'sthetextflowbackwardandforwardbetween
them.
Clicktheedgeofanytextframetoselectitandeighthandlesappear,fourofwhichare
locatedinthecornersandoneinthemiddleofeachside.
InsertingTextFrames

Existingtextintoamaybeputintoaframeoranemptyframeopenedintowhichtextcanbe
[Link],highlightthetext
fortheframethenproceedasshownbelow:
1. LongclicktheInserticonontheToolstoolbarandopenitsfloatingtoolbar.

InsertFrameManually

2. OntheInsertfloatingtoolbar,pressthemousebuttonontheInsertframemanuallyicon
toopenthecolumnpreview.
3. Inthepreviewmovethemousepointtoselectthedesirednumberofcolumns.
4. Withthecrosshaircursor,createaselectionframetodefinethenewlocationandareafor
[Link].
Anytextthatwashighlightedisnowautomaticallydeletedfromthenormal,continuoustext
andinsertedintothetextframe.

OpenOffice.orgUserGuidefor2.x

101

Chapter3:ManagingTextDocumentsWithWriter

EditingTextFrames

[Link],ausercandraganddropto
[Link]
actionusingoneofthehandles,[Link],draggingahandleonone
ofthesidesenlargesorcompressesthetextframeinonedirectiononly,whereasdragginga
cornerhandleenlargesorreducesitintwodimensions.
[Link]
allowonetomakefurtheradjustments.

Asseenintheabovegraphic,[Link],choose
Alignmentwhichpositionstheframerelativetootherframes,drawingobjects,graphicset
[Link],wrap
[Link]
choosingFormat>Framefromthemenubarandopensadialoguethatgivesaccessto
managingallpropertiesoftheframe.
Thecontentsandfunctionsavailablefrouseintextframesarethesameasintextdocuments
andcancontainpictures,multiplecolumns,tables,drawingsetcetera.
LinkingTextFrames

[Link]
automaticallyflowsfromonetothenext.
[Link],[Link]
aroundtheedges.
[Link].
[Link].
Whenalinkedframeisselected,anyexistinglinksareindicatedbyaconnectingline.
OpenOffice.orgUserGuidefor2.x

102

Chapter3:ManagingTextDocumentsWithWriter
Note:[Link]
[Link]
textcontent.

[Link]
candisplayasonoftwoicons:achainwithanarrowwhentwoframescanbelinkedby
clicking,orachainwithastopsignwhenlinkingisnotpossiblewherethecursoris
[Link],forexample,whylinkingis
possibleornotpossible.
Note:[Link]
[Link],thelinkiconcannotbe
[Link],twoframescanonlybeunlinkedwiththeUnlinkFramesicon
fromthefirstframe.

Linkingofframescannothappenunderthefollowingconditions:

[Link],
thus,cannotbethetargetofalink.
Thetargetalreadyhasapreviouslink.
[Link],oneframeisinaheaderandthe
otherframeisinafooter.

Thesourcealreadyhasanextlink.

Sourceandtargetarethesame.

Closedchainsorchainsfromtheinsideoutorfromtheoutsideinarealsonotpermissible.
Thelatteristhecaseifaframeisinsertedintoanotherframeandthesemustbelinked
witheachother.

OpenOffice.orgUserGuidefor2.x

103

Chapter3:ManagingTextDocumentsWithWriter

UsingTextAnimation
Writer'sTextAnimationfeatureenablescompositionofapplicationswithcoloured,animated
[Link],[Link]
doit:
1. Openanew,[Link].
2. SelectFormat>Pagetoselectabackgroundforthewholepage.
3. OpentheDrawFunctionstoolbarusingtheShowDrawFunctionsiconintheStandard
toolbar
4. ClicktheRectangleicon.
5. Createarectangleinthecentreofthepage.

6. Openthecontextmenufortherectangleobjectbyrightclickingsomewherewithinit.
7. ChooseAreatoopentheAreadialogueandthenselecttheAreatab.
8. IntheFillsectionlistboxchooseeitherColourorGradientiftheonewantedisn't
currentlyselected.
9. Selectacolouroragradient.

OpenOffice.orgUserGuidefor2.x

104

Chapter3:ManagingTextDocumentsWithWriter

[Link].
[Link].
[Link]...commandtodefinetheborderpropertiesoftherectangleandchoosea
colourandawidth.

[Link].
[Link]
extendsbeyondthewidthoftherectangleornot.
[Link].
[Link].
[Link],clicktheTextAnimationtab.
[Link],selectEffects
[Link].
[Link],setthedistancefromtheleftandrightborders.(Theborderofa
framegoeshalfinsideandhalfoutside.)
[Link].
[Link].
OpenOffice.orgUserGuidefor2.x

105

Chapter3:ManagingTextDocumentsWithWriter

[Link],selecttherectangleagainanddoubleclickinthe
[Link].
[Link]
Character.
Note:EnlargeorreducethepagevieweitherbychoosingView>Zoomorviathecontextmenuofthescalefield
[Link],pressShift+Ctrl+R.

OpenOffice.orgUserGuidefor2.x

106

Chapter3:ManagingTextDocumentsWithWriter

DrawingLinesinText
Thereareanumberofwaystoaddlinestoapageoftextandanylinesthatareincorporated
inadocumentcanhaveattributesdefined,suchastheangle,width,colour,etcetera,however
theuserchooses.
Herearesomewaystoaddlines.

UsetheshortcutsdescribedunderThreeidenticalcharacterswillbecomeawholelineon
page96.
ApplythepresetparagraphstyleHorizontalLinebyplacingthecursoronablankline
anddoubleclickingtheHorizontalLinestyleintheStylesandFormattingwindow.
IftheentryforhorizontallinesisnotvisibleinthelistofParagraphStyles,switchthe
viewintheStylesandFormattingwindowfromAutomatictoAllStyles.

Drawalineabove,besideorbelowaparagraphbychoosingFormatParagraph>
[Link].
Topersonallydefinethelineattributesanddirection,usetheLinedrawingobjectas
follows:
1. OntheStandardtoolbar,clicktheShowDrawFunctionsicontoopentheDraw
Functionstoolbar.
2. [Link]
besideit.
3. Inadocument,locatewherethelineshouldbegin,click,holddownthemousebutton
[Link],restricts
drawingtohorizontal,vertical,anddiagonallinesonly.
4. Releasethemousebuttononcethelinehasthedesireddirectionandlength.
5. Todrawmorelines,repeatsteps2and3.
6. EndthisfunctionbypressingtheEsckeyorbyclickingtheSelectioniconfromthe
DrawFunctionsfloatingtoolbar.
7. Oncealllinesarecomplete,selectallofthelinesatthesametimebyclickingeach
[Link],one
canassignallofthemacommoncolour,widthoranyotherattributeasneeded.

Note:IftheselinesorotherdrawobjectsareexportedinatextdocumenttoHTML,Beawarethatsuchobjects
arenotdefinedaspartoftheInternetpagedescriptionlanguageHTMLandarethereforenotexporteddirectly
intoHTMLformatbutareexportedasgraphics.

OpenOffice.orgUserGuidefor2.x

107

Chapter3:ManagingTextDocumentsWithWriter

EditingTextWithFontWork
TheFontWorkprogrammoduleisusedforgraphicaltexteffectsinasimilarmannertothe
[Link],hereis
theproceduretofollow:
1. OpentheDrawingFunctionsfloatingtoolbarfromtheMaintoolbar.
2. SelecttheTexticon.
3. Drawatextframeonthepage.
4. Enterthetext,forexampleFontWork.
5. ChooseFormat>Object>[Link],fromwhich
toselectthedesiredeffects:

6. Clicktheupperlefticonwiththesemicircletodisplaythetextasacurve.

OpenOffice.orgUserGuidefor2.x

108

Chapter3:ManagingTextDocumentsWithWriter

7. ClickVerticalintheShadowoptions.Specify0.10inchesforthexaxisshadowdistance.
Thetextshouldnowappearsimilartotheillustration.

8. Sincethefirstandlastlettersmaynotbeeasytosee,inserttwoblankspacesbeforeand
[Link],editit,andthenclickoutsidetheobject.
9. SelectingtheFontWorkobjectcauseseighthandlesappearwhichcanbeusedtochange
[Link],dragoneofthehandlesinthedesired
direction.
[Link]
documentsformodification,sizingorotherattributes.

OpenOffice.orgUserGuidefor2.x

109

Chapter3:ManagingTextDocumentsWithWriter

AligningTextWithLines
Aligningtextonafreeformline
[Link]
toolbar.
[Link].
[Link].
[Link]>Object>FontWork.
[Link].

Aligningtextwithstraightlines
Slantingtextsothatitfollowsananglefromonepointonthetextpagetoanotherpointuses
[Link]'show:
1. Usingthedrawfunctions,drawastraightlinefromonepointtoanother.
2. Inthelistboxontheobjectbar,selectthelinestyleInvisible.
3. Doubleclickontheline,whichisnowinvisible(butthetwoendsmaystillbeseen).
4. Doubleclickexactlybetweenthem.
5. Enterthetext.
6. Clickoutsidethelineobject.

OpenOffice.orgUserGuidefor2.x

110

Chapter3:ManagingTextDocumentsWithWriter

TheNavigator
[Link],alongwiththeStylesand
Formattingwindow,thathelpsmanageformatteddocuments.
ActivatetheNavigatorbyclickingthecorrespondingitemintheEditmenu.
Inparticular,theNavigatorhelpsonetonavigate,ormoveaccurately,tothepartsofa
documentrequiredandprovidesdetailedinformationaboutthecontentofthedocumentinan
understandablemanner.
Intextdocuments,theNavigatorprovidescompletelistsofallheading,graphics,tableset
[Link],suchasgoingstraighttoaspecificplaceina
document,[Link]
navigation,[Link]
example,adocumentisstructuredusingheadings,throughtheNavigator,ausercanchange
thesequenceandhierarchicallevelsofwholechaptersandsubchaptersquiteeasilyby
clickingtheappropriateiconsintheNavigator.

TheNavigatorcanbedockedtotheedgeofawindowusingtheproceduredescribedunder
Dockingwindowsonpage18.
JumpingFromOneObjecttoAnotherinText
ClickingtheNavigationiconintheNavigatorwindowtoolbaropenstheNavigation
window.
Navigation

ThisNavigationwindowhasfunctionstoallowmovementinadocumentfromoneobject
(graphic,table,etcetera)tothenextorpreviousoneofthesametype.
OpenOffice.orgUserGuidefor2.x

111

Chapter3:ManagingTextDocumentsWithWriter

Forexample,clicktheNavigationiconintheNavigatorwindowandintheNavigation
[Link]
windowwilldisappearimmediatelysothattheusercanaccessthePreviousandNexticons
[Link]
nextnearestgraphicinthatdirection.
IntheNavigationwindow,thedoublearrowsattherighthandendofthetoolbarmayalsobe
usedtosearch.
Note:TohavetheNavigationwindowstayopen,firstgrabit'sbluetitlebaranddragitawayfromit'sinitial
[Link].

AnotherwaytoaccesstheNavigationwindowcanbefoundintheverticalscroll
baratthebottomrighthandsideofthedocumentwindow.

WhentheNavigationdoublearrowsintheverticalscrollbarappearblack,a
[Link],ifthearrows
appearblue,onecansearchtoeachobjectofthesamecategorythathasbeenlast
selectedintheNavigationwindow.

JumpingFromOneRemindertoAnother
UsetheNavigatortosettemporaryremindersthatstayineffectuntilthedocumentisclosed.
Thisishandywhenlookinguporaddingsomethinglaterasitmakesiteasytomovebetween
[Link]:
1. Positionthecursorwherethereminderistobeset.
2. [Link]
document.
3. Whenjumpingtoareminder,selecttheReminderentryintheNavigationwindowand
onecannowmovethroughtheremindersbyclickingthePreviousandNextarrows.
JumpingtoaSpecificPage
MovingquicklytoparticularpagesinlongdocumentsiseasyeveniftheNavigatorisnot
openedordocked.
DoubleclickthecurrentpagenumberontheStatusbar,andtheNavigatorwindowswitches
betweenopenandclosed.
EnterthenumberofthetargetpagenumberintothespinbuttonatthetopoftheNavigator
[Link]
automaticallyplacedatthetopofthatpage.
Akeyboardshortcut,Ctrl+Shift+F5,placesthecursorintheNavigatorpagespinbutton.
IftheNavigatorisinactiveitisopenedfirst.

OpenOffice.orgUserGuidefor2.x

112

Chapter3:ManagingTextDocumentsWithWriter

ChaptersinNavigator
Inlongdocuments,usetheNavigatortoobtainanoverviewandchangethesequenceof
[Link]
thatHeadingParagraphStylesmustbeappliedtothechapterheadings(orchoosethe
ParagraphStyleswhichwillberecognisedasheadingsunderTools>OutlineNumbering).
[Link]
[Link]
relevantsubsectionsisofcoursealsomoved.
Tomovethechapterheadingswithoutmovingtheircontents,draganddropwhileholding
downtheCtrlkey.(TheDragModeicononlyaffectsdraganddropbehaviourbetween
Navigatoranddocument).Whenusingthisfunction,switchonHeadingLevelsShownby
clickingontherelevanticonintheNavigator,toseewhatishappeninginthedocument.
OtherNavigatorFeatures

Whenonewantstoknowabouttheobjectsinadocument,theNavigatorcanbeveryhelpful,
particularlyinlongerdocuments,.Forexample,thereisanHTMLpageopen,theNavigator
tellsataglancewhichhyperlinksthepagecontainsincludinganyhiddenhyperlinks.
However,hiddenhyperlinkswillbewithoutreferencetext.

OpenOffice.orgUserGuidefor2.x

113

Chapter3:ManagingTextDocumentsWithWriter

IndexesandTablesofContentsinWriter
[Link]
example,userscanhaveatableofcontents,alphabeticalindex,illustrationindexand/or
bibliography.
DefiningIndex/TableofContentsEntries
Thefirststepinpreparingindexes,suchasatableofcontentsorotherindex,istodetermine
whichentriesinthedocumentshouldbeincluded.

Firstdefineentriesfortheindex(es)asentriesinthedocumentinthefollowingmanner:
1. [Link]
wordscanbeselectedbyholdingdowntheShiftkeyiftheyarelistedoneafterthe
other,[Link]
word,[Link]
TableofContents,usingHeadingsiseasiest.
2. EntertheselectedwordsinanindexbychoosingInsert>IndexesandTables>Entries.
Ifadifferenttermtoappearintheindex,[Link],one
couldenterdictionary,defining,whereasonlytheworddictionaryappearsinthetext.
Todefineallsimilarwordsinatextasentries,selectInsert>IndexesandTables>
EntryandcheckApplytoallsimilartexts.
Toincludethewordsinaseparateindexwithanameofone'schoice,clickonthe
[Link]
[Link]
[Link].

OpenOffice.orgUserGuidefor2.x

114

Chapter3:ManagingTextDocumentsWithWriter

EditingorDeletingIndexandTableEntries
Alldefinedindexentriesareshadedgrayinthedocumentforeasyrecognitionbut,which,is
[Link],switchthe
highlightingonoroffusingView>FieldShadings.

1. Toeditanentry,placethecursorimmediatelybeforeorinsideit.
2. ThenchooseEdit>IndexEntry.
3. AlterthetextintheEntrytextboxasneeded.
4. ClickontheDeletebuttontodeletethisentryfromthelist.
Ifthedisplayedtextoftheentryismodified,thealteredtextisinsertedintothegenerated
[Link]
suchasthis,placethecursordirectlyafterthethinmarkandchooseEdit>IndexEntry.
UsethearrowbuttonsintheEdit>IndexEntrydialoguetoswitchtothenextorprevious
entryofthesameindextype.

OpenOffice.orgUserGuidefor2.x

115

Chapter3:ManagingTextDocumentsWithWriter

CreatingaTableofContents
1. Placethecursoratthelocationatwhichtocreatethetableofcontents.
2. ChooseInsert>IndexesandTables>[Link]/Table
[Link]/TabletabandselectTableofContentsas
Type(thefirsttimethisdialogueisstarted,thistabpageandtypearealreadyselected).

3. ClickonOKtocreatethetableofcontentsfromtheheadingsandentriesalreadydefined.
4. Toinsertadditionalparagraphsofanotherparagraphstyleintothetableofcontents,check
AdditionalStyles
5. Clicktheiconnexttotheboxtoopenthedialogue
6. Definetheparagraphstylesthatarealsotoappearinthetableofcontentsandthelevel
[Link]
iconnearOutlinetoopentheAssignStyles
[Link],startingatthetop
level.
i. Selectoneoftheexistingdocumentparagraphstylesfromwhichtogenerate
eachentryatthisleveloftheindex.
Whenchangingheadings,rearrangingtheirsequenceorinsertingnewchapters,remember
toupdatethetableofcontentsasfollows:

PlacethecursorintheTableofContents.

Rightclicktoactivethecontextmenu

SelectUpdateIndex/Table.

SelectTools>Update>AllIndexesandTablestoupdatealltheindexesandtablesof
contentsinadocument.

OpenOffice.orgUserGuidefor2.x

116

Chapter3:ManagingTextDocumentsWithWriter

CreatingAlphabeticalIndexes
1. Placethecursorinwhichtocreatetheindex.
2. SelectInsert>IndexesandTables>IndexesandTables.
TheInsertIndex/Tabledialogueappears.

3. OntheIndex/Tabletab,selectAlphabeticalIndexinType.
4. ClickOKtogeneratethealphabeticalkeywordindexusingthedefaultsettings.
[Link],tohighlight
lettersunderwhichentriesexistassubtitles(alphabeticaldelimiterintheEntriestab),or
toallowcasesensitivitytobetakenintoaccountwhensorting,andmuchmore.
EditingtheparagraphstylesintheStylesandFormattingwindowisthebestmethodfor
changingtheformattingoftheindividuallinesintheindexasalldirectformattingis
overwrittenatthenextupdate.
CreatingUserDefinedIndexes
Userscancreateasmanyuserdefinedindexesasneeded.
Step2 Createanamedindexentrycollection:
a) OpenInsert>IndexesandTables>Entry
b) SelectUserDefinedfromtheIndexlistbox
c) ClicktheNewUserDefinedIndexiconinthedialogue
i. Namethenewindex.
ii. ClickOK.
d) [Link]
indexbeforeclosingtheIndexEntrydialogueortheindexwon'tbecreated:
OpenOffice.orgUserGuidefor2.x

117

Chapter3:ManagingTextDocumentsWithWriter

i. Inthedocument,findacandidatelocationortextforthenewindex.
ii. Positionthetextcursoratthatposition,orselectawordorphrasethatwillgo
intotheindex.
iii. IntheIndexEntryfloatingwindowclicktheInsert.
iv. Repeatthisprocessfromstep1.d.i.orcontinuewithstep1.e.
e) IntheIndexEntryfloatingdialogueclicktheClose.
Step3 Finally,createtheindexinthedocument:
1. Positionthecursorontheplacewheretheuserdefinedindexistobecreated.
a) ChooseInsert>IndexesandTables>IndexesandTables....toopenthe
dialogueInsertIndex/Table.
b) IntheTypelistbox,selecttheentrymatchingthenamethatwasgiventothe
indexcollectioninstep1.c.i.

c) GivetheindexatitlebyeditingtheTitlebox.
d) ChecktheStylesbox
e) Clickthe
[Link]
paragraphstylesforeachleveloftheindex,startingatthetoplevel.
i. Selectoneoftheexistingdocumentparagraphstylesfromwhichtogenerate
eachentryatthisleveloftheindex.
ii. Clickthe>>buttontorecordthatstyleandmovetothenextindexlevel.
iii. Foreachindexlevel,repeatthisprocessfromstep2.f.i,orcontinuewithstep
2.g.
f) ClickOK.
OpenOffice.orgUserGuidefor2.x

118

Chapter3:ManagingTextDocumentsWithWriter

g) MarktheothercheckboxesunderCreatefromtocreatetheindexfromallthe
objectsofacertaintype.
h) AssignnamestotheobjectsintheOptionstabofthecorrespondingproperty
dialogue.
i) ClickOKtogeneratetheindexfrommarkedentries.
UsingaConcordanceFile
Aconcordancefileisavariationofanindexinthatitprovidesexactreferencestowordsin
[Link]
containsanumberofkeywordsandinformationastohowthesewordsaretobeseeninan
index.
[Link]
whattermsarewantedintheindex,[Link]
allowsanindextohaveuptothreelevels:parent,subparent,indexeditem.
Preparation

PlacethecursorinthedocumentwheretheindexistobeinsertedthenselectInsert>
IndexesandTables>[Link]/Tabletab,enterintotheTitlebox
[Link],choose
[Link],choose
[Link].
[Link]
intheInsertIndex/Tablescreenareusedtodesignthelayoutoftheindex.
EnteringData

The'EditConcordanceFile'screenisnowdisplayedwithsevencolumns:Searchterm,
Alternativeentry,1stkey,2ndkey,Comment,Matchcase,andWordonly.
'Searchterm'[Link]
morethanoneword.
'Alternativeentry'[Link]
termsarethesame,Alternativecanbeleftblank.
'1stkey'istheparenttermthatthecurrenttermshouldbelistedunderinamultilevelindex
andisleftblankifthetermistostandonitsown.
'2ndkey'isthesubparenttermthatthecurrenttermshouldbelistedunderinamultilevel
indexandisleftblankifthetermistostandonitsownorifitonlyhasoneparent.
TheinformationintheCommentfielddoesnotgetprintedintheindexandcanbeusedfor
anyadditionalinformation.
'Matchcase'meansthatuppercaseandlowercaselettersareconsideredwhensearchingfora
termandis'No'bydefault.
OpenOffice.orgUserGuidefor2.x

119

Chapter3:ManagingTextDocumentsWithWriter

'Wordonly'meanstermswillonlybepickedupifthefullsearchtermword(s)arefoundin
[Link],ifthesearchtermis'inpresent'everyinstanceoftheword
'in'followedbytheword'present'willbeindexedbut'inpresentation'or'inapresent'will
notbeindexed.'Wordonly'is'No'bydefault.
Afterenteringthetermspress'OK'tosavetheconcordancefile.
Torevieworchangeentries,rightclickanywhereinthethedocumentandchooseEdit>
Index/TabletobringuptheInsertIndex/[Link]'Edit'underthe
'File'button.
[Link]
createaconcordancefile,[Link]
[Link]
[Link]
awarningmessageaboutformatting,answer'Yes'[Link]
[Link].
Thetextdocumentdisplayseachentryoftheconcordancefileasaseparatelineandthe
[Link]:Searchterm;Alternativeentry;1stKeyor
Parent1;2ndKeyorParent2;MatchCase;Wordonly
Ifthereisnoinformationforaspecificfield,thatspotshouldbeleftempty.
Commentedlinesbeginwith#andareignoredbytheindexingsystem.
'Match case'and'Word only'areinterpretedas'No'or'False'iftheyare
[Link]'Yes'orTrue.
Ifthesearchtermandalternativeentryarethesame,[Link]
userwantstomakesurethetermisdisplayedaparticularway,enteritintheAlternative
[Link],searchingfortheword'e-mail'
inthedocument,itshouldbeindexedregardlessofwhetheritisupperorlowercase;
however,[Link],theconcordancefileentry
shouldbee-mail;E-mail;;;0;1 OR E-mail,E-mail;;;0;[Link]
alternativeentry,theindexwilldisplaythefirstinstanceof'email'foundinthedocumentso
itmayormaynotbecapitalized.
Ifthesearchtermhasnoparent,[Link] 1isthe
highestparent,Parent 2isasubparentofParent 1.
Examplefile

[Link] 1wouldbe
'cats',Parent2wouldbe'longhaired','shorthaired'or'semi longhaired'
Examplesofentries(thecommentedlinesaregivenforexplanationandarenotrequired):
#American Shorthairisthesearchtermandthe#alternative
entrysoonlyneedstobelisted#once
#Catsisthehighestlevelparentwith#shorthairedasa
subparent.

OpenOffice.orgUserGuidefor2.x

120

Chapter3:ManagingTextDocumentsWithWriter
#Matchcaseis0whichmeansfalse,soallupper#andlower
caseinstanceswillbeselected
#Wordonlyis1whichmeanstrue,soonly#instancesofthe
fullwordswillbeselected.
#Itwouldnot#includeAmericanshorthaired.
AmericanShorthair;;cats;shorthaired;0;1
Himalayan;;cats;longhaired;0;1
MaineCoon;;cats;semilonghaired;0;1
NorwegianForest;;cats;semilonghaired;0;1
Persian;;cats;longhaired;0;1
Abyssinian;;cats;shorthaired;0;1
Bengal;;cats;shorthaired;0;1
#feedcatsandcattreatsarebothsearchterms#thatwill
beincludedinthefollowingindex#entry:
#cats
#care
#feeding
feedcats;feeding;cats;care;0;1
cattreats;feeding;cats;care;0;1

Onceentriesaremadeintheconcordancefile,itmaybenecessarytomakesureonlythe
[Link]'Find and
Replace'[Link]
somethingisbeingindexedthatisnotwanted,onewillneedtomodifythesearchtermto
eliminatetheunwantedtext.
Forexample,[Link]
[Link]
onlythetreebarktextisindexed,ausermighthavetochangetheentryfrom:
bark;;tree;;0;1
to:
tree bark;bark;tree;;0;1
and:
bark of the tree;bark;tree;;0;1
Theorderofentriesinaconcordancefiledoesnoteffectthedisplayorderwhichis
[Link],keepinglikeitemstogethermakesiteasiertotrackdownanyerrors
ortofindanentrythatneedstobechanged.
TurningonView>FieldShadingsallowsuserstoseewhichtermsareindexedandmight
helpdeterminewhatindexitemshavebeenforgotten.

OpenOffice.orgUserGuidefor2.x

121

Chapter3:ManagingTextDocumentsWithWriter

CreatingBibliographies
Bibliographyentriesareoftenintheformof:Smith[Smith1995]hasalsocarried
outresearchonthismatterorsimilarsothatthereaderknowsthatmoredetailed
informationcanbefoundinthebibliographyunderSmith1995 withthefullnameofthe
author,titleofthebook,publisher,dateofpublicationandamyriadofotherpossibleterms.
DecidewhatdetailsshouldappearinthebibliographyandthenuseInsert>Indexesand
Tables>IndexesandTableswithaTypeofBibliographytodefinehowtheentrieswill
lookwhendisplayed.
SelectTools>[Link]
columnsandfindonelabelledTypethenusedifferententriesformagazinearticlesthanfor
[Link]
[Link]
(byclickingtheNewbutton),buttheseadhocrecordswillbesavedonlyinthecurrent
document,notintheBibliographyDatabase,andthenonlyiftherelevantnewentryis
actuallyinserted.
Note:Whensavingadocumentwithbibliographyentries,allinformationbelongingtotheentrieswill
[Link],alldatawillbeincludedwhenthedocumentisdistributed,for
example,[Link].

1. Toinsertthebibliographyentriesintothetext,positionthecursorinthetextwherethe
entryistoappearandthenchooseInsert>IndexesandTables>BibliographyEntry.
Thefollowingdialoguewillappear:

OpenOffice.orgUserGuidefor2.x

122

Chapter3:ManagingTextDocumentsWithWriter

2. Firstdecidewhethertoselecttheentryfromtherecordscontainedinthebibliography
databaseorfromtheentriesthatarecontainedinthecurrentdocument(andwhichcan
differfromentriesofthesamenameinthebibliographydatabase).Anentryinthe
[Link]
thedocumenthasprecedence.
3. IftherequiredentryalreadyexistsasadatarecordselectitinthelistboxShortnameand
[Link],[Link]
usedtodothis,onecandefineanewrecord,butthiswillonlyberecognizedinthecurrent
document.
Iftherecordshouldbeincludedinthebibliographydatabase,chooseTools>
BibliographyDatabase,enterthenewrecordandtheninsertthebibliographydatabase
entryinthedocument.
Updating,EditingandDeletingIndexesandTablesofContents
IndicesandTableofContentsaresnapshotsofwhatispresentatthetimetheyarecreated.
Obviouslythereareoccasionswhentheseneedupdating,[Link]
instructionsgivethestepsneededtoaccomplishanyoftheabovetasks.
1. Placethecursorintheindex/tableandrightclicktoopenthecontextmenu.
2. Selectthedesiredcommand:
a) UpdateIndex/Table
b) DeleteIndex/Table
c) EditIndex/Table
d) EditParagraphStyle
Note:(d)EditIndex/TableisonlyavailableifInsert>IndexesandTables>IndexesandTables>Index/Table>
[Link],bydefault,indicesandtablesofcontentsare
protectedfromchanges.

EditingtheFormatofanIndex/TableofContents
TheEntriestabontheInsert>IndexesandTables>IndexesandTablesdialoguepermits
[Link],alterthewayinwhichentries,tabstopsandpage
[Link],[Link]
detailedinstructions,[Link].
Hyperlinkscanbeautomaticallyassignedtotheentriesinthetableofcontentsusingthe
followingmethod:
1. GototheEntriestabpage,
2. Placethecursorinthestructurerowbeforetheentry<E#>
3. ClicktheHyperlinkbutton,thenplacethecursorafter<E>andclickHyperlinkagain.

OpenOffice.orgUserGuidefor2.x

123

Chapter3:ManagingTextDocumentsWithWriter

Wherethelistisatableofcontentsforthedocument,clickahyperlinktogostraighttothe
firstoccurrence;however,forthistoworkthetableofcontentsmustbegeneratedfrom
headings.
IndexesCoveringMultipleDocuments
Thereareseveralwaysofcreatinganindexcoveringmultipledocuments:

Createanindexineachindividualdocument,thencopytheindexesintoadocumentand
posteditthem.
Amoreelegantsolutionistoselecteachindividualindexasasection(Insert>Section)
andinsertthesesectionsinacommonindexdocumentasalink.
Ifoneisworkingwithamasterdocument,commonindexesarepossibleacrossallsub
documents.

Moreinformationaboutmasterdocumentscanbefoundlaterinthismanual.

OpenOffice.orgUserGuidefor2.x

124

Chapter3:ManagingTextDocumentsWithWriter

HeadingsandNumbering
[Link]
functionsthathelptheusermanagethestructureandformattingofdocumentsviaheadings
andnumbering.
NumberingandNumberingStyles
NumberinginadocumentmaybeappliedeitherasdirectformattingorbyusingaStyle,in
thesamemannerasisdonewithotherparagraphattributessuchasJustifiedorLine
[Link]>Bullets
[Link]
automaticnumberingisusedviatheAutoFormat/AutoCorrectfunction.
Note:TheAutoNumberingofAutoCorrectisnotappliedtotheStyleslistedintheStylesandFormattingwindow
underSpecialSt yle s.

ANumberingStylecanbeappliedaspartofcertainParagraphStylesorapplieddirectlyto
[Link],onecantakeadvantageoftheparagraphformatting
[Link]
[Link]
[Link].
TurningBulletsOnandOff
[Link]
bulletedlistonandoff:
1. Placethecursorinaparagraphtobemarkedwithabulletsymbol,orselectanumberof
paragraphs.
2. ClickontheBulletson/officonontheText

[Link]

willbeformattedasabulletedlist.
3. Inanexistingbulletedlist,ifoneclickstheBulletson/officon,theparagraphswillturn
backintonormaltext.
4. Inabulletedlist,clickingontheiconatthefarrightoftheobjectbarchangestheText
ObjectBartotheNumberingObjectBarwhichcontainsiconsformovingandrearranging
[Link],userscanalso
selectwhichbartodisplay.

OpenOffice.orgUserGuidefor2.x

125

Chapter3:ManagingTextDocumentsWithWriter

Onecanselectfurthersettingsforthebulletedlistinwhichthecursorispositionedwiththe
Format>BulletsandNumberingdialogue.

ChoosedifferentbulletsymbolsunderFormat>BulletsandNumbering>Optionsby
[Link]
onlyifBulletwasselectedintheNumberingpulldownlist.

TurningNumberingOnandOff
Turningnumberingonandoffcanbeaccomplishedasfollows:
1. Highlighttheparagraphstobenumberedorreturnedtonormaltext.
2. ClickontheNumberingon/officonontheText
[Link]
formattedasanumberedlistor,withanexistingnumberedlist,theparagraphswillturn
backintonormaltext.
Numberedlistsarebestcontrolledinthesamemannerasbulletedlists,[Link]
[Link],thesubordinate
[Link]>
BulletsandNumbering>Options,selectwhichpreviouslevelsshouldbeincludedinthe
numberedlist.

OpenOffice.orgUserGuidefor2.x

126

Chapter3:ManagingTextDocumentsWithWriter

Examplenumberedlistwithsublevels:

1 Lineone
2 [Link]
[Link],indentsandchanges
thenumberto1atwhichpointonecanaddtext.
1. [Link],
putthecursoratthebeginningoftheparagraphtextandpressShift Tab.
[Link]
[Link]
Format>BulletsandNumbering>[Link]
>BulletsandNumbering>Options.
OutlineNumbering
ChooseTools>[Link],the
ParagraphStyleHeading1isassignedtothehighestlevelofOutlineNumbering.
Forcustomparagraphstylesthatshouldbeused,applythesestylesinthisdialogueoneach
individuallevel.

Note:IfaNumberingStyleisselectedfromtheNumberpulldownlist,thenallparagraphsinadocumentthat
havetheHeading1formatwillhaveconsecutivenumbersplacedinfrontofthem.

OpenOffice.orgUserGuidefor2.x

127

Chapter3:ManagingTextDocumentsWithWriter

Withrespecttocustomstyleswherethereis,currently,aParagraphStyleHead1thatis
usedforheadingsatlevel1.
1. IntheLevellistboxselect1
2. IntheParagraphStylepulldownlistselectHead1.
3. ClickOK.
Now,allparagraphstowhichHead1isappliedwillbelistedintheNavigatorunder
Headings.
RememberthatchapterscanberearrangedtheintheNavigator(seethesectiononthe
Navigator)[Link]
updatesthenumbering.

ClickononeoftheiconsPromoteChapter,DemoteChapter,PromoteLeveland
DemoteLevel,or

MovethechapterheadingintheNavigatorusingthemouse.
Theresultisthatnumberingofallaffectedchaptersisadjustedautomatically.
AutomaticBulletsandNumbering
WriteralsoautomaticallyrecognizesbulletsandnumberingduringentryifFormat>
AutoFormat>[Link]
isalsorecognizedandcontinued.
Note:Alistcanstartwithanyvalue:e.g.,itdoesnothavetobeginwithI.

AstepbystepexamplewithRomannumerals:
1. EnterI.(withaperiodafterit),[Link]
alsobeusedasasubstituteforaperiod.
2. PresstheEnterkeytocreateanewparagraph.
3. ThenewparagraphwillbeginwithII.,i.e.,theRomannumeralfortwo.
4. Entersometext,presstheEnterkeyandthenextparagraphwillbeginwithIII.
5. Repeatasneeded.
Romannumberingcanbeginwithanynumeraldesired,Forexample,withci(corresponds
to101),whichwillbefollowedbycii(102)etcetera.

OpenOffice.orgUserGuidefor2.x

128

Chapter3:ManagingTextDocumentsWithWriter

NumberingIllustrationsbyChapters
Numberingillustrationsbychapter,sothatillustrationsarelabelledIllustration
1.1 ,Illustration1. 2 ,andsooninthefirstchapterandIllustration
2 .1 ,Illustration2.2,[Link],[Link]
proceduretodothis:
1. Organizeadocumentinchapters.
ChooseTools>[Link]
example,wherethereistheParagraphStyleHeading1,selecttheHeading1Style
fromtheParagraphStylelistboxandtheoption1, 2,3,..fromtheNumberlist
boxbelowit.
2. Selectthefirstillustrationfornumbering.
3. ChooseInsert>Caption....
4. Inthedialoguethatappears,selectIllustrationasthecategoryandArabic(123)asthe
[Link].
5. ClickOptions.
6. [Link],
selectoption1underLevelandspecifytheseparatorwantedforchapternumbering.
7. ClickOK.
8. IntheCaptiondialogue,[Link].
9. Repeat17forallotherillustrationsinthedocument.
Numberingnowoccursautomatically:Allillustrationswithinonechapterlevelare
numbered,appropriatelyandthechapterlevelnumberingwantedcanbechangedinthe
NumberRangeOptionsdialogue.
NOTE:ChooseTools>Options>[Link]>General,andunderCaptionmarktheAutomatic
[Link],[Link],for
example,determinethatallillustrationsintextdocumentsfromnowonreceivecaptionsautomatically.

DefiningNumberRanges
Defineseparatenumberranges,orsequencestonumbereachgroupofelementsina
[Link],notes,warningmessages,quotations,etcetera.
Thefollowingprocedureshowshowtodothis:
1. Forexample,typeNoteNumberinfrontofthefirstnote.
2. ChooseInsert>Fields>Other....
3. OntheVariablestabpage,selecttheNumberRangefield.
4. FortheName,enterNote.
5. ClickInsert
6. Closethedialogue.
OpenOffice.orgUserGuidefor2.x

129

Chapter3:ManagingTextDocumentsWithWriter

ThisNotenumberrangeenablesuserstoautomaticallynumberallthenotesina
[Link],[Link]
usefulwhendealingwithadocumentinaseriesofconnecteddocuments.
[Link]
dialoguesuserscanchoosethechapterlevelatwhichtobeginrenumbering.

OpenOffice.orgUserGuidefor2.x

130

Chapter3:ManagingTextDocumentsWithWriter

UsingMasterDocumentsandSubdocuments
AnewemptymasterdocumentiscreatedbychoosingFile>New>MasterDocument,or
creatingamasterdocumentfromanexistingdocumentbychoosingFile>Send>Create
MasterDocument.
Note:[Link],thusdistinguishingamasterdocumentfromnormal
WriterdocumentsintheOpenFiledialogue.

OpenamasterdocumentbychoosingFile>New>MasterDocumentandthenewmaster
[Link]
andcollapsed,theNavigatoropensimmediatelyinglobalmode.

OpenOffice.orgUserGuidefor2.x

131

Chapter3:ManagingTextDocumentsWithWriter

TheNavigatorprovidesthefunctionsneededfornavigatingandeditingamasterdocument.

[Link]
entertext,suchasheadings,orinsertsubdocuments,byclickingtheInsert
iconand
[Link]
clickontheicontogetthecontextlistandselectingNewdocumentwhereupononefirst
entersthenameandpathforthedocumentandthencontinuesontowritethenewdocument
andsaveit.
ParagraphStylesthattheuserdefinesandusesinthesubdocumentsareautomatically
[Link],theseStyleswill
[Link]
documenthavepriorityoverStyleswiththesamenameinsubdocuments.

OpenOffice.orgUserGuidefor2.x

132

Chapter3:ManagingTextDocumentsWithWriter

Note:Whenusingmasterdocuments,usethesametemplateasabaseforallsubdocumentsandthemaster
[Link],simplyaddittothedocumenttemplateandreloadthe
masterdocumentsothatthenewStylecanbeappliedtoalldocumentsautomatically.

UsePageStylestoensurethatallsubdocumentsalwaysstartonanewpage([Link]
newrightpage).ThereisabuiltinPageStylecalledRightpagethatcould,for
example,[Link],byassigningapage
breaktotheParagraphStyleHeader1,everyHeader1willalwaysbeatthetopof
[Link]
pageinsteadandviceversa.
Ifthecursorispositionedinatextinthemasterdocument,theentryTextisshadedgray
[Link]
[Link]
[Link],onecaneasilychangetheirorderwithDrag&Droporwith
theiconsMovedownandMoveup.
[Link]
documentscannotnormallybeeditedwithinthemasterdocumentbuitispossibleto
navigatethroughthedocumentwiththecursorandreadthem.
Allindexesarecreateddirectlyinthemasterdocumentand,automatically,includeall
subdocuments.

OpenOffice.orgUserGuidefor2.x

133

Chapter3:ManagingTextDocumentsWithWriter

Whenoneormoresubdocumentsarechangedaftercreatinganindex,the
[Link],clicktheicon
Update(asshowntotheleft)ontheNavigatorformasterdocumentsandselect
[Link],referencesworkina
MasterDocumentanditssubdocuments,inthesamemannerainsubdocuments
[Link],if
figuresinasubdocumentarenumberedfromFigure1toFigure10 ,
figuresinthenextsubdocumentcannumberedstartingatFigure11 ).
AMasterdocument,togetherwithallitsparts,[Link]
[Link],dothefollowing:
1. IntheNavigator,clicktheToggleicon.
2. IntheNavigatorlist,doubleclick"Sections".
3. RightclickasectionnameandchooseEdit.
4. SelectallofthesectionsintheSectionlist,andthenclickRemove.
5. ClickOK.
6. ChoosethecommandFile>[Link]
formatinthelistboxFiletype.
Printingamasterdocumentwithallsubdocuments,texts,andindexesisthesameasprinting
[Link]
orviaFile>Printdialogue.
Tocheckifalinkexistsforasinglesubdocumentorallsubdocuments,positionthemouse
[Link]
[Link]
originalpath,awarningFilenotfoundisshownalongwiththeoriginalpathandtheentryis
displayedinredintheNavigator.
Warning:Graphicsinsertedinasubdocumentandanchored"topage"willnot
bedisplayedinthemasterdocumenteventhoughthegraphicalwaysappears
correctlyinthesubdocument.Accordingtotheclosingentryonissue50669,this
[Link]:
It'[Link]
possibletousereferencetoacertain"page"definedinasubdocumentbecause
themasterdocumentreorganizesthepageflow,pagenumberandreferencesto
[Link],theabsolutereferencetoapageXina
[Link]
simplydisappears.
WORKAROUNDToavoidthisproblemdothefollowing:
a) Settheanchorto"ToCharacter"or"ToParagraph"and
OpenOffice.orgUserGuidefor2.x

134

Chapter3:ManagingTextDocumentsWithWriter

b) Choosesuitablehorizontalandverticalreferencestothepageinthe
propertiesdialogue,under"Type>Position".

OpenOffice.orgUserGuidefor2.x

135

Chapter3:ManagingTextDocumentsWithWriter

ImportingListsFromOtherTextPrograms
Wordprocessorsinternallyorganizebulletedandnumberedlistsinauniquemanner,suchas
[Link],should
[Link],usethefollowing
stepstoovercometheseimportproblems:
1. Importthedocumentfromtheotherapplication(File>OpenandthentheFilesoftype
listbox).Wherebulletsarenotappliedcorrectly,usetheotherapplicationtotrysavingthe
documentanotherexportformat,suchasinRTFformat,andthenimportthisnew
document.
2. UsetheFind&Replacedialogue.
a) Selectthestringofcharacterswhichnowappearsatthestartofeachlistandcopy
[Link],forexample,anasterisk(*)followedbyatab.
b) StartFind&Replace.
c) InsertthecontentsoftheclipboardintheSearchforfield(Ctrl+v).
Note:Toensurethatthesearchtextisonlyfoundatthestartoftheparagraphbyinsertingacaret(^)before
thesearchtextandcheckingtheRegularexpressionsbox.

d) [Link]&
Replacedialogueatthistime.
e) ClickontheBulletson/officonontheObjectBartoconvertalltheimportedlists
[Link].
f) BackintheFind&Replacedialogue,[Link]
withfieldisempty,[Link],theasterisk*
andtab,usedabove,willdisappear.
g) IntheBulletsandNumberingdialoguedefinethetypeofbulletsforbulleted
lists.
ChangingNumberingviatheKeyboard
Tomovethenumberingdownalevelinthehierarchy(orfurthertotheright),placethe
cursoratthebeginningofthenumberedparagraphandpresstheTabkey.

PressShiftandTabtogethertomoveanindentedbulletedornumberedlistupone
level(totheleft).
Toinsertatabstopatthebeginningofanumberedline,press(Ctrl+ Tab).

OpenOffice.orgUserGuidefor2.x

136

Chapter3:ManagingTextDocumentsWithWriter

InterruptingandContinuingNumbering
Sometimes,withaseriesofautomaticallynumberedparagraphs,thereisoneparagraphthat
mustnothaveanumberasthefollowingexampledemonstrates:
1. Firstparagraph.
2. Paragraphtwo.
Anunnumberedparagraph.
3. Paragraphnumberthree.
Todothis,choosefromthefollowingmethods:
Deletetheautomaticnumbering
1.Selectallparagraphs1to4andclickontheNumberingon/officon.
[Link].
[Link].
Note:[Link]
[Link].
Formattingtheparagraph
1.Selectallparagraphs1to4andclickontheNumberingon/officon.
[Link].
[Link]/officon.
[Link],with
HTMLformat,theinterruptioncreatestwoseparatelynumberedlists.
Continuingnumberingwithanewstartingvalue
1. Numberparagraphs1and2withtheNumberingon/officon.
2. Placethecursorinthefourthparagraph.
3. ChooseFormat>BulletsandNumberingandgototheOptionstab.
4. IntheNumberingpulldownlistselect1, 2,3....
5. IntheStartatspinboxselectthestartingvalueinthiscase3.
6. ClickOK.

OpenOffice.orgUserGuidefor2.x

137

Chapter3:ManagingTextDocumentsWithWriter

NumberingLines
Whenlinesaretobenumberedwithinadocument,selectthelinenumberingpropertiesthat
arewantedviatheTools>[Link],forthewholeofthe
document,whetherblanklinesshouldbecountedaswell,andwhetherlinesintextframes
[Link]
[Link]
appearsonthescreenandisprinted.
Otherlinenumberingpropertiescanbeappliedtotheparagraph(Format>Paragraph>
Numbering)[Link],asone
canexcludeaparagraphfromthelinenumberingorrestartthenumberingataparagraph
withanyvalue.
LineNumberingforAllParagraphs
1. SelectTools>LineNumbering.
2. ChecktheShownumberingcheckbox.
Thisnumbersalltheparagraphsinthedocument.
LineNumberingforParticularParagraphs
1. Enablethelinenumberingforallparagraphsasdescribedabove.
2. OpentheStylesandFormattingwindowandclicktheDefaultparagraphstyle.
3. Rightclicktoopenthecontextmenu.
4. ClickModifytoopentheParagraphStyle:Defaultdialogue.
5. SelecttheNumberingtab.
6. [Link]
fromtheDefaultstyle,noparagraphwillbenumberedunlessasubordinateparagraph
styleexistsandwasmodifiedaccordingly.
7. Now,inthedocument,highlightalltheparagraphsthataretobenumbered.
8. SelectFormat>Paragraph>Numbering,checktheIncludethisparagraphinline
numberingcheckbox.
9. ClickOKwhendone.

OpenOffice.orgUserGuidefor2.x

138

Chapter3:ManagingTextDocumentsWithWriter

TablesinText
Tablesandspreadsheetscanbeincludedintextdocuments.
InsertingTables
Thereareanumberofwaystoinserttablesintextdocuments:
Insertinganemptytableusingthemouse:

1. Placethecursoratthepositioninthetextwheretoinsertthetable.
2. PointwiththemousetotheInserttableiconontheInsertfloatingtoolbar.
3. Pressthemousebuttonandmovethemousedownandtotherightuntiltherequired
numbersofrowsandcolumnsappearinthepreviewareaundertheicon.
4. Releasethemousebutton.(Toaborttheprocess,beforereleasingthebuttonmovethe
mouseuportotheleftuntilthewordCancelappearsinthepreviewarea.)
InsertinganemptytableviatheInsertmenuorfloatingtoolbar:

1. Placethecursoratthepositioninthetextwheretoinsertthetable.
2. SelectInsert>TablefromtheFunctiontoolbarorclickbrieflyontheInsertTableicon
[Link].
Insertingasinglerowtablebytyping++...or||...

Typeasequenceoftwoormore'+'or'|'charactersatthestartofanewparagraphandendit
[Link]
rowandthenumberofcolumnsequaltoonelessthanthenumberof'+'or'|'characters.
Separatethe'+'or'|'charactersbyoneormoreofanyof(,<tab>,<space>,=,_)inorderto
determinetheinitialcolumnwidths.
Thisfeaturecanbeturnedoff/onviatheTools>AutoCorrect>Optionsdialogueby
togglingtheCreateTablecheckbox.
[Link]

1. OpenthetextdocumentandtheCalcdocumentfromwhichtoinsertarangeofcells.
2. [Link],forexamplewith
Ctrl+c.
3. [Link]
cells:

UsethenormalcommandEdit>PasteorCtrl+Vtoinserttherangeofcellsasan
[Link]
[Link].

OpenOffice.orgUserGuidefor2.x

139

Chapter3:ManagingTextDocumentsWithWriter

ChooseEdit>PasteSpecialtoopenthePasteSpecialdialoguewhichhasseveral
[Link]
thePasteiconontheStandardtoolbar:
Options

Calc
GDImetaFile
Bitmap
HTML(HyperText
MarkupLanguage)
Formattedtext[RTF]
DDElink(onlyunder
Windows)
Unformattedtext

Isinsertedas...

OLEobjectaswithCtrl (V)ordraganddrop
Graphic
Graphic
AHTMLtable.
[Link]
Tablestructureandcontents,[Link]
updating.
PlaintextwithTabdelimiters

[Link]

OpenthetextdocumentandtheCalcdocumentfromwhichtoinsertarangeofcells.
1. Highlighttherangeofcellsfromthespreadsheetthatshouldbeinthedocument.
2. [Link]
thecursorchanges.
1. Withoutreleasingthemousebutton,dragtheselectedrangeofcellsintothetext
[Link],firstmovethemousepointertothe
[Link]
thetextdocument,agrayinsertioncursorfollowsthemousepointertothelocationof
wherethetableistobeplaced.
3. Releasethemousebuttonwhenthegrayinsertioncursorisatthelocationwherethetable
istobeinserted.
DeletingTables
Whendeletingawholetablefromatextdocument,theuserhasthefollowingoptions:
1. Byparagraph:
a) Selectfromtheendoftheparagraphbeforethetabletothestartoftheparagraphafter
thetable.
b) Press(Del)orBackspace.
2. Bytable:
a) Placethecursorinthetable.
b) selectallcells,forexamplebypressing(Ctrl+a)
c) openthecontextmenu.
d) selectRow>Delete.
Note:Method2(bytable)alsoworksatthebeginningorendofadocument.
OpenOffice.orgUserGuidefor2.x

140

Chapter3:ManagingTextDocumentsWithWriter

InsertingParagraphsBeforeTablesatStartofPage
Occasionallyatablewillgetinsertedattheverybeginningofatextdocumentor
immediatelyafterafixedpagebreak,[Link]
[Link]'show:
1. Placethecursorinthefirstcellofthetable,rightatthestartofanycontentinthatcell.
2. PressEnter,whichaddsaparagraphbeforethetableandmovesthecursortoit.
1. FormattingTablesinTextDocuments
Anewtableinsertedintoatextdocumentcanhavethedefaultformatwhichmeansthatthe
firstrowhastheParagraphStyleTableHeading,andallotherrowswillhavethe
[Link]
[Link]
overallappearanceofatable.
Resizecolumns,rows,andcells

[Link]
easilymergerangesofcellsintoasinglecell,orsplitindividualcellshorizontallyor
[Link],calledMergeCellsandSplitCells,
whichcanbeused,[Link]
flexibilityinformattinganytable.
TableAutoFormat

Toquicklysetupexistingtables,anumberofpredefinedtablestylesareavailableviathe
Table>AutoFormatdialogue.
Autoformattingcannotbeapplied,however,ifthetablehasalreadyhadit'scellstructure
modified(cellsmergedorsplit,evenifcellsweremergedandthenrestoredtotheiroriginal
splitstate,etcetera).
Tablepropertiesingeneral

Withthecursorinthetable,opentheTableFormatdialogueeitherwiththemenucommand
Table>PropertiesortheTablecommandinthecontextmenu.
Tochangethetablebackground,forexample,proceedasfollows:
1. Selectthecellstowhichtoassignabackgroundcolour.
2. Now,eitherchooseTable>PropertiesorclickTableinthecontextmenuoftheselected
cells.
3. IntheTableFormatdialogue,clicktheBackgroundtab.
[Link],chooseacolouror
[Link],definewhethertoapplythebackgroundto
theselectedcells,thewholerow,[Link]
rowformatting.
OpenOffice.orgUserGuidefor2.x

141

Chapter3:ManagingTextDocumentsWithWriter

4. ClickOKuponmakingachoice.
5. Tablescanbedesignedwithevengreaterimpactusingthematicallyappropriate
[Link]
valuesinatable,graphicsandotherobjectscanalsobeinsertedintothetable.
a. Setthecursorinthecellwheretheobjectistoappear.
b. Toinsertgraphics,chooseInsert>Picture>FromFile.
c. IntheInsertPicturedialogue,selectthedesiredgraphicsfile.
d. ClickOpen.
e. ClickontheinsertedgraphicobjectandselectthePicturecommandfromthecontext
menu(ordoubleclickonthegraphicobject).InthePicturedialogue,varioussettings
canbedefinedforthegraphicanditsfunctioninthedocument.
Forexample,definehowtextistowraparound,whichwilldetermineifthetext
shouldflowaround,[Link]
hyperlinkwhichcanbeloadedwheneverthegraphicobjectinthetextdocumentis
[Link],agraphicobjectcanbelinkedtoamacroandinsodoing,
[Link],forexample,usethiscapabilitytoprogram
certainfunctions,suchashavingasoundplayedwhenthemousepointertouchesthe
graphicobject.

OpenOffice.orgUserGuidefor2.x

142

Chapter3:ManagingTextDocumentsWithWriter

CalculatinginTextDocuments
FormulaeinTextDocuments
[Link]
intheformulabaropens
asubmenufromwhichonecaninsertaformula.
[Link]
cellsinatable,[Link]
[Link],asnecessary,andclickApplyto
[Link],iftheappropriatesyntaxisknown.
Thisisnecessary,forexample,intheInsertFieldsandEditFieldsdialogues.
Note:TheSUMfunctionisonlyvalidinformulaewithinatablecell.

FormulaOptions
BasicCalculationFunctions
Addition

Subtraction

Multiplication

MULor*

Division

DIVor/

Calculatesthetotal.
Example:<A1>+8
Calculatesthedifference
Example:10<B5>
Calculatestheproduct.
Example:7MUL9
Calculatesthequotient
Example:100DIV15

BasicFunctionsintheSubmenu
Sum

SUM

Round

ROUND

Percent

PHD

SquareRoot

SQRT

Power

POW

Calculatesthesumoftheselectedcells.
Example:SUM<A2:C2>displaysthesumofthevalues
incellsA2toC2
Roundsanumbertothespecifieddecimalplaces.
Example:15.678ROUND2displays15.68
Calculatesapercentage
Example:10+15PHDdisplays10.15
Calculatesthesquareroot.
Example:SQRT25displays5.00
Calculatesthepowerofanumber.
Example:2POW8displays256.00

Operators

[Link]:

OpenOffice.orgUserGuidefor2.x

143

Chapter3:ManagingTextDocumentsWithWriter
List
Separator

Equal

EQor
==

NotEqual

NEQ
or!=

Lessthanor
Equal

LEQ

Greaterthan
orEqual

GEQ

Less

Greater

BooleanOr

OR

BooleanX
Or

XOR

BooleanAnd

AND

BooleanNot

NOT

Separatestheelementsinalist.
Exampleofusingalist:
MIN10|20|50|<C6>|<A2:B6>|20
[Link],the
resultiszero,otherwise1(true)appears.
Example:<A1>EQ2displays1,ifthecontentofA1
equals2.
Testsforinequalitybetweenselectedvalues.
Example:<A1>NEQ2displays0(wrong),ifthecontent
ofA1equals2.
Testsforvalueslessthanorequaltoaspecifiedvalue.
Example:<A1>LEQ2displays1(true),ifthecontentof
A1islessthanorequalto2.
Testsforvaluesgreaterthanorequaltoaspecifiedvalue
Example:<A1>GEQ2displays1(true),ifthecontentof
A1isgreaterthanorequalto2.
Testsforvalueslessthanaspecifiedvalue
Example:<A1>L2displays1(true),ifthecontentofA1
islessthan2.
Testsforvaluesgreaterthanaspecifiedvalue
Example:<A1>G2displays1(true),ifthecontentofA1
isgreaterthan2.
TestsforvaluesmatchingtheBooleanOR
Example:0OR0displays0(false),anythingelseresults
in1(true)
TestsforvaluesmatchingtheBooleanexclusiveOR
Example:1XOR0displays1(true)
TestsforvaluesmatchingtheBooleanAND
Example:1AND2displays1(true)
TestsforvaluesmatchingtheBooleanNOT
Example:NOT1(true)displays0(false)

StatisticalFunctions

Choosefromthefollowingstatisticalfunctions:
Mean

MEAN

Minimum
Value

MIN

Maximum
Value

MAX

Calculatesthearithmeticmeanofthevaluesinanareaora
list.
Example:MEAN10|30|20displays20
Calculatestheminimumvalueinanareaoralist.
Example:MIN10|30|20displays10
Calculatesthemaximumvalueinanareaoralist.
Example:MAX10|30|20displays30.00

TrigonometricFunctions

Choosefromthefollowingtrigonometricfunctions:
OpenOffice.orgUserGuidefor2.x

144

Chapter3:ManagingTextDocumentsWithWriter
Sine

SIN

Cosine

COS

Tangent

TAN

ArcSine

ASIN

ArcCosine

ACOS

Arc
Tangent

ATAN

Calculatesthesineinradians
Example:SIN(PI/2)
Calculatesthecosineinradians.
Example:COS1
Calculatesthetangentinradians.
Example:TAN<A1>
Calculatesthearcsineinradians.
Example:ASIN1
Calculatesthearccosineinradians.
Example:ACOS1
Calculatesthearctangentinradians.
Example:ATAN1

MoreDefinedValues
PI
Euler's
constant
True
False

PI
E

3.1415...
2.7182...

TRUE
FALSE

notequalto0
=sum<C4>

CalculatinginText
[Link].
[Link](F2)todisplaytheFormulabaratthetopofthemaineditwindow(abovethe
horizontalrulerifrulersareshown).
[Link],forexample(4+6)* 100.
[Link].
[Link]
[Link]
baratthecursorposition,andusersarefreetoswitchbetweeninputtingformulaeandvalues
fromthekeyboardandviatheFormulaicon.
Asanexampleofamorecomplexcalculationtobeperformedinatext,supposewewantto
calculatethemeanvalueofthreefigures.
1. DisplaytheFormulabarwith(F2).
2. OpenthesubmenuoftheFormulaicon.
3. [Link]=mean.
4. Enterthefirstnumberandthenaverticalbar(|)asthelistseparator.
5. Enterthesecondnumber,[Link]
nowshow,forexample,=mean12|22|34.
OpenOffice.orgUserGuidefor2.x

145

Chapter3:ManagingTextDocumentsWithWriter

6. PressEnter,toinsettheresultasafieldinthetext.
7. Doubleclickonthefieldtoeditit.
CalculatingWithformulaeLocatedinText
Ifthetextalreadyhasaformula,theresultcanbeenteredintothetextwithoutusingthe
Formulabarasfollows:
1. [Link]
figures,arithmeticoperatorsandanycurrencysymbols.
Example:12+24*2
2. HoldtheCtrlkeydownandpressthenumberpadplus(+)key,orchooseTools>
[Link].
3. Setthecursoratthepointwheretheresultofthecalculationistobeinserted.
4. PressCtrl+V,orchooseEdit>Paste.
Inthisexample,theresult,60,[Link]
insertion,theresultreplacestheformula.

OpenOffice.orgUserGuidefor2.x

146

Chapter3:ManagingTextDocumentsWithWriter

ConditionalText
[Link],one
candefinetheconditionaltextthatisdisplayedinaseriesofreminderletters.
Settingupconditionaltextisatwopartprocess:
1. Createavariable,then
2. Createthecondition.

Definingandusingconditionaltextbyexample
Definingaconditionalvariable

Thefirststepintheprocessisdefiningavariablefortheconditionstatement.
TypeReminderinthedocument,andthenaddspace.

1. SelectInsert>Fields>Other.
2. ClicktheVariablestab.
3. ClickSetvariableintheTypelist.
4. TypeanameforthevariableintheNamebox,forexampleReminder.
OpenOffice.orgUserGuidefor2.x

147

Chapter3:ManagingTextDocumentsWithWriter

5. ClickTextintheFormatlist.
6. Enter1intheValuebox,
7. ClickInsert.
Todisplayintegers,clickthe1234format.
Definingaconditionandtheconditionaltext:

Thesecondstepintheprocessistodefinetheconditionthatmustbemet,thetexttobe
displayedwhentheconditionismetornotmet,andtoinserttheplaceholderfordisplaying
theconditionaltextinthedocument.
1. Placethecursorwheretheconditionaltextistobeinsertedinthetext.
2. [Link]>Other.
3. ClicktheFunctionstab.
4. ClickConditionaltextintheTypelist.
5. TypeReminderEQ"3"[Link],theconditionaltext
willbedisplayedwhenthevariableinthefieldthatwasdefinedinthefirstpartofthis
exampleisequaltothree.
Thequotationmarksenclosingthenumber3indicatethatthevariable,definedinthefirst
[Link]
definingacondition.

OpenOffice.orgUserGuidefor2.x

148

Chapter3:ManagingTextDocumentsWithWriter

6. [Link]
[Link]
thisbox.
7. ClickInsert,andthenclickClose.
Displayingtheconditionaltext:

Inthisexample,theconditionaltextisdisplayedwhenthevalueoftheconditionalvariableis
equalto3.
1. Placethecursorinfrontofthefieldthatwasdefinedinthefirstpartofthisexample.
2. ChooseEdit>Fields.
3. ReplacethenumberintheValueboxwith"3".
4. ClickClose.
1. Ifthefielddoesnotautomaticallyupdate,pressF9.

OpenOffice.orgUserGuidefor2.x

149

Chapter3:ManagingTextDocumentsWithWriter

CalculatinginTextDocumentTables
[Link],andthesecanextendbetween
tables.
Forexample,therearetwotables,labelledTable1andTable2inwhichthefirstcellof
Table1mustbemultipliedbythefirstcellofTable2andtheproductreturnedincellA2
[Link],thetablenamesserveastableidentifiers.
Here'show:
1. EnternumbersintocellsA1ofTable1andA1ofTable2.
2. PositionthecursorincellA2ofTable2.
3. [Link]'='readyfortheusertotype
aformula.
4. [Link]
<Table1.A1>intotheformulabar.
5. Theformulabarisstillwaitingfortheusertocontinueenteringtheformula,sonowtype
*(themultiplyoperator).
6. [Link]<A1>intothe
[Link]
identifier.
7. PressEnternowtocompletetheformulaandtheproductispresentedinTable2cellA2.
1. Note:WiththehelpoftheNavigationBaronecannavigatequicklyandeasilybetween
thetableformulaeinthedocument.
Ifatableformulareferstoaninvalidtablecell,a**Faultyexpression**[Link]
cellsareeitherdeletedcellsorthosewhicharethemselvesfaulty.

[Link]
calculationresultwithintextisdemonstratedbythisnextexample.
ToaddcellsB1:B 10fromTable1andpresentthesuminalineoftext,:
CreatethetextandTable1.
1. Placethecursorinthetextwherethesumistoappear.
2. Insertaframe(Insert>Framemenucommand).IntheFramedialogueselectthe
AnchorasAsCharacter.
a) Deselecttheborder.
b) ClickOKtoclosethedialogue.
1. Deselecttheframebyclickingoutsideit.
Note:whenenteringtextintheframe,[Link],but
thetextcursorshouldbeinsidetheframe.

OpenOffice.orgUserGuidefor2.x

150

Chapter3:ManagingTextDocumentsWithWriter

c) InsertasinglecelltableinsidetheframeusingInsert>Table.
d) Setarowandacolumnvalueof1,uncheckHeading,anduncheckBorder.
e) ClickOK.
f) ThecursorispositionedinTable2.
b) DefinetheformulabyeitherpressingF2ortypinganequalsign(=)intothecell(thisisa
shortcut),atwhichpointtheFormulabarwillbedisplayed.
TheformulaforcalculatingthetotalofcellsB1toB10is:=<Table1.B1:B10>.
Butdon'ttypethisyetbecausethereisasimplerway.
5. [Link]
pressedasthepointerisdraggedfromthefirsttothelastcellbeingsummed.
6. [Link]
resultofthecalculationwillbeseeninTable2.
7. Iftherearechangesinthecellsbeingsummed,updatetheresultbypressingfunctionkey
(F9).
Note:Insteadoffirstinsertingtheborderandtheninsertingatableinsidetheborder,startbyinsertingasingle
celltable,thenselectthewholeofthiscelltheonlywaytodothisiswiththeshortcutkeys(Ctrl+a)andthen
clickontheInsert>[Link](incidentally,thisalsoworkswith
anysectionoftext).Nowsettheanchortocharacter,cutthewholetabletotheclipboardandpasteitwhereit
shouldgo,removethebordersfromtheframeandtableandapplyfurthersettings.

CalculatingAcrossMultipleTables
Calculationsinanytextdocument,wheretherearemorethanonetablewhichcontainsdata
requiredforcalculation,[Link]:

Inserttwotableseachwithseveralrowsandcolumns.

1. Enterafewfiguresinthetables,butleaveatleastonecellempty.
[Link],each
tablecanbegivenadifferentname(Table>Properties,Tabletab,textboxName)using
onlylettersandnumbersfornaming.
1. Positionthecursorinanemptycell.
2. PressF2todisplaytheFormulabar.
3. Asanexample,enterSUM.
4. Individuallyclickthecellscontainingfiguresinbothtablesthatarepartofthecalculation.
Aftereachclick,enteraplussign(+)fromthekeyboard,andcontinuetothenextcell
containingafigure.
5. Finally,[Link],ifaddingupthefirsttwo
rowsofeachtableandshowingthetotalinTable2,theformulais
=sum< Table 1.A1>+<A1>.

OpenOffice.orgUserGuidefor2.x

151

Chapter3:ManagingTextDocumentsWithWriter

CalculatingCellTotalsinTables
1. Insertatablewithmultiplerows(Insert>Table)intoanewtextdocument.
2. Enteraseriesofnumbersintoacolumn,onenumberperrow,leavingthelastcellofthe
columnempty.
3. Placethecursorinthelastemptycellofthecolumn.
4. ClicktheSumiconintheTableobjectbar.
5. TheFormulabarappears,[Link]
cellsareseparatedbyaverticalbar(|).
6. PresstheEnterkeytoconfirm,[Link]
inthelastcell.
Whennumbersarechangedinthetable,[Link],forexample,
formattingthenumbersascurrency,selectthecellsandchooseNumberFormatfromthe
[Link],wheretheusercanchooseanew
format.
MergingandSplittingCells
Onecanselectadjacentcellstogether,[Link],alarge
cellthathasbeencreatedbymergingsinglecellscanbedividedbackintoindividualcells.
[Link].
[Link]

1. Highlightallthecellstobeincludedinthemergedcell.
2. SelectTable>MergeCells.
[Link]

1. Setthecursorinthecelltobesplit.
2. SelectTable>SplitCells.
Adialogueallowssplittingthecellintotwoormorecells,horizontallyorvertically.
[Link]

1. Highlightallthecellstobeincludedinthemergedcell.
2. SelectFormat>[Link]
menuitemreflectsthestateofthecurrentselectedcell.
[Link]

1. Setthecursorinthecelltobesplit.
2. SelectFormat>[Link].

OpenOffice.orgUserGuidefor2.x

152

Chapter3:ManagingTextDocumentsWithWriter

InsertingorDeletingRows/ColumnsUsingtheKeyboard
Thefollowingmethodsdescribehowtoinsertanddeleterowsandcolumnsusingthe
keyboard:

Toinsertanewcolumnorrow:
1. PutthetableininsertmodebypressingAlt+[Link]
tothreesecondsfortehusertopressoneofthefollowingkeycommands:
i. Presstherelevantarrowkeytoinsertanewroworcolumntotherightorleft,
aboveorbelowthecurrentroworcolumn.
ii. HolddowntheCtrlkeyaswellastherelevantarrowkeytoaddacellinthat
direction,(bysplittingeitherthecurrentoranadjacentcell).

1. Todeleteacolumnorrow:
2. PutthetableindeletemodebypressingAlt+[Link]
threesecondsfortheusertopressoneofthefollowingkeycommands:
i. Presstherelevantarrowkeytodeletearoworcolumntotherightorleft,
aboveorbelowthecurrentroworcolumn.
ii. HolddowntheCtrlkeyaswellasthearrowkey,tomergethecurrentcell
withtheadjacentcell.
RepeatingMultipleHeadingRowsinaTable
1. Ifautomaticallyrepeatingmorethanonerowwithinatablefollowingapagebreak,
thisishowtodoit:
1. Selectthefirsttablerow.
2. OpenthecontextmenuandchooseCell>Split.
a) IntheSplitCellsdialogue,selectthehorizontaldirection.
b) Enterthenumberofrowsthataretoberepeated
c) confirmwithOK.
Allrowsatthebeginningofatablethatiscreatedinthismannerwillnowberepeatedaftera
pagebreak.
EnlargingandReducingCellsinTextTables
Thewidthandheightofrowsandcolumnsarechangeableusingthekeyboard,bydragging
[Link]
bechangednumericallyviaadialogue.
RowsandcolumnscanalsobeevenlydistributedwiththeiconsontheOptimize
floatingtoolbarontheTableObjectBar.

OpenOffice.orgUserGuidefor2.x

153

Chapter3:ManagingTextDocumentsWithWriter

Rowsandcolumnscanalsobemodifiedeitherinthetabledirectly,orwiththeaidofthe
[Link],thepointer
appearsasaseparatorsymbol,andonecansimplydragthedividinglinetothedesired
position.(Theusermayneedtoclickonceoutsidethetablebeforethisprocedurewillwork.)
Thedividinglinesontherulercanbemovedinthesameway.
Whenthekeyboardisusedtoenlargeandreduceatable,alwaysholddowntheAltkey
[Link]
bywhateveramountissetunderToolsOptions>[Link]>Table>
[Link].
[Link]
pressestheShiftkeyaswellasAlt,[Link]
twoexamplesthatexpectthatthecursorissetsomewhereinthemiddleofamediumtolarge
texttable:
1. HolddowntheAltkey,[Link]
expandedbytheamountspecifiedTools>Options>[Link]>Table.
Theleftedgeofthecolumnremainsfixedwhiletherightedgemoves.
2. Now,holddowntheAltkeytogetherwiththeShiftkeyandpresstherightarrow
[Link],thereby
reducingthecolumn.
[Link],sincetherowsarepresetto
aminimumheight,onemustfirstincreasetheirsizebeforetheresultisobvious.
BypressingtheCtrlkeyduringtheprocess,theenlargementorreductionwillapplyonly
[Link]
fixed.
AdaptingTableWidths
ThedisplayattributesofatablearedefinedbythesettingsunderTools>Options>
[Link]>Table.

Behaviorofrows/columnsFixedmeans,forexample,thatifonecellismadewider
[Link],andtheoverall
widthofthetablestaysthesame.
Behaviorofrows/columnsFixedandProportionalmeansthatalladjacentcells
[Link],widecellswillshrinkmorethannarrow
[Link],tablewidthremainsconstant.
Behaviorofrows/columnsVariablemeansthatthewidthoftheentiretableis
[Link],theentirewidthofthetableexpands
aswell.

Wheninsertingordeleting(cells,rowsorcolumns),thetablemodedecideshowthe
neighbouringcells,[Link],newrowsand
columnsareonlyinsertedinafixedwayifthereissufficientspace.

OpenOffice.orgUserGuidefor2.x

154

Chapter3:ManagingTextDocumentsWithWriter

OpenOffice.orgUserGuidefor2.x

155

Chapter3:ManagingTextDocumentsWithWriter

Images,Drawings,ClipartandFontWork
Images,drawings,clipart,andspecialFontWorkobjectscanbeinsertedinthetext
document.
PositioningObjects
Therearevariouswaysofanchoringtheobjectsonatextpage,suchasgraphicsandtext
[Link],basedontheexampleofaframe:
Anchoring

Effect

asaCharacter

Framesareplacedinthedocumentlikeanyothercharacter,
hence,theyhaveanimpactonthelinesizeofthelineandtheline
break.

toCharacter

FrameiswithitsXandYcoordinatesassociatedtoacharacter,
forexample,intheXdirectionalwaystothemarginandintheY
directionalwaystotheheightofthecharacter(marginalframe).
TheframeshouldbesetatFlow.

toParagraph

Frameisassociatedtoaparagraph,changesitspositionwiththe
paragraph.

onthePage

Framehasalwaysthesamepositioninrelationtothepage
margins.

onFrame

Frameisinsidethesuperiorframeinafixedposition.

Theanchordetermineswhatspecifictextfeaturetheobjectisboundtoasthedocument's
[Link],itispossibletosettheframeonafixed
positioninrelationtoapagemargin,toaparagraphmargin,toatextarea,etc.
Theframepositiononevenpagescanbeautomaticallymirrored,sothatafixedpositionin
relationtotherightsideofthepageproducesacorrespondingpositionontheleftsideofthe
[Link],[Link]
thegraphicis,say,anarrowpointingtothetext,itisagoodideatomirrorthisautomatically
[Link],usetheMirroronevenpagesoptionontheTypetabofthe
Graphicsdialogue(choosePictureinthecontextmenuofthegraphic).

OpenOffice.orgUserGuidefor2.x

156

Chapter3:ManagingTextDocumentsWithWriter

CaptionsandNumberRanges
Intextdocumentsonecancreateseparate,continuouslynumberedcaptionsforfigures,tables
anddrawingobjects.
[Link]
thefigures,[Link].
DefiningCaptions

1. Selectthefigureortheobjectorplacethecursorinthetablethatrequiresacaption.
2. OpentheCaptiondialoguewiththecommandInsert>Caption.
3. [Link]
theCaptionfield.
4. ClickOK.
Note:Ifonewouldliketoplaceatabstopbetweentheautomaticcaptions(e.g.,Figure1)andtheadditional
text,[Link]+Tabtoinsertatabstopatthebeginningofaparagraph.

TheparagraphformatofanautomaticallyappliedcaptionisobtainedfromtheParagraph
StyleIllustration,Table,[Link]
[Link]
green,forexample,simplymodifytheCaptionParagraphStyleaccordinglyintheStyles
[Link],switchtheStylesandFormattingwindowtothe
AllSt ylesviewortothehierarchicalview.
Editingordeletingcaptions

Acaptionisnormaltextwhichisplacedtogetherwithanobjectinacommonframe.
1. Editthecaptiontextjustlikenormaltext.
2. Deletethecaptiontextjustlikenormaltext.
Insertinganobjectinanumberrange

Supposethedocumentcontainsillustrationsaslinkedgraphics,andthesearelabelledina
[Link]
[Link]
Illustrationasfollows:
1. Belowtheadditionalillustration,insertanewlineandapplytheParagraphStyle
Illustration.
2. OpentheInsert>Fields>[Link]+F2isanotherwaytoopen
thisdialogue.
3. OntheVariablestab,[Link]
Illustration.
4. ClickInsert
OpenOffice.orgUserGuidefor2.x

157

Chapter3:ManagingTextDocumentsWithWriter

5. Closethedialoguebox.
Ifillustrationsaremovedwiththeircaptionsbyhandsothatthesequencechanges,itmaybe
necessarytoupdatethenumbersbypressingF9.
NumberingIllustrationsbyChapters
Numberingillustrationsbychapter,sothatillustrationsarelabelledIllustration
1.1 ,Illustration1. 2 ,etc.inthefirstchapterandIllustration2 .1 ,
Illustration2.2,[Link]'showtoproceed:
1. [Link]>Outline
Numberingtonumberthechapterheadingsthatareformatted,forexample,withthe
ParagraphStyleHeading1.SelecttheHeading1StylefromtheParagraph
Stylelistboxandtheoption1, 2,3,..fromtheNumberlistboxbelowit.
2. Selectthefirstillustrationtonumber.
3. SelectInsert>Caption....
4. Inthedialoguethatappears,selectIllustrationasthecategoryandArabic(123)
[Link].
5. [Link].
Forthisexample,selectoption1underLevelandspecifytheseparatorwantedfor
chapterwisenumbering.
6. ClickOK.
7. IntheCaptiondialogue,[Link].
[Link]:
Allillustrationswithinonechapterlevelarenumbered,andtheusercanenteratwhich
chapterleveltoswitchthenumberingintheNumberRangeOptionsdialogue.
NOTE:ChooseTools>Options>[Link]>General,andunderCaptionmarktheAutomatic
[Link],[Link]
can,forexample,determinethatfromnowonallillustrationsintextdocumentsreceiveacaptionautomatically.

InsertingGraphics
[Link]
describethemostuseful.
InsertingGraphicsviadialogue

1. Setthecursoratthepositioninthedocumentwheretoinsertthegraphic.
2. ChooseInsert>Picture>[Link].
3. SelectthedesiredgraphicandclickonOpen.
Bydefault,graphicsareinsertedwithitsalignmentcenteredabovethecurrentparagraph.

OpenOffice.orgUserGuidefor2.x

158

Chapter3:ManagingTextDocumentsWithWriter

[Link]

Graphicobjectscanbecopiedandinsertedfromonedocumenttoanotherbydraggingand
droppingtheobject.
1. Openthedocumentinwhichtoinsertthegraphicobject.
2. Openthedocumentfromwhichtocopythegraphicobject.
3. Ifthegraphichasahyperlinkconnectedtoitthenthemousepointerwillchangetoa
[Link](in
theStatusbar)toSEL(select)modebyclickingintheboxwhereitappears.
4. Selectthegraphicbyclickingonit.
Note:Onsomesystems,pressingtheAltkeyandclickingthegraphicobjectselectstheobjectwhileinHYPmode
[Link]
totheMenubar.

5. WhileholdingdowntheCtrl key,keepthemousebuttonpressedanddragthegraphic
objectintotheotherdocument.
Note:Whenthedocumentsarenotvisiblenexttoeachother,firstdragthemousepointertothedestination
[Link],addressed
inthisfashion,isdisplayed,andthe[stillpressed]mousepointermaybemovedwithinthedocumentand
released.

1. Releasethemousebuttonassoonasthegraytextcursorisatthepositiontoinsertthe
copyofthegraphicobject.
Iftheobjectisconnectedtoahyperlinkandthemethod,outlinedinthenoteabove,isnot
used,[Link]
[Link]>Hyperlinktoembedthe
graphicinthedocument.
InsertingGraphicsviaDragandDropFromtheGallery

AusercanDraganddropagraphicobjectfromthegalleryintoatextdocument,spreadsheet
orpresentationtoinsertthegraphicobject.
1. Whendragginganddropping,withoutpressingakeyorwhilepressingtheCtrlkey,
aplussignappearsnexttothemousepointerandthegraphicobjectisinsertedasan
object.
2. WhendragginganddroppingwhilepressingtheShiftandCtrlkeystogether,a
linkingarrowisseennexttothemousepointerandtheobjectisinsertedasalinked
[Link]
[Link],thenalllinkedinstancesofitarealso
[Link],[Link]
willautomaticallyscaletheviewoftheobjectifnecessary.
Whenagraphicobjectisreleaseddirectlyonadrawingobject,thefollowingrulesapply:

OpenOffice.orgUserGuidefor2.x

159

Chapter3:ManagingTextDocumentsWithWriter

1. Whendragginganddropping,withoutpressingakeyorwhilepressingtheCtrlkey,
aplussignappearsnexttothemousepointerandthegraphicobjectisinsertedasan
objectontopoftheexistingobject.
2. WhendragginganddroppingwhilepressingtheShiftandCtrlkeystogether,a
linkingarrowisseennexttothemousepointerandtheexistingdrawingobjectis
[Link]
replacedremainsvalidforthenewgraphic.
AddingGraphicsTotheGalleryviaDragandDrop

GraphicobjectscanbeaddedtotheGalleryand,thus,havethemconvenientlyavailablefor
useinanydocument.
1. SelectMyThemeintheGallerythemesbox,oraddanewviatheNewTheme
buttonandselectit.
2. PressandholdtheCtrlkeywhiledragginganddropagraphicobjectfromthe
documenttotheGalleryimagesbox.
3. [Link]
theimageandpressOK.
Addanythemestoorganizepersonal,readyuseimages.
InsertingGraphicsWithaScanner

TocarryoutscanninginWriter,ascannerwithappropriatedriversoftwaremustbeinstalled
onthelocalsystem.(UnderWindows,[Link],
underUnix,[Link].)
1. Setthecursoratthepositioninthedocumentwherethegraphicistobeinserted.
2. SelectInsert>Picture>Scan.
Thesubmenucontainsacommandtoopenadialogueforselectingthescanningsource.
3. Fromthesubmenu,selectthecommandtorequestscanning.
Thescannerdriveropensawindowinwhichtofollowthescannermanufacturer's
instructions.
4. Oncethescanningprocessiscompleted,theimageisinsertedinthedocument.
[Link]
DraggingandDroppingtheChartwithMoveorCopy

1. [Link].
2. [Link].
3. [Link]
ArrowwithFramepointer.

OpenOffice.orgUserGuidefor2.x

160

Chapter3:ManagingTextDocumentsWithWriter

[Link].
[Link],pressandholdtheCtrlkeywhiledragging.
Note:IftheWriterdocumentisnotvisible,[Link]
windowsmanagerprovidesataskbar,dragthecharttotheWriterbuttononthetaskbar,holdthatpositionfor
amomentwhiletheWriterwindowopensintheforegroundandthendropitinthenowvisibledocument.

4. IntheWriterdocument,positionthechartormodifythescaleasonewouldanyobject.
5. Tolatermodifythechartdata,doubleclickandeditit.
ChartswithLinkedData

IfachartdependsondatainaCalcdocumentandthisdatachanges,achartinsertedbythe
[Link],doas
follows:
1. IntheCalcdocument,copythecellrangefromwhichthechartiscreated.
2. IntheWriterdocument,longclicktheInsertObjecticonontheStandardtoolbartoopen
thesubmenu.
3. SelectInsertOLEObject.
ThedataisnowinatableintheWriterdocumentandisalwayslinkedviaOLEtothe
sourcedataintheCalcdocument.(NoteDDEisrelatedtoOLEandishandledaspartof
theimplementation.)
4. Positionthecursorinthetable.
5. LongclicktheInsertObjectsiconontheStandardtoolbartoopenthefloatingtoolbar
6. ClicktheInsertCharticon.
InsertingDecorativeHorizontalLines
ChooseInsert>HorizontalRulertoopenadialogueforselectingdecorativelines.
Thelinesaregraphicsanchoredtothecurrentparagraphandcenteredbetweenthemargins.
[Link]
theInternet,[Link]
thisdialogue.

OpenOffice.orgUserGuidefor2.x

161

Chapter3:ManagingTextDocumentsWithWriter

Headers,FootersandFootnotes
SomeNotesConcerningHeadersandFooters
[Link]
[Link],
onecaninsertvariablecontentinatextdocument,suchaspagenumbersandchapter
headings.
[Link],because
headersandfootersarenotprovidedintheHTMLdefinition,theyareexportedasspecial
[Link],web
browsersshowthecontentoftheheaderorfooterasthetextwhichwasthereatthetimeof
theHTMLexportwhileWriterinsertsthefieldsagainandupdatestheseasandwhen
necessary.(Authorandsender,ontheotherhand,areonlyinsertedasfieldsiftheuser,isthe
authororwasthelastonetomodifythedocument.)Headersandfootersareexportedin
HTMLdocumentsiftheyareenabledinWebLayoutmode.
Ifthecontentofheadersandfootersneedstochangeatdifferentpointswithinadocument,it
isbesttocreatedifferentPageStylesandapplythesetothepages.
ChooseInsert>HeaderorInsert>Footertotoggleheadersorfooterson/offfora
[Link]'taffectthecurrentpage,unlessthecurrentpage
hasthatPageStyle.
Format>Pagemayalsobechosentostartadialoguethatallowsselectingheadersor
[Link]/[Link]
notmarked,formatdifferentheadersandfootersontheleftsidesthanontherightsides.
Note:Ifoneonlywantstoassignasinglepageadifferentheader,theusercouldalsoinsertatextboxtocoverthe
[Link],andassigntheWrapThroughoptionandthebackgroundcolour
White .

InsertingPageNumbersinFooters
Supposethatthecursorisonapagethathasapagestylethatnowrequiresafooterbe
[Link],allpagesthatalsousethisstylewillalsodisplaythisfooter.
Note:Thisistheonlywaytoeditthecontentofaheaderorfooter,thatis,byfindingorcreatingapagewiththe
targetpagestylefirst.

1. ChooseInsert>Footerandselect,fromthesubmenu,thepagestylecorresponding
[Link]
style(assumingitwasnotonalready).Thecursornowappearsinthefooter.
2. ChooseInsert>Fields>[Link]
footer.
That'[Link],forexamplebycenteringitacross
thepageandaddingsometextsothatitappearsasPage9of12,thisishow
it'sdone:

OpenOffice.orgUserGuidefor2.x

162

Chapter3:ManagingTextDocumentsWithWriter

i. PlacethecursoranywhereinthefooterandclickontheCenteredicononthe
Formattingtoolbar.
ii. TypethetextPagebeforethefieldandofafterthefield.
iii. NowchooseInsert>Fields>PageCount.
1. InsertingChapterInformationinHeaders
Fieldscontainingthefilename,date,time,chapterheadings,etceteracanbeinsertedintoa
header.
1. EntertextinadocumentandapplythestyleHeading1tochapterheadings.
2. Activatetheheaderforthepagestyleusedbythecurrentpage(Format>Page>Header
orInsert>Header).
3. Clickwithintheheadertopositionthecursorinit.
4. TypeChapte r:

OpenOffice.orgUserGuidefor2.x

163

Chapter3:ManagingTextDocumentsWithWriter

5. SelecttheInsert>Fields>Othercommand.
a) IntheFieldsdialogue:

b) SelecttheDocumenttab
c) ChooseChapterintheTypebox,
d) [Link]
Heading2insteadofHeading1,entera2underLayer.
e) ClickInserttoaddthedesiredinformationtotheheader,andthenclosethedialogue
box.
f) Noweverypageofthedocumentusingthispagestylewillautomaticallydisplaythe
chosenchapterheadingintheheader.
[Link]
commandsunderInsert>[Link],Time,PageNumber,PageCount,
Subject,[Link]
Other.

OpenOffice.orgUserGuidefor2.x

164

Chapter3:ManagingTextDocumentsWithWriter

FormattingHeadersandFooters
Headersandfooterscanbeformattedwithmultipleobjectswhereanobjectcouldbetext,a
[Link]
thepagenumberfield.
[Link]
tabstopscanbefoundviaHelp>Contents>Index>Searchterm>tabstops.
DefiningDifferentHeaders
[Link],
[Link]
example,onemaywantthenameofthechaptertoappearontheleft(even)pagesandthe
nameofthefirstsubchaptertoappearontheright(odd)[Link]
ofthePageStyles,usersneedtodefinetwodifferentPageStylesandapplythemtothe
[Link],LeftpageandRightpage,which
canbeadaptedtoone'sspecificneeds.
TakethePageStyleforleftpages,thisstylemighthavedifferentinnerandoutermargins,
[Link]
footersarenotneeded,simplychooseamirroredpagelayout(underPageLayoutinthe
tabPage).
SwitchingbetweenoddandevenPageStylesandbetweenFirstPageandLeftPagescanbe
doneautomaticallybydefiningtheNextSt [Link]
St yleandapplythenewPageStyletothefirstpage,[Link]
[Link]:
1. Openanewtextdocument.
2. ClickthePageStylesiconintheStylesandFormattingwindow(Format>Stylesand
Formatting).
3. ChoosetheStyleFirstPagetouseasthebasisforacustomPageStyle.
4. OpenthecontextmenuandchooseNew.
5. InthePageStylesdialogue,gotothetabOrganizer.
a) GivethePageStyleaname,suchasPage1,and
b) defineLeftPageastheNextStyle.
6. FortheLeftPagedefineRightPageastheNextStyle,andfortheRight
Page,chooseLeftPage.
InsertingPageNumbersofContinuationPages
FootersareinsertedusingInsert>Footer.
1. Aftercreatingthefooter,setthecursorinitandselectInsert>Fields>Other....

OpenOffice.orgUserGuidefor2.x

165

Chapter3:ManagingTextDocumentsWithWriter

2. ChoosetheDocumenttabandunderTypeselectPage,underSelectselect
NextpageandunderFor mat,selectAsPageSt yle.
3. FinallyclickInserttoinsertthefieldcommandinthefooterofthecurrentdocument.
Thedocumentwilldisplaythepagenumberofthenextpage,withtheexceptionofthelast
page.
IfthewordsContinueonpageshouldalsoappearinfrontofthepagenumberbutshould
notappearifthereisnonextpage,dothis:
1. Setthecursorinfrontofthefieldthatjustinsertedinthedocument
2. OpentheFieldsdialogue.
3. SelectafieldofthePagetype,underSelect,selectNextpageandunder
Format,selectText.
4. IntheValuetextbox,enterthetexttobedisplayedifanextpageexistsinthe
[Link](notethespaceattheend!).
5. ClickInsert.
Ofcourse,onecanalsoenterinsteadofContinueonpage,[Link]
example,.../,toindicatethenumberofthenextpage.
InsertingLinesUnderHeaders
[Link],byclickingon
anexistingheader,[Link]
attributesareavailableintheFormat>PagedialogueinthetabHeader.
[Link]
[Link],aheaderiscreatedwhichcan
thenbefilledoutinthedocument.
ClicktheMorebuttonontheHeadertabtochooseadditionalsettingsfortheborderand
backgroundofaheader.

OpenOffice.orgUserGuidefor2.x

166

Chapter3:ManagingTextDocumentsWithWriter

[Link]
[Link]
usedtodefinethestyleofthelineandthedistancebetweentheheadertextandtheline.
FootnotesandEndnotes
Footnotesinatextdocumentcanbedisplayedatthebottomofapage(orcolumnwhere
thereismorethanonecolumn)[Link]
choosingTools>[Link]
arefootnotesthatappearcollectivelyattheendofadocumentinsteadofatthefootofeach
page.

OpenOffice.orgUserGuidefor2.x

167

Chapter3:ManagingTextDocumentsWithWriter

Onecanjumpfromafootnoteanchorinthedocumenttothefootnotetextquiteeasilyby
[Link].

ThefootnoteformatcanbechangedbymodifyingtheParagraphStyleFootnote,
whichisautomaticallyappliedtoallfootnotesinadocument.
Todeleteafootnote,simplydeletethefootnotemarkinthetextandthefootnotetextis
automaticallydeletedaswell.

InsertingandEditingFootnotes
Footnotescanbeinsertedintwoways:viaaniconorviaadialogue.
Insertingafootnoteviaanicon

1. Setthecursoratthepointwherethefootnoteanchorshouldappear.
2. OpentheInsertfloatingtoolbar

ontheToolstoolbar.

3. ClickontheInsertFootnoteDirectlyicon.
Insertingafootnoteviaadialogue

1. Setthecursorinthedocumentatthepointwherethefootnoteanchorshouldappear.
2. SelectInsert>FootnotetoopentheInsertFootnotedialogue.

OpenOffice.orgUserGuidefor2.x

168

Chapter3:ManagingTextDocumentsWithWriter

Wheninsertingafootnoteusingtheicon,[Link]
Footnotedialogueontheotherhandallowsindividualsettingsforthefootnote.
TipsforWorkingwithFootnotes

1. Clickinthetextofafootnotetoalloweditingormodification.
2. PressPgUptojumpfromthefootnoteareatothefootnoteanchorinthetext.
Placethecursorinadocumentimmediatelybeforethefootnotecharacterofapreviously
insertedfootnotetoedititspropertiesandchooseEdit>Footnoteordoubleclick
immediatelybeforethefootnotecharacter.
Whendefininggeneralsettingsappliedautomaticallytofootnotesinthedocument,select
Tools>FootnotestoopentheFootnoteSettingsdialogue.
1. FormatfootnoteswithPageSetupbychoosingFormat>Page...>Footnote.
Inmulticolumnpages,thefootnoteisinsertedinthecolumnwherethefootnoteanchoris
located.
[Link]
pointerchangesitsappearanceassoonasitisoverthefootnoteanchor.
SpacingBetweenFootnotes
Ifabiggerdistancebetweenthedifferentfootnotesorendnotesiswanted,onecanaddan
invisible(white)lineasthelowerbordertothecorrespondingparagraphformat:
1. Setthecursorinafootnote.
2. OpentheStylesandFormattingwindow.
3. ClickonthefootnoteParagraphStyletobemodified.
4. Openthecontextmenu
5. SelectModify.
6. OntheBorderstabpage,selectatopandabottomlineandgivethemboththecolour
white.
7. IntheSpacingtocontentsarea,uncheckSynchronize.
8. Increase/decreasethevalueoftheupperorlowerspacing.
9. ClickOK.

OpenOffice.orgUserGuidefor2.x

169

Chapter3:ManagingTextDocumentsWithWriter

Spellcheck,Dictionaries,Hyphenation
ControllingSpellcheckviathedialogue
ChooseTools>SpellcheckorpressF 7.
InadocumentwheretherearenounknownwordsSpellcheckwillcompleteanddisplaya
[Link]
dialogue,sooneneedstodeliberatelyspellawordincorrectlytoseehowSpellcheckworks.

NormallytheSpellcheckdialogueappearswhencalledmanuallyviathemenuorby
[Link]
[Link]
[Link],unless
thetextwasselected(inwhichcaseitbeginsatthebeginningoftheselectedtextandendsat
itsend).Whenthespellcheckingdoesnotbeginatthebeginningofthedocumentorifthe
endofthedocumentisreachedduringthecheckingprocess,adialogueappearsasking
confirmationthatcheckingcontinuecheckingatthebeginningofthedocument.
Thesystemalwayssearchesfirstthroughtheselecteduserdefineddictionariesand,ifthe
wordisnotfoundthere,[Link]
either,thedialogue,shownabove,isdisplayedandwhichallowstheusertoreplacethe
[Link],and
clickonReplace.
ThewordintheWordtextboxcanbepermanentlyaddedtotheuserdefineddictionary.
First,[Link],clickAdd.
WhenreplacingawordintheWordfieldwithanotherword,onecancheckthisotherword
byclickingontheCheckWordbutton.
OpenOffice.orgUserGuidefor2.x

170

Chapter3:ManagingTextDocumentsWithWriter

Ifneeded,allunknownwordsinatextcanbeautomaticallyenteredintheactiveuserdefined
[Link],[Link].
AutomaticSpellcheck
Fromwithinatextdocument,clicktheAutoSpellingCheckon/off
icononthe
[Link]
underlinedinred.

Rightclickonwordsunderlinedinthiswayandacontextmenuappears.
Thecontextmenuoftenprovidesalistofsuggestedwords,oneofwhichmaybeclicked
[Link].

IfawronglytypedwordusingtheAutoCorrectfunctionisreplacedinthecontextmenu,the
[Link],chooseTools
>AutoCorrect>Replacetab.
Ifthewordunderlinedinrediscorrect,onecanplaceitinacustomdictionaryusingtheAdd
command.
ToexcludewordsfromtheSpellcheck:

1. Selectthewords.
2. Openthecontextmenuofoneofthewords.
3. SelectCharacter.
4. SelecttheFormat>Character>Fonttab.
5. Selectthelanguage[None].
RemovingWordsFromUserDefinedDictionaries
1. ChooseTools>Options>LanguageSettings>WritingAidstab.
2. SelecttheuserdefineddictionaryandclickEdit.
3. NowtheEditUserDefinedDictionarydialogueappearsallowingtheusertosearch
throughanalphabeticlist.
4. Selecttheword
5. ClickDelete.
Hyphenation
Hyphenationintextdocumentseithercaneitherbedoneautomaticallyormanually.

[Link]
thatonecanswitchthehyphenationonoroffforaparagraphorforaparagraphformat
andselectitsproperties.
Manualhyphenationgivesindividualcontrol,butcanbetedious.

OpenOffice.orgUserGuidefor2.x

171

Chapter3:ManagingTextDocumentsWithWriter

Automatichyphenation

[Link],[Link]
usefulforenablinghyphenationonanasneededbasis:
1. Foroneormoreselectedparagraphs,openthecontextmenuandselectparagraph.
2. ForallparagraphsformattedwithacertainParagraphStyle,openthecontextmenuinone
oftheparagraphsandselectEditParagraphStyle.
a) Inthenextdialogue,clickontheTextFlowtab.
b) UnderHyphenation,checkoffAutomatically.
3. Toenablehyphenationinallparagraphs,edittheparentparagraphstyleofallderived
paragraphstyles.
a) Inthenextdialogue,clickontheTextFlowtab.
b) UnderHyphenation,checkoffAutomatically.
Toenableautomatichyphenationwithoutqueries,selectTools>Options>Language
Settings>WritingAids>OptionsandselectHyphenatewithoutinquiry.
ManualHyphenation

Formanualhyphenation,placethecursoratthepointwherethewordshouldbeseparated
andpressCtrland.
Thewordwillbeseparatedifitispossible,evenifautomatichyphenationisturnedofffor
theparagraph.

Ifahyphenisentereddirectly,Writerwillnotapplytheautomatichyphenationforthatword.
Let'sassumethewordAntarcticawouldbehyphenated:Antarctica,butthis
shouldbe:[Link](directly),includingtheone
betweeniandcaasisusedinautomatichyphenation.
Thereisaquickwaytopreventaparticularwordfrombeingaffectedbythehyphenation(orSpellcheck)
functionality:

SelectthewordandchooseFormat>[Link].

Ifawordshouldbepermanentlysettopreventautomatichyphenationsuchthatitwillneverbeseparated,placeit
inanactiveuserdefineddictionarywithanequalssignafterit:
1. ChooseTools>Options>LanguageSettings>WritingAids.
2. SelectaUserdefineddictionary.
3. [Link],asyet,createonebyclickingtheNewbutton.
4. IntheEditCustomDictionarydialogue,entertheword.e.g.,Companyname=(withoutquotationmarks)
5. ClickClosetoclosethedialogue.
6. ClickOK.
Now,thewordCompanynamewillneverbehyphenated.

OpenOffice.orgUserGuidefor2.x

172

Chapter3:ManagingTextDocumentsWithWriter

SelectingTools>Language>Hyphenationavoidssearchingmanuallythroughthetextin
[Link]
thatcouldbehyphenatedwiththecurrentlinebreak,oneaftertheother.

Thesyllableatwhichthewordcouldbestbehyphenatedatthecurrentlinebreakis
[Link]
earlierplaceintheword,[Link]
onHyphenatetohyphenatethewordatthehighlightedplaceandthenextwordthatcould
behyphenatedisdisplayed.
WhenSpellcheckrecognizestheword,thedefaulthyphensaredisplayedaswell.
Thesaurus
[Link]
thehighlightedword.

1. [Link]
example,theword,clean.
2. SelectTools>Language>ThesaurusorpressCtrl+F7.
OpenOffice.orgUserGuidefor2.x

173

Chapter3:ManagingTextDocumentsWithWriter

3. Inthedialoguewhichthenappears,scrolldownthetwolowerlistboxesuntilasuitable
[Link],theselectedwordisreplaced
bythewordintheReplacefield.
Note:Notalllanguageshaveathesaurustoaccompanyaninstalleddictionary.

Whenlookingforalternativesforawordinanotherlanguageforwhichathesaurusis
installed,forexampleanEnglishword,
1. Selectthewordinthetext
2. Callupthethesaurus.
3. ClickontheLanguagebuttontoswitchtoEnglish(UK)orEnglish(US),in
ordertoselectBritishorNorthAmericanspelling.
4. ThenclickonSearch.
IfEnglishlanguageattributesareappliedtotheEnglishwordsinthetext(Format>
Character,Fonttab,Languagelistbox),thenSpellcheck,thesaurusandhyphenationwill
[Link]
way.

OpenOffice.orgUserGuidefor2.x

174

Chapter3:ManagingTextDocumentsWithWriter

FormLetters,BusinessCardsandLabels
Writeformletters,designbusinesscardsandproducelabelsallfromdataobtainedfrom
adatasourceorthatissequentiallynumbered.
CreatingFormLetters
Toaidincreatingformletters,thefollowingsectionfirstgivessomebriefinstructionsand
thendetailedinstructions.
BriefInstructions(ForQuickResults)

1. [Link],ifnotdonepreviously.
InstructionsmaybefoundwiththesearchtermaddressbookinHelp.
2. File>Wizards>Lettertoopenthedialogue.
3. Setupthetemplate.
4. Selecttheaddressesfortheformletter,orenterthemmanually.
[Link].
FixedandVariableFields

Fixedfieldsarefieldswhicharefilledoutonlyonce,i.e.,whenthefieldisinsertedintothe
[Link],ifwritinganinvoicebasedonaninvoicetemplate,useafixeddate.
Bydoingsowhensettinguptheinvoicedocument,thefieldpositionwillcontainthecurrent
[Link],thedateoftheinvoiceisdeterminedonlyonce.

OpenOffice.orgUserGuidefor2.x

175

Chapter3:ManagingTextDocumentsWithWriter

Ontheotherhand,avariabledateisupdatedeverytimethedocumentisopenedandprinted.
Amanualupdateofthefields(i.e.withtheF9key)setstheactualdateinthefieldenteredas
Variabledate.
If,forexample,wheninsertingadateasafieldinaformletter,theusermustdecideifitisto
beinsertedasafixedorasvariabledate:

Wherethedateshouldneverchange;thatis,asifthedateistypedindirectly(withouta
field),[Link]
[Link]
basedonthattemplatewillhavethedatewillautomaticallyupdatedtotoday'sdate.
Byselectingavariabledate,thedatewillbeupdatedeverytimethedocumentisopened
orprinted.

Apartfromthedate,[Link]
mostimportantfieldsaretheoneswhichdeterminewherethedifferentelementsofthe
recipient'[Link]
[Link]
field,suchasname,street,city,[Link],Writerinsertsthedesireddatafields
[Link],createtheformlettertemplate.
1. File>Wizards>Lettertoopenthedialogue.
2. Setupthetemplate.
3. Selectthedatabasecontainingtheaddressesfortheformletter.
4. SetthefieldsasdirectedbytheWizard
OpenOffice.orgUserGuidefor2.x

176

Chapter3:ManagingTextDocumentsWithWriter

5. Witheachdialogue,selectthefeaturesneeded.
6. ClickCreatetoaddthisdocumenttothetemplatesandtoopenaWritersessionto
completethebody.
7. Ifthebodytextwillbeusedinthefuture,useFile>Template>Saveandoverwritethe
initialinstanceofthetemplate.
Havingdonethis,thistemplatemaybeusedforotherformletters:
1. SelectTools>MailMergeWizardtostarttheprocessofcreatingaformdocument
[Link]
alreadycontainthefieldsfortheaddress,date,sender,etcetera.
2. ChooseFromatemplateintheMailMergedialogue.
3. PressF4toopenthedatasourceforthecurrentdocument.
4. Selecttherecordsnecessaryforuseintheformletterbyclickingtherowheadersatthe
[Link]/ortheCtrlkeytomakea
[Link],clicktheemptyfieldabove
therowheaderstoselectallrecords.
5. Edittosuitpersonalrequirements.
6. Savethedocument.
7. NowclicktheMailMergeiconontheTableDatatoolbaratthetopofthedatasource
[Link],wheretwochoicesareoffered,tosaveasfile(s)
[Link],[Link]
printingarange,forexample,records1to5,ensurethatthenumbersfollowtheorder
displayedinthedatasourceview.
Tosortorfilterrecordsinthedatasourceview,byclicktherespectiveiconsonthedatabase
[Link],tosortallrecordsaccordingtopostalcode,placethecursorinthePOSTAL
CODE(ZIP)[Link]
go!
Note:Ifacompletelynewdocumentcontainingthenecessaryformletterfieldsisbeingcreated,usedraganddrop
todoso:[Link],
holdingdownthemousebutton,[Link]
isautomaticallyplacedinthedocument.

CreatingandPrintingLabelsandBusinessCards
DesigningBusinessCardsviadialogue

ChooseFile>New>BusinessCardstoopenadialoguewithseveraltabsthathelpdesign
[Link],whichmayormaynotbewhat
iswanted.

OpenOffice.orgUserGuidefor2.x

177

Chapter3:ManagingTextDocumentsWithWriter

DesigningLabelsandBusinessCards

UsingFile>New>Labelsfordesigningbusinesscards,asbusinesscardsmayberegarded
asasimplified,specialkindoflabel,[Link],allbusinesscards
arethesameand,aslabels,canbefilledwithdifferentcontents,graphics,dataobtainedfrom
adatabase,ortheycanbemarkedwithserialnumbers.
1. SelectFile>New>LabelstoopentheLabelsdialogue.
2. OntheLabelstab,underFormat,definethelabelformat.
Writercontainsmanyformatsofcommerciallyavailablesheetsforlabels,badges,
[Link].
3. OntheLabelstab,underInscription,choosewhattowriteonthelabels.
Thisofteninvolvesdatabasefields,sothatthelabelscanbeprintedwithvaryingcontent,
whensendingFor [Link]
textprintedoneverylabel.
Usethepulldownliststoselectthedatabaseandtablefromwhichthedatafieldsare
[Link].
[Link]
possible.
UsingtheFormattab,definecustomlabelformats,notcoveredbythepredefined
[Link],thelabeltypeontheLabelstabmustbesettoUse r
[Link],specifywhetheralllabelsoronlycertainonesaretobe
created.
4. [Link],onlyone
(thetopleftlabel)hastobeenteredandeditedwhiletheremainderwillberepeated
identically
5. UponclickingNewDocument,asmallwindowopenswiththeSynchronizeLabels
[Link],thecurrent
individuallabeliscopiedtoalltheotherlabelsonthesheet.
6. ClickonNewDocumenttocreateanewdocumentwiththesettingsthathavebeen
entered.
7. Printthenewdocument.
PrintingLabelsWithSerialNumbers

[Link]
todoit:
1. SelectFile>New>[Link].
2. OntheLabelstab,underFormat,selecttheformatinwhichtoprint.
3. Tickets,labeltagsorrollsareavailablefromspecialistsuppliersandareoftenmadefrom
stiffpaperwithtearoffperforations,orasselfadhesivelabelsonabackingmaterial.
OpenOffice.orgUserGuidefor2.x

178

Chapter3:ManagingTextDocumentsWithWriter

4. Todefineacustomformat,selecttheFormattab.
5. CheckSynchronizecontents.
6. ClickonNewDocument.
7. Anewdocumentisnowcreated,[Link]
editedand,whensatisfied,pressSynchronizelabelstomakealllabelsappearthesame.
ThisbuttonisonlyvisibleifSynchronizecontentsischeckedontheOptionstab.

8. Enterthedesiredtextinthetopleftlabelandformatthecontents.
9. Serialnumberingcanbeappliedbyinsertingafield.
[Link].
[Link]+F2orchooseInsert>Fields>Other.
a) IntheFieldsdialogue,gototheVariablestab.
b) SelectthetypeSetvariable,ifitisnotalreadymarked.
c) IntheNamebox,enteranameforthecountingvariable,forexampleNumber.
d) Toincrementthevariablefromonelabeltothenextby1,enterthefollowingformula
intheValuetextbox:Number+1.
e) ClickInsert,thenclosetheFieldsdialogue.
[Link].
[Link].
PrintingAddressLabels

Whenprintingaddressstickersforformlettersthatdonotfitinwindowenvelopes,dothe
following:
1. SelectFile>New>LabelstoopentheLabelsdialogue.

OpenOffice.orgUserGuidefor2.x

179

Chapter3:ManagingTextDocumentsWithWriter

2. Selecttheformatofthelabelsheetsthatwillbeprintedfromthedropdownmenu.
RemembertocheckSynchronizecontentsontheOptionstab.
3. ClickonNewDocumenttoclosethedialogue.
4. Whenthelabeldocumentopen,invokethedatasourceviewbypressingtheF4key.
5. ClicktheTackiconattheedgeofthedatasourceviewtoavoidhavingitcoverthefirst
label.
6. Inthedatasourceview,selecttheaddressdatasourcetable.
7. [Link]
example,clickonthecolumnheaderNAMEand,keepingthemousebuttondepressed,
[Link].
8. Putthefieldsinordertocompletetheaddressinthefirstlabelattopleft.
9. Placethecursoratthelasttextposition(afterthelastfield)inthefirstlabel.
[Link]+F2.
[Link].
a) SelectthetypeNextrecord,
b) ClickonInsert
c) ClickClose.
[Link].
[Link],selecttherecordsthatwillprintedonthelabels,byclickingon
[Link]
recordsatthesametime.
[Link],click

theDatainFieldsicon.

[Link]/orprintthelabeldocument.
Afterthelastlabelonthepage,[Link],donotinsertthe
commandmanuallyafterthelastlabelonapage.

AvoidingBlankParagraphs
[Link],there
isafieldnamedCOMPANYthatshouldappearintherecipientfield,butforsomerecords
[Link]:
1. PlacethecursorinthetextdocumentbeforetheformletterfieldCOMPANY.
2. ChooseInsert>Fields>OthertoopentheFieldsdialogue.
3. OntheFunctionstabselectthetypeHiddenParagraph.

OpenOffice.orgUserGuidefor2.x

180

Chapter3:ManagingTextDocumentsWithWriter

4. IntheConditionfield,enterthefollowingtext(withoutquotationmarks):
not(Company)
NowtheCOMPANYlinewillnotbeprinted,andtherestofthelineswillbemovedupward
iftheCOMPANYdatabasefieldisempty.

OpenOffice.orgUserGuidefor2.x

181

Chapter3:ManagingTextDocumentsWithWriter

Newsletters
Inthissection,learnhowtocreateanewsletter/[Link]
forcreatingnewslettersforacompanyorclub,[Link]
[Link]
worksavailablefromhttp://

[Link]

/andthisisoneusedinthissection.
Toinstallthetemplateafterdownloading,dothefollowing:
1. [Link].
2. SelectFile>Templates>Save
3. [Link]
needed.
4. Namethetemplate
5. ClickOK
Voila,thereisnownewslettertemplatereadyforuse.

OpenOffice.orgUserGuidefor2.x

182

Chapter3:ManagingTextDocumentsWithWriter

CreatingaNewsletterFromaTemplate
IntheFilemenuchooseNew>[Link]
theNewspaperTemplate.
[Link]
contains,forexample,anautomaticpagenumberingsystemandafieldwiththefixeddate.
Onecannowentertextandpositiongraphicobjects.
Modifytheexistingheadingasneededandinsertanygraphics.
Afewothertextshighlightedingrayarevariables,whichmodifiable.
Whenthedocumentiscompleted,saveandprintit.
Editthetemplate(File>Templates>Edit)foranypersonalizationandlayoutchanges.
CreatingPageStyles

Whereapagemustincludenotonlytextbutalsoseverallargergraphics,createaseparate
PageStyleforthispurpose.
1.

OpentheStylesandFormattingwindowandclickthePageStylesicon.

2. Fromthecontextmenu,selectthecommandNewtoopenthePageStylesdialogue.
3. InthetabOrganize,assignadescriptiveNamefortheStyle.
4. Next,clickthePagetabanddefinethepageformatandmargins.
5. CheckRegistertrueandchoosethereferenceParagraphStyleTextBody.
Note:Iftheregistertrueoptionisactivate,thebaselinesofallparagraphswiththeTextBodyStylewillbeexactly
[Link]
sideprinting,[Link]
[Link],calluptheproperties
[Link],forexample,intheStylesandFormattingwindowviathecontextmenu
ofthatparticularParagraphStyle,[Link],inthefieldunder
Registertrue,selectActivate.

EditingHeaders

Toeditaheader,[Link](Page),
[Link]/
Backgrounddialogue,chooseabackgroundcolourandclickOK,thenconfirmthefollowing
dialogueaswell.
EditingColumns

Tochangethenumberofcolumnsorcreateadividinglinebetweencolumns,activatethe
PageStylesdialogueviathePagecontextmenu.
[Link],and
[Link]
AutomaticWidthfieldisselected.
OpenOffice.orgUserGuidefor2.x

183

Chapter3:ManagingTextDocumentsWithWriter

Tocreateadividingline,selectanarrowlinefromtheLinelistboxunderSeparator,setthe
Heightto75%,[Link],clickOKtoclosethedialogue.

Toplaceheadingsorsubheadingsthataremorethanacolumnwideintoamulticolumntext,
[Link]
[Link]
canmayalsohaveborders,butthisisnotalwaysnecessary.
EditingParagraphStyles

1. ClicktheParagraphStylesiconintheStylesandFormattingwindowandselectthe
paragraphstyletobemodified.
2. SelecttheModifycommandfromthecontextmenu,calluptheParagraphStyles
[Link],thereareseveraltabswithvarioussettingsandoptions.
Experimentwithfonteffects,[Link]
[Link]
underContents.

OpenOffice.orgUserGuidefor2.x

184

Chapter3:ManagingTextDocumentsWithWriter
Note:Newslettersornewspapersrequireavarietyofmainheadings,subheadings,andtextwrapstomakeiteasier
[Link],itwouldthusbea
goodideatocreateseveralappropriateparagraphstyles(gototheStylesandFormattingwindow>contextmenu
>clickNew...).

WorkingwithFrames

Aframepositionedoveroneormorecolumnscangivethenewspaperalesscrowded,more
[Link],graphics,orevenachart.

ClicktheInserticonontheToolstoolbarandfromthefloatingtoolbar,selecttheInsert
[Link]
frameandpositionitoveroneormorecolumnsinthedocument.
FormattingaFrame

Putthecursorintheframe(deselecttheframefirst,thenclickinsideit)andenteranytextor
[Link],ofcourse,bemodifiedatanytime.
Selecttheframebyclickingit,callupthecontextmenuandclickFrame....Adialoguewith
severaltabswillappearwhichallows,forexample,onetoapplyacolouredshadowtothe
frameviatheBorderstab.
AnchoringFrames

IntheFramedialogue,clicktheTypetabandselectthetypeofanchorundertheheading
[Link]
tableofcontents,forexample,[Link],e.g.,for
smallsymbolswhichalwaysappearinthemarginaccompanyingacertainwordinthetext,
[Link],inflowingtext,theframeshouldmovewiththetextasacharacter,
[Link],.
[Link],clickthe
ChangeAnchoriconintheObjectbartoquicklychangetheanchor.
DefiningaFrameWrap

OpentheFramedialogue(contextmenu>Frame)todefinetheframewrapandclickthe
[Link],andunderSpacing,definethespacingbetweenthe
[Link],selecttheoptionFirstParagraph.

OpenOffice.orgUserGuidefor2.x

185

Chapter3:ManagingTextDocumentsWithWriter

TheFirstParagraphfield(orthemenucommandinthecontextmenu)ensuresthatwhena
graphicispositionedbetweentwoparagraphs,onlythefirstparagraphwrapsaroundthe
picture.
DefiningaWrapRegion
Note:Asonefollowsthisprocedure,ibutcannotfindaniconinatoolbartowhichthedescriptionrefers,check
theVisibleButtonsmenuforthetoolbar.

Makinganewslettermoreattractivewithobjectsorgraphicsisdoneeasilybyhavingthetext
[Link]
[Link]>Contour
withitscontextmenu.
[Link]
Draw,[Link]
theinsertedobjectandchooseWrap>[Link]
wrapcontouristheWrap>[Link]
[Link]
instructionsinHelp.
LinkingFramesandFacilitatingTextFlow
Ifthetextshouldbecontinuedinthesamemannerasinanewspaper,[Link]
page1to,say,aframeonpage4,andwherethetextflowfromframetoframemustbe
doneautomatically,uselinkedframes.
1. Createtwo(ormore)framesbyopeningtheInsertfloatingtoolbar,clickingInsert
Frame.
2. Selectthefirstframe(clicktheborderoftheframe).
3. ClicktheLinkFrames

iconontheFrametoolbar.

4. Now,clickthesecondframe.
5. Toentertextinthelinkedframes,positionthecursorinthefirstframeandtypein
textorinsertitfromtheclipboard.
Note:Ifcertaintextfromadocumentistoflowinlinkedframes,firstputthetextcursorinthefirstframe
(firstclickthenormaltexttocanceltheframeselectionandthenclicktheframe).

6. Nowdecideifthetextshouldbeacopyintheframeorifitshouldkeepalinktothe
originaldocument(inthiscaseitwouldalwaysreturntotheactualstandofthe
originaldocument).Ifthetextisonlytobecopied,choosethecommandmenuInsert
>File.

OpenOffice.orgUserGuidefor2.x

186

Chapter3:ManagingTextDocumentsWithWriter

7. IfthetextisasectionlinkedtoanotherfilechooseInsert>[Link]
Sectionsdialoguethatappears,clickLinkandselectthefilewantedwiththe...
button.
8. Finally,clicktheInsertbutton.
UsingcolouredorGraphicBackgrounds
Toassignacolouredbackgroundtoaparagraph,placethecursorinthatparagraphandclick
[Link]
thedesiredcolourisselectedbyclickingitonce.
Note:Whenfrequentuseofabackgroundcolourforcertainparagraphsisused,itisbesttocreateaParagraph
Styleforthispurpose.

[Link]
assignedtoaparagrapheitherviatheParagraphStyle(inthatcase,allparagraphsbasedon
thisStylewillhavethesamegraphicbackground),oruseFormat>Paragraph....toeditit.
ClicktheBackgroundtabandinthelistboxAsselectgraphicsinordertopickoutan
appropriategraphicimage.
CreatingaTableofContents
Tablesofcontentscanbecreatedmanually;however,ifthecontentsarealtered,thetableof
contentsmustbemanuallyupdated,[Link](andtimesaving)to
havetheprogramcreateatableofcontentsautomatically.
1. Withthetextentered,creatingatableofcontentsonthefrontpageofthenewspaperor
[Link],followthesesteps:

OpenOffice.orgUserGuidefor2.x

187

Chapter3:ManagingTextDocumentsWithWriter

a) Drawaframemanuallyonthefrontpage,
b) SelectToPageasanchor.
c) PresstheEscapekeytosetthecursorintheframe.
2. OpentheInsertIndex/Tabledialogue(chooseInsert>IndexesandTables>Indexes
andTables).
3. OntheIndex/Tabletabpage.
4. SelectTableofContentsasType,
5. Enteranappropriateheading,e.g.,Inthisissue...intheTitlefield.
EnsurethatoneofheadingParagraphStylesisassignedsothatchapternumberingmaybe
[Link]>Outline
Numbering.ThepredefinedParagraphStylesareHeading1throughHeading 10.
Ifthetableofcontentsshouldusetheheadingsinthedocument,specifythedesiredoutline
structureusingtheEvaluateuptolevelspinbox.
Ifother,customizedParagraphStylesfortheheadingshavebeendefined,thesecanalsobe
[Link],gototheInsertIndex/Tabledialogue,
clicktheIndex/tabletabandintheCreatefromarea,marktheAdditionalStylescheck
[Link].

OpenOffice.orgUserGuidefor2.x

188

Chapter3:ManagingTextDocumentsWithWriter

ThisiswheretheleveloftheStyleisassigned,inthetableofcontents,foreachStyleusedin
thedocument.
ChoosemoresettingsontheEntriesandStylestabpagesandClickOKtocreatethetableof
contents.
Oncethenewsletterornewspaperisfinished,saveandprintit.

OpenOffice.orgUserGuidefor2.x

189

Chapter3:ManagingTextDocumentsWithWriter

FurtherInformation
UsingAutomaticHyphenation

Whenworkingwithcolumns,itmakessensetoactivateautomatichyphenationforevery
ParagraphStyle(dosobycallingupthecontextmenuoftheStylesandFormattingwindow
andclickingModify...toaccesstheParagraphStyledialogue>clicktheTextFlowtab).
Entera3forCharactersatlineendandCharactersatlinebegintoensurethat
[Link]
alignmentincolumns,chooseJustifyontheAlignmenttab.

OpenOffice.orgUserGuidefor2.x

190

Chapter3:ManagingTextDocumentsWithWriter

LettersWithEnvelopes
[Link],[Link]
easyitis.
Therearetworeallyeasywaystogetaresult:

Usealettertemplate,

or

UsetheWizardtocreateacustomtailoredlettertemplate.

UsingaReadyMadeLetterTemplate
1. PressShift+Ctrl+NtoopentheTemplatesandDocumentsdialogue:

2. Selectatemplate.
3. Enterthedetailsrequiredforthevariouswildcards,suchasthesalutation.
4. Typeintheremainingtext.
TemplatesincludetheuserdatathatwasenteredinTools>Options>[Link]>
UserDataandwhichmaybemodifiedatanytime.
CreatingaLetterTemplateUsingtheWizard
1. StarttheWizardbyselectingFile>Wizards.

OpenOffice.orgUserGuidefor2.x

191

Chapter3:ManagingTextDocumentsWithWriter

2. ClickLetterinthesubmenutoseethefirstpageoftheWizardforLetters.
3. SelectPersonalLetter.
4. clickNexttobringupasecondpagewithadditionaloptionsappears.
5. ChoosetheoptionNoLogo.
6. [Link].
7. [Link],underShowsender?selectYes.
8. ClickthesymboltoprightinthePositionandsizearea.
9. ClickNext.
Note:Iftheinputfielddoesnotcontainasender,[Link],click
Cancel,opentheUserDatatab(inTools>Options>[Link])[Link]
that,[Link]
intheinputfieldoftheWizard;however,thesedetailsarenotcurrentlyenteredinTools>Options>
[Link]>UserData,thisprocessforeverymustberepeatedwithnewtemplatecreatedwiththe
Wizard.

[Link].
[Link]
[Link].
[Link],enteranyadditional
informationintheInfofield.(Thetemplatewillbestoredinthetemplatefolderunderthe
namechosen.)
[Link].
[Link]
[Link].
[Link].
AfterclickingtheCreatebutton,[Link]
[Link],anew,unnameddocumentappearsonthescreen,
thathasbeengeneratedasacopyfromthistemplate.
[Link],ifonewouldliketo
keeponworkingonthelayoutofthedocumenttemplateorcreateanenvelopeforit,close
thenewdocumentwithoutsavingit.
CreatinganEnvelopeTemplate
Thissectioncontainsadescriptionofhowtocreateatemplateforanenvelopeafter
completingalettertemplateplussometipsonhowtocontinuepolishingtemplatedesign.
Astheenvelopeshouldbesavedtogetherwithitstemplate,openthelettertemplate.
1. SelectFile>Templates>Edit.
OpenOffice.orgUserGuidefor2.x

192

Chapter3:ManagingTextDocumentsWithWriter

2. [Link]
[Link]/templateintheuser'shomedirectory.(Pathnamesmay
varywithdifferentreleases.)
3. GototheInsertmenu
4. [Link].

5. OnthetabpagesEnvelopeandFormat,specifytheenvelopeformatandthepositionof
[Link]
defineappropriateprintoptions.
InsertinganEnvelopeintoaDocument

[Link]
firstpageoftheactivedocument.(Inthiscase,beforethefirstpageofthepersonalletter
template)
Tocontinueeditingtheenvelope(forinstance,tochangetheformatagain),openthePage
Style:Envelopedialogue(inthecontextmenuoftheenvelopeclickPage...andselectthe
Pagetab).

OpenOffice.orgUserGuidefor2.x

193

Chapter3:ManagingTextDocumentsWithWriter

AdjustingthePrinterforthePrintout

[Link]
specialcassette,[Link],
consultthemanualfortheprinter.
SpecifyanyprintoptionsinthePageStyle:[Link],click
anemptyspotontheenvelope,openthecontextmenu,andselectPage....Thenselectthe
[Link].
CheckFile>Print...>Propertiestoensurethattheprinterknowsthesizeoftheenvelope
[Link],printingofanenvelopebecomesunpredictable.
CreatingandPrintingaLetterWithanEnvelope
Withthecreationofacustomizedtemplateforpersonalletters,writeandprintaletter.
1. SelectFile>New>TemplatesandDocuments.
2. Inthedialogueselectthetemplate.
3. [Link]
templateitselfnomatterofthemodificationstothedocument.
4. Enterthetextoftheletterinthedocument.
5. Checkiftheaddresseeinformationontheenvelopeiscorrect.
6. Ifthisdocumentistobeprintedoreditedlateron,saveitandenteraname.
7. Placeanenvelopeintheprinter.
8. SelectthecommandFile>Printandprintpage1,whichistheenvelope.
9. Placenormalletterpaperintheprinter,selectthecommandFile>Printagain.
[Link],specifywhichpagesto
printunderPages.
CreatinganSingleEnvelope
1. [Link]
2. InsertEnvelope
3. OntheEnvelopetab,entertheaddressinfo.
4. OntheFormattab,setSize>[Link].
5. OnthePrintertab,Selectthelayoutthatreflectshowtofeed.
6. Onthesametab,[Link].
7. OntheSetupdialogue,selecttheprinterandclickProperties.
8. OnthePropertiesdialogue,selecttheenvelopesizeinthePapersizedropdownlist.
Inthiscase,EnvelopeDL.
OpenOffice.orgUserGuidefor2.x

194

Chapter3:ManagingTextDocumentsWithWriter

9. Samedialogue,[Link](seestep
5)Inanycase,landscapemeansthatthetextisrotated90degreessothatitisparallel
tothelongaxisoftheenvelopeandviceversaforportrait.
10. Ifthereisamanualfeedtray,selectthisunderDevice.
11. ClickOK
12. ClickOK
13. SelectNewDocifoneonlywantstheenvelopeorinserttoaddittotheexisting
document.
14. Inthenewwindow,[Link]
EnvelopeTemplate
AddingaPOSTNETBarCodetoanEnvelope
GetaPOSTNETfont

[Link]
'free',whichmustbeinterpretedas'freedownload'ofademoorcrippledversionofa
commercialproductforwhichusersmustpaytousebut,thankstothethetenacityofRoss
Johnson,[Link]
[Link]
[Link]
POSTNETTTFauthorunknownandwhichisunconditionallyfree.
OnWindows,simplyinstallthisfontsetbyfollowingtheinstructionsforinstallingfontsthat
[Link]
[Link]'vedonethat,
[Link],thefontwillbelistedinthefontlist.
Now,onecantypesomenumbers,selectthem,thenchangethefontand,Voila!,POSTNET
[Link],thisbarcodeisincompleteandwillbe
unacceptableifprintedontheenvelopeasitis.
Note:[Link]
thisfontsettoappearasablankentryinthelist.
a)InOpenOffice.org2x,UseTools>Options>[Link]>View>FontListsanduncheck
Showpreviewoffonts.
b)InOpenOffice.org1.1.x,UseTools>Options>General>View>FontListsanduncheckShow
previewoffonts.

BuildingaCompletePOSTNETBarCodeforPrinting

Whilenumberscanberepresentedbythebarcode,acorrectPOSTNETbarcodeformost
postalservicesrequiresadditionalinformation.
Thefirstpieceofadditionalinformationisacheckdigit,whichiscalculatedfromthepostal
codeasfollows:
1. StartwiththePostalcode,say'12345',andsumthedigits:
1+2+3+4+5 = 15
OpenOffice.orgUserGuidefor2.x

195

Chapter3:ManagingTextDocumentsWithWriter

2. Calculatethenumberthatisneededtoaddtothisnumbertomakethelastdigitofthe
sumazero(0).Thatis,15 + ? = ?0Theanswerinthiscaseis:'5'.
e.g..15 + 5 = 20
3. [Link],thePOSTNET
sequenceisnow:123455
4. Finally,[Link]
barcodeshouldnowbe[123455]
WhenoneformatsthistextusingthePOSTNETbarcodefont,[Link]
example,enter[123455]intoWriter,selectthewhole[123455]textandchangethefont
tothePOSTNETbarcodefontthathasbeeninstalled.
Note:Calculatingthissequence,[Link]
helpoutwithautomatingtheprocess;however,byusingadatabaseorspreadsheettostoreanaddresslist,then
onecouldsimplyaddaPOSTNETsequencecolumnwiththepostalcodeprecomputedinPOSTNETformator
[Link]
obtainresults.

Withrespecttousing9digitpostalcodes,wherethereisa5digitzipplus4digitsuffix,the
rulesarethesame.Addall9digits,findthecheckdigit(sum + check = ?0),append
thatdigittomake10digitsand,finallywrapthesequenceinsquarebrackets.e.g.
[1234567895]
Thereisapparentlyanothertwodigitcodethatcanbeaddedifitiswanted,andthesamerule
appliesforthe11digitversiontomakea12digitcodewrappedin[].
Allthreeformsarevalid.

[Link]
SettingTextLanguage
Onecanchangethelanguageoftheuserinterfaceandinvokeawizardtoinstallmore
[Link]:
1. OpentheOnlineHelpusingtheF1keyorfromHelp>[Link].
2. SelecttheIndextabpage.
3. EnterlanguagesintheSearch termbox
4. Readthehelppage.
Note:Thelanguageforspellcheck,hyphenation,andthesaurusisanattributeforawholedocumentorfora
selectionofwords.

1. ChooseTools>Options>LanguageSettings>WritingAidsforalistofavailable
languagemodules.
2. ClickthetopEditbuttontoseewhichdictionariesareinstalledforthecurrent
[Link].
OpenOffice.orgUserGuidefor2.x

196

Chapter3:ManagingTextDocumentsWithWriter

3. Ifthelistboxdoesn'tlistthelanguagethatyouwant,see"AddingMoreText
Languages".
AddingMoreTextLanguages
1. ChooseFile>Wizards>InstallnewdictionariestoopenaWriterdocumentthat
helpsuserstoinstalladditionallanguages.
2. [Link]
onthefirstpagetoseethefollowinginstructionsinyourownlanguageasshown
below:\

3. [Link]
displaymoreinfoanddownloadthedictionaryfiles(seeimage).

OpenOffice.orgUserGuidefor2.x

197

Chapter3:ManagingTextDocumentsWithWriter

4. Choosewhethertoinstallthenewfilesforthecurrentuseronlyorforallusers
dependingpermissions.

5. ClickNext.
6. ClickRetrieve the [Link]
languageswillbedisplayedaftersomeshortdelay.
7. SelectthedictionariesinthelanguagesneededforSpellingbyusingCtrl-Right
Clickifmorethanonearerequired.
8. clickNext.
9. ClickRetrieve the listandselecttheHyphenationdictionariesforthe
neededlanguagesusingthemethodinstep7.
[Link]
dictionariesandhyphenationdictionaries.
OpenOffice.orgUserGuidefor2.x

198

Chapter3:ManagingTextDocumentsWithWriter

[Link] the listandselectdesiredthesarusesusingthemethodinstep


7.
[Link].
[Link].
[Link](includingtheQuickstarter).
[Link].
SettingUILanguage
[Link](UI)ofthechosen
[Link],whichgivesenglishmenu
[Link](andfor
OnlineHelp,ifavailableinthatlanguage),changetheUIlanguageasfollows.
1.
2.
3.
4.

ChooseToolsOptionsLanguageSettingsLanguages.
SelectanotherUIlanguageinthe"Userinterface"listbox.
[Link].
Ifthelistboxdoesn'tlistthelanguagethatwanted,seeAddingMultipleLanguage
SupportusingLanguagePacks.

AddingMultipleLanguageSupportusingLanguagePacks
[Link],
completewiththeuserinterfaceinthatlanguage.
1. OpenyourWebbrowserandchecktheNLCwebsitethatsupportsthelanguage
[Link],thenenter
[Link]

[Link]/pub/[Link]/

intthe
browser.
2. [Link].
3. [Link],ifitisenabled).
4. Installthelanguagepack.
a) WithWindows,doubleclicktheexefile.
b) UnderanyUNIX,usetarcommandorarchivetoolofchoice,toopenthe
.[Link].
c) Inmostcases,usetheproceduresdescribedintheSetupGuide(invarious
languages)forcompletinginstallationaccordingtostandardpracticeforthe
targetplatform/OS.

OpenOffice.orgUserGuidefor2.x

199

Chapter3:ManagingTextDocumentsWithWriter

OpenOffice.orgUserGuidefor2.x

200

Chapter3:ManagingTextDocumentsWithWriter

OpenOffice.orgUserGuidefor2.x

201

Chapter4:SpreadsheetsinCalc

Chapter4:SpreadsheetsinCalc
[Link]
functionsnecessaryforprofessionalusewithfinancialandstatisticalfunctionsaswellas
databasefunctionsandmuchmore.

OverviewoftheFunctionsinCalc
ThissectioncontainsashortoverviewofsomeimportantfunctionsandcapabilitiesofCalc.
Calculating
[Link]
intowhichtext,digitsandformulaecanbeenteredand,fromthese,calculatesimpleand
[Link],[Link],hasnumerousautomatic
functionstoeaseusage.
WhileCalcprovidesallthebasiccalculationtypes,italsohasnumerouscalculationmethods
thatcanbeenteredinteractivelyviatheWizard:[Link],itallows
enteringtextandflexiblyarrangingcells,soformscanbecomfortablystyled,filledin,
calculatedandprinted.
DatabaseFunctions
Datathatcanbesummarizedintorecords,suchasaddresses,inventorylevels,customer
ordersorsimilar,[Link],Calccan
quicklysortadatabaserangeandsearchthedataforspecificcharacteristics,suchas
maximumorminimumvalues.
Inaddition,asheetinCalccanserveasadatasourceforcreatingformlettersandreports
[Link].
ArrangingData
[Link],theviewcanbe
reorganizedtoshoworhidecertaindataranges,formatrangesaccordingtospecial
conditions,orcalculatesubtotalsandtotals.
ExaminingandExtrapolatingData
[Link]
creatingtermpapersbecauseitsupportsmanystatisticalfunctionssuchasregression
[Link],theintegratedfinancialfunctionsarehelpful,
becausetheycanbeusedtoprintdetailedtablesofcurrentcreditsandloansandotherdata.
WhatIfCalculations
Resultsofchangesmadetoonefactorofcalculationscomposedofseveralfactorscanbe
[Link],seehowchangingtheperiodinaloancalculationaffects
[Link],largertablesaremademanageableby
usingdifferentpredefinedscenarios.

OpenOffice.orgUserGuidefor2.x

202

Chapter4:SpreadsheetsinCalc

DynamicCharts
Calchasachartingfunctionthatcandisplayspreadsheetdatagraphicallybyselectingthe
[Link]
position,[Link]
selectedpositionand,whenthesourcedataismodified,isbedynamicallyupdated.
ImportingandExportingData
Datafromotherspreadsheetsprogramscanbeimported,editedinCalcand,outputin
differentexportformats.
UsersarepresentedwithadialoguesimilartothefollowingwhentheyselectTextCSVas
thefiletypewhentheinputfileusesacharactertoseparatethefields(tabinthisexample):
ImportingintoCalc

OpenOffice.orgUserGuidefor2.x

203

Chapter4:SpreadsheetsinCalc

Wheretheinputfileisinfixedwidthfields,checktheFixedwidthboxandsetthe
columnwidthsinthemeasurementbarasshownbelow:

ExportingfromCalc

Usually,[Link],suchasPDFare
[Link].\
ReferencingDatainNetworksandtheInternet
Ratherthanbeingrestrictedtohavingonlyafixedvalueorformulathatreferstoothercells
inthesheet,[Link]
documentsreferredtodonothavetoexistonthelocalcomputer,theycanalsobestoredona
networkoranywhereintheInternet.

OpenOffice.orgUserGuidefor2.x

204

Chapter4:SpreadsheetsinCalc

TheCalcWindow

StructureofaSpreadsheet
[Link],arrangedin
[Link],textorvalue(of
virtuallyanylength).
[Link].,=4+5.
[Link]
exampleofsuchamathematicalformulamightbe=SUM(A1:A8).Thiscalculatesthesum
ofthevaluesincellsA1throughA8andenterstheresultinthecellcontainingtheformula.
AdditionalformulaemayalsobeenteredincellsA1throughA8,eachreferringtoothercells
andtheircontents,[Link],thisallowscalculationofextremelycomplex
relationships.

OpenOffice.orgUserGuidefor2.x

205

Chapter4:SpreadsheetsinCalc

AnewspreadsheetsisopenedwiththecommandFile>New>[Link]
[Link]
atthenew,stillemptydocumentfortheseveraltypicalelements,thatarediscussedinthe
followingsections.
RowsandColumns
Onaspreadsheet,rowsarenumberedfrom1to32000andthecolumnsaredesignatedwith
thelettersAthroughZ,AAthroughAZ,andsoon;thelastcolumnislabelledwiththeletters
[Link],cell
A1isthefirstcellintheupperleftcornerofthesheet.
[Link]
rownumbers,[Link],
[Link],clickontheunlabelledbuttonat
theintersectionoftherowandcolumnheadersatthetopleft.
[Link],noticethatthetextappearsbothinthecellandin
[Link]
appearstofitinthecell.
Infact,[Link]
displayedandprinted,[Link]
rightisnotempty,asmalltriangleontherighthandedgeofthefirstcellappears,indicating
thatthecellcontainsmoretextthancanbedisplayed.
Note:TurnoffthesetrianglesbychoosingTools>Options>[Link]>ViewanduncheckingtheText
overflowbox.

Whenanumbercannotbedisplayedinacellbecauseitistoolong,orduetotheformatting,
e.g.,currencyformat,###[Link],[Link]
widthtooptimalbysimplydoubleclickingtherightdividerinthecolumnheader.

[Link],however,thattherightandleftarrowkeyswill
replacethecellcursorifEntrymode(byclickinginacellandenteringcharacters)is
enabled.DoubleclickingorpressingtheF2keyorclickingintheentryrow,enterstheEdit
[Link]
key,[Link]
cellisalwaystheonewiththecellcursorandthatiswhereentriesandchangesaremade.

OpenOffice.orgUserGuidefor2.x

206

Chapter4:SpreadsheetsinCalc

MultipleSheetsinaDocument
Attheloweredgeofthespreadsheetdocumenttherearetabsforswitchingamongthe
[Link],emptyspreadsheetinitiallycontainsthreesheets,each
titledSheetXwhereXstandsforthenumbers1through3).
InsertingSheets

1. Usingthemouse,putthepointerinoneofthesheettabsatthebottomofthewindow.
2. RightclicktoopentheContextmenuforthecommandsgoverningeditingsheets.

3. ChoosingtheInsertcommand,openstheInsertsheetdialogue.
4. Selectthepositionandquantityofsheetstobeinserted
5. ClickOK.
RenamingSheets

1. Rightclickthetabofthesheetforrenaming,e.g.Sheet1.
2. OpenthecontextmenuandchoosetheRenamecommand.
3. Adialogueboxappearsinwhichtoenteranewname.
4. Enteranewnameforthesheet
5. clickOK.
6. AlternativelyholddowntheAltkeyandclickonanysheetnameandenterthenewname
[Link],thisfeaturemayornotworkwiththeinstalledwindow
manager.
Note:[Link].

[Link]
namewhensavingitforthefirsttimeasafile.Thedocumentcancontainupto256
individualsheets,eachofwhich,canhavedifferentnames.
OpenOffice.orgUserGuidefor2.x

207

Chapter4:SpreadsheetsinCalc

OpenOffice.orgUserGuidefor2.x

208

Chapter4:SpreadsheetsinCalc

ValuesandFormulaeasCellContents
Individualcellscancontaintext,numbers,[Link]
specifiedormodifiedandthesemaybeupdatedatanytimebyrecalculatingtheformulae
withcurrentdata.
Valuesinspreadsheetsmeannumbers,dates,[Link]
valuesbymarkingValueHighlightingintheViewmenu.
Ifdesired,checkthisoptioninTools>Options>[Link]>View,inwhich
casethisfunctionwillapplypermanentlyforthecurrentdocumentandalldocumentscreated
inthefuture(other,alreadyexistingdocumentsretaintheirsettings).Ifthisfunctionis
enabled,numbersanddatesareautomaticallyshowninblue,andvaluesincellscontaining
[Link],usersare
freetochoosethecoloursandotherformattingofthecontentoftheirspreadsheets.
[Link]
[Link],theoverflowindicator
###.Bydoubleclickingtherighthandedgeoftheheadingofthiscolumn,thecolumnis
automaticallysettotheoptimalwidth.
[Link]
spreadsheet,[Link]
valuesmayalsobedisplayed,[Link]
[Link]
spreadsheet,thisfieldwillalsodisplayanerrormessage.
CalculatinginSpreadsheets
Thefollowingdemonstratesasimplepercentagecalculationthatcanbedoneina
spreadsheet:
1. PositionthecursorincellA3.
2. Enterthenumber150and
3. presstheEnterkey.ThecursorthenmovesdowntocellA4.
4. Enterthenumber16 incellA4.
5. PresstheTabkeythistimeratherthantheEnterkeyandthecursormovestotheright
tocellB4.

OpenOffice.orgUserGuidefor2.x

209

Chapter4:SpreadsheetsinCalc

6. EnterthefollowingincellB4:
=A3*A4/100
Wheninputisstartedwithanequalssign,thisindicatesthataformulaisbeingentered
andtheformulawillbeseenintheinputlineoftheformulabar.

7. PressEntertofinishtheformula.
8. Theresultofthecalculationis(16percentof150)incellB4.
9. ClickoncellA3,enter200.
[Link],atwhichtime,thecalculationresultisautomaticallyadjusted.
11.ClickoncellB4.
[Link].
[Link].
[Link]+A3(withoutthequotationmarks)totheformula.
[Link].
16.ThenewlycalculatedvalueoftheformulaappearsincellB4:theprevious16 percentof
A3plusthecontentsofA3.
Thesestepsintroducethemostimportantstepsinworkingwithspreadsheets:creatingand
enteringformulae,enteringdata(textandnumbers),obtainingresults,modifyingsourcedata
orformulae,andhowtoviewresultsofnewdataorformulae.
Besidesthefourbasicarithmeticoperations,thereareotheroperators,nestedbrackets
[Link]:Functionsbuttonisausefulaidwhen
inputtingfunctions.

OpenOffice.orgUserGuidefor2.x

210

Chapter4:SpreadsheetsinCalc

UsingBuiltinFunctions
Calchasmanybuiltinfunctions,oneofwhichconvertEurostoanothercurrency,suchasthe
[Link].
Note:AlistoffunctionsisavailablefromHelp>Contents>Index>Searchterm>functionlist;Calc.

1. Enteraformula(e.g.=4+5or=A3*A4/100)inacell.
2. PresstheEnterkey.
3. Theresultofthecalculationappearsinthecell.
However,[Link]=SIN(1),which
willgivearesultofsineofone(roundedtotwodecimalplaces).
1. Calchasseveralotherfunctions,too,andadditionalfunctionscanbeaddedusing
[Link]
though,thestandardfunctionsprovidedintheprogramaresufficientformost
[Link](arguments)isshownhereas
anexamplethatwillconvertasumof100GermanMarksintoEurosbyenteringthe
followingformulainacell:
=CONVERT( 100;"DEM";"EUR")
[Link]
[Link],asshown,orby
[Link],forexample,incellD2,enterD2intheformulaasthefirstpartof
[Link]
[Link]
otherbysemicolons.
Thus,usingtheformula=CONVERT(50;"EUR";"DEM"),displaysthenumberofGermanMark
[Link],proceedasfollows:
Inannewspreadsheet,enterincolumnD,fromD2toD20anumberofUSDsums
1. DesignatecolumnEfromE2toE20asthecellsinwhichthesamesumsinEurosmust
appear.
2. ClickincellE2.
3. Enter=CONVERT(
4. [Link]
D2intheformula.
5. Enter"DEM";"EUR".[Link].
6. PresstheEnterkey.
7. Thiscompletestheentireformulawhichnowreads
=CONVERT(D2;"DEM";"EUR").

8. CellE2willcontaintheresultofthecalculation.
OpenOffice.orgUserGuidefor2.x

211

Chapter4:SpreadsheetsinCalc

9. ClickcellE2,thenthesmallfilledsquareinthebottomrighthandcornerofcellE2and,
pressingtheleftmousebutton,dragdowntocellE20.
[Link].
[Link]
adaptedsothattheyalwaysrefertotheneighbouringcellontheleft.
AShortDescriptionofWhatCellsCanContain
[Link]
describedbelow.
Text
Textinacellcanbeformattedandeditedwithmostofthefunctionsavailableinatext
[Link],toselectaword,doubleclickthewordeitherintheinputlineorina
[Link],themodifications
applyonlytotheselectedword.

PressingtheCtrl+[Link]
directlyinthecell,notintheinputline.

Whentextmustbreakautomaticallyattherightborderofthecell,proceedasfollows:
1. Selectallcellsinwhichthetextshouldbreakattherightborder:
2. InFormat>Cell>Alignment
3. ChecktheLinebreakfield
4. ClickOK.
[Link],entertextincellA1andmoretextinA2.
IncellA3,inserttheformula=CONCATENATE(A1;A2)whichwillconcatenatethetwo
texts,inotherwords,tostringthemtogether.
[Link](openthe
contextmenuofthecell,byrightclicking,andchooseFormatCells>Category>
Numbers>Text),[Link]
displayofthesenumbersisleftjustifiedjustlikenormaltext;however,calculationswith
numbersintextformatarenotpossible.
Ifnormalnumbershavefirstbeenenteredincellsandtheformatofthecellshasbeenlater
changedtoText,[Link]
numbersenteredlaterornumberswhicharetheneditedbecometextnumbers.

OpenOffice.orgUserGuidefor2.x

212

Chapter4:SpreadsheetsinCalc

Toenteranumberdirectlyastext,enteranapostrophe(')first,forexampleforyearsin
columnheadings' 1999,'2000and'20 [Link],
[Link],suchasa
telephonenumberorZIPcode,thatbeginswithazero(0)sinceazero(0)atthestartofa
sequenceofdigitsisremovedinnormalnumberformats.

OpenOffice.orgUserGuidefor2.x

213

Chapter4:SpreadsheetsinCalc

Numbers
Whilenumbersaredisplayedinvariousways,[Link]
example,'1'and'1. 0 'arethesame.

Enterthenumber12345.6789,forexample,andthenumberwillappearinthesheetwith
onlytwodecimalplaces,[Link],theexactnumberwithallfourdecimal
placesiskeptbytheprogram.
Fractionalnumberscanalsobeenteredinacellandusedforcalculation:
1. Enter01/5inacell.
2. PresstheEnterkeyand,intheinputline,[Link]
[Link]
willautomaticallyuse1/5anddisplaythis.
However,if01/2isentered,AutoCorrectreplacesthethreecharacters1, /and2witha
singlecharacter.Likewisewith1/4and3/[Link]>
AutoCorrect>Replacetab.
Ifmultidigitfractionssuchas1/ 10areneeded,changethecellformattothefractionview(
ContextmenuoftheCell,chooseFormatcells).Fractionssuchas12/ 31or12/32maybe
entered;however,thefractionsareautomaticallyscaleddownsothat,inthelastexample,
3/8isdisplayed.
SelectotherdisplayoptionsbychoosingFormat>[Link]
[Link],definepersonal
formats,thatcanthenbeappliedtonumbersorothercontentofaspreadsheets.
Therearevariouswaystoenterintegersstartingwithazero:

[Link]
apostrophe(forexample,'09 87).Theapostrophewillnotbeenteredinthecellandthe
[Link],nocalculationsarepossible.
Formatacellwithanumberformatsuchas\[Link]
FormatcodeboxunderFormat>Cells...>Numberstabanddefinesthecelldisplayas
alwaysputazerofirstandthentheinteger,havingatleastthreeplaces,andfilledwith
zerosattheleftiflessthanthreedigits.

Entirecolumns,(withnumbersintextformati.e.intheformof00 0123)canbeturnedinto
realnumbersagain(withoutzerosinfrontofthem,i.e.intheformof123)asfollows:
1. [Link]
columnasNumber.
2. CallupEdit>Find&Replace
OpenOffice.orgUserGuidefor2.x

214

Chapter4:SpreadsheetsinCalc

3. IntheSearchforbox,enter^[09]
4. IntheReplacewithboxenter:&
5. CheckRegularexpressions
6. CheckCurrentselectiononly
7. ClickReplaceAll
CellsintheCurrencyFormat
[Link]
theobjectlistformatsthenumberandthecellisgiventhedefaultcurrency
[Link]>OptionsLanguageSettings
>Languages.
Withoutcurrencyformats,theinternationalexchangeofCalcdocumentscouldleadto
[Link],anCalcdocumentisloadedbyauserwhousesadifferent
defaultcurrencyformat.

OpenOffice.orgUserGuidefor2.x

215

Chapter4:SpreadsheetsinCalc

InCalc,userscandefineanumber,formattedas1,2 34.50,toremaininEurosin
[Link]
toinfluencethecurrencyformat(ChooseFormat>Cells>Numberstab)bytwocountry
[Link],decimaland
[Link]
oftheformatdefinedbythelanguage.

If,forexample,thelanguageissettoDefaultandthelocaleissetasGerman,the
currencyformatwillbe1. 2 34,00and,perthelocaledefinition,apointisused
[Link]
subordinatecurrencyformat$English(US)fromintheFormatlistbox,togetthe
followingformat:$1. 2 34,[Link]
[Link]
remainsthesameasitissetinthelocalesetting.

OpenOffice.orgUserGuidefor2.x

216

Chapter4:SpreadsheetsinCalc

CalculatingWithformulae
[Link],andother
dataisalsopossiblesuchasformatdetails,thatspecifyhowthenumbersaretobeformatted.
Naturallytheformulaewillalsocontainarithmeticoperators,logicoperatorsorfunction
starts.
Whenusingthebasicarithmeticsigns(+,,*,/)informulae,rememberthatusingtheMultiplicationand
[Link]=SUM(A1:B1)it'sbettertowrite=A1+B1.
[Link],theresultoftheformula=1+2*3meanssomethingdifferent
than=(1+2)*3.

HerearesometypicalCalcformulae:
=A1+ 10

DisplaysthecontentsofcellA1plus10 .

=A1* 16%

Displays16% ofthecontentsofA1.

=A1*A2

DisplaystheresultofthemultiplicationofA1andA2.

=ROUND(A1;1)

RoundsthecontentsincellA1toonedecimalplace.

=EFFECTIVE(5%;12)

Calculatestheeffectiveinterestat5%annuallywith12
payments.

=B8SUM(B 10:B 14)

CalculatesthesumofthecellsB 10toB 14 minusthevalueof


B8.

=SUM(B8;SUM(B 10:B 14))

CalculatesthesumofcellsB 10toB 14 andaddsthevalueto


B8.

Itisalsopossibletonestfunctionsinformulae,[Link]
[Link],insteadofsimply=ROUND(A1;1),calculateand
roundasinefunctionusing=ROUND(SIN(A1);2).UsetheFunctionWizardtohelpform
nestedfunctions.

OpenOffice.orgUserGuidefor2.x

217

Chapter4:SpreadsheetsinCalc

CalculatingWithDatesandTimes
Inspreadsheetsuserscandomorethanjustdisplaydatesandtimes(bothtakenfromthe
internalclockofthecomputer).[Link]
instance,tofindoutexactlyone'sageinsecondsorhours,followthesesteps:

1. Openanewspreadsheet.
2. [Link],suchas.,1/3/48.
3. EnterthefollowingformulaincellA3:=NOW()A1
4. PressEnterorclicktheAccepticonontheformulabar(
dateformat.

).Theresultappearsin

5. Rightclickthiscell([Link])sincetheexerciseistoseethe
differencebetweentwodatesasanumberofdays,theformatofcellA3shouldbesetasa
number.
6. SelectFormatCells....
7. TheCellAttributesdialogueappears.
1. OntheNumberstab,[Link]
toGeneralwhichcauses,amongotherthings,theresultofcalculationscontaining
dateentriestoalsobedisplayedasadate.
2. Setthenumberformatto1,2 34,forexample.
3. PressOKtoclosethedialogue.
8. CellA3willnowcontainthenumberofdaysbetweentoday'sdateandthespecifieddate.
9. Experimentwithsomeadditionalformulae:
1. inA4enter=A3* 24tocalculatethehours.
2. inA5enter=A4*60fortheminutes.
3. inA6enter=A5*60forseconds.

OpenOffice.orgUserGuidefor2.x

218

Chapter4:SpreadsheetsinCalc

4. PresstheEnterkeyaftereachformula.
[Link]
arecalculatedasoftheexactmomentwhenthelastformulawasenteredandconfirmedby
[Link],althoughNOWcontinuously
changes,[Link],themenuitemCellContents>AutoCalculateis
normallyactive;however,[Link]
that,ifitwere,thecomputerwoulduseallitsresourcesupdatingthesheet.
Whenspreadsheetscontainaverylargeamountofdataorverycomplicatedformulaethat
maybemodifiedbeforeviewingthecalculationresults,itmaybeprudenttocancelor
[Link]
complexityandsizeofaspreadsheetincreases.
InsertingandEditingNotes
AnotemaybeassignedtoeachcellbychoosingInsert>[Link]
smallredsquare,thenoteindicator,[Link]
pointerisoverthecell,providedHelp>TipsorExtendedTipsisactive.

Foraselectedcell,[Link]
thenotevisibleuntiltheShowNotecommandisdeactivatedfromthecontextmenu.
Toeditapermanentlyvisiblenote,[Link]
deleted,thenthenoteitselfisdeleted.
AnotherwaytodeleteanoteisbychoosingEdit>DeleteContents,orcallingthesame
dialoguewiththeDeletekey.
SelectTools>Options>[Link]
bycheckingoruncheckingtheNoteindicatorbox.

OpenOffice.orgUserGuidefor2.x

219

Chapter4:SpreadsheetsinCalc

HandlingMultipleSheets
[Link],severalsheetslaidontopofeachother.
Eachsheethasitsownuniquenamedisplayedonthesheettabatthebottomofthewindow.

Additionalsheetscanbeappendedtoadocumentorinsertedinfrontofthecurrentsheet.
[Link]
Renameinthecontextmenutomodifythenameofasheet.
DisplayingMultipleSheets
Usethesenavigationbuttonstodisplaythesheettabsofalltheavailable
[Link]
[Link],clickonthename.

OpenOffice.orgUserGuidefor2.x

220

Chapter4:SpreadsheetsinCalc

Whenthereisinsufficientspacetodisplaythesheettabsonthelowerwindowborder,
increaseitbymovingtheseparatorbarbetweenthetabbarandthehorizontalscrollingbar
[Link]
sharestheavailablespacebetweenthesheettabsandhorizontalscrollbar.
WorkingWithMultipleSheets
Eachsheetofaspreadsheetiscompletelyindependentoftheothersheetsinaspreadsheet
[Link],the
[Link],selectall
threesheetstogetherandenterthedatainonlyoneofthesheets.
Selectingseveralsheetstogether,issimplyamatterofclickingthesheettabsofthesheetsin
[Link],
[Link],click
[Link]
whilepressingtheShiftkey,ensuresthatonlythisoneisselected.
[Link],
insteadofreferringto$A$1,Calcrefersto$Sheet 1.$A$1whichmakesmultisheet
referencingeasyandstraightforwardasshownintheexamplesbelow:.

ToaddressthefirstcellfrombothSheet1andSheet2inasinglereference,for
example,summarize,the3Dformulawillread=SUM(Sheet 1.A1:Sheet2.A1).The
sumfunctionhasoneaddendhere,namely,therangefromSheet1. A1toSheet
[Link](aslongasnomorecellsareincludedbetween
Sheet1andSheet2).Thesimpleformula(nota3Dformula)wouldonlylisttwo
addends:=SUM(Sheet 1.A1;Sheet2.A1).
ToincludeanysubsequentlyinsertedsheetsfoundbetweenSheet1andSheet2,the
formulawouldthenbe=SUM(Sheet 1.A1:Sheet2.B2).

Thefulladdressofacellalsocontainsthecompletepathandfilenameofthespreadsheet
[Link],initsfullform,thereferencetocellA1inSheet1ofthedocument
[Link]='[Link] 1.A1
under*UNIXwhere/homeisamountedfilesystemandusernamespecifiesthedirectory
[Link],thespecificationissimilarandcouldbe
='[Link] 1.A1wherethedriveisC:.
Note:thesinglequotessurroundingthefilename,andthe#characterthatdescribesthelocationwithinthefile,in
accordancewithURLconvention.

PrintingSpreadsheets
C
lickingthePrintFileDirectlyiconintheStandardtoolbarsendsallthesheetsinthedocumenttothe
[Link],ifthere'saprintrangeselected,[Link],selectthe
cellstobeprinted,thenusetheFormat>PrintRanges>[Link]
[Link].

OpenOffice.orgUserGuidefor2.x

221

Chapter4:SpreadsheetsinCalc

Toprinttheonlycurrentsheet,gotomenuFile>Print....InthePrintdialogue,selectthe
[Link],however,thereisselectedacertainrangeofcells,only
thosecellsareprintedandinthecolumnwidthasshowninthesheet.
Ifvarioussheetsaretoprintsimultaneously,forexample,Sheet1andSheet2,select
thembeforehand(holddowntheCtrlkeyandclickthesheettabs).Thewhitetabsarethe
[Link],gotothePrintdialogue,enabletheSelectionoptionandonlythe
[Link],remembertoclickthe
sheetthatisbeingworkedonwhileholdingdowntheShiftkeysothatonlythatsheetis
[Link].

OpenOffice.orgUserGuidefor2.x

222

Chapter4:SpreadsheetsinCalc

FormattingaSpreadsheet
[Link],suchastextsand
numbers,aregivencertainformats,andthecellsthemselvesareformattedwithdifferent
colours,bordersandotherattributes.
[Link],awide
selectionofcellStylesisprovidedandpersonalcellStylescanbedefinedinthesamewayas
onedoestextStyles.
Certainvaluesinspreadsheetsareoftengivenparticularemphasis,[Link]
[Link]
ispossibleusingtheConditionalFormattingforspreadsheetdocuments(coveredinalater
chapter.)
FormatingNumbers
Enteranumberintothesheet,forexample,12 34.5678 .Thisnumberwillbedisplayedin
thedefaultnumberformat,withtwodecimalplaces.Onewillsee12 34. 57whenthethe
[Link];internally,the
numberretainsallfourdecimalplacesafterthedecimalpoint.
1. SetthecursoratthenumberandchooseFormat>CellstostarttheCellAttributes
dialogue.
2. [Link],n
thebottomrightofthedialogue,showshowthecurrentnumberwillappearwitha
particularformat.
3. Thisdialoguealsoallowsdefiningotherattributes(inadditiontonumberformats)which
[Link],font,size,andcolourcanbe
definedontheFonttabpage.
Modifyingthenumberofthedecimalplacesdisplayedinacellissometimes
[Link]:AddDecimalPlaceor
NumberFormat:DeleteDecimalPlaceiconsontheobjectbar.
Dates

1. Likewise,fromthelistofoptions,thedateandtimecanbeformattedasdesired.
[Link]
[Link],sothatinthecalculationofdifferencefrom1/1/99to
1/1/ 01theresultwillcorrectlybetwoyears.

Tools>Options>[Link]>Generaldefinesuptowhichyearatwodigityear
xxshouldbedisplayedas20xx.

Thismeansthatifadateof1/1/30orhigherisentered,itwillbetreatedinternallyas
1/1/ [Link],forexample,1/1/20is
convertedinto1/1/2020.

OpenOffice.orgUserGuidefor2.x

223

Chapter4:SpreadsheetsinCalc

FormattingCellsandSheets
ThedistinctionbetweendirectandStyleformattingholdstrueforcellsaswellasfortext
documents,[Link]
[Link]
[Link]
Stylesfordocumentsthatareonlyprintedanddiscarded.
UsingAutoFormatforTables
AquickwaytoformatatableoracellrangeisofferedbytheFormatAutoFormat
[Link],firstselectthecellstowhichtoapplyAutoFormatting,including
thecolumnandrowheadersandanysumrowsorcolumns.Atleast3x3cellsmustbe
[Link].

ThepreviewshowsanexampleofhoweachselectedformatintheFormatpanelwilllook.
ClickOKtoapplytheformattotheselectedrangeinthespreadsheet.
Note:Ifthereisnochangeincolourofthecellcontents,thenunderTools>Options>[Link]>
View>ShoworintheViewmenu,[Link],thespecifiedcolourswillbe
used.

AuserformatcanalsobesetasanAutoFormat:
1. Formataspreadsheettoasdesired.
2. Selectthewholesheet,[Link](abovethe
firstrowheader).
3. CalluptheAutoFormatdialogueandclickAdd....Adialoguewillappearinwhichto
givethenewformataname.
[Link]
choosinganappropriatebackgroundcolourandapatternforthecellsinthesheet,an
eyeappealingspreadsheetiscreated.

OpenOffice.orgUserGuidefor2.x

224

Chapter4:SpreadsheetsinCalc

[Link]
thatisthendisplayed,selectwhichpropertiesofthechosenformataretobeexcludedfrom
[Link],removingthecheckmarkinfrontofFont,thefont
willnotbetakenintoaccountbytheAutoFormat.

LayoutofSpreadsheets
[Link]
applyadifferentlayoutforspreadsheets,aswellastablesintextdocuments.
DesigningSpreadsheetsClearly
[Link],herearethreedifferent
viewsofthesamesheet,varyingonlyinlayout:

Thisisasamplesheetwithoutanyspecialformatting,asitappearsbydefault.

TheabovegraphicshowsthesheetformattedusingoneoftheAutoFormats,itwilllook
appealingwithoutrequiringanyfurtherediting.

OpenOffice.orgUserGuidefor2.x

225

Chapter4:SpreadsheetsinCalc

Inthisexample,thesheethasbeenformattedwithcertaincellattributesintheFormat>
[Link]
inTools>Options>[Link]>Viewandagraphicsfileloadedasbackground
inFormat>Page>Background.
Note:AnimageloadedviaFormat>Page>Background,isonlyvisibleinprintorviaFile>PageView.
Forabackgroundimagetoappearonscreenaswell,insertthegraphicimagebychoosingInsert>Picture>
FromFileandputtheimagebehindthecellsbywayofthecontextmenucommandArrangement>Tothe
Background.
Tolaterselectthebackgroundimage,usetheNavigator.

FormattingTextinaSpreadsheet
1. Selectthetextforformatting.
2. Choosethedesiredtextattributesfromthespreadsheetobjectbar.
Note:Format>[Link]
Fonttabpage.

FormattingNumbersinaSpreadsheet
1. Selectthecellscontainingthenumberstobeformatted.
2. Toformatnumbersinthedefaultcurrencyformatoraspercentages,usetheiconsonthe
[Link],chooseFormat>Cells....Choosefromthe
presetformatsordefineapersonalformatontheNumberstabpage.
FormattingBordersandBackgroundsforCellsandPages
Basically,aformatcanbeassignedtoanygroupofcellsbyfirstselectingthecells(for
multipleselection,holddowntheCtrlkeywhenclicking),andthenactivatingtheCell
AttributesdialogueviaFormat>[Link],selectattributessuchasshadows
andbackgrounds.

Toapplyformattingattributestoanentiresheet,chooseFormat>[Link]
definingheadersandfooters,forexample,toappearoneachprintedpage.

OpenOffice.orgUserGuidefor2.x

226

Chapter4:SpreadsheetsinCalc

AddressingCells
Cellscanbeaddresseddirectlybymeansoftheircoordinatesintherowandcolumnmatrix.
Useabsoluteorrelativereferencing,orgivecellrangestheirownnames.
AddressesandReferences,AbsoluteandRelative
RelativeAddressing

ThecellincolumnA,[Link]
enteringthecoordinatesoftheupperleftcellofthearea,thenacolonfollowedbythe
[Link],thesquareformedbythefirstfourcellsin
theupperleftcornerisaddressedasA1:[Link],oneis
makingarelativereferencetoA1:[Link]
beadjustedautomaticallywhentheformulaearecopied.
AbsoluteAddressing

[Link]
eachletterandnumberinanabsolutereference,e.g.,$A$1:$B$2.
Calccanconvertthecurrentreference,inwhichthecursorispositionedintheinputline,
fromrelativetoabsoluteandviceversabypressingShift+[Link]
relativeaddresssuchasA1,thefirsttimethiskeycombinationispressed,bothrowand
columnaresettoabsolutereferences($A$1).Thesecondtime,onlytherow(A$1),andthe
thirdtime,onlythecolumn($A1).Pressingthekeycombinationoncemore,bothcolumn
androwreferencesareswitchedbacktorelative(A1)
[Link],forexampletheformula
=SUM(A1:C5;D 15:D 24)isclickedinacell,thetworeferencedareasinthesheetwillbe
[Link],theformulacomponentA1:C5maybeinblueandthe
[Link]
D 15:D 24canbemarkedinredinthesameway.
WhentoUseRelativeandAbsoluteReferences

Firstexaminewhathappenswithoutarelativereference.AssumeacalculationincellE1that
sumsthecellsinrangeA1:B2.TheformulatoenterintoE1wouldbe:=SUM(A1:B2).If,
later,anewcolumnmustbeinfrontofcolumnA,theelementstobeaddedwouldthenbein
B1:C2andtheformulawouldbeinF1,[Link],all
formulaewouldthereforehavetobecheckedandcorrectedinthecurrentsheet,andpossibly
inothersheets.
Fortunately,[Link],theformula
=SUM(A1:B2)isupdatedto=SUM(B1:C2).Rownumbersarealsoautomaticallyadjusted
[Link]
[Link]
caseonlytherelativereferenceswillbeadjustedbutnotanyabsolutereferences.

OpenOffice.orgUserGuidefor2.x

227

Chapter4:SpreadsheetsinCalc

[Link]
example,ifaformulathatreferstoexactlythiscelliscopiedrelativelytoacellbelowthe
originalcell,thereferencewillalsobemoveddownifthecellcoordinatesarenotdefinedas
[Link],referencescanalsochange
whenanexistingformulareferringtoparticularcellsiscopiedtoanotherareaofthesheet.
Assume,forexample,theformula=SUM(A1:A9)isenteredinrow10 butthecalculated
[Link],simplycopythisformulatothe
[Link]
=SUM(B1:B9).
Therearemanymethodstocopyaformula,oneofwhichis:
1. Selectthecellcontainingtheformula.
2. ChooseEdit>Copy,orpressCtrl+Ctocopyit.
3. Selectthecellintowhichtheformulaistobecopied.
4. ChooseEdit>Paste,orpressCtrl+[Link],
andallnonabsolutereferenceswillbeupdated.
[Link]
cellareasisasfollows:
1. Selectthecellcontainingtheformula.
2. Positionthemouseonthebottomrightofthehighlightedborderofthecell,andcontinue
holdingdownthemousebuttonuntilthepointerchangestoacrosshairsymbol.
3. Withthemousebuttonpressed,dragitdownortotherightoverallthecellsintowhich
theformulawillbecopied.
4. Uponreleasingthemousebutton,theformulawillbecopiedintothecellsand
automaticallyadjusted.
Wherevaluesandtextsmustnotbeautomaticallyadjusted,thenholddowntheCtrlkey
[Link],however,arealwaysadjustedaccordinglywhendragging.
[Link]
E1thatsumsthecellsinrangeA1:B2.TheformulatoenterintoE1wouldbe:
=SUM(A1:B2).If,later,anewcolumnmustbeinfrontofcolumnA,theelementstobe
addedwouldthenbeinB1:C2andtheformulawouldbeinF1,[Link]
thenewcolumn,allformulaewouldthereforehavetobecheckedandcorrectedinthecurrent
sheet,andpossiblyinothersheets.
Fortunately,[Link],theformula
=SUM(A1:B2)isupdatedto=SUM(B1:C2).Rownumbersarealsoautomaticallyadjusted
[Link].

OpenOffice.orgUserGuidefor2.x

228

Chapter4:SpreadsheetsinCalc

AddressingbyName
Aneatwayofmakingthereferencestocellsandcellrangesinformulaelegibleistogivethe
[Link],nametherangeA1:B2asStartthenintheformulasimplyenter
=SUM(Start).[Link]
[Link],rangenamescannotcontain
anyspaces.
Forexample,itismucheasiertoreadaformulaforsalestaxifwrittenas=Amount*
Tax_rateinsteadof=A5*[Link],cellA5wouldbenamedasAmountand
cellB2asTax_rate.

Inordertospecifyrangenames,followsthesesteps:
1. Firsthighlighttheareatobenamed.
2. SelectInsert>Names>Define,orusetheCtrl+F3keycombination.
3. Enterthenameforthefirstarea.
4. ClickAdd.
Othercellrangescanalsobenamedinthisdialoguebyenteringthedesirednameinthe
[Link]
namesforformulaeorpartsofformulaeneededmoreoften.
5. ClosethedialoguewithOK.
RecognizingNamesasAddressing
[Link],aslongasthe
[Link].

OpenOffice.orgUserGuidefor2.x

229

Chapter4:SpreadsheetsinCalc

Theautomaticformularecognitionallowsentering,forexample,theformula=SUM(Ju ly)
[Link].CellC8automaticallyshowsthe
formula=SUM(August),cellD8=SUM(September),[Link]
[Link]=SUM(London)incellE4.
TheNewYo rkentrymustbetreatedasaspecialcasebecausethisnamecontainsaspace.
Thus,itmustbeenclosedinsinglequotationmarks:=SUM('NewYo rk').
[Link]
=SUM(sum)[Link],enter=SUM(B8:D8)or=SUM(E3:E6).Thelatter
formulawillalsobeinsertedautomaticallyifthecursorisplacedincellE8andtheSumicon
intheFormulabarisclicked.
[Link],selectToolsOptions...>Spreadsheet
Document>CalculateandunchecktheboxinfrontofAutomaticallyfindcolumnand
rowlabels.
UseInsert>Names>Labels....todefineanynamesrequiredasshownintheprevious
section.
Note:Tohavenamesautomaticallyrecognized,namesmustconsistofalphanumericcharactersandthefirst
[Link](includingspaces),enclosethenamesinsingle
quotationmarks(').Whereasinglequotationmarkappearsinaname,e.g.,Jan'97,enterabackslashinfrontof
thequotationmark(Jan\'97).[Link].

Calcautomaticallyrecognizesanarea,calledarange,[Link]
determinewhichcellsmakeupaparticularrange,placethecellcursorinthedesiredrange
andpressCtrl+*butremembertouseonlythe*fromthenumericalkeypadas
Ctrl+Shift+8(theasteriskoverthe8)[Link].
OnlyCopyVisibleCells
Assumetheuserhashiddenareafewrowsorcolumnsinacellrangeandnowonlythe
visiblecellsaretobecopied.
Calcbehavesdifferentlydependingonthemethodusedtohidetheinvisiblecellsandwhatis
theintendedactiontobeperformeduponthem.
Method
CellswerefilteredoutbywayofAutoFilters,default
filtersorspecialfilters.

OpenOffice.orgUserGuidefor2.x

Result
Onlythevisiblecellsarecopied.

230

Chapter4:SpreadsheetsinCalc

Method

Result

Copythevisiblecells,forexample,withcopyand
pasteviatheclipboard,withthemiddlemousebutton
ordraganddropwhilepressingtheCtrlkey.
CellswerefilteredoutbywayofAutoFilters,default
filtersorspecialfilters.
Movethevisiblecells,forexample,bywayofcut
andpasteviatheclipboardordraganddropwithout
pressinganadditionalkey.

Allcells,includingthehiddenones,are
moved.

CellswerehiddenmanuallybywayoftheHide
commandinthecontextmenuoftheroworcolumn
headers,orthroughanoutline.
Copyormovethevisiblecells.

Allcells,includingthehiddenones,are
copiedormoved.

ReferencingaCellinAnotherDocument
Cellscanalsobereferencedinotherspreadsheets:
1. Forthefollowingexample,thesourcedocumentisnamed'C:\test\[Link]';and
itcontainsasheetnamedSheet1.
2. Openadifferentornewspreadsheetdocument.
3. PlacethecursorincellA1andenterthefollowingformula:
='C:\test\[Link]'#Sheet 1.A1
4. Alternatively,enterthefilenameasaURLdesignation:
='[Link] [Link]
Internetbyusing:='[Link] [Link]/test/[Link]'#Sheet 1.A1.
5. Dragtheboxinthelowerrightcorneroftheactivecelltoselectarangeofcells.
[Link].
Asaresult,thesheetnameisprecededwitha"$"signtodesignateitasanabsolute
reference.

OpenOffice.orgUserGuidefor2.x

231

Chapter4:SpreadsheetsinCalc

UsingReferencesinformulae
Sofarusershavebeenintroducedtoformulaecontainingabsolutevalues,absoluteand
[Link]
Wizard:[Link],withthehelpofthe
Wizard:Functions.
[Link],usethefunctionsWizardtocalculatethe
averageofmonthlysalesforeachlocation.

1. PositionthecursorincellB8,[Link]:
Functionsbyclickingitsiconontheformulabar.
2. [Link],
simplyleavethedefaultsettoallcategoriesandrepeatedlypresstheletterAuntilthe
AVERAGEfunctionisselected.
3. ClickNextintheWizard:[Link],anotherinputarea
willappearwhereonecanentertheargumentsofthefunction.
4. Clickintheinputfieldintowhichvaluesaretobeentered,inthiscasestartingwithfield
number1.EntereitherB3:B6orJanuaryorusethemousetoselectthatrangeinthe
[Link],simplyclickonthefirstcell,B3,holddownthemousebuttonanddragto
B6.

OpenOffice.orgUserGuidefor2.x

232

Chapter4:SpreadsheetsinCalc

Whiledraggingthemousetohighlightthedesiredrange,theWizarddialoguewillbe
[Link]
[Link]
byclickingtheShrink/Maximizebuttontotherightoftheinputfield.
5. Finally,clickOKtoclosetheWizard.
Theformulaiscalculatedaccordingtothegivenarguments,andthefinalresultappearsin
cellB8.
ReferencestoOtherSheets
Inanysheetcell,userscanshowareferencetoacellinanothersheet.
1. Openanew,emptyspreadsheet.
2. Forexample,enterincellA1ofSheet1thefollowingformulaandcompletetheinput
withtheEnterkey:
=Sheet2.A1
3. NowclickthesheettablabelledSheet2onthebottomwindowbordertogotoSheet2
ofthecurrentdocument.SetthecursorincellA1thereandentertextoranumber.
4. UponswitchingbacktoSheet1,seethesamecontentincellA1aswasenteredon
Sheet2.IfthecontentsofSheet2.A1change,thenthecontentsofSheet1.A1also
change.
[Link]
anotherspreadsheetinadditiontothenewspreadsheet,whichisalreadysavedasafile(this
doesnotworkunlessadocumenthaspreviouslybeensaved).
1. Ifthesamplesfromhttp://

[Link]

/[Link]/templates/areinstalled,
chooseFile>OpenandopentheMovie1documentfromthespreadsheetsamples.
2. Changebacktothenew,[Link]
enteranequalssigntobeginaformula.
3. NowswitchtothedocumentthathasMovie1loaded.ClickcellC3.
4. [Link]
[Link],thefollowingwillnowbelocatedthere:
In*NIX:
='[Link] [Link]'#$movievisits.C3

InWindows:
='[Link]
[Link]/share/samples/english/spreadsheets/Movie [Link]'#$movievisits.C3

5. Confirmtheformulabyclickingthegreencheckmark.
Thereferencetoacellofanotherdocumentthuscontainsthenameoftheotherdocumentin
singleinvertedcommas,thenahash#,thenthenameofthesheetintheotherdocument
followedbyapointandthenameofthecellthereC3.
OpenOffice.orgUserGuidefor2.x

233

Chapter4:SpreadsheetsinCalc

Thenameofthesheetautomaticallyreceivesaleadingdollarsign,sincethesheethas
absoluteaddressing.
Examinethenameoftheotherdocumentinthisformulaandnoticethatitiswrittenasa
[Link],supposing
thereisanInternetpagecontainingcurrentstockexchangeinformationinspreadsheetcells,
justfollowthesestepstoloadthispageinCalc:
1. InaCalcdocument,positionthecursorinthecellinwhichtostartinsertingtheexternal
data.
2. SelectInsert>[Link].
3. Inthedialogue,[Link]
followingway:(fictionalexample)[Link]
namefromthelocalornetworkfilesystemintheusualway,i.e.,viatheFile>Open
dialogue.
[Link],thatis,withoutdisplayingit.
InthelargelistboxoftheExternalDatadialoguearethenamesofallthesheetsorareas
fromwhichtochoose.
4. Selectoneormoresheetsorareas,optionallyactivatetheautomaticupdatefunctionto
everynminutesandclickOK.
ThecontentsareinsertedasalinkintheCalcdocument.
5. [Link],Calcupdatesthelinkedcells.
6. UnderTools>Options>[Link]>General,choosetohavetheupdate,on
opening,executealways,[Link]
dialogueunderEdit>Links.

OpenOffice.orgUserGuidefor2.x

234

Chapter4:SpreadsheetsinCalc

UsingCharts
[Link]
anddiagramssuitedforillustratingthestructureofthedatacanbeselectedandcreatedfrom
aspreadsheet.
1. Openanexistingspreadsheetorenterdatainanewsheetwithrowandcolumnheadings.
2. Selectthedatatogetherwiththeheadings.
3.

LongclicktheInsertObjecticonfoundintheMaintoolbartodisplaythefloating
[Link]
symbolwithasmallchartsymbol.

4. Inthespreadsheetdocument,openaselectionrectangledefiningthelocationandsizeof
[Link].
5. Assoonasthemousebuttonisreleased,adialogueappearsthatmakesfurtherentries
[Link].

Thisexample,[Link],showsthe
numberoftimespeopleofdifferentagegroupsinvariouscitiesgotothemovietheatre
annually.

OpenOffice.orgUserGuidefor2.x

235

Chapter4:SpreadsheetsinCalc

Iftheagegroups,ratherthanthetowns,shouldappearonthehorizontalaxis,tiltthechart.
Aslongasthechartremainsselected,themaintoolbarcontainsaDatainColumnsicon.
Clickandrotateitwiththemouse.
[Link]
theindividualpartsofthechartor,withthechartselected,choosetheindividualfunctions
[Link],doubleclickingonthecolourpreviewinthelegend
[Link],clickingonthe
backgroundintheboxofthelegend,formatsthebackgroundtothelegend.
IfthechartwascreatedfromthedataofaCalcspreadsheet,clickingonthedataseriesinthe
chartbecomeshighlighted.
Supposethere'sanCalcspreadsheetinthebackground,andnowitneedstobe
[Link]
andselectthefirsttool,[Link]
byclicking.

InaCalcchart,[Link]
awaythatthelowest3Drepresentationsareasfarforwardaspossibleandthehigherones
[Link],usetheappropriatecommandfromthe
contextmenuofadataseriesorchooseFormat>[Link]
spreadsheetwillnotberearranged.
Note:WhenachartisinsertedinapresentationordrawingdocumentwiththeInsert>InsertChartfloating
toolbar,[Link],highlightthecellsinthe
spreadsheetwhosevaluesshouldbedisplayedinthechart.
InWriterdocumentstoo,[Link]
[Link],selectingInsert>Object>Chartalsoinsertsachartcontaining
[Link].
ValuesinachartcontainingsampledatacanbechangedbydoubleclickingonthechartandthenchoosingEdit>
[Link],thevaluesinthecellsofthetable
[Link],press(F9)toupdatethechart.
Modificationofchartdataisalsopossibleif,forexample,achartiscopiedachartfromaCalcdocumentintoa
[Link],however,onlythiscopyisbeing
editedandnottheoriginaldocument.

OpenOffice.orgUserGuidefor2.x

236

Chapter4:SpreadsheetsinCalc

Thetypeofchartcanalsobechanged,[Link]
Format>ChartType,adialogueappearsofferingvarioustypesfromwhichtochoose.

ExperimentwiththedifferentoptionsintheChartTypedialogue.Tryswitchingbetween2D
[Link],aCombinationChartoflinesand
columnscanbecreated.

Thethreedimensionalrepresentationsmakespecialeffectspossible.In3Dcharts,onecan
evenadjusttheilluminationsettings,suchaslightsource,ambientlightandthecolour
filter.
3Dchartscanberotatedandflippedwiththemouseforoptimaldesign.
BychoosingInsert>Statistics,userscanapplystatisticalindicatorstoXYcharts,suchas
standarddeviations,[Link]
logarithmicrepresentationoftheaxescanalsobesethere.
[Link]
Chart,[Link]
theGallerysuchasBullets.

OpenOffice.orgUserGuidefor2.x

237

Chapter4:SpreadsheetsinCalc

Inachart,individualdataseriesordatapointscanbeselectedbyclickingonthemandthen
openingthecontextmenutochooseoneofthenumerousoptionstoformattheview.
EditingChartTitles
SupposetheuserhasinsertedachartinaCalcdocumentandwantstochangethetitle.
1. Doubleclickonthechart.
Agrayborderappearsaroundthechartandthemenubarnowcontainscommandsfor
editingtheobjectsinthechart.
2. [Link]
nowbechanged.
3. PressReturntocreateanewline.
4. Asingleclickonthetitle,insteadofdoubleclicking,allowsmovingitwiththemouse.
5. SelectFormat>Title>[Link]
Titledialogue.
6. SelecttheCharacterstabtochangethefontorothersimilarattributes.
7. ClickOK.
8. Inthedocument,clickoutsidethecharttoexitcharteditingmode.
EditingChartLegends
SupposethereisachartinaCalcdocumentthatrequiresapplicationofacolourgradientto
thelegend.
1. Doubleclickonthechart.
Agrayborderappearsaroundthechartandthemenubarnowcontainscommandsfor
editingtheobjectsinthechart.
2. SelectFormat>[Link].
3. Selecttheappropriatetab,forexample,theAreatabformodifyingthebackgroundofthe
legend.
4. FromthepulldownlistselectGradient.
5. Selectagradientfromthelist.
6. ClickOK.
7. Inthedocument,clickoutsidethecharttoexitcharteditingmode.
Note:Userscandefinecustomgradients,hatching,[Link].
Toselectthelegend,firstdoubleclickonthechart(seestep1),[Link]
movedwithinthechartusingthemouse.

OpenOffice.orgUserGuidefor2.x

238

Chapter4:SpreadsheetsinCalc
Ifthelegendismovedoveranotherobjectofthechart,itsPropertiesdialoguecannolongerbeopenedbydouble
clickingonit,asCalcwon'[Link]
menuorclickonceonthelegend,[Link]
otherobjectsofthechart.

AddingTexturetoChartBars
Assignabartypetoabitmapratherthan,say,usingfullcolour.
1. Switchtoeditmodebydoubleclickingonthechart.
2. Doubleclickonthecorrespondingbar(allbarsofthiscolourarenowselected).
3. Fromthecontextmenu,selecttheObjectPropertiesentry
4. ChoosetheAreatabpage.
5. [Link].
6. ClickingOKtoacceptthesetting.
EditingChartAxis
WhenthescaleoftheverticalYaxisrequireschanging,dothefollowing:
1. Doubleclickonthechart.
Agrayborderappearsaroundthechartandthemenubarnowcontainscommandsfor
editingtheobjectsinthechart.
2. SelectFormat>Axis>YaxistoedittheYaxis,[Link]
[Link].
Tomodifythescaleofthexaxis,
1. SelecttheScaletabandmakeanyadjustments.
2. ClickOK.
3. Inthedocument,clickoutsidethecharttoexitcharteditingmode.

OpenOffice.orgUserGuidefor2.x

239

Chapter4:SpreadsheetsinCalc

DatabaseFunctionsinCalc
SpreadsheetsinCalcarealsoabletomanagerecordsconsistingofseveralfields,asina
[Link],whosefieldsarearrangedin
[Link],forexample,sortorgrouptheCalcdatabasebyrows,lookfor
keywordsandcalculatetotals.
Note:ThedatabaserangesinCalcspreadsheetshavenothingtodowiththedatabasesandspreadsheetsthatare
addressedinTools>DataSourcesandeditedinthedatasourcebrowser(F4).
InCalc,[Link]
spreadsheetintoadatabaseareaisaway,forexample,[Link],externalfilescanbe
importedintoaCalcspreadsheet,forexamplefilesindBaseformat,TherecordsfromthedBasefilewouldthen
becomerowsandthedatafieldswouldbecomecolumnsinaCalcspreadsheet.
Inthedatasourcebrowser,ontheotherhand,thedBasefile(orotherdatasource)isediteddirectly,andSQL
queries,forexample,maybeperformed.

DefiningDatabaseRanges
Forexample,ifauserwouldliketomanagethehouseholdbudgetwithCalc,enterthe
recordsinanemptyCalcspreadsheetandselecttheareaasadatabaserange.
CreatingRecordsinaSpreadsheet
[Link].
2. Enterthecolumntitlesinthefirstrow,e.g.DateincellA1,Itemincell
B1,[Link].

Toformatthesheetinthesamemannerasintheillustrationabove,proceedasfollows:
1. Selectrow1byclickingontherowheader.
2. ClicktheBoldicon.
3. SelecttheentirecolumnAbyclickingonthecolumnheader.
4. Openthecontextmenu
5. ChooseFormatCells.
6. IntheCellAttributesdialogue,clicktheNumberstab
OpenOffice.orgUserGuidefor2.x

240

Chapter4:SpreadsheetsinCalc

7. ChooseadateformatforColumnA.
8. SelectcolumnCbyclickingonthecolumnheader,
9. [Link]:Currencyiconontheobjectbar
issufficient.

OpenOffice.orgUserGuidefor2.x

241

Chapter4:SpreadsheetsinCalc

DefiningDatabaseRanges
1. Selectthethreecolumnareaanddefinetheselectedareaasadatabaserangebychoosing
Data>DefineRange.
2. [Link]
markthecheckboxContainscolumnheaderssothatthefirstrowiscorrectlytakeninto
[Link].
3. Enteranamefortherange
4. ClosethedialoguewithOK.

Theselectedrangeisnowdefinedasadatabaserange,whichamongotherthings,meansthat
therows(records)[Link]
forthedatabaserangewillalsobeupdated.
SortingDatabaseRanges
SelectarangeofcellsanddefinetheseasadatabaserangebychoosingData>Define
Range.

OpenOffice.orgUserGuidefor2.x

242

Chapter4:SpreadsheetsinCalc

SetthecursorinthedatabaserangeandchooseData>[Link],
selectthecolumntobesorted,froexample,Amount,asthesortcriterionandclickOK.

Uptotwoadditionalcriteriacanbespecified,onetofollowtheother,forthesortfunction.
Forinstance,sorttheexpendituresfirstbydate,thenbyitemiftheyhavethesamedate,and
thenbyamountiftheyhavethesamedateanditem.
FilteringDatabaseRanges
Tofilteroutonlycertainrecordssothattheycanbemodified,usethespreadsheetfiltering
[Link](inthatcaserange
definitionsarealsopossible),orcreatinganAutoFilterthatwillhelpfilteraccordingto
specificvaluesortext.
[Link]
[Link],onlythoserecordsthatoccurredafter1/2/2000and
whichapartfromthisinvolveanamountinexcessof100currencyunitsmustbeshown.
Hereisoneway:
1. Setthecursorinthedatabaserange
2. ChooseData>Filter>StandardFiltertoopenthedialogue.
3. Enterthefollowing:
OpenOffice.orgUserGuidefor2.x

243

Chapter4:SpreadsheetsinCalc

a) Date>1/2/2000ANDAmount>100.
Inthedialogue,theexistingcontentsofthedatafieldsinthepulldownlistscanbeselected,
oranamount,say100,canbeentereddirectly.

IfOKisclickedatthistime,[Link]>
Filter>RemoveFiltertoresettheview.
DisplayingonlyrecordswithaspecificcontentiseasilydonewiththeaidoftheAutoFilter:
1. Placethecursorinthedatabaserange.
2. [Link]
rangehavenowbeengivensmallbuttons.
3. ClickonthebuttonnexttotheDatefieldandselectforexample,1/2/[Link]
containthisdatewillbeshown.
Onthemaintoolbar,resettheviewwiththeAutoFiltericon.

OpenOffice.orgUserGuidefor2.x

244

Chapter4:SpreadsheetsinCalc

GroupingDatabaseRangesandCalculatingSubtotals
Assumingthereissampledatathatcanbeexpandedandactuallyusedforabudget,thedate
[Link]
steps.
1. Placethecursorinthedatabaserange.
2. ChooseData>[Link].
3. Specifythedesiredoptionsforcalculatingthesubtotals.
4. GroupsubtotalsaccordingtoDate([Link]),and
5. UsethefunctionSum(addsthesubtotals)tocalculateAmount.
6.

WhentheEnterkeyispressedorOKisclicked,thesheetwillbegroupedaccordingtothe
[Link],asubtotaliscalculated.

OpenOffice.orgUserGuidefor2.x

245

Chapter4:SpreadsheetsinCalc

Thegrandtotalisdisplayedatthebottom.

[Link]
records(rows)[Link]
[Link].
When1isclicked,onlythegrandtotalisdisplayed.Clicking2revealsthesubtotals,while
selecting3showsallelements.
TransferringDataFromaDataSourcetoaSpreadsheet
IndividualtablesofdatafromthedatasourcebrowseraretransferableintoaCalc
spreadsheetdocument.
[Link],thedesireddatabase
file,indBaseortextformat,tcanbeloadeddirectlyviatheFile>Opendialogue,inwhich
case,[Link],two,by
dragginganddroppingwhatisselected.
OpeningaDatabaseFileinCalc

[Link].
1. ChooseFile>Open.
2. Inthedialogue,gotothefolderwherethedatabasefileislocated.
3. EnterthenameofthefileorgototheFiletypelistbox,selectdBase,forexample.
4. Selectthename.
5. ClickOpen.
Toopenatextdocument,selectthefiletypeTextCSV.
OpenOffice.orgUserGuidefor2.x

246

Chapter4:SpreadsheetsinCalc

WhenmakingadBaseimport,adialogueopenfromwhichtochoosethecharactersetof
[Link],insomelanguages,databasescreatedunderDOSusedifferent
[Link]
usesCodepage4 37(US).

4. AfterconfirmingthisdialoguewithOK,thedatabasefileisloadedintheCalcspreadsheet
document.

[Link]
informationiscontainedasdBaseheaderinthefile.(WhensavingaCalcsheetwiththefile
typedBase,thefirstrowofdataisusedtocreatetheheaderinformation.)
Beforeworkingonthedatainthespreadsheet,wewouldliketointroducethesecondmethod
fortransferringselectedrecordsfromthedatasourceviewtotheCalcspreadsheet.
DraggingandDroppingCopiesintoSpreadsheets
Thismethodworkswithallformats,andusershavethechoiceoftransferringalloronly
[Link],logintothedatasource
inCalc.
1. ChooseTools>DataSources.
2. TheDataSourceAdministrationdialogueopens.
3. ClickNewDataSource.
4. IntheDatabasetypefield,selectdBasetologintoadBasedatabase.
5. Clickthe...button
OpenOffice.orgUserGuidefor2.x

247

Chapter4:SpreadsheetsinCalc

6. Selectthefoldercontainingthedatabasefile(s)in*.dbfformat.
7. ClickOK.
8. IntheNamefield,enteranametobedisplayedforthedatasource.
9. ClickApply.
[Link](s)neededinthedata
sourceview.
[Link].
[Link](F4).
[Link](+)signnexttoTablestoviewtheexistingtablesinthedatabase.
[Link],each*.dbffileinthedirectoryisatableofitsown.
[Link].

Selecttherecordsandinsertthemintothespreadsheet.
1. Tomanuallyselectarecord(s)fortransferintothespreadsheet,clicktherowheaderofthe
record(thegrayfieldwithouttextattopleft).Clickthefirstandlastrecordrowheadersof
acontinuousrangeofrecordswhilepressingtheShiftkeytoselecttherange,orhold
downtheCtrlkeyandclickthedesiredrecordsindividually.
2. Dragtheselectedrecordstotherowheadersinthesheetwheretherecordsaretobe
[Link].
Toautomaticallytransferonlyspecificrecordsfromalargedatabaseintothespreadsheet,use
thefiltersinthedatasourcebrowser:
1. Setthecursorinthedatafieldwhichcontainsthedata(shouldbethesameinallfiltered
records).Forexample,tofilteronlyrecordsthathaveMainStreetintheiraddress,
placethecursorinafieldcontainingMainStreet.
2. ClicktheAutoFiltericon.
3. Nowonlytherecordscontainingtheprecisetext,MainStreet,arevisible.
4. [Link],usingtheShiftkeyasdescribed
above,dragtheselectedrecordsintothespreadsheetdocumentandreleasethemouse
buttonatthepointwherethefirstfieldshouldbeinserted.
OpenOffice.orgUserGuidefor2.x

248

Chapter4:SpreadsheetsinCalc

EvaluatingDataWithCalc
[Link]
[Link],analyzingthe
datathoroughlyismadeeasyviaconsolidation,GoalSeekandmultipleoperations.
DataPilot
TheDataPilothelpstoanalyzeandassessdatathathasalreadybeenentered.
Itallowstheuser,fromoneandthesamevalue,togeneratereportsasafunctionofthepoint
ofviewthatismostprominent.
Imagineadataanalysistablecontainingacompany'ssalesfigures,notonlyforspecific
productgroups,[Link]
whichisinterestingandpertinenttocurrentrequirements.

OpenOffice.orgUserGuidefor2.x

249

Chapter4:SpreadsheetsinCalc

WhatuseistheDataPilot?
AtablethathasbeencreatedwiththeDataPilotisaninteractivetable,[Link]
arranged,[Link]
[Link]
turnoverfiguresatregularintervalswhile,ontheother,itmayberelevanttoanalyzesales
figuresonaregionalbasis.
CreatingDataPilotTables
1. Selectthedatarangeofatabletogetherwiththerowandcolumnheadings.
2. ChooseData>DataPilot>[Link].
3. SelecttheoptionCurrentselection.
4. confirmwithOK..
5. ThecolumnheadingsofthetablewillbeshownasbuttonsintheDataPilotdialogue,
whichcanthenbepositionedviadraganddropasrequiredinthelayoutareasColumn,
RowandData.
6. [Link].

IfthebuttonisdroppedintheDataareaitwillbegivenacaptionthatalsoshowstheformula
thatwillbeusedinthedatarangetocreatethedata.

DoubleclickingononeofthefieldsintheDataareacallsuptheDataFielddialogue.

OpenOffice.orgUserGuidefor2.x

250

Chapter4:SpreadsheetsinCalc

[Link]
makeamultipleselection,presstheCtrlkeywhileclickingthefunctions.

Theorderofthebuttonscanbechangedatanytimebysimplymovingthemtoadifferent
positionintheareawiththemouse.
Replaceabuttonbydraggingittotheotherbuttons.
WhendoubleclickingoneofthebuttonsintheRoworColumnarea,theDataField
[Link],selectifandtowhatextentCalcshouldcalculateanddisplay
subtotals.

[Link]
defaultpositionisundertheselectedareaandtwolinesfurtherdowntheDataPilottable
isinsertedwithaboldoutline.

OpenOffice.orgUserGuidefor2.x

251

Chapter4:SpreadsheetsinCalc

SelectingDataPilotOutputRanges
[Link]
[Link]
requiredoutputareadoesnothaveaname,enterthecoordinatesoftheupperleftcellofthe
[Link]
themousealsoentersthecoordinates.
ByactivatingthecheckboxIgnoreemptyrows,thesewill,then,notbetakenintoaccount
whentheDataPilottableiscreated.
IfthecheckboxIdentifycategoriesisactivated,thecategorieswillberecognizedbymeans
oftheirheadingsandassignedaccordinglywhentheDataPilottableiscreated.
EditingDataPilotTables
ClickoneofthebuttonsinthetablethattheDataPilothascreatedandholdthemousebutton
[Link].
[Link]
buttonfromtherowtotheleftedgeofthetableisdraggedintothelineheadingsarea,a
[Link]
acolumnheadingtothatofalineheading.
Toremoveabuttonfromthetable,[Link]
[Link],thus,deleted.
Note:Doubleclickingonthenameofatableelementhidesorshowsthemergedelementsbelowit.

FilteringDataPilotTables
AlthoughtheDataPilottablesareusuallycreatedaccordingtouserrequirements,theremay
[Link]
case,filtersshouldbeusedthatapplyconditionstothedatasuchthatiftheconditionsarenot
mettheexcessdataisremovedfromthetables.
[Link]
[Link]
selectingdata.
UpdatingDataPilotTables
Ifthedataofthebasetablehaschanged,Calcrecalculatesthetablestobringtheanalysisup
[Link]:
1. Clickwiththerightmousebuttonononeofthebuttonfields
2. ChoosetheRefreshentryorchooseData>DataPilot>Refresh.
DeletingDataPilotTables
TodeleteaDataPilottable,selectanycellintheanalysistable,thenchooseData>
DataPilot>Delete.

OpenOffice.orgUserGuidefor2.x

252

Chapter4:SpreadsheetsinCalc

ConsolidatingData
Duringconsolidation,thecontentsofthecellsfromseveralsheetswillbecombinedinone
[Link],forexample,displaysthesum,thestandarddeviationorthe
varianceofthedata.
1. Openthedocumentthatcontainstheareastobeconsolidated.
2. ChooseData>ConsolidatetoopentheConsolidatedialogue.

3. FromtheSourceDataArealistbox,selectanareaasastartingpointtoconsolidatewith
otherareas.
4. Iftheareaisnotnamed,[Link]
[Link]
withthemouse.
5. ClickAddtoinserttheselectedareaasaConsolidationArea.
6. SelectadditionalareasandclickAddaftereachselection.
7. SpecifywheretodisplaytheresultbyselectingatargetareafromtheCopyresultstolist
box.
8. Ifthetargetareaisnotnamed,clickinthefieldnexttoCopyresultstoandenterthe
referenceofthetargetarea(orthetopleftcellinthetargetarea).Alternatively,selectthe
areausingthemouseorsimplypositionthecursorinthetopleftcellofthetargetarea.
9. Selectacalculationrulefordetermininghowthevaluesoftheconsolidationareasshould
[Link].
[Link].
OpenOffice.orgUserGuidefor2.x

253

Chapter4:SpreadsheetsinCalc

Ifanewsheet,independentfromthesourceareas,shouldnotbecreated,butretaininglinks
tothesourceareasorconsolidatingareasinwhichtheorderofrowsorcolumnsvariesis
preferred,,clicktheMorebuttonintheConsolidatedialogue.

1. SelectLinktoSourceDatatoinsertonlytheformulaethatgeneratetheresultsinthe
targetarea,[Link],anyvaluesmodifiedinthe
[Link]
inthetargetareaareinsertedinconsecutiverows,whichareautomaticallyorderedand
[Link],basedontheselectedcalculationrule,is
displayed.
2. UnderConsolidatebydothefollowing:
a) SelecteitherRowLabelsorColumnHeadersifthecellsofthesourceareaaretobe
consolidatedaccordingtoamatchingrowlabelorcolumnheaderratherthantothe
identicalpositionofthecellinthearea.
Toconsolidatebyroworcolumnheaders,thetextmustbecontainedintheselected
sourceareas,orincludedintheselectionwiththemouse.
Thedatafromtheconsolidationandtargetareasissavedwhenthedocumentissaved.
Openingadocumentlater,inwhichconsolidationhasbeendefined,thisdatawillagainbe
available.
Note:Thetextintheheadersorlabelsmustbeidentical,[Link]
roworcolumnlabeldoesnotmatchanythatexistinthetargetarea,itwillbeappendedasanewroworcolumn.
OpenOffice.orgUserGuidefor2.x

254

Chapter4:SpreadsheetsinCalc

ApplyingGoalSeek
WiththehelpofGoalSeekonecancalculateavaluethat,aspartofaformula,leadstothe
[Link]
variablevalueandtheresultoftheformula.
GoalSeekisbestillustratedbymeansofanexample.
Tocalculateannualinterest,createatablewiththevaluesforthecapital(C),numberof
years(n),andinterestrate(i).Theformulais:I=C*n*i/100
Note:Formulacanalsobeenteredusingthevariablenames:
Interestrate/100.

Interest=Capital*Year*

Inthisexample,theinvestmentcapitalof$ 150,000andaninterestrateof7. 5%is


calculatedtoresultinannualinterestincomeof$ 11,250.(Thecellsareformattedafter
calculation:A5andE5ascurrency,[Link]
automatically.)
Foreaseofuse,assignnamestocellssothattheycanbeusedintheformula.
NamingCells
Usingtheexamplegraphicabove:
1. SelectcellA5intheexample
2. SelectInsert>Names>[Link].
3. [Link],thereference:
$Sheet 1.$A$5isdisplayed.
4. Doublecheckforaccuracy.
5. ClickAdd.
6. Inthenextfield,enterani,setthecursorincellB5.
7. ClickAdd.
8. Next,enterannintheemptyfield,setthecursorincellC5,
9. ClickAdd.
[Link].

OpenOffice.orgUserGuidefor2.x

255

Chapter4:SpreadsheetsinCalc

11.NowentertheformulainE5usingthevariables=C*n*iinsteadof=A5*B5*C5.
StartGoalSeek
Assumeaninterestrateof7. 5%andthatthenumberofyears(1)willremainconstant.
However,theusermaywanttoknowhowmuchmoreorlessinvestmentwouldbeneededto
[Link],calculatehowmuchcapitalwouldberequired
foranannualreturnof$ 15,000byperformingthefollowingsteps:
1. PlacethecursorincellE5.
2. SelectTools>GoalSeekandtheGoalSeekdialogueappears.
3. Thecorrectcell,(E5),shouldalreadybeenteredinthefieldFormulaCell.
4. PlacethecursorinthefieldVariableCell.
5. Inthesheet,clickinthecell(A5)thatcontainsthevaluetobechanged.
6. Entertheexpectedresultoftheformula(i.e.,thedesiredvalue)[Link]
thisexample,thevalueis15,000.
7. ClickOK.
8. [Link]
[Link],clickYestoentertheresultincellA5.
ApplyingMultipleOperations
MultipleOperationsinColumnsorRows

Ifthedataofadatarangeisoneabovetheother(forcolumns)ornexttoeachother(for
rows),selectthedatarangetogetherwiththecellorcellrangenexttoorbelowitasthetarget
[Link]/Rowfield,[Link]
theFormulafield,enterthecellreferencetothecellwiththeformulathatappliestothedata
range.
Examples

Thecompanyproducestoyswhichsellfor$[Link]$2tomake,inaddition
towhichtherearefixedcostsof$10,[Link]
ifaparticularnumberoftoysaresold?
Considerthefollowingtable:

OpenOffice.orgUserGuidefor2.x

256

Chapter4:SpreadsheetsinCalc

CalculatingWithOneFormulaandOneVariable

1. Openanewspreadsheetforthistutorial.
2. Tocalculatetheprofit,firstenteranynumberasthequantity(itemssold)>inthis
[Link]=Quantity*(Selling
priceDirectcosts)Fixedcosts.EnterthisformulainB5.
3. IncolumnDentercertainannualsalesoneundertheother,e.g.instepsof500from500
to5000.
4. HighlighttherangeD2:E 11,andthusthevaluesincolumnDandtheemptycells
alongsideincolumnE.
5. ChooseData>Multipleoperations.
6. Withthecursorintheformulaefield,clickcellB5.
7. SetthecursorintheColumnfieldandclickcellB4.ThismeansthatthequantityinB4
isthevariableintheformulawhichisreplacedbythehighlightedcolumnvalues.
8. ClosethedialoguewithOK.
9. ProfitwillbedisplayedincolumnE.
CalculatingwithSeveralformulaeSimultaneously

1. Usethespreadsheetcreatedabove/
2. DeletecolumnE.
3. Enter=B5/B4inC5:.Thiscalculatestheannualprofitperitemsold.
4. SelecttherangeD2;F [Link].
5. SelectData>MultipleOperations.
6. Withthecursorintheformulaefield,markcellsB5throughC5.
7. SetthecursorintheColumnsfieldandclickcellB4.
8. ClosethedialoguewithOK.
9. ProfitwillbedisplayedincolumnEandtheannualprofitperitemincolumnF.
MultipleOperationsAcrossRowsandColumns
Calcallowsjointmultipleoperationsforcolumnsandrowsin,socalled,[Link]
formulacellhastorefertoboththedatarangearrangedinrowsandtheonearrangedin
[Link]
[Link]
enterthereferencetothefirstcelloftherangearrangedinrowsandtheColumnfieldthe
firstcelloftherangearrangedincolumns.

OpenOffice.orgUserGuidefor2.x

257

Chapter4:SpreadsheetsinCalc

CalculatingwithTwoVariables

[Link]
producedannually,butalsothesellingprice,andcalculatetheprofitineachcase.
ExpandthetableshownabovesothatD2throughD 11containthenumbers500,1000and
soon,upto5000.InE1throughH1enterthenumbers8,10 ,15 and20.

Sellingprice

10

Directcosts

Fixedcosts

4
5

10

500

7000

6000

10000

1000

4000

2000

Quantity

2000

1500

1000

2000

Profit

=B4*(B1>B2)>B3

2000

2000

6000

1. HighlighttherangeD1:H 11.
2. SelectData>MultipleOperations.
3. Withthecursorintheformulaefield,clickcellB5.
4. SetthecursorintheRowsfieldandclickcellB1.ThismeansthatB1,thesellingprice,is
thehorizontallyenteredvariable(withthevalues8,10,15 and20).
5. SetthecursorintheColumnfieldandclickinA1.ThismeansthatB4,thequantity,isthe
verticallyenteredvariable.
6. ClosethedialoguewithOK.
7. SeeprofitsintherangeE2:H [Link],pressing(F9)isneededtoupdatethe
table.

OpenOffice.orgUserGuidefor2.x

258

Chapter4:SpreadsheetsinCalc

UsingScenarios
Scenariosareimportantaidsformakingnumbersthataredependentoneachotherandtheir
resultingcalculationsvisible.
[Link],
createdinthismanner,andcompareitwithotherscenarios.
UsingReadyMadeScenarios
Ifthesamplesfrom[Link]
oneofthereadymadeexamplescenarioswithwhichtowork.
1. ChooseFile>New>TemplatesandDocumentsandfromthedialogueopenthe
Samples.
2. Openthespreadsheetexamplestoseethespreadsheetdocumentsavailable.
3. DoubleclickthedocumentwithRecarinthename.
Thisisasamplespreadsheetinwhichseveralscenarioshavebeencreated.
Areasinwhichthescenariosthatdifferbyinitialvaluesarelocatedaresurroundedby
[Link].
ScenarioscanalsobeselectedintheNavigator:
1. OpentheNavigatorwiththeF5keyortheNavigatoriconontheStandardtoolbar.
2. ClicktheScenariosiconintheNavigator(theiconwiththequestionandexclamation
marks).
IntheNavigator,seethedefinedscenarioswiththecommentsthatwereenteredwhenthe
scenarioswerecreated.
CreatingPersonalScenarios
Assumingthatthespreadsheetusedintheprevioussectionisavailable,createascenarioby
[Link],createanadditional
scenariocalledHighDollarRateusingthefollowingsteps:
[Link].
Remember,multipleselectcellsthatarenotcontiguous,[Link]
table,[Link],holddowntheCtrlkeyaseachcellis
[Link],Inthiscase,simplyselecttherangeF 18:F23.
[Link]>Scenarios....TheCreateScenariodialogueappears.
3. EnterHighDollarRateasthenameofthescenarioandleavetheotherfieldsat
theirdefaultvalues.
4. [Link].

OpenOffice.orgUserGuidefor2.x

259

Chapter4:SpreadsheetsinCalc

[Link]
case,modifythedollarrateandallothervaluesthatcouldbeaffectedbyit,[Link]
[Link],momentslatertheresultsfromtheseoperating
figuresaredisplayed.
Todiscoverwhichvaluesinthescenarioaffectothervalues,chooseTools>Detective>
[Link]
currentcell.

OpenOffice.orgUserGuidefor2.x

260

Chapter4:SpreadsheetsinCalc

ValidityofCellContents
Foreachcelltheusercandefine,inadvance,whattypeofcontentswillbevalidforthiscell.
Thiswillmakeiteasierforotheruserstoemploythesesheetscorrectly.
[Link]
beeninsertedintothecell,orifavalueisinsertedinthecelleitherwithdraganddroporby
copyingandpasting,[Link]
cellscontaininvalidvalues,chooseTools>Detectiveatanytimeandselectthecommand
MarkInvalidData.
[Link].
UsingCellContentsValidity
1. [Link],selectmultiple
cellsbyclickingonallrespectivecellswhileholdingdowntheCtrlkey.

OpenOffice.orgUserGuidefor2.x

261

Chapter4:SpreadsheetsinCalc

[Link],
chooseEdit>CopyandEdit>PasteSpecial,andselectFor mat.
2. SelectData>Validation....TheDataValidationdialogueappears.
3. OntheValuestabpage,[Link]
alreadyenteredwillnotbeaffected.
4. InthefieldAllow,[Link]
[Link],chooseoneoftheotheroptions:WholeNumber,Decimal,
Date,Time,andTextLength.
5. [Link],forexample,WholeNumbers,values
suchas12.5arenotallowed,eveniftheysatisfytheotherconditions.
ChoosingDateallowsdateinformationbothintheform1/1/ 97aswellasintheform
[Link],theTimeconditionpermitstimevaluesas12:00orserial
[Link].
6. AftersettingthefirstconditionunderAllow,selectthenextconditionunderData.
Accordingtowhatischosen,additionaltextfields(Value,MinimumandMaximum)
mayappeartofurtherspecifythecondition.
7. Afewpossibleconditionsresultingfromthisregistercouldbeasfollows:
Integergreaterthan1,Decimalbetween10and12.5,Dateearlierthanorequalto
1/1/2000,Timenotequalto00:00,Textwithalengthofmorethan2characters.
Aftertheconditionsforcellvalidityhavebeendetermined,ifanyvaluesaresubsequently
enteredwhichdonotmeettheconditions,[Link]
twotabsinthedialoguetospecifymoredetailedmessagestoaidauserworkingwitha
spreadsheet.

OntheInputHelptabpage,enterthetitleandthetextofthetip,whichwillthenbe
displayedifthecellisselected.
OntheErrorAlerttabpage,selecttheactiontobecarriedoutintheeventofanerror.
IfStopisselectedastheaction,invalidinputsarenotaccepted,andthepreviouscell
contentswillberetained.
SelectWarningorIn for mationtodisplayadialogueinwhichtheentrycaneitherbe
cancelled(thecellvaluewillberetained)oraccepted(evenifthenewvalueviolatesthe
validityrule).
IfMacroisselected,thenspecifythemacrotobecarriedoutintheeventofanerrorvia
theBrowsebutton.

OpenOffice.orgUserGuidefor2.x

262

Chapter4:SpreadsheetsinCalc

Samplemacro:
FunctionExampleValidity(CellValueasString,TableCellasString)
Dimmsgasstring
msg=Invalidvalue:&'&Cell Value&'"
msg=msg&intable:&'&TableCell&'"
MsgBoxmsg,16 ,"Errormessage"
EndFunction
Note:AfterchangingtheactionforacellontheErrorAlerttabpageandclosingthedialoguewithOK,another
cellmustbeselectedbeforethechangetakeseffect.

OpenOffice.orgUserGuidefor2.x

263

Chapter4:SpreadsheetsinCalc

PrintingorExportingSpreadsheets
[Link]
dataistopublishitontheInternetinHTMLformatorasPDFfiles.
PrintingSheetDetails
Whenprintingasheetonecanselectwhichdetailsaretobeprinted:

Rowandcolumnheaders

Sheetgrid

Notes

Objectsandgraphics

Charts

Drawingobjects

formulae

Tochoosethedetailsproceedasfollows.
1. Selectthesheetforprinting.
2. ChooseFormat>Page.
Thiscommandisnotvisibleoravailableifthesheetwasopenedwithwriteprotectionon.
Inthatcase,clicktheEditFileiconontheStandardtoolbar.
3. [Link]
4. ClickOK.
5. Printthedocument.
DefiningNumberofPagesforPrinting
Ifasheetistoolargeforasingleprintedpage,Calcprintsthecurrentsheetevenlydivided
[Link]
position,usersmaydefinethepagedistributionthemselves.
1. Gotothesheettobeprinted.
2. ChooseView>PageBreakPreview.
3. [Link]
automaticallycreatedprintrangesareindicatedbydarkbluelines,anduserdefinedones
[Link](linebreaksandcolumnbreaks)aremarkedasblack
lines.
4. [Link]
Contextmenu,includingaddinganadditionalprintrange,removingthescalingand
insertingadditionalmanuallineandcolumnbreaks.
OpenOffice.orgUserGuidefor2.x

264

Chapter4:SpreadsheetsinCalc

PrintingSheetsinLandscapeFormat
InordertoprintasheetuseoneofthenumberofinteractiveoptionsavailableunderView>
[Link],proceedasfollows:
1. Gotothesheetforprinting.
2. SelectFormat>Page.
[Link]
case,clicktheEditfileiconontheStandardtoolbar.
3. SelectthePagetab.
4. SelecttheLandscapepaperformat
5. ClickOK.
6. ChooseFile>PrinttoopenthePrintdialogue.
Dependingontheprinterdriverandtheoperatingsystem,itmaybenecessarytoclickthe
Propertiesbuttonandtochangetheprintertolandscapethere.
InthePrintdialogueunderPrintrange,selectthepagestobeprinted:

All>Allsheetswillbeprinted.
Pages>[Link]
[Link],inthePageBreakPreview,thatsheet1willbeprinted
on4pagesandonlythefirsttwopagesofsheet2,enter56here.
Selection>[Link],[Link]
nocellsareselected,allthosesheetswhosenames(atthebottomonthesheettabs)are
[Link]
maybechanged.

IfunderFormat>Printrangetheuserhasdefinedoneormoreprintranges,onlythe
contentsoftheseprintrangeswillbeprinted.
PrintingRowsorColumnsonEveryPage
[Link]
asfollows:
Page1

Page3

Page2

Page4

Thetoptworowsofthesheetshouldnotbeprintedonpages1and3,butshouldbethe
topmostrowsonprintpages2and4.ThefirstcolumnAshouldnotbeprintedonpages1
and2,butshouldbeonpages3and4.
1. SelectFormat>Printranges>EditandtheEditprintrangesdialogueopens.
2. ClicktheiconatthefarrightoftheRowstorepeatarea.
OpenOffice.orgUserGuidefor2.x

265

Chapter4:SpreadsheetsinCalc

Thedialogueshrinkssothatmoreofthesheetcanbedisplayed.
3. Selectthefirsttworowsand,forexample,clickcellA1anddragtoA2.
Intheshrunkendialoguetheuserwillsee$1:$2.Rows1and2arenowrowstorepeat.
4. [Link].
5. IfonealsowantscolumnAasacolumntorepeat,clicktheiconatthefarrightofthe
Columnstorepeatarea.
6. ClickcolumnA(notinthecolumnheader).
7. ClicktheiconagainatthefarrightoftheColumnstorepeatarea.
Note:Rowstorepeatarerowsfromthesheet.

8. Defineheadersandfooters,tobeprintedoneachprintpage,independentlyofthisvia
Format>Page.

OpenOffice.orgUserGuidefor2.x

266

Chapter4:SpreadsheetsinCalc

SavingandOpeningSheetsinHTML
SavingSheetsinHTML
[Link]
HTMLdocumentaheadingandalistofhyperlinksareautomaticallyaddedwhichleadtothe
individualsheetswithinthedocument.
[Link],inthe<SDVAL>HTMLtagtheexactinternal
numbervalueiswrittensothattheexactvaluesareavailablewhenopeningtheHTML
documentwithWriter.
[Link],chooseFile>SaveAs.
[Link],choosetheFiletypeHTMLDocument.
[Link].
OpeningSheetsinHTML
[Link]
document,clicktheEditFileiconontheStandardtoolbar.
[Link],whichmaybeselectedviathe
File>OpendialogueintheFiletypefield(payparticularattentiontothearea,asthename
Webpagesisalwaysthesame):

OpeninWriter/WebfilterWebpagesorasdefaultwhichdoesnotrequireselectinga
filter.
[Link]/Webarenowavailable,suchasShowHTML
source.

[Link].
[Link],pleasenotethatnotallediting
optionsthatWriterofferscanbesavedinHTMLformat.

IntheCalcfilteropenWebpages.
[Link],notethatnotalloptionsthat
CalcoffersforeditingcanbesavedinHTMLformat.

OpenOffice.orgUserGuidefor2.x

267

Chapter4:SpreadsheetsinCalc

formulaeandValuesasCSVFiles
[Link],which
containthecontentsofthecellsofatable/[Link],tabs,spaces,
[Link]
automaticallyputbetweeneitherquotationmarksorsinglequotes,asselected,while
numbersarewrittendirectly.
ExportingformulaeandValuesasCSVFiles
1. Selectthearea/tablethatistobewrittenasacsvfile.
2. Whereformulaearetobeexportedasformulae,[Link]=SUM(A1:B5),proceed
asfollows:
a) ChooseTools>Options>[Link]>View.
b) UnderDisplay,checktheformulaefield.
c) ClickOK.
Toexportthecalculationresultsinsteadoftheformulae,donotmarkformulae.
3. ChooseFile>SaveastoopentheSaveasdialogue.
4. IntheFiletypefieldselecttheformatTextCSV.
5. EnteranameandclickSave.
a) FromtheExportTextdialoguethatappears,selecttherecordsandthefieldandtext
delimitersforthedatatobeexported.
b) ConfirmwithOK.
Caution:Ifthenumberscontaincommasasthedecimalseparatoror
thousandsseparator,[Link]
containsdoublequotationmarks,selectthesinglequotationmarkas
separatorandviceversa.
6. Ifnecessary,aftersavingthedocument,uncheckformulaeinordertoseethecalculated
resultsinthetableagain.
ImportingaCSVFile
1. ChooseFile>Opentobringupthedialogue.
2. IntheFiletypefield,selecttheformatTextCS V.
3. Selectthefilefromthelist.
4. ClickOpen.
[Link],thefiletypeisautomaticallyrecognized.
5. TheImporttextfilesdialogueopens.
6. ClickOK.
OpenOffice.orgUserGuidefor2.x

268

Chapter4:SpreadsheetsinCalc

7. IftheCSVfilecontainsformulaeasformulae,uncheckformulae(inTools>Options>
[Link]>View),sothatthecalculatedresultsarevisibleinthetable.

OpenOffice.orgUserGuidefor2.x

269

Chapter4:SpreadsheetsinCalc

AutoFill
Copyingtext,valuesandothercellcontentstoaspreadsheetisveryeasilyusingthemouse.
[Link]
once,Calcformsalogicalseriesoutoftheinitialvalues,suchthat,ifcertaintextsareentered
thatareinsortlists,thelistwillbecontinuedaccordingly.
ApplyingSortLists
Bywayofexperiment,[Link]
[Link]
[Link],thehighlightedcellswillbe
filledwiththenamesofthemonths.
ThispredefinedseriescanbefoundunderTools>Options>[Link]/pen
>[Link],suchasalistofa
company'[Link]
repetitivetasksbysimplyenteringthenameinthelistwithwhichtostartandthenexpanding
thisentrybydraggingasdescribedabove.
AutomaticRowFilling
1. Enteranumberinacell.
2. Withthemousedragthebottomrightcornerofthecelldownwards.
3. Whenthemousebuttonisreleased,thecellsselectedinthismannerarefilledwith
numbers.Thestartingnumberisincreasedby1ineachcase.
Iftwoormoreadjacentcellshavebeenselected,thatcontaindifferentnumbers,andtheseare
draggedtogether,[Link]
example,ifA1containsthenumber1andA2thenumber3,thenjointcopyingofthetwo
cellsbydraggingdownwardscausestheprogressiontocontinuewith5,7,9,11 andsoon.
1. Firstselecttherangeinthetabletocompletelyfill.
2. SelectEdit>Fill>Rowtoopenthedialogue
3. Selectthetypeofprogression.e.g.
1. Select2asthestartingvalue,2astheincrementandgeometricprogressionasthe
progressiontype.
Inthiswayalistofthepowersof2isproduced.

OpenOffice.orgUserGuidefor2.x

270

Chapter4:SpreadsheetsinCalc

[Link],
toinsertthefirstdateofeachmonthoftheyearasrowheaders,proceedasfollows:
1. Enteradate,e.g.,1/1/99intoacell(withoutquotationmarks).
2. Highlightthiscellandthe11cellsbelowit.
3. SelectEdit>Fill>Series.
4. Inthedialogue,selectDateandMonth.
5. ClickOK.
Thefirstdateofeachmonthautomaticallyappearsintheselectedcells.
ProtectingSheets
Topreventthevaluesenteredinasheetfrombeingmodifiedbyanotherperson,protectthe
[Link],followthesesteps:
1. DisplaytheProtectSheetdialogue(Tools>ProtectDocument>Sheet).
2. Enterapassword,
3. ClickOK.
Likewisetheentiredocumentcanbeprotectedsothatitisonlypossibletoopenitby
enteringthepassword.

[Link]
attributecanbeturnedonandoffviatheCellProtectiontabpageoftheCellAttributes
dialogue,whichisopenedbychoosingFormat>CellsorviatheFormatCells...context
menucommand.
[Link],it
doesnottakeeffectuntiltheentiresheetand/[Link]
thisprotectionusingTools>ProtectDocument>Sheet...orTools>ProtectDocument
>Document....

OpenOffice.orgUserGuidefor2.x

271

Chapter4:SpreadsheetsinCalc

While apasswordcanbeappliedforprotectingthesheetandthedocument,thisisnot
[Link],ifapasswordisset,thenprotectioncanonlyberemovedlaterby
[Link],thereisstilleffectiveprotection
againstadocumentbeingaccidentallymodified.
[Link]
protectionpreventsthesheetsfrombeinginserted,deleted,resortedorrenamed.
Ifauserhasadocumentwithconfidentialdatathatshouldbeprotectedfrombeing
openedbyunauthorizedpersons,[Link]
protectionoftheentiredocumentdependentontheprotectionmechanismofcells,sheets
[Link],selectFile>Save
As...andchecktheSavewithPasswordcheckbox.

CreatingaReference
Ifauserwantstoinsertavalue,saytheresultofaprofitcalculation,intoanothersheetor
intoanotherspreadsheetdocument,areferencemustbecreated.
1. Selectthecellwheretoinserttheresult
2. Enter=.
3. Nextselectthecellthatcontainstheoriginalresult
4. PressEnter.
[Link]
automaticallyinsertedintothereferencecellandisalsoupdatedwhenchangesaremade
later.
[Link],either
choosetotransferacopyofthecell,asitnowstands,intotheotherdocumentorcreatealink
sothattheotherdocumentalwaysreflectsthecurrentcontentofthecell.
Aftersettingallthenecessarypreferencesandchanges,savethedocumentandprintit.
FurtherInformation
[Link]
protectedcells,firstdisabletheprotectionviaTools>ProtectDocument>Spreadsheet.
Thismustbedoneindividuallyforeveryprotectedsheet,includingthehiddensheets.

OpenOffice.orgUserGuidefor2.x

272

Chapter4:SpreadsheetsinCalc

Insertinganote
Tokeepanote,perhapsremindingonetosellacertainsharelateron,selecttherelevantcell
andchooseInsert>[Link].
Tomakethisnotevisibleallthetime,clickintherelevantcell(cellswithnoteshaveasmall
reddotinthecorner,provided"NoteIndicatorinTools>Options>[Link]
>Viewismarked),[Link],oneonlysees
thenotewhenthemousepointerismovedontothecell.
Insertingasheetintoanotherdocument
Selectthecellrangeandcopyittotheclipboard(CopyiconontheStandardtoolbar).Open
thedocumentintowhichtoinsertthesheet(generallyatextdocument)andinsertthesheet
(Insertcommand).
Displayingformulae
Todisplaythereferencesinthespreadsheets,chooseTools>Options>[Link]
Calc>[Link]
thecellcontainingtheformulaandthenclicktheWizard:Functionsiconontheformula
bar.
Usingprintranges
Printrangeshavebeenusedinthesampledocumenttoprintspecificallytargetedcells.
FreezingColumns
Selectthecolumntotherightofthecolumntobefrozen,sayalistofnames,byclickingon
thecolumnheader,[Link]
horizontally,[Link]
[Link]
forlargesheets.
SplittingaCalcWindow
Sometimesausermayneedtoworkwithaspreadsheetinwhichtheactivedataisindifferent
[Link]
[Link],andclickSplitintheWindowmenu.
[Link]
especiallyusefulforlargesheets.
ConditionalFormatting
Withthisfunction,[Link],if
thisisanemployeelist,usethisfeaturetoinstantlyfindoutifaparticularemployeeis
present,sick,oronvacation.
Todoso,usethefollowingsteps:
1. OpentheStylesandFormattingwindow(clicktheiconintheStandardtoolbar)
2. createthreeCellStyles.
3. FortheCellStyles,[Link]
thecaseoftheemployeelist,choose:Sick,VacationandPresent.
OpenOffice.orgUserGuidefor2.x

273

Chapter4:SpreadsheetsinCalc

4. ClickintheStylesandFormattingwindow,andopenthecontextmenuandclicktheNew
commandtoactivatetheCellStyledialogue.
5. OntheOrganize...tab,enterthewordSickandassignabackgroundcolourtotheCell
StylebywayoftheBackgroundtabpage.
6. ClickOK
7. RepeatthisprocessforthetworemainingCellStyles.
8. Now,usingthemouse,selecttherangetowhichtoapplytheconditionalformatting.
ChooseFormat>ConditionalFormattingtoopentheConditionalFormatting
dialogue.
9. ForCondition1define:Cellvalue>equalss(s=sick).IntheCellStylelistbox,
selecttheStyleSick.
10.ForCondition2define:Cellvalue>equalsv(v=vacation).IntheCellStylelistbox,
selecttheStyleVacation.
11.ForCondition3define:Cellvalue>equalp(p=present).IntheCellStylelistbox,
selecttheStylePresent.

Note:Theuseofquotationmarksisabsolutelynecessarytodefineconditions!

Uponenteringav(withoutquotationmarks)inacellinthepreviouslyselectedareaand
pressingtheEnterorArrowkey,thecellwillbedisplayedinthedefinedcolour.
Note:Amaximumofthreeconditionsispossible.

OpenOffice.orgUserGuidefor2.x

274

Chapter4:SpreadsheetsinCalc

DefiningValidity
Toavoidinvalidentriesinaspreadsheet,[Link]
thevalidityconditionistoapply,andopentheValiditydialogue(intheDatamenu).Onthe
Criteriatab,definetheacceptableentrycriteria(inthisexample:Textlength,equaland1)
intheappropriatelistsandfields.

Next,[Link]
[Link],enteran
appropriatetext([Link] lyv(vacation),p(present),ors(sick)are
validentries.).
Ifauserweretonowentermorethanoneletterinthecorrespondingcellinthesheet,the
messagedefinedaboveappears.
CreatingInputHelp
UsingtheValiditydialogue,customhelpfunctionscanbecreatedforapreviouslyselected
[Link].
Enteratitleintherespectivefield,[Link]
displayedasaHelptipfortheuser.

OpenOffice.orgUserGuidefor2.x

275

Chapter4:SpreadsheetsinCalc

LinkingSheetInformation
Theinformationcontainedinaschedulecanalsobeusedbylinkingittothevacation
accountsandautomaticallysubtractingusedvacationdays,forexample.

OpenOffice.orgUserGuidefor2.x

276

Chapter5:CreatingPresentationsWithImpress

Chapter5:CreatingPresentationsWithImpress
[Link]
severalslidestoformaslideshow,toanimatetheelementsontheslidesandtoassignspecial
[Link],intheoutlineviewmode,is
[Link]
slidesatanytime.
Thereareseveralwaystocreateapresentation:
UseWizardPresentation.

Usethetemplatesandsampledocumentssupplied,whicharemodifiedasnecessary.

Startwithanemptydocument.

[Link],allof
[Link],too.Pleasetakethetimetoreadchapter6on
[Link].
Thesampledocumentsreferencedinthissectionmaybefound,atthetimeofwriting,at
[Link]

OpenOffice.orgUserGuidefor2.x

277

Chapter5:CreatingPresentationsWithImpress

[Link]

OpenOffice.orgUserGuidefor2.x

278

Chapter5:CreatingPresentationsWithImpress

HowtoCreateaBasicPresentation
Thefollowingbriefstepbystepexampledemonstratesdifferentmethodsofhowtocreatea
presentationdocument.
Aswithtextdocuments,therearevariouswaystostartcreatingapresentation:

OpentheWizardPresentationbychoosingFile>Wizards>[Link]
[Link],switchoffthe
[Link]
Help.
ByturningofftheWizardinTools>Options>[Link]>General,a
new,emptydocument(forexample,bychoosingFile>New>Presentation)isopened.
Alternativelyopenanexistingpresentationdocumentthatismodifiedandsavedundera
differentname.
OruseoneofthemanytemplatesavailableintheTemplatesandDocumentsdialogue.
PressingShift+Ctrl+NopensthisdialogueoruseFile>New>Templatesand
Documents.

Formoreinformationonthevariousdialoguesusedhere,refertoHelp.
CreatingaPresentationWiththeWizard
1. ChooseFile>New>Presentation.

OpenOffice.orgUserGuidefor2.x

279

Chapter5:CreatingPresentationsWithImpress

[Link]
presentation,[Link]
option,[Link]
theminthelistbox.
2. Forthepurposesofthisexample,selectthetemplatenew_product_introandclick
[Link] yl [Link]
selectionofpresentationlayoutsavailabletochoosefromarefromthepredefined
[Link],alltemplatesaredisplayedas
PageSt yles.

Onthispage,however,[Link]
page,selectthepresentationmediumforthepresentation:Slide,Overhead,Screen
[Link],margins,andorientationofthepresentationwilldependon
theseselections.
3. Tocontinuefollowingthisexample,donotchangethebackgroundormediumofthe
[Link].

OpenOffice.orgUserGuidefor2.x

280

Chapter5:CreatingPresentationsWithImpress

4. PagethreeoftheWizarddealswiththeslidetransition.
a) InthefirstlistboxselecttheslideeffectCrossFadeFromLeft.
b) SelectthedefaultMediumforthespeedofchange.

5. SelectAutomaticallyasthepresentationtype([Link],
withfixedtimelapses,untiltheEscapekeyispressed).
6. Nowonecandeterminefurtherparameters:
a) UsetheDurationofpagespinboxtodeterminehowlongeachslideisshownbefore
[Link],adifferentdurationforeach
slidecanbesetindividually.
b) UsetheDurationofpausespinboxtodeterminehowlongthepausewillbeatendof
[Link],the
[Link].
TheDefaultpresentationtyperunsthepresentationfrombeginningtoendwithmanual
slidetransition,[Link].

OpenOffice.orgUserGuidefor2.x

281

Chapter5:CreatingPresentationsWithImpress

7. ClickNext.

8. Enteradditionaltextwhichthatshouldappearinthepresentationonpagefour.

OpenOffice.orgUserGuidefor2.x

282

Chapter5:CreatingPresentationsWithImpress

9. ClickNext.
ThefifthandfinalpageoftheWizarddeterminesthenumberoftheslidesneededinthe
[Link]
aresomeslidestoberemovedfromthepresentation,clickthePageiconwiththegreen
[Link],whichindicatesthatthat
[Link],clickthepageicon
again.

[Link],theheadingsfromthefirstoutlinelevelwillbe
shown.
[Link],theAutoPilotcreatesanadditionallast
[Link]
thisisnotnecessary,sincemosttemplatesalreadyincludesuchapage.
[Link].

ClickingCreateonanyoftheWizardpagescreatesthedocumentandeliminatesthe
needtogothroughallthepagesoftheAutoPilot.
Oncecreated,edit,save,andprintorrunthepresentation,etcetera.
Tostartapresentationonacomputerscreen,simplypressCtrl+F2keyor
clickthePresentationicononthemaintoolbar.

OpenOffice.orgUserGuidefor2.x

283

Chapter5:CreatingPresentationsWithImpress

CreatingaSimplePresentationWithouttheWizard
Thissectionexplains,withthehelpofasimpleexample,howtocreateapresentationbased
ononeoftheexistingtemplates.

Openanewpresentationdocumentbasedononeofthesuppliedtemplatesbychoosing
File>New>TemplatesandDocuments,orwithShift+Ctrl+N.
IntheTemplatesandDocumentsdialoguethatappears,clicktheTemplatesicononthe
[Link]
templates,suchasNotePad.
Nowthereisaslideinwhichanypredefinedtextcanbereplacewiththetextofchoice.

Note:IfthedocumentisintheMasterviewmodewhenopened,switchtotheSlideviewmodeusingthe
[Link]
inwhichitwaslastsaved.
IfTipsand/orExtendedtipsisenables,hoveringthemousepointer
overoneofthesewillpopupwhichiswhich.

Tocreateasecondslide,clicktheInsertSlide...commandinthesmallPresentation
window.(Ifthesmallpresentationwindowisnotvisible,clickthePresentationBoxOn/Off
icon
ontheObjectbar).Inthenextdialogue,selectapagelayoutandconfirmwith
OK.

AlternativelyonecanalsoclickinthearearightoftheSlide1tabtocreateanewslide,
[Link].
1. TheuserwillthenseeSlide2.
2. PressOK.
3. Clickonceonthelowertextframeanddeleteit,say,withtheDeletekey.
4. Clickinthetextframeatthetopandenteratitle.
5. Nextinserta3Dobjectbylongclickingthe3DObjectsicon
toolbar.

toopenitsfloating

6. SelecttheSphereicon.
7. ClickontheslidebelowtheLivein3Dtext,dragopena3Drectangle,andthenrelease
[Link],a3Dsphere.
8. Dragthesphereintothecentreoftheslideandenlargeitbydraggingoneofthehandlesin
[Link],holddowntheShiftkeysothatthesphereremainsa
sphere.

OpenOffice.orgUserGuidefor2.x

284

Chapter5:CreatingPresentationsWithImpress

9. Assignaninterestingcolourorcolourgradienttothespherebywayofthelistboxeson
theobjectbar.Placingabitmapasapatternona3Dobject,forexample,aworldmap
fromtheGalleryiscoveredinanotherchapter.

SavethepresentationbyeitherpressingtheCtrl+Sshortcutkeysandspecifyingthename
andlocationforthefileoruseFile>Saveasandagainspecifythelocationforstorage.
SwitchingPresentationViews
Totheright,abovetheverticalscrollbar,therearesomeiconsforswitchingviewsandfor
startingthepresentation.
DrawingView
OutlineView
SlideView
NotesView
HandoutView
StartSlideShow

OpenOffice.orgUserGuidefor2.x

285

Chapter5:CreatingPresentationsWithImpress

Totheleftofthehorizontalscrollbarinthedrawingview,notesviewandhandoutview,see
thefollowingicons:

SlideView

MasterView

LayerView

Navigation

ArrangingSlides
SwitchtotheSlideViewbyclickingtherespectiveiconabovetheverticalscrollbarlocated
[Link]
definedforthetransitionbetweenslides.

Outlineview

Intheslideview,changethesequenceoftheslidesbydraggingthemtoanyotherpositionin
thepresentation.
Longclickaslideintheslideviewtocopytheslideusingdraganddropwhilepressingthe
[Link]
[Link]
documents.

OpenOffice.orgUserGuidefor2.x

286

Chapter5:CreatingPresentationsWithImpress

Ifthecontextmenuofaselectedslideiscalledup,theShow/HideSlidecommandwillbe
[Link]
presentation,[Link]
presentationreceivesanamehighlightedingray.
IncorporatingSlideShowEffects
IntheSlideViewmode,definetransitioneffectstoprecedethedisplayofeachslide:
1. Clickonthesecondslideoncetoselectit.
2. OntheobjectbarunderTransition,selectAutomaticandenterthedesireddisplay
timeforthefirstslide,forexampl[Link].Thatmeansthatthesecondslidewillbe
displayedforoneminute.
3. SelectadesiredeffectfromtheEffectslistontheobjectbar.
4. Clickthesmallbuttontotheleftunderneaththesecondslidetopreviewtheselected
effects.
5. SavethepresentationagainusingCtrl+SorfromFile>Savemenuitem.
InSlideEffects

[Link]
slideuseCustomAnimations.
ShowingaPresentation
Byfollowingthepreviousstepsthereisnowafinishedpresentationreadyfordisplay.
Torunit,clicktheSlideShowicononthemaintoolbar,andthepresentationwill
startautomaticallyindefaultmode,thatistosay,infullscreenmode.
Clickoncewiththemouseandthesecondslidewillbedisplayed(precededbythedefined
transitioneffect).Afterthelastslide,ablackslideisdisplayed,whichmeansthatthe
[Link]
mayalsobeusedtostopthepresentationbeforetheend,asnecessary.
Atthispoint,moreslidesmaybeaddedtothepresentationorsomeoftheothereffects
attempted.

OpenOffice.orgUserGuidefor2.x

287

Chapter5:CreatingPresentationsWithImpress

EditingPresentations
ThissectionshowshowtousetheversatilefeaturesofImpresstofinetuneapresentation.
ManyofthemethodsavailableinDrawcanalsobeusedinImpress,suchasenteringtextand
convertingitinto3D,turningobjectsintocurvesandpolygons,editingconnectorsandglue
[Link],pleaserefertothechapteronDraw.
DefiningBackgroundcolours
Thebackgroundofaslideinapresentationordrawingdocumentcanbehandledeitherinthe
mastervieworbyassigninganotherPageStyletotheslidesorbymodifyingthecurrentPage
Style.

Switchtothemasterviewbyusingtheiconinthelowerlefthand
corneroftheworkarea.
[Link]
inthisview,whethercompanylogos,linesortext,aredisplayedinthebackgroundonall
slidesthatusethecurrentPageStyle(themasterpage).Thisallowsheadersandfooterson
[Link]
modifiedinthenormalSlideView.

Changeonlythebackgroundusedinthepresentationusingthefollowingsteps:
a) Rightclickinanyslide
b) ChooseSlide>PageSetup
c) SelecttheBackgroundtab
d) Chooseacolour,gradient,hatchingorbitmapforthebackground.
e) ClickOK
f) Thenextdialogueasksifthesettingsshouldapplytoallslidesorjusttothecurrent
[Link]
slides?",theBackgroundPresentationStylewillbemodifiedforthecurrentmaster
[Link]
No,meansthatonlythebackgroundofthecurrentslideismodified.

ModifythePresentationStylesintheStylesandFormattingwindowbyfollowingthese
steps:
1. OpentheStylesandFormattingwindow,
2. ClickthePresentationStylesicon,
StylesofthistypeintheStylesand

ifitisnotalreadyselected,toseeallexisting
Formattingwindow.

3. SelecttheBackgroundStyle.
4. RightclicktoopenthecontextmenuforthisStyleandchooseModify.
5. ChoosethebackgroundforallslideswiththecurrentPageStyle.
6. ClickOK.
OpenOffice.orgUserGuidefor2.x

288

Chapter5:CreatingPresentationsWithImpress
Notethatthismodificationisonlyvalidforthecurrentpresentationdocument.

SwitchingPageStyles
Thesubordinatedesignswhichmakeuptheslidedesigndeterminethewayanobjectlooks,
[Link],
assignadifferentslidedesigntoeachslideasdesired.
1. GototheslidethatistohaveadifferentMasterpage.
2. SelectFormat>Styles>SlideDesign...toopenthedialogue
3. ClickLoad....toseetheLoadSlideDesigndialogue.
4. Selectanewslidedesignfromthedialogue,[Link]
Backgrounds
5. ConfirmthiswithOK.
6. IftheExchangebackgroundpagecheckboxischecked,thenewslidedesignappliesto
[Link],thenthisactiononly
[Link],
andthusadifferentbackground,forexample,[Link],that
Exchangebackgroundpageisnotchecked,thebackgroundselectedwillnowbeassigned
totheslidecurrentlyinuse.
PresentationStyles

AspartofslidedesignthereareawholesetofPresentation
[Link]
andFormattingwindowtoseealistofthepredefined
[Link]
modificationsarevalidonlyforthoseslidesinthecurrent
documentthatusesthisslidedesignornewStylescreated.
ThebuiltinStyles,Outline1throughOutline9,enablethe
usertogivetheoutlinedheadingsandtopicsontheslidesa
uniformlook.
Openanew,emptypresentationwithaslidelayoutthat
[Link]
Title,Textissuitableforthispurpose.

1. ActivatetheoutlineviewmodebyclickingView>MasterView>OutlineView(starting
intheMenubar)orbypressingtheF12key.
Note:[Link]
anyoutlineischosen,noticethattheoutlinefunctionsarenotavailable.

OpenOffice.orgUserGuidefor2.x

289

Chapter5:CreatingPresentationsWithImpress

UsingOutlineView
[Link]
[Link]
asthesequenceoftheslidescanbeeasilymodified.

1. Thepreviewwindowshouldhaveopened;ifnot,itcanbeshownbychoosingView>
[Link],includingtext,
background,[Link]
bypressingtheCtrlkeyanddraggingthewindowtothepositionofchoice.
2. NowopentheStylesandFormattingwindoweitherbychoosingFormat>Stylesand
FormattingorwiththeF 11keyoropeningitifitisdocked.
3. Thecursorshouldnowbeblinkingnexttothesmalliconforslide1.
4. Enterthedesiredtext,forexampleFirstPage.Thiswillbethetitleforslide1.
5. PresstheEnterkey.Thisdisplaysasmalliconforslide2inthenextlineofthe
Outlineview.
6. Enteratitleforthesecondslide,forexample,SecondPage.
7. PresstheEnterkeyagaintogetthesmalliconforslide3.
8. [Link]
herewillbeasubtitleonslide2.
9. Continuetoentermoresubtitlesofthefirstlevelonpagetwo.
[Link]+[Link]
outofafirstlevelsubtopic.
ThelevelscreatedbyfollowingthesestepsautomaticallycontainthePresentationStylestitle,
outline1,outline2,[Link]
designassignedtothem,forexample,anewfont,[Link]
can,ofcourse,beedited(forexample,viatheStylesandFormattingwindow'scontext
menu).

OpenOffice.orgUserGuidefor2.x

290

Chapter5:CreatingPresentationsWithImpress

SlideTransitions,EffectsandAnimation
WithImpress,grabbinganaudience'sattentionusinganimatedobjectsandinterestingslide
transitionsiseasy.
AutomaticSlideTransition
Whenshowingaseriesofslides,usetheslidetransitioneffectstopresenttheminan
[Link],thecurrentslidecanrolloutofthewindowwhilethenew
[Link].
[Link]
fromthetopinthescrollbarontherightofthepresentationwindoworchooseView>
MasterView>SlideView.

Intheslideview,allslideswhichhaveaslidetransitioneffect,[Link]
buttontopreviewtheselectedeffect.
[Link].
EffectsforObjects
Theobjectsinaslidecanhavevariouseffects,forexample,theycanrollintothe
presentationfromtheleftside,thetextcanbeslowlydrawnonscreen,etcetera.
1.
2.

Master>Drawing).

AlltheseeffectscanbeassignedusingtheDrawingView(View>

AccesstheEffectswindow,[Link].

3. Selecttheobjecttowhichtoapplytheeffect.
4. OpentheEffectswindow
OpenOffice.orgUserGuidefor2.x

291

Chapter5:CreatingPresentationsWithImpress

5. Selectthedesiredeffect.
6.

ClicktheAssigniconintheEffectswindow,ordoubleclicktheeffecttoassignit.

7. Anobjectcanalsobefadedin(Effectsbutton)and,additionally,fadedout(intheEffects
window,ontheExtrastabclicktheObjectInvisibleicon)permouseclick.
[Link].
SelectingHiddenObjects
Toselectanobjectthatiscompletelycoveredbyanotherobject,clickonitspositionwhile
holdingdowntheAltkey.

Ifseveralobjectsarelyingontopofoneanother,everyAlt+clickselectsadifferent
[Link]
reverseorder.
[Link]
Shift+ Tabtogothroughtheobjectsinthereverseorder.

IndividualPresentations
Aslideshowpresentstheslidesinsequence,[Link]
slidesinthepresentation,eitherclicktheSlideShowicononthemaintoolbar,orusethe
keyboardshortcutCtrl+F2.
Presentationsusuallystartwiththefirstslide;however,tobeginwiththecurrentlyselected
slide,proceedasfollows:
1. ChooseTools>Options>[Link]>General.
2. IntheareaStartingthepresentation,checktheAlwayswithcurrentslidebox.
Note:thatthissettinghaspriorityovertheIndividualPresentationdescribedbelow.
Otheroptionspermittheusertoshowonlyortonevershowcertainslides:
1. Topreventdisplayofaslide,gototheSlideView(forexamplebychoosingView>
MasterView>SlidesView),selecttheslideandselectSlideShow>Show/HideSlide.
Thenameoftheselectedslidewillnowappearhighlightedingray,meaningthattheslide
willnotbeshown.
2. ChoosePresentation>Show/HideSlideagainwhentheslideshouldbeincludedagain.

OpenOffice.orgUserGuidefor2.x

292

Chapter5:CreatingPresentationsWithImpress

Amoreelegantwaytokeepindividualslideshiddenincertainpresentationscanbefound
underPresentation>CustomSlideShows.

1. OpentheSlideShow>CustomSlideShowsdialogue,
2. [Link].
3. Inthisdialogue,[Link],thereisalistoftheexisting
[Link]
arrowspointingtotheright.
4. [Link]
thecustomslideshow.
5. RearrangetheorderoftheslidesintherightfieldviaDrag&Drop.

OpenOffice.orgUserGuidefor2.x

293

Chapter5:CreatingPresentationsWithImpress

Exporting,PrintingandPresenting
[Link],
electronicallydisplayfinishedpresentations,printthepagesincolouronpaperorprinthigh
resolutiontransparencies,ortransferthemwhollyorpartiallytootherapplicationsandthen
[Link]
directlytoaprinter,orprintingittoafilethatmaythenbecopiedtoaprinter.
PrintingaPresentationSlide
InImpress,thecurrentdocumentiseasilyprintedbyclickingthePrintFileDirectlyiconin
[Link],accordingtotheprinterdefaultsettings,andno
[Link]
selectedand,inthisinstance,[Link]
asksforconfirmationofprintingthewholetextoronlytheselectedarea.
WhenprintingviathePrintdialogue,Impressofferschoicesofwhethertoprintonlya
selectedrangeofpages,onlycertainpagesidentifiedbytheirpagenumbersorallpagesof
[Link],whichisopenedviaFile>Printorby
pressingCtrl+P.
[Link],in
mostcases,thereareoptionstospecifywhethertoprinttheentirepresentation,certainslides,
[Link]
shouldbecollated.
ClicktheOptions...[Link]
text,drawingandpresentationdocuments,theBrochureoptionisavailablefortwotoapage
[Link]
anddoublesided,sothatthepagesneedonlybefoldedandfastenedinthemiddletocreatea
completebrochure.
Sincepresentationobjectsareusuallyintheformofvectorgraphics,theycanbeprintedout
[Link]
senttoafilmrecordingserviceortobeprintedonahighresolutioncolourprinterinaprint
shop,[Link]
thatcanbesenttothefilmrecordingserviceorcommercialprinter.
Note:firstinstallandselecttheprinterdriverfortheprinterorfilmrecorderthatwillbeusedbytheprintingor
[Link]
thereisnoPostScriptprinteravailable,[Link]
[Link],usespadmintoactivethisdriver.

OpenOffice.orgUserGuidefor2.x

294

Chapter5:CreatingPresentationsWithImpress

ExportingPresentationsasWebPages
WhentheWebPageexportfileformatischosen,ImpressautomaticallystartsanWizardto
[Link]
areconnectedtooneanotherbyhyperlinksandinwhichthegraphicsaresavedasGIFor
[Link]
additionalhyperlinks,forexample.
1. SelectFile>Export...
2. ChoosethefileformatHTML.
3. Enterafilename
4. ClickSave.
[Link],indetail,[Link]
Help.
IntheHTMLExportWizard,choosewhetherthecreatedInternetpresentationshould
containframes,benavigatesusinggraphicbuttonsorwithtextlinksandwhetheralink
shouldbeofferedonthehomepageallowingtheusertodownloadtheoriginalImpress
presentation.

OpenOffice.orgUserGuidefor2.x

295

Chapter5:CreatingPresentationsWithImpress

InadditiontotheexportofdefaultHTMLdocumentsandHTMLdocumentswithframes,
ImpressdocumentscanbeexportedasWebCastorintheautomaticmode.

WebCastexportautomaticallyproducesscriptsforwebserverswithPerlorASPsupport.
Thisformatallowsapresenter([Link]
accompanyingslideshowovertheInternet)tochangetheslidesontheviewers'browsers.

Note:Examplescanbefoundin<instdir>/[Link]<release>/share/config/webcast
where<instdir>isthedirectoryinwhichthenetworkorstandaloneinstallationislocated.

Automaticexporttakesoverthesettingsfortheviewingtimeofeachpageinthe
[Link],inwhichthepagesareturned
automatically.

Soundremindersforturningthepagescanalsobeexported,[Link]
thenbecopiedinthetargetdirectoryandplayedbackwhenaHTMLpageisloaded.
ExchangingDataviatheClipboard
Objectsinadrawingorpresentationdocumentcanalsobecopiedtotheclipboardandthen
[Link]
followingprocedure:
1. Selectanobjectinthecurrentdocument
2. CopyittotheclipboardwithCtrl+C.
3. Switchtotheapplicationintowhichtoinserttheobject.
4. InsertthecontentsoftheclipboardatthedesiredlocationwithCtrl+V.

OpenOffice.orgUserGuidefor2.x

296

Chapter5:CreatingPresentationsWithImpress

CreatingaBusinessReport
[Link]
example,itisassumedthatthepresentationwillbeshownviaacomputer.
CreatingaBusinessReportinPresentationForm
[Link],thissectionwillstartwitha
[Link],followthesesteps:
1. Createanemptypresentationdocument(File>New>Presentation).UsingWizard
[Link].
2. SelectEmptypresentation
3. [Link]
slidecanbedefined.
4. Enteranameandselectthedesiredlayout,[Link].

5. OntheTitleslideclickontheexistingtextandoverwriteitwithappropriatetext,
forexampleElegySoftwareandAnnualReport2003.

OpenOffice.orgUserGuidefor2.x

297

Chapter5:CreatingPresentationsWithImpress

6. Toinsertanotherslide,[Link]
nameforthenewslideandchoosealayout(inthecontextmenuoftheslidetab,click
ModifySlide).
Note:[Link],thelabelmightnot
[Link],descriptivenameslikeOvervieworIntroductionaremore
useful.

Insertadditionalslides,asnecessary,fromtheinsertmenuonthemaintoolbar(along
clickmaybeneeded).[Link]
thetaboftheslidetoedit,[Link],andthenclicktheOutlineViewiconabovethe
verticalscrollbar.
EnteringTextintheOutlineView
Toestablishanoutline,[Link],
promoteordemoteanoutlinepointonelevel,[Link]
iconsinthemaintoolbarcanalsobeusedtodeterminewhichoutlinelevelsaretobe
displayed.
IntheOutlineview,allslidesinthepresentationdocumentarelistedhierarchically,andthe
titleofeachslideisprecededbyaslideicon.
[Link]
subsectiontoaslidebyplacingthecursoratthestartoftherespectivelineandpressingthe
[Link]+ Tabkeycombinationtomovethelineuponelevelinthe
[Link],clicktheDrawingViewicon
(directlyabovetheOutlineViewicon)toreturntothenormalview.
ChangingtheSlideLayout
ChangingtheslidelayoutcanonlybedonewhileintheDrawingView(thefirsticoninthe
verticalscrollbar).Doubleclickthetaboftheslidetomodifyandselectthedesiredlayout
fromthepredefinedlayouts.
DesigningSlides
DesigningaslidecanonlybedoneintheDrawingView,andtheSelecttool
activated.

mustbe

Tochangethefontsizeandstyleofthetitle,forexample,selectitandassignnewattributes
fromtheFontandFontSizefieldsintheObjectbar.
Bordersmaybedefinedbyclickingtheparagraphtowhichtoapplytheborderanddefining
theattributesinthelistboxesLineWidthandLineStyle.
Toapplyauniformbackgroundandrecurringelements(companyname,subject)toallslides,
[Link]
[Link]
[Link]
toolbar,aframecanbeopenedforbackgroundtext.
UsingtheStylesandFormattingwindowisanexcellentmethodformanagingtheappearance
[Link]:
OpenOffice.orgUserGuidefor2.x

298

Chapter5:CreatingPresentationsWithImpress

1. OpentheStylesandFormattingwindowbyclickingtheStylesandFormattingiconin
theFormattingtoolbar.
2. ClickthePresentationStylesicon.
3. Selectabackgroundstyle,and
4. OpentheModifydialogueviathecontextmenu.
5. Clickthecorrespondingslidetabandmakeanychanges.
BymodifyingtheBackgroundStyle,allslidescanbeassignedthesamebackground.

Note:SincetheMasterViewcanbeactivatedatanytime,itisalwayspossibletomakechangesatalatertime.

OpenOffice.orgUserGuidefor2.x

299

Chapter5:CreatingPresentationsWithImpress

CreatingaSlideShow
Incompletingaslideshow,itisnecessarytotakeafewadditionalstepstoensurea
successfulpresentation.
DefiningorChangingSlideOrder
Tochangetheslideorder,clicktheSlideView
[Link]
mode,[Link]
[Link]
willbeinsertedisindicatedbyaverticalblackbar.
CreatingCrossFadeEffects
Toapplycrossfadeeffects,onemusthaveImpressintheSlideVieworDrawingView.

[Link]
applytotheslideTransitionusingthetwoleftlistboxes.
InDrawingView,chooseSlideShow>SlideTransitiontobringupthedialogueinwhich
[Link],selecttheoption
ManualTransitionwhichwillswitchfromoneslidetothenextinthepresentationon
clickingthemouseorpressingtherightarrowkey.
StartingPresentations
TheeasiestwaytostartapresentationisbyclickingtheSlideShowicon
onthe
maintoolbarorchooseSlideShow>[Link]
[Link]>SlideShowSettings.

OpenOffice.orgUserGuidefor2.x

300

Chapter5:CreatingPresentationsWithImpress

[Link]
anyotherdesiredoptions,andclickOK.

OpenOffice.orgUserGuidefor2.x

301

Chapter5:CreatingPresentationsWithImpress

WorkingwithConnectors
Inadditiontotheindividualframes,connectorsareimportantcomponentsofanorganization
[Link]
[Link],andafloating
windowwiththeavailabletypesappears.

Framesandconnectorscanbelinkedeitherfromedgetoedgeorfrommiddleto
middle,[Link].
"EdgetoEdgeConnectors
Selectthedesiredconnectorbyclickingit,[Link]
[Link](the
symbolwillbegivenadashedlineborder).Pressthemousebuttonanddragtheconnectorto
[Link],symbolsappearoneachedge
[Link](thatsymbolalso
receivesasmall,blackborder)andreleasethemousebutton.
Whenaframethatisconnectedtoanotherframeismoved,noticethattheconnectoralso
[Link],so
thatforminorshiftingoftheframes,[Link]
majorframemovements,however,itisoftennecessarytoreedit,becausetheconnectormay
shifttoadifferentposition.
Tochangethepositionofaconnector,[Link],atboththe
[Link],asmallsquare
[Link]
pointtothedesiredframe.

OpenOffice.orgUserGuidefor2.x

302

Chapter5:CreatingPresentationsWithImpress

"MiddletoMiddleConnectors
IfaconnectorisselectedfromtheConnectorsfloatingtoolbarandclickinthemiddleofone
oftheframes,ablack,[Link]
buttonanddragtheconnectorintothemiddleofanotherframe,whichalsoreceivesablack
border,andreleasethemousebutton.
Theadvantageofthismethodisthatwhentheframesaremovedlater,theconnectorfits
perfectly,sothatthebeginningandendoftheconnectorslieinthemiddleofeachframe.
Thisfunctioncomesinhandyinswitchingthepositionoftwoframesbecausetheconnectors
neednotbeeditedmanually.
EditingConnectors
Tochangethepropertiesofaconnector,selectitandclickConnector...inthecontextmenu
toopentheConnectordialogue.

[Link].
[Link]
[Link],openthe
[Link]
UsingaSnapGrid
Toworkwithgreaterprecision,[Link],clicktheoptionUse
SnapGridunderTools>Options>[Link]>[Link],onecan
alsoselectVisibleGridtohelppositiontheobjectsmoreeasily.

OpenOffice.orgUserGuidefor2.x

303

Chapter5:CreatingPresentationsWithImpress

EditingGluePoints
Bydefault,[Link],
usingthegluepoints,[Link]
detailedinstructions,refertotheHelp>Contents>Index>Searchterm>gluepoints;
using.

OpenOffice.orgUserGuidefor2.x

304

Chapter5:CreatingPresentationsWithImpress

HintsandTipsforaSuccessfulPresentation
UsingtheMouseasaPointer
Thereareoccasionswhenusingthemouseasapointerispreferabletoothermethods,sucha
[Link],selecttheoptionMousepointeraspenintheSlideShow
[Link]
[Link],doubleclickthemouse.
ChangingBulletSymbolsinOutlineView
TochangeabulletsymbolwhilstintheOutlineview,placethecursorinthedesired
line/paragraphandclicktheBulletsandNumberingicon(onlyvisibleintheObjectbarof
theOutlineview).Adialogueappearsfromwhichtochooseadifferentsymbol.
Inserting,DeletingandRenamingSlides
1. Toinsertanadditionalslide,dothefollowing:
a) Selecttheslidethatprecedeswherethenewslidewillbeput.
b) Nowclicktheemptyspacebetweenthattabandthehorizontalscrollbarandanew
slideappearswiththepagelayoutofthepreviousslide.
Alternatively,[Link]
InsertSlidedialogue,assignanametothenewslideanddefinealayout.
2. Deletingaslideiseasy.
a) Clickthetabatthebottomoftheworkareatoactivateitand
b) Openthecontextmenu.
c) ChooseDeleteSlideand
d) ConfirmthesubsequentwarningwithYestodeletetheslide.
3. [Link]:
a) Selecttherespectiveslidebyclickingthenameonthetab,
b) PresstheAltkeyand
c) [Link].

OpenOffice.orgUserGuidefor2.x

305

Chapter5:CreatingPresentationsWithImpress

CreatingandPrintingHandouts
Providinghandouts,tohelptheaudiencefollowapresentation,[Link]
handouts,[Link]
slidesandspacefornotes,theycanbeaveryhelpfulpresentationaid.
Intheverticalscrollbar,[Link]
thecontextmenu(SlideModifySlide...)tospecifyhowmanyslidesareprintedonasingle
sheetofpaper.

[Link],chooseFile>PrintandclickOptionsto
openadialogueinwhichtheuserchooseshowthehandoutshouldbeprinted.
OrganizingandPrintingNotes
[Link]
iconlocatedattherightofthedocumentwindowscrollbar.

Oncenotesareentered,printthembyselectingFile>Print...thenclickOptions....The
PrinterOptionsdialogueappears.
InthePrinterOptionsdialogue,intheContentsarea,[Link]
dialogue,selecttheslidesforprinting(allorspecificones)[Link]
backanddeselectNotesinthePrinterOptionsdialogue,otherwisethedocumentwill
alwaysbeprintedwithnotes.

OpenOffice.orgUserGuidefor2.x

306

Chapter5:CreatingPresentationsWithImpress
Note:[Link],
chooseTools>Options>[Link]...andselectthePrinttab.

UsingtheNavigator
MovequicklyfromslidetoslidebyopeningtheNavigator(functionkeyF5).Alltheslides
[Link]
slide.
EditJumpTargets
[Link]
interaction,click(againinbackgroundmode)ontheareawhilepressingtheAltkeyand
openthecontextmenuandchoosetheInteractioncommand.
ModifyingObjectSize
Tochangetheobjectsize,dragaselectionframearoundtherespectiveobjects.
Afterselectingtheframes,[Link]
thetabSize,applythesamesizetoallselectedframesunderthegroupboxSize.
Note:Alternatively,ratherthanusingaselectionframe,clickontheindividualobjectsandpresstheShiftkeyat
thesametimetomakeamultipleselection.

CreatingAdditionalObjects
Foradditionalobjects,[Link],positionthe
rectanglesinthedocumentandalignthemusingthesnaplines.
Note:Todisplayverticalandhorizontalsnaplines,clickontherespectiveruleranddragasnaplinefromtheruler
tothedesiredposition.

ChangingFontandFontSize
ChangefontsandfontsizesusingaStyle,sothatthesechangesonceonlyhavetobemade
[Link]
[Link],chooseModifytoopenthe
GraphicsStyle:Objectwithshadowdialogue,andclickontheFonttabtodefinethe
[Link],thetextinalloftheframeswillbedisplayed
accordingtotheselectedsettings.
Modifyingcolours
Toassignadifferentcolourtoaframe,usethemousetodragaselectionframe
[Link]
ofthesamename.
[Link]
[Link],allof
whichcanalsobeeditedandmodified.

OpenOffice.orgUserGuidefor2.x

307

Chapter5:CreatingPresentationsWithImpress

KeyboardNavigatingandSelectioninImpress
[Link]
Home,End,[Link]
[Link]
providesanoverviewofthekeysusedfornavigation.
Key

Function

+Ctrlkey

Right/leftarrow
keys
Up/downarrow
keys
Home
End
PgUp
PgDn

Goonecharactertotheleftorright.

Goonewordtotheleftorright.

Goonelineupordown.

NoAction.

Gotothebeginningofthecurrentline
Gototheendofthecurrentrow
Scrolltopreviousslide.
Scrollnextslide.

Gotothefirstslide.
Gotothelastslide.
Noaction.
Noaction.

OpenOffice.orgUserGuidefor2.x

308

Chapter6:CreatingDrawingswithDraw

Chapter6:CreatingDrawingswithDraw
[Link].
[Link]
orgraphics,openanemptydocumentanddesignalltheelementsbyhand,orworkwiththe
templatesandsamplegraphicsthatcanbereachedbyselectingFile>New>Templatesand
DocumentsordirectlyfromfromtheGallery,incthecaseofgraphics.
[Link]
[Link],itisalsopossibletoinsertpixelgraphics(bitmaps)intodraw
pagesatanytime.

[Link]
[Link].
CreatingandPublishingVectorGraphics
[Link]
belines,rectangles,[Link],
suchassize,colourofthesurfaces,colourofcontours,linkedfiles,associatedactionswhen
[Link].
Becauseofthevectortechnologyobjectscanberotatedinanydirectionandhavetheirsize
altered,[Link],asallofthe
objectscanbecontrolledindividually,theycanbemovedandoverlappedasrequired.
Creating3DObjects
[Link],spheres,cylindersandother3D
objects,canbecreated,rotatedatwillandeachobjectcanbeilluminatedindividuallyby
[Link]
gradients,allowquickandeasycreationofeyecatchingcompanyandInternetpresentations.
ManageOrganizationCharts
[Link],forexample,
[Link],connectorswill
[Link]
[Link],
whichmakesthecreationoftechnicaldrawingswithexplanatorytextseasier.
Drawing
Makestraightlines,freelines,beziercurvesandothertypesofrectanglesandgeometrical
figuresintheusualways.The3Dfunctionscanbeusedtocreate3Dobjectssuchascubes,
spheres,cylinders,[Link].
Choosecolouring,colouringwithbitmaptextures,perspectivesand/orilluminationtocreate
impressive3Dobjectsforinvitationcards,brochures,businesscardsandotherstationery.
[Link]'t
matteriftheyarevectororpixelgraphics.
OpenOffice.orgUserGuidefor2.x

309

Chapter6:CreatingDrawingswithDraw

Export
UseDrawtoquicklyandeasilycreatebuttonsandiconsforWebpagesetceteraandexport
themasGIF,JPG,PNGorotherformats.
Construct
[Link],defineagridtowhichan
objectcanbesnappedduringconstructionandmoving,ortemporarilysnapnewobjectsto
[Link]
[Link]
dimensionlineswhichcanbeusedinavarietyofways.
Integrate
And,incaseitisnotobvious,Drawallowstheusertoaddtexts,tables,chartsandformulae
[Link].

OpenOffice.orgUserGuidefor2.x

310

Chapter6:CreatingDrawingswithDraw

[Link]

[Link]
[Link].
[Link]
[Link]
leastHelp>Tipsisenabledsothathoveringthecursoroveraniconprovidesameaningful
[Link].
Note:thattheusercanalsoaccessfunctionsthroughthecontextmenuinsteadofusingmenucommands,which
makesforlessworkwiththemouse.

OpenOffice.orgUserGuidefor2.x

311

Chapter6:CreatingDrawingswithDraw

DrawingRectanglesandEllipsesandEnteringText
[Link](Draw)hasmanyfunctionsforcreatingandediting
[Link].
[Link].
OpenanewdrawingdocumentbychoosingFile>New>[Link]
drawingpage,noticethemaintoolbarontheleftandtheobjectbarfordrawingsatthetopof
[Link]>Toolbarscommand,addingtheoptionbarand/orthecolour
baratthebottomedgeofthewindowiseasyandusefulasshowninthefollowing
illustration:

Iftheseinstructionsareusedtocreateapresentationdocumentinsteadofanewdrawing
documentthennoticeoneofthevisibledifferencesbetweenImpressandDraw:Thebuttons
atthetoprightabovethescrollbar(onlyinImpress)indicatedrawingviewwhilethebuttons
atthebottomleftindicatetheslideview.
[Link],whichareonlyavailable
inImpressbyclickingthebuttonsattopright,[Link]
inthechapteronImpressandarealsodescribedinHelp.
Intheslidesview,theuserworksontheindividualslidesofthepresentation,whereasthe
[Link],thelayerview
[Link],thelayerviewiswhereobjectsthatarenot
alwayssupposedtobevisiblecanbemanaged.
[Link],thesetoolbarsprovide
[Link]
areopenedbylongclickingthecorrespondingicononthemaintoolbaruntilthefloating
[Link],itcanbemovedfromitsoriginalposition
andplacedanywhereelseintheworkarea.
LongclicktheRectangleiconto
openthefloatingtoolbarandclickontheRectangle
[Link].

OpenOffice.orgUserGuidefor2.x

312

Chapter6:CreatingDrawingswithDraw

1. [Link],includingabluefillandathinblack
[Link]
theobject.
2. [Link].
3. ClicktheEllipseicon
anddrawafewellipses.Alsotrydrawingafew3Dobjects,as
[Link].inthe3D(threedimension)
themeintheGallery.
4. Clickeachoftheobjectsandmodifythefillcolour,linecolour,andthelinewidthusing
thelistboxesandiconsontheobjectbar.

Note:Clickingonceonanytool,[Link]
toremainactiveuntilanothertoolischosen.
Defaults,suchasblueasthefillingcolour,[Link]
differentcolourontheobjectbarasthenewdefault.

OpenOffice.orgUserGuidefor2.x

313

Chapter6:CreatingDrawingswithDraw

RotatingandResizingObjects
Whenclickinganobjectforthefirsttime,eighthandlesappearwithwhichthesizemabe
[Link].
ClicktheRotateicononthemaintoolbarunderEffectsanddirectlyonthemaintoolbarin
Impress.
Whenthemousepointerispositionedoverahandle,the
pointerindicatesthattheobjectcanberotatedby
[Link],asmall
[Link]
[Link]
objectaredraggedwiththemouse,theobjectrotates
[Link]
sidesslantstheobjectinrelationtotheoppositeedge.
Clickontheobjectonceagaintodisplaytheeight
[Link],thehandleschangeandthetextcursorappears
[Link]
[Link]+Shift+Rto
refreshthescreen.
Toresizeanobject,simplyclickononeofthehandlesanddraguntiltheobjectisthesize
needed.

OpenOffice.orgUserGuidefor2.x

314

Chapter6:CreatingDrawingswithDraw

ArrangingandAligningObjects
ArrangingObjects

[Link]
ononeoftheiconsintheupperrowoftheArrangefloatingtoolbar,forexample,tomove
[Link],clickthe
[Link]
[Link]
movedtodosolater.
SelecttwoobjectsatthesametimebyholdingdowntheShiftkeyandclickingthe
objects,oneaftertheother,[Link]
objects.

AligningObjects

Whereobjectsareoverlappingandthepositionoftheindividual
objectsintheforegroundorbackgroundmustbechanged,use
eitherthecontextmenucommands,orusetheiconsonthe
Arrangefloatingtoolbar.

[Link],to
positionanobjectatexactlytheuppermarginofaslide,
forinstance,orcentretwoobjectsverticallyaboveeach
other,usetheiconsontheAlignmentfloatingtoolbar.

IfanindividualobjectisselectedandthenoneoftheiconsontheAlignmentfloating
toolbarisclicked,[Link]
together,willbealignedtoeachother.
[Link],atleast,threeobjectsare
selectedatonce,[Link],thiscommandcanbefound
inthecontextmenu,whileinDrawitisfoundasanoptionintheModifymenu.

Theselectedobjectsaredistributedsothattheirbordersormidpointsarethesamedistance
[Link]
fixedpoints,[Link]
usingthisfunction.
Note:[Link]
byclickingtheUndoiconontheStandardtoolbarorbypressingCtrl+[Link],it
reversesapreviousaction.

OpenOffice.orgUserGuidefor2.x

315

Chapter6:CreatingDrawingswithDraw

DrawingSectorsandSegments
[Link]
[Link].
Drawingsectorsofanellipseorcirclerequiresmultiplesteps,thoughtheprocessfunctions
intuitively:
1. OpentheEllipsefloatingtoolbarandclickontheCirclePieicon.
Thepointer
changestoacrosshairsymbolaccompaniedbyasmallsectorsymbol.
2. [Link]
movementofthemouse.
Note:[Link]
[Link]
thatthefirstclickdefinesthecentre,presstheAltkeywhiledraggingthemouse.

3. [Link]
radiuswhichfollowsthemovementofthemouseisdrawninthecircle.
4. Positiontheradiusatthepointwhereitiswantedsoastoplaceoneboundaryofthesector
andclickonce.
5. Nowwhenmovingthemouse,noticethatthefirstradiusissetandasecondradiusfollows
[Link].
[Link]
dimensionsofthedelimitingrectangle,formedwhenfirst
drawingtheshape,determinesthedimensionsoftheellipse.
Whendrawingasegment,proceedinexactlythesame
[Link]
isthatinthelaststepnosecondradiusfollowsthe
movementofthemouse,butratherasecant(straightline)
cutsthroughthecircle.
[Link]
processalsofunctionsasdescribedabovealthough,onlytheperimeteroftheellipseorthe
circleisdrawn.

OpenOffice.orgUserGuidefor2.x

316

Chapter6:CreatingDrawingswithDraw

EnteringText
Toenteratextinadrawing,decideifthetextshouldhaveanormalformatasinatext
documentorifthetextshouldbehandledasagraphicobjectthatcanberotated,expanded,
minimized,[Link](inaframewith
anarrow).
OpentheTextfloatingtoolbarfromthemaintoolbar.
Note:WhereAsianlanguagesupportisenabledunderTools>Options>LanguageSettings
>Languages,therewillbeadditionaliconsforenteringverticaltext.)

NormalText
1. EnternormaltextbyclickingtheTexticon.
2. Dragopenadelimitingframeinthedocumentwhichsetsthepositionandmaximum
[Link],extendtheframeinordertoincorporate
[Link];
buttheframecannotbemadesmallerthanthetextitself.
3. [Link]
[Link].
Whenthemouseisclickedanywhereonthedocumentotherthanthetext,texteditmodeis
[Link],[Link],it
can,forexample,[Link]
editeditagain,forexample,deletecharactersorsetadditionalfontattributes.
FittingTexttoFrames
1. WiththeFitTexttoFrameicon,drawadelimitingframewhichpredeterminesthe
positionandsizeofthetext.
2. Enteranytextintheframe.
3. Clickinanyfreeareaofthedocument.
Noticethattheenteredtextisscaledsothatitexactlyfitsintotheframe.

OpenOffice.orgUserGuidefor2.x

317

Chapter6:CreatingDrawingswithDraw

Callouts
1. UsingtheCalloutsicon,
dragthemousefromwherethecalloutarrowshouldpoint,
tothepointwherethecallouttextshouldappear.
2. Releasethemousebutton.
3. Editthesizeoftheframeofthecallout.
4. Tostartenteringtextintothecallout,[Link]
withawidegrayborder,indicatingtexteditmode.
5. Enterthecallouttext.
6. Changethelinepropertiesbyclickingontheline,openingthecontextmenuandclicking
[Link]
Linetabpage.
ConvertingTextInto3D
Selectedtextcanbetransformedintoa3DbodybychoosingConvert>To3Dfromthe
contextmenu.The3Dbodywillfilltheareacreatedforthetextframe.

3DtextcanberotatedusingtheRotateicon
theMaintoolbar.

fromtheEffectsfloatingtoolbaron

Byclickinginsidethedelimitingframeanddraggingwiththemousebuttonpressed,the
[Link],byclickingoneoftheeight
handlesanddraggingitwithapressedmousebutton,theobjectrotatesononlyoneaxis.
Thepivotpoint,whichfirstappearsasasmallcircleinthemiddle,[Link],
whilerotatingtheobject,itrotatesaroundthenewpivotpoint.Openthe3DEffectswindow
byclickingthe3DControllericonfromwhichanother,differentilluminationcanbeapplied
tothe3Dobject.The3DEffectswindowisdescribedinmoredetailinHelp.

OpenOffice.orgUserGuidefor2.x

318

Chapter6:CreatingDrawingswithDraw

Drawing,EditingandConverting
CurvesandObjects
Withvectorgraphicsindrawingandpresentationdocuments,designnotonlyellipsesand
rectangles,[Link]
andDrawmakeitveryeasytodrawandeditevenquiteunusualfigures.
DrawingCurves

1. ThetoolsfordrawingspecialshapesarefoundintheCurvesfloatingtoolbarindicatedby
thisicon
[Link]
intoanemptydrawingorpresentationdocument.

2. SelecttheCurve
[Link]
accompanyingsymbolthatindicatesthenewfunction.
3. Createacurveusingthemouse.
a) Thepointwherethemousebuttonisfirstclickeddeterminesthestartingpoint.
b) [Link]
pointwherethemousebuttonisreleased,definesthisdirection
c) Movingthemousewithoutholdingthebuttondownandthecurvewillfollowthe
movementofthemouse
d) Clickwherethesecondpointofthecurveshouldbe.
Byholdingdownthemousebutton,thedirectionofthecurvefromthesecondpointcan
bedefinedtothenextpoint(inthesamemanneraswasdoneatthestartingpoint),release
themouseandmovetothethirdpoint,clickagainandkeepthemousebuttonpressed,and
soon.
Butwhenthemousebuttonisreleasedafterclickingonthesecondpointofthecurve,and
anotherpointintheslideisclicked,[Link]
cornerpoint,thecurveabruptlychangesdirection,[Link]
pointthreedefinedasacornerpointinthisway,astraightsectionbetweenpointstwoand
threewillappear.
WhentheShiftkeyishelddown,[Link]
holdingdowntheAltkey,thecurvewillbeclosed,andanadditionalcurvecanbedrawn.
Thesecanbecombinedwiththefirstonetoformasingleobject.
4. Toendcurvedrawing,doubleclickthelastpointtobesetthencontinueworkingwith
othertools.
OpenOffice.orgUserGuidefor2.x

319

Chapter6:CreatingDrawingswithDraw

Thecurves,thathavebeendrawnusingtheabovesteps,[Link]
Bziercurvearecalleddatapoints.

[Link]
curvatureeithersideofthepoint.
[Link]
point.
Ifthecurveisnotsteadilycontinuedatthedatapoint,butinsteadformsacornerortip,it
[Link],thusgivinggood
controlovertheshapeofthecurve.

Note:Whenpreciselylinkingtwoexistingpointsinadrawingusinglines,clicktheLineicononthemaintoolbar
andalsoactivatetheoptionbarviaView>Toolbars>[Link]
toolbar.

EditingCurves
[Link],
whenitisnolongerselected,clicktheEditPointsiconontheobjectbarandselectthe
[Link],clickbrieflyonSelectonthemaintoolbar:
1. NowclickEditPointsonthefarleftoftheobjectbarorontheoptionbar.
2. [Link],andthereshouldbe
twoBzierlineswithcontrolpointsattheends.(Pleasenotethatsometimesoneofthe
controlpointsisdirectlyontopoftheBzierpointandthushardtosee.)Inthecaseof
cornerpoints,whichdefinerightangles,thecontrolpointsliedirectlyontheBzierpoint.
[Link]
[Link]
beexecuted.
Theobjectbarcontainsseveraliconswithwhichcan,amongotheroptions,changethe
[Link]
Help.
3. Toconvertthetypeofdatapoint,[Link]:
cornerpoint,smoothtransitionorsymmetrictransition.
4. Clickoneoftheiconstochangethetypeofpoint.
Ofcourse,curvescanalsobeeditedintheconventionalmanner,i.e.,changingwidth,
colour,and(inthecaseofafilledcurve)[Link]
[Link],usethecontext
menuortheFormatandModifymenus.
[Link]
doubleclicking,itisautomaticallyclosedandallinternalareasarefilled.

OpenOffice.orgUserGuidefor2.x

320

Chapter6:CreatingDrawingswithDraw

VectorizingBitmaps
WithDraworImpress,transformpixelimages,socalledbitmaps,intovectordrawings.
Oneoftheadvantagesofvectorgraphicsisthattheylookgoodinanyscalewhenprinted.
Thisisdifferentwhenprintingscaledbitmaps,sinceunattractiveeffectsmayappear,suchas
missingorzigzaglines,etcetera.
1. Selectthebitmaptovectorize,forexamplebyclickingonceontheobject.
2. SelectConvert>ToPolygonfromtheModifymenuinDraw
fromthecontextmenuoftheselectedobject.

.ForImpress,select

TheConverttoPolygondialogueenablessettingsomeparametersfortheconversionand
previewingtheresult.

3. ClickingonOKandtheselectedbitmapisnowavectorgraphic.

OpenOffice.orgUserGuidefor2.x

321

Chapter6:CreatingDrawingswithDraw

ConvertingTextCharacterstoCurves
Sometimesoneneedstofancyupsometext,sayforalogoorsign,suchthatthetextisnon
[Link].
1. UsetheTexticon fromtheTextfloatingtoolbaronthemaintoolbarandthentypethe
text,[Link]
sizeandfonttypetoavoidunnecessaryeditinglater.
2. Withthetextobjectstillselected,choosethecommandModify>[Link]
textisconvertedtoavectorobjectthatcanbeedited.
3. Ifthetextconsistsofmorethanonecharacter,thecharacterswillbedisplayedasa
[Link],[Link],usetheEnter
Groupcommandinthecontext
[Link]
charactertobeedited.
4. Now,clicktheEditPointsicon
ontheoptionbar(topleftinthegraphicbelow).
[Link],providesvarious
iconsforediting,insertinganddeletingpoints.

OpenOffice.orgUserGuidefor2.x

322

Chapter6:CreatingDrawingswithDraw

5. [Link]
distractionduringtheeditingprocess,temporarilychangeitto,say,10%graybychoosing
Format>Area.
ConvertingtoCurves,Polygons,3D
[Link]
thisconcept:

[Link],[Link]
nowbeselected.
ChooseModify>Convert(inImpressthecorrespondingcommandcanbeonthecontext
menuoftherectangle).Themenusubcommandsare:To Curve,To Po lygon,To
3D,To 3DRotationObject.
ChooseModify>Convert>[Link]
[Link],movethepoints,convertthem
fromcornerpointsintoroundedpoints,deletethem,insertnewpointsetceteraasthe
[Link]
underthesearchwordsEditpointsandBzierobjectbar.

ChooseModify>Convert>ToPolygontoconverttheoriginalrectangleintoaPo lygon
with4points,[Link],forexample,apolygon
[Link]
[Link]
separately.
Withapolygonselected,clicktheEditPointsicontomodifypoints,insertnewonesand
anythingelseneededinthismode.

OpenOffice.orgUserGuidefor2.x

323

Chapter6:CreatingDrawingswithDraw

SelectModify>Convert>To3D
togenerateathreedimensional
objectfromthetwodimensional
objectin(g)[Link]
conversionusesanextrusionmethodsuchthatthepolygonispulled
perpendiculartoitsplanebyacertainamountintothethirddimension.
3Dobjectcanberotatedandeditedviathe3DEffectswindowthatiscalledupfromthe
contextmenu.
Tocreatea3Dobjectbymeansofarotationextrusion,chooseModify>Convert>To
3DRotationObject.Apolygonwillberotated360degreesaroundanaxisintothethird
dimension.

Byrotatingarectanglealittlebitbeforeconvertingitintoa3Drotationobject,amore
strikingobjectwillbecreated.
Whiletheseexamplesshowedconversionofonlybasicobjects,suchassimplerectangles,
imaginehowmuchcanbedonewhenconvertingcomplexobjects.
Forexample,dragadrawingfromtheGallerytothepageandconvertitintoa3Dobject.
Drawpositionstheobjectscontainedinthedrawinginvarious3Dlevelscorrespondingto
[Link],in3DthestarsfromtheEuropeanflagstandout
vividlyfromthebluebackgroundoftheflag.
Mostobjectscanbeconvertedto3D:

OpenOffice.orgUserGuidefor2.x

324

Chapter6:CreatingDrawingswithDraw

Groupscanbeconvertedaslongastheycontainconvertibleobjects.

Bitmapswillbelaidasatextureoverarectangularobjectofadequatesize.

Metafileswillbebrokendownintoagroupofpolygonsandthenconverted.

Drawobjectswithtextonthemdisplaythetextinraisedformontheirsurface(e.g.a
rectanglewhichwasdoubleclickedandonwhichtextwasplaced).

OpenOffice.orgUserGuidefor2.x

325

Chapter6:CreatingDrawingswithDraw

WorkingWithObjects
Individualobjectsinanimpressordrawdocumentcanbeselected,copied,cutandpastedin
[Link]
[Link],objectsmaybeduplicated,[Link]
placedinthedrawingarea, suchasrectangles,circles,linesetcetera,aretreatedasobjects.
DuplicatingObjects
Objects,inDraw,[Link]
copiesofanobjectwhichdifferinconsistentdegreesfromonecopytothenextinposition,
orientation,size,andcolour.
Forexample,tocreateastackofcoins,usetheduplicatefunction.
Firstcreatethebottomcoinbydoingthefollowingasshowninthegraphicbelow:
1. [Link].
2. [Link]>Duplicate...commandtoopentheDuplicatedialogue.
3. [Link]:

Followthesestepstocreateastackofcoinsasshownontherightoftheabovegraphic:
1. [Link].
Enteringpositivevaluesinthefieldforthexaxisplacementcausesashifttotheright.
Ifthestackofcoinsshouldincreasefromthebottomup,enteranegativevalueinthey
direction(vertical).
2. Tomakethecoinstobecomesmallerthehighertheyget,enteranegativevalueforthe
widthandheight.

OpenOffice.orgUserGuidefor2.x

326

Chapter6:CreatingDrawingswithDraw

3. Finally,[Link],forexample,adarkeryellow
forthebeginningcolour(bottom)andalighteryellowcolourfortheendcolour(top).
4. ClickOKtocreatetheduplicates.

CrossFadingBetweenTwoObjects
ThecrossfadingfunctionisonlyavailablefordrawingsinDrawandnotinImpress
[Link]
objects,copyitfromthedrawingintothepresentationdocumentbywayoftheclipboard.
Intheprocessofcrossfadingatransitionbetweentwoobjectsiscalculatedandthe
[Link],theform,orientation,and
colouroftheobjects,aswellasotherattributes,areadjusteduniformly.
1. Forexample,inanemptydrawingdocument,drawanobjectatthebottomleftand
anotheroneattheupperright(usetwodifferentcolours).
2. Selectbothobjects.
3. SelectthecommandEdit>[Link]
bedefined.
4. ClickOK.
Drawcalculatestheincrementsanddisplaystheresults.

OpenOffice.orgUserGuidefor2.x

327

Chapter6:CreatingDrawingswithDraw

Thisnewobjectisagroupwhichconsistsofthespecified
numberofindividualobjects.EnterthegroupbypressingF3
[Link]
containsallthenecessarycommandsforworkingwithgroups
andthesefunctionscanbealsofoundinImpressunderthe
Format>Groupmenucommandorinthecontextmenu.
FurtherinformationcanbefoundinHelp.
1. WorkingWithaGroupofObjects
Severalobjectsatonetimecanbeselected,grouped,combined,merged,subtractedand
intersected.

Selectingseveralobjectsatthesametimehasatemporaryeffect;[Link]
isclickedelsewhereonthepageorslide,thegroupedareaisdeselected.
Groupingandcombiningarevaliduntilthegrouporthecombinationisdeselectedusing
thecommandfromthecontextmenuortheModifymenu.

Thesecommandscanalsobeusedtogrouptogetherseveralgroups,addacombinationand
combinetheresultsasagrouporcombination.
GroupingObjects

[Link],selectthemtogether,rightclickto
[Link]
[Link],groupscanbemoved,rotated,[Link]
object.
Forexample,indrawingabicycle,firstconstructawheel,composedofatire,rim,spokes,
andhub,[Link],
duplicateit,[Link],drawtheframe
andtherestofthebicycle,andformanewgroup.
Toeditanobjectthatispartofagroup,[Link]
[Link]
completed,
EnteringGroups

Enteragroupbyfirstselectingit,[Link]
selected,theusercandecidewhethertoemploythecontextmenucommand,theF3keyor
doubleclickingthegrouptoenterit.
ExitingGroups

Exitingagroupmaybeaccomplishedinthesethreeways:usingamenucommand,thekey
combination
Ctrl+F3,[Link]
selecteduponexit;thusmakingitpossibletoquicklyenterandexitagroupusingthe
keyboard.
OpenOffice.orgUserGuidefor2.x

328

Chapter6:CreatingDrawingswithDraw

NavigatingBetweenObjectsofaGroup

UsingtheTabandShift+ Tabkeystheusercanmoveforwardandbackwardalongthe
[Link]
objectwhilegoinginonedirection,thefirstobjectselectedwillappearnext.

OpenOffice.orgUserGuidefor2.x

329

Chapter6:CreatingDrawingswithDraw

CombiningObjectsandConstructingShapes
[Link]
objectscanbebroughttogethertocreatenewobjectsbyusingBooleansetoperatorsonthe
originalgeometry.
CombiningObjects
1. Selectseveralobjects.
2. ChooseCombinefromthecontextmenu.
Incontrasttogroups,whichconsistofsingleobjects,acombinationfusesthecomponent
[Link]
maybeundoneagainlater,buttheindividualobjectsmaynotberecoverable.
Theusershouldrecognizethepropertythatstandsoutthemostinacombinationwhenthe
[Link],thecombinationistheresultoftheBoolean/logical
operatorXOR,andshapes,discussedlater,[Link]
overlaparetheoneswhichstandoutthemostinacombination,astheywillbeconvertedinto
holes.

Intheillustration,severalobjectsareshowntotheleftastheyarebeforebeingcombined,
[Link]
farthesttotheback([Link]).
ConstructingShapes
ThecommandsShapes>Merge,SubtractandIntersectalsoformanewgeometricobject
[Link]
amountoperators(booleanO)onthesourcegeometries.
1. Selectseveralobjects.
2. [Link],chooseMerge,Subtractor
Intersect.
Inthefollowingillustrationstheoriginalshapesareshownontheleftandtheresultonthe
right.

OpenOffice.orgUserGuidefor2.x

330

Chapter6:CreatingDrawingswithDraw

ShapesMerge

Theselectedpolygonsaremergedsothattheymakeoneobject,the
surfaceofwhichisthesumofalltheparts(BooleanOR).
ShapesSubtract

Allotherpolygonsselectedaresubtractedfrom
[Link]
polygonsfirstbeingmergedandthensubtracted
fromthepolygonpositionedunder/behindallthe
[Link]
thisoperationcorrespondstothefollowing
formula:A>(B1|...|Bn)
ShapesIntersect
Theselectedpolygonsarejoinedintoonesinglepolygon
thatcorrespondstotheintersectionarea(BooleanAND).

Onlytheareawhereallpolygonsoverlapremains.

ChoosingShapes>SubtractandShapes>Intersectalsopermitscuttingpartsoutofa
[Link].

OpenOffice.orgUserGuidefor2.x

331

Chapter6:CreatingDrawingswithDraw

GraphicObjectsinDrawingsandPresentations
[Link],pixelgraphicsorbitmap
graphicsmayalsobeinsertedintopresentationsordrawingsanddocumentsorcertain
sectionsofadocumentcanbeexportedinapixelgraphicformat.
InsertingBitmaps
BitmapimagescanbeinsertedinanyWriter,Calc,DraworImpressdocument.
1. ChooseInsert>Picture.
2. [Link].
3. ChecktheLinkboxtohyperlinktotheoriginalfilewhereembeddingisnotneeded.
IftheLinkboxischecked,wheneverthedocumentisupdatedandloadedthebitmap
imageisreloaded,andanyeditingsteps,thathavebeenappliedtothelocalcopyofthe
imageinthedocument,arereappliedandtheimageisdisplayed.
IftheLinkboxisnotchecked,thecopycreatedwiththefirstinsertionisembeddedand
used.
4. ClickOpentoinserttheimage.
EditingBitmaps
Whenabitmapimageisselected,[Link]
localcopyiseditedinthedocument,evenifanimageisinsertedasalink.
[Link]
illustrationshowstheobjectbarinDraw:

AnumberoffiltersarelocatedontheFilterfloatingtoolbar,thatthe
usercanopenwiththeicononthefarleftoftheobjectbar.
Someofthefiltersopenanotherdialoguewhenstarted,andtheusercan
usetheseoptions,forexample,toselecttheintensityofthefilter.
Textandgraphicscanbeaddedtothebitmapimagebyselectingtheseobjectstogetherand
exportingtheselectionasanewbitmapimage.
ApplyingTexttoBitmaps

ToapplytexttoapixelimageandsaveitinJPEGformat,forexample,followthesesteps:
1. Openanewdrawingdocument.
2. InsertthepixelimagebychoosingInsert>Picture.
3. Unselecttheimagebyclickingsomewhereelseinthedocument.
OpenOffice.orgUserGuidefor2.x

332

Chapter6:CreatingDrawingswithDraw

4. OpentheTextfloatingtoolbarfromtheMaintoolbarandselectanoption;forexample,
theFitTexttoFrameicon.
5. Drawaframearoundthepixelimageandentersometextinsidethisframe.
6. Ifdesired,[Link]
automaticallytransparent.
7. [Link]
read2drawobjectsselected.
8. ChooseFile>Exportand,intheExportdialogue,
9. selectthefiletypeJPEGJointPhotographicExpertsGroup
[Link].
[Link].
[Link].
[Link]
thatthehigherthequality,thelargerwillthefilebe.
Whenagraphicobject(forexample,aninsertedPixelimage)isselectedinImpressorDraw,
[Link]
thecolourtone,brightnessandcontrastofthegraphicobject.
[Link]
valuesagraphicobjectbecomesseethrough,andobjectslyingbehinditwillbevisible.
[Link],thetransparencyissavedtoo.
NOTE:Whenexportedasagraphicformat,transparencyisonlysavedwherethegraphicformatsupportsthe
transparencyandthisfunctionisenabledatthetimeofexport.

SavingBitmaps
Savingchangestoabitmapimageasanimagefile,forexampleinoneoftheGIF,JPEGor
TIFFfileformats,isonlypossibleinDraworImpressbyselectingandexportingthebitmap
[Link]:
1. Selectthebitmapimage.
[Link]
orbyopenaframearoundallobjects,toinclude,say,textwiththebitmapimage.
2. ChooseFile>Exporttoopenthedialogue.
3. [Link],JPEGetcetera.
4. Toonlyexporttheselectedobjects,checktheSelectionbox.
IfSelectionisnotchecked,theentirepageofthedocumentisexported.
5. Enteranameforthefile.
6. ClickSave.
OpenOffice.orgUserGuidefor2.x

333

Chapter6:CreatingDrawingswithDraw

OpenOffice.orgUserGuidefor2.x

334

Chapter6:CreatingDrawingswithDraw

WorkingWithcolours
Theobjectbarhasalistboxfromwhichtochoosethecolourforaselectedobjectfroma
[Link]
thecolourofthefilling.
ThecolourBar
Ifwantedorneeded,thecolourbarcanbedisplayedontheedgeofadrawingor
[Link]
[Link],selectView>Toolbars>colourBar.
Thecolourbardisplaysallpredefinedcolourswiththeirrespectivenamesinthesameorder
[Link]
andthebottomofthelistbox.

ThefieldattopleftofthecolourbarisforthecolourInvisible.
[Link],holddowntheCtrlkey
anddoubleclickinthegraypartofthecolourbartoobtainamovable,variablesizewindow
[Link],itcanbe
movedbydraggingthetitlebaranditssizechangedbydraggingtheedgesorcornersofthe
[Link],holddownCtrlanddoubleclickonagrayareaofthe
floatingcolourbar.

OpenOffice.orgUserGuidefor2.x

335

Chapter6:CreatingDrawingswithDraw

DefiningCustomcolours
Anynumberofcolourscanbedefinedbytheuser,havenamesassignedandbesavedin
colourpalettefiles.
1. Inadrawingdocument,chooseFormat>Area...toopentheAreadialogue.
2. Inthedialogue,clickthecolourstab.

[Link],theusercan
alsodefineandorganizenewcolours.
Toapplyacolourthatisnotyetinthecolourpalette,firstdefinethenewcolourandassigna
nametoit.
Note:[Link],andare
[Link],butitcancreate
difficultiesifthestandardcoloursarechanged.

1. Todefineanewcolour,thebestthingtodoischooseacolourfromthecolourpalette
[Link]
boxes.
2. Thelistboxprovidestwosettings,RGBandCMYK,[Link]
colourmodelinthelistboxthatcorrespondstowhatisneededforthiscolour.
OpenOffice.orgUserGuidefor2.x

336

Chapter6:CreatingDrawingswithDraw

ThecolourmodelsRGBandCMYKarejusttwoofthemodelsmostusedtodefinecolours.
RGBstandsforredgreenblueandthismodelisparticularlyusefulforcoloursbeing
[Link]
forCyanMagenta YellowblackorCyanMagenta YellowKeyandis
[Link]
colourmodelthatcorrespondstothedesiredoutputmedium(monitororaprinter).When
exportingimagefiles,itisbesttoaskthephotoexposureserviceinwhichcolourmodel
andformattheimageisexpected.
3. [Link],or
[Link]
lowerpreviewbox.
Ifselectingcoloursfromacolourspectrumispreferabletospecifyingthevalueswiththe
spinbuttons,[Link]
tospecifythecolourintheHSVorHSB(HueSaturationValue/Brightness)
[Link].
4. Onceanewcolourischosen,specifywhetheritshouldreplacetheoriginalcolourorbe
definedindependently.
Note:Itisrecommendedthatonlycustomdefinedcoloursbereplaced.

1. Toreplacethecolourdisplayedintheupperpreviewbox,clickModify.
2. Tosetthenewuserdefinedcolour,assignanametothecolourintheNamefield,and
clickAddandOK.
Thenewcolourwillimmediatelybeaddedtothepaletteofexistingcolours;however,ifthe
dialogueisexitedbyusingtheCancelbutton,thecolourofthecurrentobjectdoesnot
change.
Nonetheless,themodificationsinthecolourpalettedoremainineffect.
Furtherinstructionsonsavingandloadingthecolourpaletteandotherpalettefilesarefound
inHelp.

OpenOffice.orgUserGuidefor2.x

337

Chapter6:CreatingDrawingswithDraw

ReplacingcoloursusingtheEyedropper
InDrawandImpress,imagesinsertedinabitmapformatsuchas,GIF,JPEGandmetafile
[Link]
Eyedropperwindow,chooseTools>Eyedropper.

TheEyedroppercanreplaceselectedcoloursand,toapoint,similarcolours,withother
colours,[Link],
[Link]
coloursofdifferentbitmapsortoredoabitmapwith,say,thecoloursofacompanylogo.
[Link],inanimagewithacolour,
canbereplacedforexample,[Link],forexample,theprinter
driverhasproblemswithprintingtransparentgraphics.
IftheuserwantstoproduceanimageonHTMLpagestopublishintheInternet,likethe
illustrationofaproduct,forexample,itusuallylooksbetterwhenonedoesnotseea
rectangularpicture,butratherseesonlytheillustrationoftheproductagainsttheuniform
[Link],
usetheEyedroppertoreplacethecolourwhitewithTransparent([Link])andsave
and/orexporttheimageinaformatthatsupportsthetransparencyattribute(suchasGIF).
Whenusingthismethod,besurethattheillustrationoftheproductitselfdoesnotcontain
anywhiteparts,sincethesewouldalsobecometransparentjustlikethebackground.
ToreplacecolourswiththeEyedropper
1. InsertanimageinaBitmapformat(e.g.,BMP,GIF,JPG,TIG)orinametafileformatlike
[Link],chooseInsert>PictureinDrawandImpress.
2. OpentheEyedropperwindowbychoosingTools>Eyedropper.
3. IntheEyedropperwindow,[Link]
mousepointerwillturnintoaspecialpointerwithwhichonecanindicatethecolourtobe
[Link]
Eyedropperwindowdisplaysthecolourthemousepointerisrestingon.

OpenOffice.orgUserGuidefor2.x

338

Chapter6:CreatingDrawingswithDraw

4. [Link]
willautomaticallyberegisteredinthefirstofthefourrowsintheEyedropperwindow.
5. Now,inthelistboxtotherightinthesamerow,selectthenewcolourwhichshould
replacetheselectedcolourinthewholebitmapimage.
6. Ifinthesameeditingsteponewantstoreplaceanothercolour,clickthecheckboxin
[Link]
[Link].
7. Selectthebitmapimageorthemetafileimageinwhichthecoloursaretobechanged,by
clickinginit.
8. [Link],
undothestepusingCtrl+[Link]
clickReplace.

OpenOffice.orgUserGuidefor2.x

339

Chapter6:CreatingDrawingswithDraw

GradientsandPatternsforObjectsandBackground
[Link]
havecolourgradients,transparencygradients,[Link]
defineacolour,agradientorapatternforabackgroundthatisvisibleinallslidesofa
presentation.
DefiningGradients
Toassignapredefinedgradienttoanobject,proceedasfollows:
1. Selecttheobject.
2. FromthecontextmenuorunderFormatonthemenubar,chooseArea....
3. SelecttheGradientoption,thenmakeaselectionfromthegradientlist.

DefiningacustomcolourGradient
Beforedefininganew,customcolourgradient,savethecurrentcolourgradientlistasafile
toensurethereisabackup[saywhy?]orloadadifferentlistfromanotherfile.

OpenOffice.orgUserGuidefor2.x

340

Chapter6:CreatingDrawingswithDraw

Iftheuserhasselectedanobjectandthendefinedanewgradient,thenewgradientis
[Link],
[Link],clickwith
theselectiontoolonapositionwheretherearenoobjects.
1. IntheAreadialogue,[Link]
optionsfornewcolourgradients.
2. Fromthelistofexistingcolourgradients,clickthegradienttouseasabasisforcreating
thenewcolourgradient.
3. ClicktheAdd...button.
a) Inthedialogue,[Link],enterthename
UFO.
b) [Link]
editing.
4. [Link]
gradientlooks.
5. ClosetheAreadialoguewithOK.
Thenewcolourgradientmaybeusedimmediately.
InteractivelyDefiningacolourGradient
[Link],
inordertobedefinedinteractively,theobjectmustalreadyhaveacolourgradient.
1. Selectanobjectwhichhasacolourgradient.
2. InDraw,opentheEffectsfloatingtoolbar

fromtheMaintoolbar.

3. OntheEffectsfloatingtoolbar,clicktheGradienticon.
Twoobjectsincolourwhicharelinkedbyavectorshouldnowbevisible.

OpenOffice.orgUserGuidefor2.x

341

Chapter6:CreatingDrawingswithDraw

Dependingonthetypeofgradient,oneorbothoftheobjectscanbemovedwiththemouse
andthusdeterminetheorigin,[Link]
displayed,assigncoloursbydragginganddroppingtheselectiontoeachobjecttodetermine
thestartandendcolours.
Inasimilarmanner,thetransparencyofanobjectcanbesetusingthe
Transparency
[Link],definingagrayscalegradientwhichspansfromblack(0%transparency,
[Link])towhite(100%transparent)ispossible.
OrganizingtheAttributeTables
TheiconsLoadGradientsListandSaveGradientsListopendialoguesforopeningand
[Link],forinstance,mightconsistofallgradientswhich
[Link],[Link]
thelist(andthememoryspace)[Link]
continueworkingonthisprojectlater,[Link]
procedureappliesforloadingandsavinglistsofhatchingsandbitmaps.
OpenOffice.orgUserGuidefor2.x

342

Chapter6:CreatingDrawingswithDraw

3DGlobe
ThissectiondescribeshowtocreateathreedimensionalglobewithDrawinjustafewsteps.
Whenfinished,rotatethefinishedGlobeusingthemouse.

CreatingTextureona3DObject
Note:Ifonlytheglobeshownhereisneeded,andcreatingasimilaroneisnotonneeded,usethefinishedglobe
[Link].

Tocreateacustom3Dglobe,firstopenanemptydrawdocument,insertaglobeandthen
applyaworldmapasatexturetotheglobe([Link]
isagoodchoicebutthereareothersavailableviatheInternet).Thenadjusttheillumination.
1. OpenanemptydrawingdocumentbychoosingFile>New>Drawing.
2. Openthe3DObjectsfloatingtoolbar

ontheleftoftheMaintoolbar.

3. SelectSpherefromthetoolbar,
4. [Link]
anoblongshapeispreferable,presstheShiftkeywhiledragging.Thisbehaviourfor3D
objectsisoppositetothewayotherobjectssuchasellipsesandrectanglesbehave.
5. OpentheGallery.

TheGallerythemesappearassubdirectories.

OpenOffice.orgUserGuidefor2.x

343

Chapter6:CreatingDrawingswithDraw

6. [Link],clicktheitandtheGalleryshowsthe
maps.
7. Clickanyrectangularworldmap,say,[Link].
8. HolddowntheShiftandCtrlkeysanddragthemapoftheworldontothesphere.
Thislaysthemapoftheworldonthesphereasatexture.
9.

IftheGalleryhidestheglobe,userscanfixtheGallerywindowsothatitnolonger
[Link]/Floating
icon(lookslikeathumbtack).

[Link]
theworldismuchlargerthanthesphere,onlyasmallsegmentisseenasagreenareaonthe
[Link].
1. Clickthespheretoselectit.
2. [Link]
withtheAreatabpage.

3. SelecttheBitmapfield,removingthemarkintheTilefield.
4. ClosethedialoguewithOK.
OpenOffice.orgUserGuidefor2.x

344

Chapter6:CreatingDrawingswithDraw

[Link]
[Link],doubleclickonthesphereand
thenrotateit.
InTools>Options>[Link]>Viewtab,checktheappropriateboxfor3Dobjects
torefreshduringinteraction.
UsingIllumination
[Link]
illumination,forexample,sothattheoceanswillhaveabluecolour,andayellowhighlight
thatwillshineonthesideoftheearthfacingthesun.
1. Selecttheworldglobesincetheilluminationpreferencesbeingsetalwaysrefertothe
currentlyselectedobject.
2. Openthe3DEffectswindowbyclickingthe3DControllericon
themaintoolbar.

atthebottomof

3. Inthe3DEffectswindow,clicktheIlluminationbutton.
a) Usethisfeaturetochangethedefaultsettingofthelightsourcetoblueandmoveit
downandtotheleft.
b) ClickAssign.
4. Repeatstep3toapplyasecondlightsourceinyellowtoshineontheearthfromthe
aboveright.
More3dEffects
[Link]
[Link]:
3DEffects:Favourites

Thisdialoguewindowoffersafewspecialeffects
[Link]
interestingeffectssothattheyareavailablefor
selectiononthistab,filetheappropriate3D
objectintheGallery,morespecificallyinthe3D
themefolder.

OpenOffice.orgUserGuidefor2.x

345

Chapter6:CreatingDrawingswithDraw

3DEffects:Geometry

Byusingthisfeature,theusercancontrolthe
mannerandqualityofhowtheobjectsurfaceis
[Link]
example,interestingeffectscanbeproducedby
deliberatelyreducingthenumberofsegmentsof
asphere.Propertiesofthe3Dfont,suchasthe
slantoftheedge(bevel),depth,etceteraare
determinedhere.

3DEffects:Shading

Thisfeaturepermitsspecifyingthesetting
oftheshader(flat,phongor
Gouraud)tobeusedtodisplaythe3D
[Link]
shading,butrequiresthemostcomputing
[Link]
shadowforthe3Dobjectandtoselectthe
cameradistanceandfocallength.

OpenOffice.orgUserGuidefor2.x

346

Chapter6:CreatingDrawingswithDraw

3DEffects:Illumination

Controlofilluminationofaselected3D
objectiseasilydoneinavarietyofways.
Inadditiontothegeneralambientlight,
eightadditionallightsourcesare
available,allofwhichcanbealigned,
adjustedforcolour,orturnedonandoff
individually.

3DEffects:TexturesandMaterial

Withthesetwosections,[Link]
explanationofthenumerouspossibilities.

OpenOffice.orgUserGuidefor2.x

347

Chapter6:CreatingDrawingswithDraw

Designing3DObjectsFromFontCharacters
Thestepbystepmethodologydescribedbelowisparticularlyusefulinpreparingobjectsthat
[Link].
FirstStep:

1. OpenanemptydrawingdocumenteitherusingFile>New>DrawingortheNewiconon
theFunctiontoolbar.
2. [Link],theletterPisused.
3. Chooseacharactersetforformatting.
OpenOffice.orgUserGuidefor2.x

348

Chapter6:CreatingDrawingswithDraw

4. Setthefontsizetoabout400pt.
Thisfontsizeistoprovideausablysizedobjectthat,whenconvertedto3D,thetexttakes
upexactlythespacethatisdrawnforthetext,independentofthefontsizeselected.
5. DrawthetextboxusingtheTexticononthefloatingtoolbar.
6. [Link]
point,otherattributes,suchasanothertypefaceoremphasisattribute,likebold,maybe
selected.
SecondStep:

SelectthetextfieldwiththeletterandchooseConvert>To3DontheModifymenu.
[Link]
possibletoassignagradientorabitmapgraphictotheobject.

OpenOffice.orgUserGuidefor2.x

349

Chapter6:CreatingDrawingswithDraw

ThirdStep:

[Link]
Format/[Link]
[Link],theusercansettheindividual
illuminationandthetexturemodel.

Thesampleobjectwasgivenitsspecialshapebyadjustingthecameratoanextremely
shortfocallength.

OpenOffice.orgUserGuidefor2.x

350

Chapter6:CreatingDrawingswithDraw

OpenOffice.orgUserGuidefor2.x

351

Chapter6:CreatingDrawingswithDraw

FourthStep:

[Link]
[Link],convertthetexttoa
polygonbychoosingModify>Convert>[Link],thesurfaceofthenewly
createdobjectcanalsobemodified.

OpenOffice.orgUserGuidefor2.x

352

Chapter6:CreatingDrawingswithDraw

Foraborderaroundthecompanyname,[Link]
greaterthan0.00andalinestylenotequaltotransparentontheobjectbartomakethe
bordersofeachlettervisible.

FifthStep:

Createasimpledrawingobjectasabackgroundforthelogo,[Link]
Modify>Positiontoplacetheobjectallthewaytotheback.

OpenOffice.orgUserGuidefor2.x

353

Chapter6:CreatingDrawingswithDraw

[Link]!
Note:thattheusercanalsoaccessthefunctionsthroughthecontextmenuinsteadofusingmenucommands,which
makesforlessworkwiththemouse.

OpenOffice.orgUserGuidefor2.x

354

Chapter6:CreatingDrawingswithDraw

UsingaGrid
Toworkwithgreatprecision,forexampletoplacerectanglesoneontopoftheother,usethe
[Link],chooseTools>Options>[Link]>Grid
[Link],selectingVisibleGridmakesit
easytoplacedocumentsexactlyontopofeachotherinthedocument.

OpenOffice.orgUserGuidefor2.x

355

Chapter6:CreatingDrawingswithDraw

MechanicalorConstructionDrawings
[Link]
methodcanbeusedtocreateothersimilardrawings,suchas,constructionblueprint,garden
layoutetcetera.

OpenOffice.orgUserGuidefor2.x

356

Chapter6:CreatingDrawingswithDraw

CreatingaConstructionPlan
Tocreateadrawingliketheprecedingillustration,clicktheRectangleiconanddragthe
[Link],selectCurvesandLinesandArrowsanddrag
[Link],suchas
theRectangle,[Link],drawin
thedetailswiththeLinetool.

OpenOffice.orgUserGuidefor2.x

357

Chapter6:CreatingDrawingswithDraw

Addsomemoredetails.

OpenOffice.orgUserGuidefor2.x

358

Chapter6:CreatingDrawingswithDraw

OpenOffice.orgUserGuidefor2.x

359

Chapter6:CreatingDrawingswithDraw

Completethedrawing.

OpenOffice.orgUserGuidefor2.x

360

Chapter6:CreatingDrawingswithDraw

UsingSnapLines

Itisadvisabletousesnaplinestopositionlinesandobjectsmoreprecisely.
Todisplayasnapline,clickonarulerandholddownthemousebuttontodragitintothe
[Link],restthemousepointeronituntiladoublearrowappears.
Shiftthelinebyholdingdownthemousebuttonanddraggingthelinetothedesiredposition.
Todeleteasnapline,[Link],snaplinescanalsobe
positionedinanumericallyexactwayusingtheEditSnapLine...commandfromthe
contextmenuofthesnapline.
Note:Snaplinesarelineswhicharevisibleonlyonthescreenandareusedforthesolepurposeofprecise
[Link].

UsingDimensionLines
WithDraw,[Link]
therulerintoadocumentandpositionedsothatthereisasnaplineovereverymajorlinein
[Link],clicktheDimensionLineicon
ontheLinesfloatingtoolbar.
Themousepointerwillturnintoacrossandadimensionlinemaybedraggeddirectlyfrom
onesidetotheother,or,evenbetter,fromonesnaplinetoanother.
Toeditthelookofdimensionlines,selectthem,openthecontextmenuandclick
Dimensions....Thedialoguethatappears,permitsdeterminationoftheappearanceand
positionofthedimensionlines.

Toincreasethespacebetweenadimensionlineandthemeasuredobject,movethemouse
[Link]
icon,[Link]:Toobtainanabsolutely
horizontalorverticaldimensionlineoroneata45angle,presstheShiftkeywhile
draggingthedimensionline.
OpenOffice.orgUserGuidefor2.x

361

Chapter6:CreatingDrawingswithDraw

WorkingWithMultipleLayers
[Link]
functioniftestingseveraldifferentvariations.
Togetabetteroverview,turnontheLayerview,bypressingthesymbolonthebottom
[Link],chooseView>Layer(acheckmarkwillappear
infrontofthecommand).Toinsertanewlayer,[Link]
beopenedthroughthecontextmenuofthetabsLayout,ControlsandDimensionLines
[Link],[Link]
procedureforanotherlevelandenterthenameasSketch2.
NowclicktheSuggestion1tabandplacethedetailsofthislevel;forexample,bydragging
thedesiredclipartfromtheGalleryintothedocument.
AfterthedetailsarepositionedonLayer1,dothefollowing:
1. [Link]
Sketch1arevisible.
2. Tochangethis,clicktheSketch1tabandcallupthecontextmenuandselectModify
Layer.
3. IntheModifyLayerdialogue,removethecheckfromtheVisiblecheckbox

4. ClickOKtoviewonlytheLayoutlevelandtheSketch2level.
[Link],deactivatetheVisiblefield
onalltheotherlayers.
Aftercompletingthedrawing,saveand/orprintthedocumentasneeded.
Note:Visualizelayersastransparentsheets,oneontopoftheother,[Link]
alsopossibletoviewindividualtransparencies,[Link] .

UsingOnecolourperLayer
Ifmorethanonelayeratatimeisdisplayed,applyanidenticalcolourtoallelementsonthe
samelayerforabetteroverview.

OpenOffice.orgUserGuidefor2.x

362

Chapter6:CreatingDrawingswithDraw

OpenOffice.orgUserGuidefor2.x

363

Chapter7:DatabasesandDataSources

Chapter7:DatabasesandDataSources
[Link]
[Link],italsointroducestheabilitytocreatean
[Link],forms,queriesand
[Link].
ThischapterintroducesbuiltinHSQLDBdatabasesandtouchesonsomeofthefunctionality
[Link]
thestepsusedtocreatetheCalendarexampledatabase.
Thelargeamountofpreparatoryworkdonewhenoneisactuallydesigningadatabaseis
[Link],thepreparatoryworkforcreatingtheCalendar
databaseinvolvedsketchingoutwhattheuserwantedtoseeastheendresultandworking
fromtheretodesigntablesthatwouldfollowgooddatabasedesigntheoryor,failingthat,at
leastbeeasytoimplementandmaintain.

Creatingadatabasefile
Afterthepreparatorywork,afileorcontainermustbecreatedtoholdallthepartsofthe
database.
[Link],youcanchoose
[Link]
runningsbasefromthecommandline.

File>New>[Link]
programiconfromthemenuorby

TheDatabaseWizardopenstoStep1,Selectdatabase.
1. MakesuretheoptionissettoCreateNewDatabaseandclickNext.
2. InStep2,Saveandproceed,youwillwanttheoptionregardingregisteringthe
database([Link]?)set
toYes,registerthedatabaseforme.
Whenyouregisteradatabase,[Link]
[Link],youcanuse
View>DataSourcetoconnecttothedata.
3. UnderAfterthedatabasefilehasbeensaved,whatdoyouwanttodo?Makesure
Openthedatabaseforeditingischecked.
TheCreatetablesusingthetablewizardcheckboxopenstheTableWizard.
TheTableWizardoffersasetofsampletablesfromwhichfields,with
correspondingtypesandformats,[Link]
bechosenfrommultipletablestocreatetheparticulartable.
4. ClickFinish.
5. IntheSaveAswindowthatopens,namethedatabaseandselectalocationinwhich
[Link].
OpenOffice.orgUserGuidefor2.x

364

Chapter7:DatabasesandDataSources

6. ClickSave.
[Link],wehave
createdanemptydatabasefile.

Creatingatable
[Link]
[Link],wewouldconnecttoanexternaldata
sourcesuchasAdabas,JDBC,ODBC,dBase,ADO,Text,Spreadsheet,[Link]
canstilldothis(asdiscussedbelow)but,asmentionedabove,wecanalsocreateHSQL
tablesthatwillresideinthedatabasefileitself.
[Link]
forFieldName,[Link]
usedtoprovideadescriptionofwhatthefieldisusedfor.
Additionally,[Link]
field.
ThemaintableinourCalendardatabaseistheAppointmentstableandthe
followingstepsexplainhowthattablewascreated.
1. Inthedatabasewindow,clicktheTablesiconinthelefthandcolumn.
2. IntheTaskspaneatthetopofthewindow,clicktheCreateTableinDesignview
[Link].
3. InthefirstrowintheTableDesignwindow,intheFieldNamebox,typeIDandhit
theTabkeyonthekeyboard.
4. IntheFieldTypeboxthatthecursorjumpsto,chooseInteger[INTEGER].
5. IntheFieldPropertiessectionatthebottomofthewindow,changethevaluefor
AutoValuetoYes.
6. Createthefieldslistedbelowbyrepeatingsteps3through5usingtheinformationin
[Link],donotgobacktothefirstrowinthedesignwindowanddonot
settheAutoValueoptiononanyotherfieldstoYes.
Field
Name

FieldType

FieldProperties

Subject

Text [VARCHAR]

Entry Required = Yes; Length = 50

Location

Text [VARCHAR_
IGNORECASE]

Entry Required = No; Length = 50

Startdate

Date [DATE]

Entry Required = Yes

OpenOffice.orgUserGuidefor2.x

365

Chapter7:DatabasesandDataSources
Starttime

Time [TIME]

Entry Required = No

Enddate

Date [DATE]

Entry Required = No

Endtime

Time [TIME]

Entry Required = No

Note

Memo
[LONGVARCHAR]

Entry Required = No

Type

Integer [INTEGER]

AutoValue = No; Entry Required = No

7. RightclickthefieldselectorfortheIDfield(thisistheareatotheleftofthefield
name)andchoosePrimaryKey.
8. ClickFile>Save.
9. EnterAppointmentsfortheTableNameandclickOK.
10. ClosethetabledesignwindowbyclickingFile>Close.
11. Inthedatabasewindow,clickFile>Savetosavetheworkdonesofaronthe
database.
Note:ThetypeVARCHAR_IGNORECASEisaspecialtypeofVARCHARspecifictoHSQLDB.Itiscaseinsensitive
whichmeansentriessuchasHomeandHOMEarethesame.
Note:[Link],for
example,[Link]
canholdupto64KBtext.

Creatingarelatedtable
[Link]
databasedesignprocedureshere,wewanttoputourappointmenttypesinanothertableand
[Link]
appointmentsaregoingtohavethesametype,wewanttocutdownondataentryerrorsand
makeiteasiertoupdatealltherecordsifwedecidetochangethenameofatype.
TocreatetheTypestable:
1. Inthedatabasewindow,clickCreateTableinDesignView.
2. Createthetableusingsteps3through5inthepreviousexampleandtheinformation
below.
Field
Name

FieldType

FieldProperties

ID

Integer [INTEGER]

AutoValue = Yes

OpenOffice.orgUserGuidefor2.x

366

Chapter7:DatabasesandDataSources
TypeName

Text [VARCHAR]

Entry Required = Yes; Length = 50

3. RightclickthefieldselectorfortheIDfieldandchoosePrimaryKey.
4. ClickFile>SaveAs.
5. EnterTypesforthetablenameandclickOK.
6. ClosethetabledesignwindowbyclickingFile>Close.
7. ClickFile>Saveinthedatabasewindowtosaveyourwork.

Creatingarelationshipbetweentables
Now,tomaketheTypestablemoreusefultous,weneedtocreatearelationshipbetweenthe
[Link]
[Link],theprimary
[Link]
foreignkeyistheTypefieldintheAppointmentstable.
1. ClickTools>[Link]
Tablesdialoginfrontofit.
2. ClicktheAppointmentstableinthelistandclickAdd.
3. [Link]
designwindow.
4. ClickCloseintheAddTablesdialog.
5. IntheRelationdesignwindow,clicktheloweredgeoftheAppointmentstableand
dragdowntomakethewindowforthetablelarger.
6. ClicktheTypeentryintheAppointmentstableanddragitovertheIDentryinthe
[Link].
7. ClickFile>Savetosaveyourwork.
8. ClosetheRelationdesignwindow.
9. Savethedatabase.
Atthispointinthecreationofthesampledatabase,aformwascreatedtosimplifydataentry
[Link],[Link]
enteredintoatable,thoughitisnotrecommended.

Creatingadataentryform
However,thefollowingarestepsforcreatingthedataentryformfornewappointmentsare
presentedhere.

OpenOffice.orgUserGuidefor2.x

367

Chapter7:DatabasesandDataSources

1. Inthedatabasewindow,clicktheFormsiconontheleftside.
2. ClicktheUseWizardtoCreateFormbutton.
3. TheFormWizardopenstoStep1,[Link]
dropdownandchooseTable:Appointments.
4. MoveallthefieldsexceptIDtotheFieldsintheformlistbyclickingthe>button
foreachdesiredfield..ClickNext.
5. Step2,Setupasubform,isnotneededforthisformsincewewillnotbeincludinga
[Link].
Note:[Link],ifmultipletypeswereallowed
perappointment,theymightbedisplayedinasubform.

6. Thewizardautomaticallyskipssteps3and4sincetheyarerelatedtosubforms.
7. Step5,Arrangecontrols,allowsthedesignertochoosearough,basiclayoutforthe
[Link],
wechoseInBlocksLabelsAbove,[Link].
8. Step6,Setdataentry,iswherethedesignerofthedatabasecannarrowtheuseofa
[Link],thisisanewappointmentformsoweonlywantusertobeable
[Link]
[Link].
9. Step7,Applystyles,[Link]
doeshavesomenicebuiltinvisualeffectsandwaschosenfortheexampledatabase.
[Link].
10. Step8,Setname,[Link]
name.
11. SettheoptiontoModifytheformandclickFinish.
12. Theformopenstoeditmode,[Link]
modified.

Makingdataentryeasier
[Link]
[Link]
[Link]
Appointmentformisopenineditmode.
Modifyingadatefield
Atextboxthatisrelatedtoadatefieldcanveryeasilybeturnedintoadatepickercontrol.
1. ClickonceontheStartDatefield.
2. RightclickthefieldandchooseGroup>EditGroup.
OpenOffice.orgUserGuidefor2.x

368

Chapter7:DatabasesandDataSources

3. Ifthetextboxitselfisnotselected,clickawayfromthetextbox.
4. DoubleclickthetextboxfortheStartDatefield,notthelabel.
5. TheProperties:DateFielddialogboxopens.
6. OntheGeneraltab,makesurethefollowingoptionsareset:

DropdownshouldbesettoYes.

RepeatshouldbesettoYes.

7. Repeatsteps1through6forthefollowing:

EndDateDropdown:Yes;Repeat:Yes

StartTimeDefaultTim[Link];SpinButton:Yes;Repeat:Yes.

EndTimeDefaultTim[Link];SpinButton:Yes;Repeat:Yes.

8. ClosethePropertiesdialogbox.
9. ClickFile>Savetosaveourmodificationstotheform.
Forthetimefields,wemadethemeasiertousebygivingthemadefaulttimeotherthan
[Link],thespinbuttonmaybeusedinsteadofkeyboardentry.
Addingalistboxtoaform
Ifthedatabasehasarelatedfield,suchastheCalendardatabase'sTypefield,thatwillhavea
finite,usuallyfairlyshort,listofentries,itmaysimplifydataentrytocreatealistboxto
[Link],wechooseonevalueandactuallyadda
relatedvaluetothetable.
1. IntheFormControlstoolbar,usuallyatthebottomofthescreen,clicktheList
Boxbutton.
2. ClickanddraginanemptyareaoftheformtocreateaboxaboutthesizeoftheType
fieldthatisalreadyontheform.
3. TheListBoxwizardopens.
4. Onthefirstscreen,TableSelection,[Link]
dataforthelistbox.
5. ClickNext.
6. Onthesecondscreen,FieldSelection,[Link]
thedisplaytextforthelistboxentries.
7. ClickNext.
8. Onthethirdscreen,FieldLink,intheFieldfromtheValueTablelistclickType
[Link]
keyvaluethatunderliesthedisplayedvalueandthefieldthatthevalueiswrittento.
9. ClickFinish.
OpenOffice.orgUserGuidefor2.x

369

Chapter7:DatabasesandDataSources

[Link]
Calendardatabase,wehadtodothefollowing:
1. DoubleclickthelistboxtobringupthePropertiesdialogbox.
2. SettheBordercolorpropertytoBlack.
3. Clicktheellipsis(threedots(...))buttonthatistotherightoftheBackgroundcolor
propertyfield.
4. IntheColordialogbox,settheRed,[Link].
5. ClosethePropertiesdialog.
Fieldbackgroundcolorsmaybematchedbycheckingthebackgroundcolorvaluesofthe
otherfieldsontheform.
Now,however,theformseemstohavetwoTypefieldsandoneTypelabel.
1. ClicktheTypefieldthatwascreatedbythewizard.
2. RightclickthefieldandchooseGroup>EditGroup.
3. Ifthetextboxitselfisnotselected,clickawayfromthetextboxthenbackonitto
selectjustthefield,notthelabel.
4. DeletethefieldbypressingtheDeletekeyonthekeyboard.
5. MovetheTypelistboxtowherethetextfieldwassothatthelistboxreplacesit.
6. Selectboththelistboxandthelabel(clickone,holddowntheshiftkeyandclickthe
other).
7. RightclicktheselectionandchooseGroup>Group.
Addingacomboboxtoaform
[Link],
unlikethelistbox,[Link],whenchoosing
fromalistbox,anidentifier(suchasanumber)isputintotherelatedfieldwhereaswitha
comboboxtheactualvalueofthecomboboxisputintothefield.
[Link]
form:
1. OntheFormControlstoolbar,usuallyatthebottomofthescreen,clickthe
ComboBoxbutton.
2. [Link]
willopen.
3. Onthefirstscreen,TableSelection,clickAppointments.
4. ClickNext.

OpenOffice.orgUserGuidefor2.x

370

Chapter7:DatabasesandDataSources

5. Onthesecondscreen,DatabaseField,settheoptiontoYes,Iwanttosaveitinthe
followingdatabasefield:andchooseLocationfromthedropdownlist.
6. ClickFinish.
Thelookofthisfieldshouldalsobemadeconsistent.
1. DoubleclickthecomboboxtobringupthePropertiesdialogbox.
2. SettheBordercolorpropertytoBlack.
3. Clicktheellipsisbutton(totherightoftheBackgroundcolorproperty).
4. IntheColordialogbox,settheRed,GreenandBluevaluesto221(assumingthat
thesamecolorschemeisbeingused).
5. ClosethePropertiesdialog.
6. MovethecomboboxsothatitmatchesupwiththeLocationlabel.
Changingthetaborderofaform
Thetaborderoftheformwehavebeencreatingandmodifyingthroughthesestepsprobably
[Link]
changethetaborderofaform:
1. Clickonanycontrolontheform.
2. ClicktheActivationOrderbuttonontheFormDesigntoolbar.
3. Settheorderasfollows:
1. txtSubject
2. ComboBox
3. datStartdate
4. timStarttime
5. datEnddate
6. timEndtime
7. ListBox
8. txtNote
ThiscanbeaccomplishedbyclickingacontrolnameinthelistandusingtheMoveUpand
MoveDownbuttonstochangetheorderofthecontrols.
ComboBoxisthedefaultnameprovidedfortheLocationcomboboxandListBoxisthe
nameprovidedfortheTypelistbox.
ObviouslythisorderassumestheformissetupsimilarlytotheformintheCalendar
[Link],useadifferentorderforthefields.
Remembertosavetheformand,afteritisclosed,savethedatabasecontainer.
OpenOffice.orgUserGuidefor2.x

371

Chapter7:DatabasesandDataSources

ViewingData
[Link]
couldlookatthetableitselfbutthisisneitherattractivepresentationnorgooddatabase
[Link],becausetheNewAppointmentformisadataentryform,wecannotuse
ittoviewpreviouslyenteredrecords.
SincealotoftimeandeffortwasputintocreatingtheNewAppointmentformanditsformat
isalsogoodforviewingdata,thefollowingsectionswilldiscusscopyingaformand
changingsomeofthepropertiesofthenewform.
Copyingtheform
1. IntheFormssectionofthedatabase,rightclicktheNewAppointmentform.
2. ClickCopy.
3. RightclickinthedatabasewindowandchoosePaste.
4. Inthedialogboxthatappears,enterAllAppointmentsfortheformnameandclick
OK.
5. Savethedatabase.
Changingtheform'sproperties
Obviously,sincetheNewAppointmentformwasadataentryonlyform,wewillneedto
changetherelatedformproperty.
1. RightclicktheAll

AppointmentsformandchooseEdit.

2. ClicktheFormNavigator [Link]
[Link].(Writeristhe
[Link].)
3. IntheFormNavigatordialog,rightclicktheMainFormitemandchoose
Properties.
4. OntheDatatabofthePropertiesdialog,settheAdddataonlypropertytoNo.
5. ClosethePropertiesdialog.
6. ClosetheFormNavigator.
7. Savetheform.
8. ClicktheDesignModeOn/OffbuttonontheFormDesigntoolbar.
YoucannowusetheFormNavigationtoolbartonavigatethroughtherecordsinthe
database.
Settingasortorderforaform
[Link],inthe
longrun,[Link]
viewingalltheappointmentsinthedatabase.
OpenOffice.orgUserGuidefor2.x

372

Chapter7:DatabasesandDataSources

1. ReenterformdesignmodebyclickingtheDesignModeOn/Offbuttonagain.
2. Clickanycontrolontheform.
3. ClicktheFormbuttonontheFormControlstoolbar.
4. IntheFormPropertiesdialog,ontheDatatab,clicktheellipsisbuttontotheright
oftheSortproperty.
5. Forthefirstfieldname,chooseStartDateandleavetheOrderasascending.
6. Forthesecondfieldname,[Link].
7. [Link].
8. ClickOKintheSortdialogbox.
9. ClosetheFormPropertiesdialog,savetheformandcloseit.
10. Savethedatabase.

Creatingaquerytofindtoday'sappointments
[Link]'sappointmentswouldbeauseful
query.

OpenOffice.orgUserGuidefor2.x

373

Chapter7:DatabasesandDataSources

1. ClicktheQueriesiconontheleftsideofthedatabasewindow.
2. ClickCreateQueryinDesignView.
3. [Link]
tablestothequery.
4. ClickCloseintheAddTableswindow.
5. AddthefollowingfieldsfromtheAppointmentstable:Subject,Location,Start
date,Starttime,Enddate,Endtime,Notes.
6. AddtheTypeNamefieldfromtheTypestable.
7. IntheStartdatecolumn,ontheCriterion
3/9/ 1972 .

row,enteranydatesuchas

8. ClicktheSwitchDesignViewOn/[Link]
[Link]
appears:AND(("Appointments"."Startdate"={D' 197203
09'})).ThisstatementfindsrecordswheretheStartdateequalsthedate3/9/1972.
9. Replace{D' 19720309'}withthetextCURRENT_DATEandclicktheSwitch
DesignViewOn/Offbuttonagain.
10. ClicktheRunQuery
window.

[Link]

11. SavethequeryasAppointmentsforTodayandclosethequery.
Ifthedatabasedoesnotcontainappointmentsfortoday,addanappointmentfortodayand
rerunthequerybydoubleclickingonit.
Addasortordertothequery
[Link],itwouldbeusefultosort
theresultsofthequery.
1. OpenthequeryforeditingbyrightclickingtheiconforthequeryandchoosingEdit.
2. Toaddasortordertoacolumn,[Link]
[Link].
3. ClickthedropdownforSortandchooseAscending.
4. SettheSorttoAscendingfortheEnddateandEndtimefieldsaswell.
5. Savethequery.
Ifthedatabasecontainsappointmentsforthecurrentday,tryrunningthequery.
ChangingtheJointypeinthequery
Whenthequeryisrun,asitexistscurrently,someappointmentswon'tappear.

OpenOffice.orgUserGuidefor2.x

374

Chapter7:DatabasesandDataSources

ThedefaulttypeofjoinisanInnerjoin,whichonlyreturnsrecordswherethejoinedfields
[Link],thejoinfieldforthat
appointment'srecordwouldnotmatchanyentriesinthejoinfieldintheTypestable.
Wecanfixthisbychangingthejointypeinthequery.
1. Rightclickthejoinlinebetweenthetablesinthetopportionfothequerydesign.
2. ChooseEdit.
3. IntheJoinPropertiesdialog,intheOptionssection,clicktheTypedropdownand
chooseLeftjoin.
4. ClickOK.
5. Savethequery.
6. Closethequery.
7. Savethedatabase.

Creatingareport
Aquerycan,ofcourse,[Link]
[Link].
Copyingaformandchangingtheunderlyingdatahasalsobeendiscussed.
[Link]
AppointmentsforTodayquerycreatedinthestepsaboveasthebasisfora
report.
1. ClicktheReportsiconontheleftsideofthedatabasewindow.
2. ClickUseWizardtoCreateReport.
3. TheReportWizardopenstoStep1,[Link]
dropdowntoQuery:AppointmentsforToday.
4. Clickthe>>buttontomoveallthefieldsfromtheAvailablefieldslisttotheFields
inthereportlist.
5. ClickNext.
6. InStep2,Labelingfields,clickNexttousethedefaultlabels.
7. Step3,Grouping,canalsobeskippedsincethisreportdoesnotreallyneed
[Link].
Note:[Link],wecouldcreateanotherreport
[Link]
levelsofsortinginanyreportwithgrouping.

8. Step4,Sortoptions,[Link]
bechangedinlaterversions.

OpenOffice.orgUserGuidefor2.x

375

Chapter7:DatabasesandDataSources

9. InStep5,Chooselayout,AlignLeftModernwaschosenfortheLayoutofdata
[Link]
complete.
10. InStep6,Createreport,[Link]
[Link]
shouldalsobeset.
11. ClickFinish.
[Link]
[Link]
thedataitselfresidesinatable,modifyingthereportisnotcoveredhere.
However,toopenareportformodification:

IntheReportssectionofthedatabase,rightclickthereportandchooseEdit.

SometipsforusingtheCalendardatabase
Thefollowingtips,whilespecifictotheCalendarsampledatabase,canbegeneralizedto
otherBasedatabases.
Addingdatatoarelatedtable
OccasionallyauseroftheCalendardatabasemaywishtoaddanappointmenttypewhile
[Link],theactualtypenames
[Link]
waystoaccomplishthis,byopeningtheformfortherelatedtable(assumingthereisone)or
byopeningtheDataSourceswindow.
Opentheformfortherelatedtable

Iftherelatedtablehasitsownform,asitdoesinthecaseoftheCalendardatabase:
1. Switchtothedatabasewindow.
2. Opentheform,inthiscasetheTypesform.
3. Addthedatatotheform.
4. BesuretoclicktheSaveRecordbutton.
5. Closetheform.
OpentheDataSourceswindow

[Link]
appointmentform:
1. ChooseView>DataSourcesorpresstheF4keyonthekeyboard.
2. [Link]
Calendar,thedatabase,isexpanded.
OpenOffice.orgUserGuidefor2.x

376

Chapter7:DatabasesandDataSources

3. ExpandtheTablesiconbyclickingtheplussignnexttoit.
4. ClicktheiconfortheTypestable.
5. EnteraTypeName.

6. ClicktheSaveCurrentRecordbuttonatthetopleftoftheDataSourcespane.
7. ClosetheDataSourcespanebychoosingView>DataSourcesorpressingtheF4
key.
Refreshingtheform

Onceanewtypeisadded,theTypeslistboxmustbeupdatedbyclickingtheRefreshbutton
atthebottomoftheform.
Thedropdownshouldcontainthenewtype.
FilteringData
Ifonewishestoseeonlyacertainday'sappointmentsitispossibletocreateaquerythatonly
[Link],itisalsopossible(andeasier)tousetheAll
Appointmentsformandfilterforaparticularday.
Onewaytofilterdataisasfollows:
1. Gotoarecordfortheparticularday.
2. ClickintheStartDatefield.
3. ClicktheAutoFilter
bottomofthescreen).

buttonontheFormNavigationtoolbar(usuallyatthe

Theformisfilteredbasedontherecordchoseninstep1.
Asecondwaytofilterdata:
1. ClicktheFormBasedFilters

OpenOffice.orgUserGuidefor2.x

button,alsoontheFormNavigationtoolbar.

377

Chapter7:DatabasesandDataSources

2. TheFormFiltertoolbaropens,[Link]
StartDatefield.
3. ClicktheApplyFormBasedFilterbutton.
Theformisnowfilteredbasedonthedataentered.
AfiltercanberemovedbyclickingtheRemoveFilter/Sortbutton.
PleaseseethesectionSearchingWithaFormFilterbelowforfurtherinformation.
Note:Therestofthischapter,thoughoriginallywrittenforversionspriortoOpenOffice.org2.x,hasbeenverified
andupdated.

RegisteringaDataSource
Whencreatingadatabase,[Link]
[Link]/orediting
[Link](oraftercopyingthedatabasetoanewcomputer):
1. SelectTools>[Link].
2. Inthecategorylistattheleftofthedialog,[Link]
Databases.
3. [Link].
4. [Link].
5. Navigatetothelocationofthedatabase,selectthedatabaseandclickOpen.
6. Ifdesired,changetheRegisterednameofthedatabase.
7. [Link].
8. [Link].

Connectingtoothertypesofdatabases
TheDatabaseWizardalsoallowsonetolinktoothertypesofdatasourcesratherthan
creatinganewdatabase.
NOTEfor2.0dBaseusers:ToopenaconnectiontoadBasedatabase,onemustselectthe"Connecttoanexisting
database"radiobuttonandchoose"dBase"[Link]
anydBaseinstalledonthecomputer,becauseabasicdBasefunctionalityisbuiltinto%PRODUCTNAME.
However,[Link]"Connecttooropen
anotherdatasource",andrenamethefirstcontrolto"CreateanewHSQLDBdatabase".Changedthisissuetobe
anenhancementrequestforanUIchangeinthedialog.

Tocreateadatabasethatlinkstoexternaldatasource:
1. [Link],clickFile>New>Database.
2. SettheWhatdoyouwanttodo?optiontoConnecttoanexistingdatabase.
OpenOffice.orgUserGuidefor2.x

378

Chapter7:DatabasesandDataSources

3. [Link]
discussedinthetablebelow.
4. RefertoHelp>[Link]
[Link].
Selectfromthefollowingdatabasetypes(dependingontheoperatingsystem):
Databasetype

Meaning

Adabas

Aslightlyscaleddownversionofthewellknownrelationaldatabase
[Link].(See
[Link]

JDBC

LinktodatabasescontactedviaaJDBCdriver.

ODBC

LinktodatabasescontactedviaanODBCdriver.

dBase

Filescanbeediteddirectlywiththedriverfordirectaccessinthefile
system.

ADO

LinktodatabasescontactedviatheADOdriver.

Text

Registertextfiles,suchascommaseparatedCSVfiles(readonly).

Spreadsheet

[Link](read
only).

AddressBook

Thisaddressbookdriverallowstheusertoregisterthesystemaddress
bookoranotheraddressbooksource(readonly).Italsoensuresthatdata
fieldsarecorrectlyassignedtothetemplatesprovidedwith
[Link],informletters,forexample.

AddressBooks
RegisteringanAddressBook
Asseeninthetableabove,[Link]
[Link],Thunderbird,LDAPandcertainoperating
systemaddressbooks.
[Link],suchastheletterandmailmergewizards,usefields
[Link]
datasource,thegeneralfieldsusedinthetemplatesarereplacedbytheactualfieldsfromthe
datasource.
WhileanactualBasedatabaseallowsmoreflexibility,[Link]
this,[Link].
UsingtheWizardtoimportanAddressBook
SelectFile>Wizards>[Link].
ManuallyRegisteringanExistingAddressBook
1. ChooseFile>Templates>[Link]:AddressBook
Assignmentdialogappears.

OpenOffice.orgUserGuidefor2.x

379

Chapter7:DatabasesandDataSources

2. IntheDatasourcebox,selectthesystemaddressbookorthedatasourcetouseasthe
addressbook.
[Link],click
[Link],inwhich
[Link]
todothisinthenextsection,Systemaddressbookasdatasource.
3. IntheTablebox,selectthedatabasetabletouseastheaddressbook.
4. UnderFieldassignment,setthefieldsforcompany,department,firstname,etceterato
theactualfieldnamesusedintheaddressbook.
5. [Link],[Link]
bookdatasource.
SystemAddressBookasDataSource
1. SelectFile>Templates>AddressBookSource.
2. ClicktheAdministratebuttontocalltheAddressBookDataSourceWizard(seealso
instructionsabove).
3. SelectthetypeofexternaladdressbookandclickNext.
4. [Link]
bookshavemultipletables,[Link]
aftercompletingthisstep.
5. IntheDataSourceNamestep,choosealocationinwhichtosavethedatabaseanda
[Link].
6. ClickFinish.
[Link]
IfoneisexchangingdatawithadatabasethatdoesnothaveanODBClinkandwhichdoes
notallowdBaseimportandexport,itisoftenpossibletoexchangethedataviaacommon
textformat.
ImportingandExportingDatainTextFormat
ToexchangedatainatextformatusetheCalcimport/exportfilter.
1. [Link]
formatishighlyrecommendedsinceitseparatesdatafieldsbyusingcommasand
recordsbyinsertinglinebreaks.
2. [Link]
[Link].
3. [Link]
fromthetextdocument.

OpenOffice.orgUserGuidefor2.x

380

Chapter7:DatabasesandDataSources

OncethedataisinaCalcspreadsheet,[Link]
[Link]:

[Link]
[Link],chooseFile>SaveAs,thenselecttheFileTypedBaseandthe
folderofthedBasedatabase.
[Link]
[Link]
explorerthatisdesignatedTables(seediagram).Awizardisstartedautomatically.

ExportinginCSVTextFormat
ThecurrentCalcspreadsheetcanbeexportedinatextformatwhichcanbereadbymany
otherapplications.
1. ChooseFile>Saveas.
2. InSaveastypeselectthefilterTextCSV.
3. Enterafilename.
4. ClickSave.
5. Adialogwarningthedocumentmaycontainformattingorcontentthatisincompatible
[Link].
6. ThisopenstheExportoftextfilesdialog,inwhichtoselectthecharacterset,field
delimiterandtextdelimiter.
7. [Link].

OpenOffice.orgUserGuidefor2.x

381

Chapter7:DatabasesandDataSources

FormDesign
[Link]
Insomesituations,ausermaywanttocreateadocumentthatcontainssomefixedtext,but
[Link]
documentiscalledaform,analogoustothepreprintedformseveryonehasfilledoutdozens
[Link];formsthat
onecreateswithoutusingtheFormWizarddonothavetoconnecttoadatasource(though
theycanseebelow).Iftheformisn'tconnectedtoadatasource,anyinformationtheuser
entersissimplysavedwiththeform.(Thismethodishandywhensendingaformtoagroup
ofpeopleforthemtofilloutandreturn.)Writer,Calc,Impress,andDrawallsupportforms.
Tocreateaform,[Link]>
Toolbars>FormControls.(Insomecases,onemayhavetoaddthebuttontothetoolbar
first.)TheFormControlstoolbar(Figure1.)[Link]
controlsthatcanbeputonforms,aswellasbuttonsformanagingtheformasawhole.

[Link]
documenttocreateaninputform.

Aswiththeothertoolbars,[Link]
numberofcontrols,thiscanbeaveryhandyfeature.
[Link]
[Link].
Toaddacontroltoaform,[Link]
[Link].
OpenOffice.orgUserGuidefor2.x

382

Chapter7:DatabasesandDataSources

OnceacontrolischosenfromtheFormControlstoolbar,continuedroppingthattypeof
[Link],eitherclickanothercontroltoselectit,clicktheform
itselfwithoutdragging,clickthesamecontrolontheFormControlstoolbar,orclickthe
SelectbuttonontheFormControlstoolbar.
Availablecontrols

[Link].Table1lists
them.
Control

Use

CheckBox
TextBox
FormattedField
PushButton
OptionButton

Usedforon/offoryes/nochoices.
Usedtoenterfreeformtext.
UsedtoentertextapplyingformattingcodesasinCalc.
Usedtoexecutecommands.
Used,withoneormoreotheroptionbuttons,toallowchoiceamong
[Link].
ListBox
[Link],insomecases,several.
ComboBox
[Link].
LabelField
[Link]'tacceptinput.
SpinButton
Usedtoincrementanddecrementthedisplayednumericvaluebyclicking
withthemouse.
ScrollBar
Providesnavigationthroughthecontentbyscrollinghorizontallyor
vertically.
ImageButton
Usedtoexecutecommands;hasapictureratherthanatextcaption.
ImageControl
Displaysapictureontheform.
DateField
[Link]
ofthedate.
TimeField
[Link]
ofthetime.
FileSelection
Allowsusertopointtoafile.
NumericalField
[Link]
themouse.
CurrencyField
[Link]
[Link].
PatternField
Usedtoentertext,applyingaspecificformattingpattern.
GroupBox
Usedtovisuallycombineseveralcontrols,aswellascreategroupsofoption
buttons.
TableControl
Usedtodisplaydatafromatableorqueryinagridformat.
NavigationBar
ReproducesmostoftheFormNavigationtoolbarontheformitself
[Link]
whichtheyappearontheFormControlsandMoreControlstoolbars.

OpenOffice.orgUserGuidefor2.x

383

Chapter7:DatabasesandDataSources

Customizingcontrols

Withsomecontrols,[Link]
thingslikeaTextBox,DateField,[Link],though,oncethecontrolis
added,[Link]
immediately,ausermaycustomizetheirappearanceorbehavior.
Tosetupacontrol,clickittoselectit(sizinghandlesappeararoundtheedges),andthen
chooseControlfromtheshortcutmenu,Format>Controlfromthemenu,orControl
[Link]
contentsofthePropertiesdialogvary,dependingonthetypeofcontrol.
JustasthecontentsofthePropertiesdialogvarywiththetypeofcontrol,sodoeswhatone
needstodotogetitworking.Table2listssomeoftheitemscommontoanumberof
controls.
[Link]
herearecommontoanumberofthecontrols.
Property

Meaning

Name

[Link],includingoptionbuttons,assigningthe
samenametoseveralcontrolsturnsthemintoagroup.
Thecaptionthatappearsonthecontrol.
[Link](likeTextBoxes)
thatdon'thavetheirownlabel.
Determineswhetherthecontrolisavailabletotheuser.
Determineswhetherthecontrolispartofthetaborder,thatis,whethertheuser
canreachitbytabbingfromonecontroltothenext.
Determinesthepositionofthecontrolinthetaborder.
Specifiesthefontcharacteristicsforthecontrol.
Specifiestheinitialvaluedisplayedinthecontrol.
Specifiesthebackgroundcolorforthecontrol.

Label
Labelfield
Enabled
Tabstop
Order
Characterset
Defaultvalue
Background
color
Helptext

Specifiesthetooltipforthecontrol.

[Link],aCheck
BoxhasaDefaultStatuspropertythatdetermineswhetherit'sinitiallycheckedandaText
BoxhasaMultiLineinputpropertythatdetermineswhetheronecanputmultiplelinesoftext
intothecontrol.
[Link],wizards
[Link]
considersomeofthosecontrols.

OpenOffice.orgUserGuidefor2.x

384

Chapter7:DatabasesandDataSources

Creatingagroupofoptionbuttons

Optionbuttons(alsoknownasradiobuttons)letuserschooseoneitemfromamonga
mutuallyexclusivegroup.
Theeasiestwaytosetupagroupofoptionbuttonsis:
1. MakesuretheWizardsOn/OffbuttonontheFormControlstoolbarison.
(Whenit'son,ithasathinborderaroundit.)
2. PutagroupboxontheformbyclicktheGroupBoxbuttonontheMore
[Link]
ElementWizardDataappearstoguidecreationofanoptiongroup.
3. Onthefirstpage,[Link],typeitin,and
thenpressEnterorclickthe>>[Link],click
Next.
4. Onthesecondpage,[Link]
[Link].
5. [Link]
particularlysignificantwhendataontheformistiedtoadatasource.(See
"Activatingformcontrolsinadocument"below.)Tospecifythevalueforanitem,
clickthatiteminthelist,[Link]
default,[Link]
movetotheDatabaseFieldpage.
6. TheDatabaseFieldpageletsoneautomaticallysavetheuser'schoicetoafieldina
[Link],[Link]
Nexttoreachthefinalpageofthewizard.
7. Onthispage,onespecifiesanamefortheoptiongroupthenameappearsasacaption
[Link].
Doanyothercontrolshaveanwizard?
Mostoftheremainingcontrolsaresimpleenoughtoconfigurethatnowizardisneededor
[Link],[Link]
datainatable,[Link]
whichfieldsdisplayandinwhatorder.
Attachingadatasourcetoaform

Usingthewizardsforsomekindsofcontrolsrequirestheusertospecifyadatasourceforthe
[Link],sometimes,onemaywanttodosoevenifoneisnotcreatingacombobox
orlistbox.
Tolinkadatasourcetoaform:
1. Inthedatabasewindow,rightclicktheformandchooseEdittoenterDesignmode.
2. ClicktheFormNavigatorbuttonontheFormDesigntoolbar.
OpenOffice.orgUserGuidefor2.x

385

Chapter7:DatabasesandDataSources

3. IntheFormNavigatordialog,rightclicktheMainFormitemandchoose
Properties.
4. ClicktheDatatab.
5. MakesuretheContentTypeissetcorrectly(Table,Query,SQLcommand).
6. ChooseappropriatetableorqueryfromtheContentdropdownorclickthebuilder
button(theellipsisbutton)tocreateanSQLcommand.
Associatingdatawithafield

Oncetheformhasadatasource,[Link]:
1. Addthecontroltotheformorclickoncetoactivateanexistingcontrol.
2. UngroupthecontrolbyrightclickingandchoosingGroup>EditGroup.
3. Deselecttheungroupedcontrols.
4. Rightclickthedatacontrol,notthelabel,andchooseProperties.
5. ClicktheDatatab.
6. ChooseafieldfromtheDataFielddropdown.
7. ClosethePropertiesdialogbox.
8. Regroupthecontrolbyselectingthecontrolandthelabelthenrightclickingand
choosingGroup>Group.
Beawarethatwhenlinkingafieldtoacontrolinthisway,everytimethatcontrolisused,
changesthataremadearestoredintheactualdatasource.
Activatingformcontrolsinadocument

Whileeditingadatasourceisoneuseforforms,usersmaywanttouseaformforother
[Link],toaddabuttontoaspreadsheetthatperformsacalculationortoa
presentationthatrunsavideoclip.
[Link]
[Link],whenthemouseismoved,aneventfireseachtimeitenters
theareaofacontrolandeachtimeitleavesthatcontrol'[Link]
[Link].
TheEventstabofthePropertiesdialogforeachcontrolliststheeventsavailableforthat
[Link],[Link]
clickingtheellipsisbuttonnexttotheevent,[Link]
thatperformsthedesiredaction.
Theformitselfhasevents,[Link]:
1. Wheneditingtheform,clicktheFormNavigatorbuttonontheFormDesign
toolbar.

OpenOffice.orgUserGuidefor2.x

386

Chapter7:DatabasesandDataSources

2. IntheFormNavigatordialog,rightclicktheMainFormitemandchoose
Properties.
3. ClicktheEventstab.
Aswithcontrolevents,ausercanassignamacrotoanyformevent.
Howtousetheform

Onceonefinisheslayingoutaform,itcanbe"run"byclickingtheDesignModeOn/Off
[Link],thecontrolsoperateas
expectedtheusercanselectandclearcheckboxes,opencomboboxesanddropdownlists,
andsoforth.
Ordinarily,whenoneopensasavedform,[Link],auser
openingaformthedesignersupplies,seesitastheywouldexpect.(Beaware,however,that
ausercanturndesignmodeonandchangetheform.)
Whenaformlinkedtoadatasourcehasdesignmodeturnedoff,theFormNavigation
toolbarappearsatthebottomoftheform.
[Link]'thaveamechanismtopreventusersfromchangingformstoDesign
[Link],youcanprotectaformdocumentandgiveitapasswordto
preventusersfromseeinginside.

OpenOffice.orgUserGuidefor2.x

387

Chapter7:DatabasesandDataSources

SearchinginTablesandFormDocuments
In
spreadsheetsanddocumentsinwhichformfunctionsareused,onecanclick
theFind
[Link]
theForm
Navigationtoolbar,[Link]'s
Standardtoolbar.

OpenOffice.orgUserGuidefor2.x

388

Chapter7:DatabasesandDataSources

Therearevarioussearchoptions,includingsearchinginonefieldratherthanallfields,
positionofthevaluewithinthefield,whichdirectiontosearchinthedatabase,etc.
The?and*wildcardscanalsobeused,[Link]
informationaboutthedatabasesearchfunctioncanbefoundinHelp.
SearchingWithaFormFilter
Tosearchwithaformfilter:
1. Openaform.
2. ClicktheFormBasedFiltersbutton,ontheFormNavigationtoolbar.
3. [Link].
4. ClicktheApplyFormBasedFilterbutton.
5. Theformisnowfilteredbasedonthedataentered.
AfiltercanberemovedbyclickingtheRemoveFilter/Sortbutton.
Whenformulatingfilterconditions,[Link]
fromtherelationaloperatorsthereareSQLspecificcommandsthatquerythecontentof
[Link],[Link],[Link]
[Link]
[Link]:
Operators

Operator

Meaning

Conditionissatisfiedif...

equalto

...thecontentofthefieldisidenticaltotheindicated
[Link]=willnotbedisplayedinthe
[Link],
theoperator=willbeautomaticallyadopted.

<>

notequalto

...thecontentofthefielddoesnotcorrespondtothe
specifiedexpression.

>

greaterthan

...thecontentofthefieldisgreaterthanthespecified
expression.

<

lessthan

...thecontentofthefieldislessthanthespecified
expression.

>=

greaterthanor ...thecontentofthefieldisgreaterthanorequaltothe
equalto
specifiedexpression.

<=

lessthanor
equalto

OpenOffice.orgUserGuidefor2.x

...thecontentofthefieldislessthanorequaltothe
specifiedexpression.

389

Chapter7:DatabasesandDataSources

Commands

[Link]
command

SQL
command

Meaning

Conditionissatisfiedif...

ISEMPTY

ISNULL

isnull

...[Link]/No
fieldswiththreestates,thiscommand
automaticallyqueriesthe
undeterminedstate(neitherYesnor
No).

ISNOTEMPTY

ISNOTNULL

isnotempty

...thefieldisnotempty.

LIKE(placeholder*
foranynumberof
characters
placeholder?for
exactlyonecharacter)

LIKE(%
placeholderfor
anynumberof
characters
Placeholder_for
exactlyone
character)

isanelementof

...thedatafieldcontainstheindicated
[Link](*)placeholder
indicateswhethertheexpressionx
occursatthebeginningof(x*),atthe
endof(*x)orinsidethefieldcontent
(*x*).EithertheSQL%characteror
thefamiliar(*)filesystem
placeholdercanbeenteredasa
placeholderinSQLqueriesinthe
$[officename][Link]*or%
placeholderstandsforanynumberof
[Link](?)in
the$[officename]interfaceorthe
underscore(_)inSQLqueriesisused
torepresentexactlyonecharacter.

NOTLIKE

NOTLIKE

Isnotanelement
of

...thefielddoesnotcontainthe
specifiedexpression.

BETWEENxANDy

BETWEENx
ANDy

fallswithinthe
interval[x,y]

...thefieldcontainsavaluethatlies
betweenthetwovaluesxandy.

NOTBETWEENx
ANDy

NOTBETWEEN
xANDy

Doesnotfall
withinthe
interval[x,y]

...thefieldcontainsavaluethatdoes
notliebetweenthetwovaluesxandy.

IN(a;b;c...)Notethat
thesemicolonsareused
asseparatorsinall
valuelists!

IN(a,b,c...)

containsa,b,c...

...thefieldcontainsoneofthe
specifiedexpressionsa,b,c,...Any
numberofexpressionscanbe
specified,andtheresultofthequeryis
[Link]
expressionsa,b,c...canbeeither
numbersorcharacters

NOTIN(a;b;c...)

NOTIN(a,b,c...)

doesnotcontain
a,b,c...

...thefielddoesnotcontainoneofthe
specifiedexpressionsa,b,c,...

=TRUE

=TRUE

hasthevalue
True

...thefieldhasthevalueTrue.

=FALSE

=FALSE

hasthevalue
false

...thefieldhasthevaluefalse.

ExamplesofUsage

OpenOffice.orgUserGuidefor2.x

390

Chapter7:DatabasesandDataSources

Command/Operator

Result

='Ms.'

returnsrecordswiththefieldcontentMs.

LIKE'g?ve'

returnsrecordswithfieldcontentssuchasgiveandgave

LIKE'S*'

returnsrecordswithfieldcontentssuchasSunorStop.

BETWEEN10AND20

returnsrecordswithfieldcontentsbetweenthevalues10and20.
(Thefieldscanbeeithertextfieldsornumberfields).

IN(1;3;5;7)

returnsrecordswiththevalues1,3,5,7.

NOTIN('Smith')

returnsrecordsthatdonotcontainSmith.

Intheformview,clicktheApplyFiltericontochangetothefilteredview.
Thefiltersthathavebeensetcanberemovedbyclickingontheicon
RemoveFilter/Sort.
IfseveralfilterconditionsaretobeconnectedwithOR,clicktheFilter
[Link]
appears.
[Link],at
thebottomoftheFilterNavigatornoticeablankfilterlevelinwhichOrcanbeselectedby
[Link],enterotherfilterconditionsintheform.
TheseconditionsarelinkedbyBooleanORtothepreviouslydefinedconditions.
[Link]
[Link](
SQL:IsNullor(SQL:IsnotNull)[Link]
alsopossibletodeletetheentrybyusingthecontextmenu.
FilterconditionscanalsobemovedwithinaformintheFilterNavigatorbyDrag&Dropor
copythembyholdingdowntheCtrlKey.
Whiledesigningaform,settheFilterproposalpropertyforeachtextboxintheDatatabof
[Link]
mode,selectionsviaapulldownlistallthesummarizedinformationcontainedinsuchfields.
[Link]
however,thatthisfunctionrequiresalotofmemoryspaceespeciallywhenusedinlarge
databasesandshould,therefore,beusedsparingly.

OpenOffice.orgUserGuidefor2.x

391

Chapter8:[Link]

Chapter8:[Link]
[Link]
[Link].

[Link]
Thereismuchfreedominconfiguringmenus,toolbarsandkeystosuitpersonalpreferences.
Oneisfreetochange:

[Link],newonesadded,copiedfromonemenuto
another,renamed,andsoon.
[Link],icons
mayevenbedraggedanddroppedwhileholdingdowntheAltkeytochangetoolbar
appearance.
Shortcutkeysasdesired.

Tomakeconfigurationchanges,selectTools>ConfiguretoopentheConfiguration
[Link].
ConfiguringtheKeyboard
Inmostinstances,oneconfiguresnewkeyboardshortcutstoenableamacrotoperforma
[Link];forexample,adding
allunknownwordsinatextdocumenttotheactiveuserdictionarywithasinglecommandto
[Link]
[Link]:
1. Firstensurethatthefollowingconditionsexist:

Auserdefineddictionaryisactive.

ThelanguageofthedictionaryhastobesetuponAll.

Thedictionaryfileisnotareadonlyfile.

2. Openatextdocument.
3. ChooseTools>[Link].
4. SelecttheKeyboardtabtospecifyakeycombination.
5. SearchforanavailablekeycombinationintheKeyboardlistboxsuchasF4.
6. ClickModify
7. SelectCategory>OptionsareaatthelowerleftoftheKeyboardtab,
8. selecttheAddingunknownwordsfunctionnexttoit.
9. closethedialoguewithOK.
OpenOffice.orgUserGuidefor2.x

392

Chapter8:[Link]

Now,bypressingtheF4keyorwhatevershortcutkeyswereselected,onecanstartaspelling
checkofthecurrenttextdocument,automaticallyplacingallunknownwordsinanactive
userdefineddictionary.
ConfiguringMenus
[Link]
stepbystepprocedurethatfollowsshouldhelpinsettingupanewmenuitem,inthiscase,
[Link]
exportcommands,thesedonotallowHTMLlinks;thusitmaybeconvenienttoaddthis
feature.
[Link]
explainshowtointegrateextendedPDFcommandsintotheFilemenu.
Note:InstallingtheextendedPDFmacroiscoveredbythemacrodocumentitself.

1. Openadocument.
2. ChooseTools>ConfiguretoopentheConfigurationdialogue.

3. ClicktheMenutab.
4. Inthelargelistbox,scrolltofindthecommandinwhichtointegratethenew
extendedPDFcommand([Link])andselectit.
OpenOffice.orgUserGuidefor2.x

393

Chapter8:[Link]

5. LocateintheFunctionsmenu,[Link]
foundinthecategory,[Link]>extendedPDFandtheFunction
wouldbeextendedPDF.
6. [Link].
7. TheorderoftheitemsbymovingthenamestothelargelistboxusingDrag&Drop.
8. [Link]
changes.
Thenewmenuitemsshouldnowbeavailable.
ChangingToolbars
Tocopyanicon,sayfromanobjectbartotheStandardtoolbar,sothatitisalwaysvisible,
[Link]
automaticallyrememberstheconfigurationofthetoolbars.

Todeleteanicon,holddowntheAltkeywhiledraggingitoutofitstoolbaranddropit
outsideofthetoolbars.
Tohaveaseparatingdashonthetoolbar,draganiconslightlytotherightwhileholding
downtheAltkey.
Todeleteaseparatingdash,dragtheicontotherightoftheseparatingdashslightlytothe
leftwhileholdingdowntheAltkey.

[Link]
[Link]
[Link].
TheVisiblebuttonscommandinthecontextmenuofthetoolbarsmayalsobeusedtohavea
quickoverviewoftheiconnamesandtheirfunctions.
Inserting,MovingandDeletingIconsonToolbars
1. [Link],tomodifythe
textobjectbarforalltextdocuments,openatextdocument,andthendothesameforthe
otherdocumenttypes.
2. OpenthecontextmenuofthetoolbarandselecttheEditcommand.
3. Atthebottomofthedialogueselectthedesiredfunctioncategoryandthefunction.
4. Ifnosuitableiconisdisplayedforthisfunction,clickIcon...andselectanappropriate
[Link].
5. Nowdragtheselectediconoutofthedialoguewhilekeepingthemousebuttonpressed
[Link].
6. Closethedialogue.
7. OnaWindowssystemonly,tomovethisicontoanewposition,dragittothenew
positionwhilekeepingtheAltkeypressed.
OpenOffice.orgUserGuidefor2.x

394

Chapter8:[Link]

8. AgainforWindowsonly,toremoveaniconfromatoolbar,dragitoutofthetoolbar
whilekeepingtheAltkeypressed.
Ifthetoolbaristobedockedwithanotherborder,proceedasfollows:
1. HoldtheCtrlkeydownanddoubleclickagrayareaofthetoolbartoopenthetoolbar
asafloatingwindow.
2. [Link]
Ctrlkey,andifthetoolbarisalsooverawindowborder,thetoolbarwilldockwiththe
windowborder.
ChangingIconViews
Iconviewscanbechangedbetweentwochoices,flaticonsand3Dicons.
[Link]>Options>[Link].
[Link].
[Link].
[Link]
boxswitchesbetweenlargeandsmallicons.

OpenOffice.orgUserGuidefor2.x

395

Chapter8:[Link]

ChangingtheLookoftheUserInterface
[Link],
theusercanchangethewindowsanddialoguestosuitpersonaltaste:
ChooseTools>Options>[Link]>[Link]&Feelcombobox,choose
anappearancereminiscentofMacintosh,XWindowsorOS/[Link]
hasthefamiliarlookofaMicrosoftWindowsapplication.
SelectingMeasurementUnits
OnecanselectseparatemeasurementunitsforWriter,Writer/Web,Calc,ImpressandDraw
documents.
1. SelectTools>Options.
2. [Link],
clickonTextDocumenttoselectthemeasurementunitforWriter.
3. ClickonGeneral.
4. OntheGeneraltabpage,underSettings,isacomboboxforselectingthemeasurement
unit.
5. ClosethedialoguewithOK.
Moving,DeletingorCopyingIcons
[Link]
movedwithinthesametoolbarandcopiedbetweentoolbars.

Todeleteaniconfromatoolbar,keeptheAltkeypressedanddragtheicontoaplace
wherethereisnotoolbar.
Toinsertordeleteadash,dragtheiconinthesamewaytotheside.

OpenOffice.orgUserGuidefor2.x

396

Chapter8:[Link]

[Link]
[Link],bothafaxmodemandafaxdriverthatallows
applicationstocommunicatewiththefaxmodemmustbeinstalledastheywouldwitha
printer.
CreatingaLANFriendlyFaxingSolutionunderLinux
1. [Link]'tforgettorunfaxrunqasa
cronjob.
2. Testbysendingapostscriptfiletosomeone.
3. Installfax4CUPS([Link],considerit.)
4. MakeaprinterinCUPSfollowingthefax4CUPSinstructionswhichpointstomgetty.
5. Testbysendingapostscriptfiletosomeoneasanonrootuserwith
lprPprinternameo"phone=faxnumber"filename
(ifitdoesn'twork,[Link],trychangingthepermissionsonthecups
spooldirectory)
6. [Link]
CUPSbrowsingisenabled
7. findandrunspadminasroot.
a) [Link]
[Link],inthatcasejustuse
adifferentprintername.
b) UsethecommandlprPprinternameo"phone=(PHONE)"
c) [Link].
8. tryprintingtothefaxprinterinWriter..shouldwork
9. infoaboutmakingafaxtoolbarbuttonappearisintheWriterhelpfile
[Link]
[Link]'trequireanythingontheLinux
workstationexceptforCUPSwhichshouldbeavailableinanycase.
[Link]
automagicallyat[Link]
[Link]'llallbedonethroughCUPSauto
browsing)
CreatingaLANFriendlyFaxingSolutionunderWindows
WhileWindowsdoesnotuseCUPS,printermanagementissimilarandthestepsoutlined
[Link]
ateachstage.

OpenOffice.orgUserGuidefor2.x

397

Chapter8:[Link]

SendingaFaxviadialogue
Printthecurrentdocumentwiththefaxmachineasaprinter:
[Link]>PrintandselectthefaxdriverintheName
pulldownlist.
[Link].
[Link]
[Link]
sufficienttosendafax:
1. ChooseTools>Options>[Link]>Print.
2. SelecttheinstalledfaxdriverfromtheFaxpulldownlist.
3. ClickOK.
4. OpenthecontextmenuontheStandardtoolbarandclickVisibleButtonstoseealistof
[Link]
haveacheckmark.
5. Inthecontextmenu,[Link]
[Link],thefaxdriverenteredinstep2,is
activatedtosendthecurrentdocument.

FurtherInformation
[Link]
[Link],
See[Link]

OpenOffice.orgUserGuidefor2.x

398

Chapter9:AdvancedTechniques

Chapter9:AdvancedTechniques
[Link]
revisionmarkingfunction(redlining)inWriterandCalc.

CopyingandMovingDataUsingDragandDrop
[Link]
dragginganddroppingwiththemouse.
[Link]
[Link],
textareas,drawobjects,graphics,buttonsandotherformfunctions,hyperlinks,tableareas
andmanymorecanbemovedwiththemouse.
[Link]
whencopyingandanarrowwhenmakingalinkorhyperlink.
MousePointerShape

Description
Moving

Copying
Creatingalink

PressingCtrlorShift+Ctrlwhenreleasingthemousebutton,usuallyinfluences
whethertheitemiscopied,moved,[Link];in
thesubmenuoftheDragModeicon,specifywhethertocopytheobject,insertitasalinkor
[Link]
timebypressingtheEsckeybeforereleasingthemousebutton.
InsertingObjectsFromtheGallery
[Link]
[Link].
Links,ontheotherhand,remaindependentontheoriginalobject;thus,changestothe
originalobjectarealsoreflectedinthelink.
Insertinganobjectasacopy

OpentheGallery.

Chooseathemefromtheleftarea.

Selecttheobjectbyasingleclick.

OpenOffice.orgUserGuidefor2.x

399

Chapter9:AdvancedTechniques

Dragtheobjectintothedocumentorrightclicktoopenthecontextmenuandselect
InsertandCopy.

Insertinganobjectasalink

OpentheGallery.

Chooseathemefromtheleftarea.

Selecttheobjectbyasingleclick.

DragtheobjectintothedocumentwhilepressingtheShiftandCtrlkeys,orright
clicktoopenthecontextmenuandselectInsertandLink.

Insertinganobjectasabackgroundgraphic

[Link].
[Link].
[Link].
[Link]>Background>PageorParagraph.
Insertinganobjectasatexture(pattern)foranotherobject

OpentheGallery.

Chooseathemefromtheleftarea.

Selecttheobjectbyasingleclick.

DragtheobjectontotheotherobjectinthedocumentwhilepressingCtrl.

CopyingGraphicsFromtheGallery
Graphics,draggedfromtheGallery,areinsertedintoatext,spreadsheetorpresentation
documentwheretheyaredropped.
Ifthegraphicisreleaseddirectlyonadrawobject,pleasenotethefollowing:
9. Ifitismoved,bydraggingwithoutpressinganykey(noadditionalsymbolappearsnextto
themousepointer),onlythefontattributesarecopiedfromthegraphicandappliedtothe
drawobjectwherethemousebuttonisreleased.
[Link](aplussignappearsnextto
themousepointer),thegraphicisinsertedasanobject.
[Link],bydraggingwhileholdingdownShift+Ctrl(alinkingarrow
appearsnexttothemousepointer),thedrawingobjectisreplacedbythegraphicfromthe
Gallery;however,thepositionandsizeofthereplaceddrawobjectareretained.
InsertingGraphicsFromaDocumentintheGallery
Graphics,fromHTMLpagesandothersimilarsources,canbeplacedintheGalleryby
draganddrop.
OpenOffice.orgUserGuidefor2.x

400

Chapter9:AdvancedTechniques

DisplaytheGallerythemetowhichtoaddthegraphic.

Positionthemousepointerabovethegraphic,withoutclicking.

Ifthemousepointerchangestoahandsymbol,[Link]
case,clickthegraphicwhilepressingtheAltkeytoselectitwithoutexecutingthe
respectivelink.
However,ifthemousepointerdoesnotchangetoahandsymbol,simplyclickthegraphic
toselectit.

Oncethegraphicisselected,releasethemousebutton.
Clickagainonthegraphicimage,keepingthemousebuttonpressedformorethantwo
seconds,tocopythegraphicimagetomemory.
Withoutreleasingthemousebutton,dragthegraphicintotheGallery.

Note:DrawobjectsthatarecreatedusingtheDrawfunctionsfloatingtoolbar,cannotbeincorporatedinthe
gallery.

CopyingGraphicsBetweenDocuments
Graphicscanbecopiedfromonedocumenttoanother.
Note:Ifthedocumentistobepublished,pleaseobservecopyrightlawsand,forsafety,obtaintheconsentofthe
authorsoftheoriginal.

9. Openthedocumentinwhichtoinsertthegraphicobject.
[Link].
[Link].
[Link]+C
[Link].
[Link].
[Link].
[Link]
copyofthepictureoruseCtrl+V.
[Link],thehyperlinkandnotthegraphicisinserted.
CopyingDrawObjectsintoOtherDocuments
[Link],spreadsheetsand
presentationdocuments.
3. Selectthedrawobjectorobjects.
4. CopythedrawobjecttotheclipboardbyusingCtrl+Corbyrightclickingtoopenthe
contextmenuandselectingCopy.
5. Switchtotheotherdocumentandplacethecursoratwhichtoinsertthedrawobject.
OpenOffice.orgUserGuidefor2.x

401

Chapter9:AdvancedTechniques

6. InsertthedrawobjectatthetargetpositionbyusingCtrl+VorusethePastecommand
fromthecontextmenu.
InsertingaDrawobjectinatextdocument
Aninserteddrawobjectisanchoredinatext
[Link]
bechangesbyselectingtheobjectandclickingon
[Link]
opensapopupmenuthatpermitschangingthe
possibletypesofanchor.

OpenOffice.orgUserGuidefor2.x

402

Chapter9:AdvancedTechniques

InsertingaDrawobjectinaspreadsheet
[Link]
anchorbetweencellandpageandbackbyselectingtheobjectandclickingonthe
ChangeAnchorontheobjectbar.

OpenOffice.orgUserGuidefor2.x

403

Chapter9:AdvancedTechniques

DragandDropWiththeDataSourceView
Thesimplestandquickestwayoftransferringdatafromadatasourceintoatextor
spreadsheetdocument,orcreatingformsbasedonadatasource,isthedraganddrop
method.
CopyingwithDrag&Drop

Toreverseamistakemadeduringadraganddropoperation,positionthecursorinthe
documentandchoosetheUndocommandfromtheEditmenu(orviathekeyboard).
Note:Copyingbydraganddropispossibleinthebothdirections:
6. Atexttableoraselectedrangeofaspreadsheetcanbedraggedusingdraganddroptoatablecontainerinthe
datasourceexplorerorviceversa.
7. Likewise,simplertextcanbecopiedusingdraganddropfromonedocumenttoadatafieldinthedatasource
[Link].

Usingdatainatextdocument
Adatabasefieldcanbeinsertedinatextdocumentbydraggingafieldnamefromthe
[Link]
[Link]
dragthedesiredfields,suchas,homeaddress,formofaddressetcetera,intothedocument.
Thebestwaytoinsertacompleterecordistoselectthecorrespondingheaderanddragitinto
[Link],theInsertdatabasecolumnsdialogue
appears,whereonecandecidewhethertousealldatabasefields,andwhethertocopythe
dataintothedocumentastext,[Link]
inserted.
Applyingdatatoatabledocument
Oneormorerecordscanbeinsertedintothecurrentsheetofaspreadsheetbyselectingthe
[Link]
isinsertedintheplacewherethemousebuttonisreleased.
Insertingcontrolsinatextform
Whenatextform,linkedtoadatabase,iscreated,onecangeneratecontrolsbydragand
dropfromthedatasourceview:Whenadatabasecolumnisdraggedintothetextdocument,
[Link]+Ctrlwhiledragging,atextfieldisinserted,
[Link]
informationthatisneededfortheform.

OpenOffice.orgUserGuidefor2.x

404

Chapter9:AdvancedTechniques

CopyingSheetAreastoTextDocuments

Openboththetextdocumentandthespreadsheet.

Selectthesheetareatocopy.

[Link]
moment,thendragtheareaintothetextdocument.
Ifthedocumentsarenotvisiblenexttoeachother,firstdragthemousepointertothe
[Link]
addressedinthiswayisdisplayed,andthemousepointercanbemovedwithinthe
document.

Oncethecursorislocatedintheplacewheretoinsertthesheetarea,releasethemouse
[Link].

SelectandeditthisOLEobjectatanytime.
[Link],simplydoubleclickonit.
Alternatively,selecttheobjectandchooseEdit>Object>EditorchooseEditfromthe
[Link],butthe
iconsandmenucommandsneededforspreadsheetsarevisible.
[Link].
InsertingDataFromSpreadsheets
Whencopyingthecontentsofacell(textornumbers),usingtheclipboardisbest.
Copyingformulaethatareinthecellsintotheclipboard,suchasfromtheinputlinesof
theformulabar,isalsopossible;[Link].

Tocopyasimple,rectangularareaofcellsintoatextdocumentasasheet,selectthecells
inthesheetandthenuseeithertheclipboardordrag&droptoinsertthemintothetext
[Link].
Ifcellsaredraggedtothecharacterviewofapresentationdocument,theywillalsore
[Link],eachcellwillformaline
[Link]
key,whendragging,createacopy.

InsertingDataFromTextDocuments
Textcanbetransferredintootherdocumenttypessuchasspreadsheetsandpresentationsbut,
thereisadistinctionmadethatdependsonwhetherthetextshouldbesetinitsowntext
frame,transferredintoaspreadsheetcellortransferredintothestructureofapresentation.

Iftextistransferredviatheclipboard,onecanpasteittothedestinationwithorwithout
[Link]+CtocopyandCtrl+Vtopaste.
Toselecttheformatinwhichtheclipboardcontentswillbepasted,doalongclickonthe
[Link].

Toobtainaselectionofformats,chooseEdit>PasteSpecial.

OpenOffice.orgUserGuidefor2.x

405

Chapter9:AdvancedTechniques

InatextdocumentuseFile>Send>Outlinetopresentationtocreateannew
presentationdocumentthatcontainstheheadingsfromthetextdocumentastheoutline.
TheheadingsmustbeformattedwithacorrespondingParagraphStylebeforetheusercan
seethiscommand.
Totransferthesameheadingstothefirstsuperordinateparagraph(orseveralparagraphs)
ofthetext,[Link],theheadingsmust
beformattedwithacorrespondingParagraphStylebeforetheusercanseethiscommand.

CopyingTextUsingDragandDrop
Ifoneselectsatextsectionanddragsitintoaspreadsheetwithdrag&drop,itwillbe
thenbeinsertedastextintothecellwherethemouseisreleased.

Whenatextsectionisdraggedtothecharacterviewofapresentation,anOLEobjectis
[Link].
Iftextisdraggedtotheoutlineviewofapresentation,itisinsertedatthepointwherethe
cursorispositioned.

OpenOffice.orgUserGuidefor2.x

406

Chapter9:AdvancedTechniques

RevisionMarkingFunction
TherevisionmarkingfunctioninWriterandCalchighlightschangestodocumentssothat
whomeveriseditingthefilecanseewhochangedwhatandwhen.
RecordingandDisplayingChanges
Whenseveralauthorsareworkingonthesametextorspreadsheet,thereviewfunction
(markingchanges,redlining)makesitpossibletodocumentwhomadewhichchanges,so
[Link],itisthenpossibletolookat
eachindividualchangeanddecidewhetheritshouldbeacceptedorrejected.
Forpurposesofillustration,[Link],beforepublication,the
reportmustbereadbythesenioreditorandtheproofreader,andbothwilladdtheirchanges.
Perhapsthesenioreditorwritesclarifyafteroneparagraphandcrossesoutanotherentirely.
Theproofreaderchecksthespellingofthedocumentandnotestwocaseswhereexplicit
referencestothegenderofanimaginarypersoncouldberewordedtoavoidgenderentirely.
Theediteddocumentcomesbackwhereupononecanchoosetoincorporateorignorethe
[Link],youalsoemailedacopyofthereporttoagood
friendandcolleaguewhohasdoneresearchonasimilartopicinthepast,askingforafew
suggestions,[Link]
simplemattertoproduceafinalversionofthedocumentfromtheresultsthatarereturned.

OpenOffice.orgUserGuidefor2.x

407

Chapter9:AdvancedTechniques

AcceptingorRejectingChanges
Whenbringingadocumentinwhichothershavenotedtheirchangesbacktogetheragain,the
usercanacceptorrejectthechangesindividuallyoralltogether.

Ifonehasputmultiplecopiesofthedocumentincirculation,[Link]
onedocument(seeMergingVersions).
OpenthedocumentandchooseEdit>Changes>[Link]
RejectChangesdialogueappears.
[Link]
nowtheusersmakesadecisionwithoneofthedialoguebuttons.

Ifoneauthorhaschangedanotherauthor'schange,onewillseethechangeshierarchically
arrangedwithaplussignforopeningupthehierarchy.

Whenthelistofchangesistoolongorconfusing,switchtotheFiltertabinthedialogueand
specifyonlythechangesofcertainauthors,oronlythechangesofthelastday,orthatthelist
shouldberestrictedinsomeotherway.
[Link](aswithregularexpressionsin
theFind&Replacedialogue)arepermittedwhenenteringthefilter.
[Link]
havebeenacceptedareremovedfromthelistandappearinthetextwithoutanyfurther
marking.
Spreadsheetchangesthathavebeenacceptedarecombinedinthelistinasingleentry,sothat
onecancontinuetoseewhichchangeshavealreadybeenaccepted.
[Link]
[Link],themselves,
[Link]
[Link]
thefilterbutinspiteofthiscannotbeacceptedorrejected.
OpenOffice.orgUserGuidefor2.x

408

Chapter9:AdvancedTechniques

ComparingVersionsofaDocument
Perhapsoneoftheauthorswhoreceivedacopyofthedocumentmadechangesbutdidnot
recordthembychoosingEdit>Changes>[Link],thedeliveredcopyofthe
documentcanbecomparedwiththeoriginaldocument.
1. OpentheediteddocumentandthenchooseEdit>CompareDocument.
2. Fromthefileselectiondialogue,selecttheoriginalcopyofthedocument.
3. Confirmthedialogue.
[Link]
thatoccurinthedocumentbutnotintheoriginalareidentifiedashavingbeeninserted,and
alltextpassagesthataremissinginthecopydocumentareidentifiedasdeletions.
Nowstarttherevisionprocessbyacceptingtheinsertions,inwhichcasetherelevanttexts
stayintheiroriginalform,oracceptingthedeletions,inwhichcasethemarkedtext
containedinthecopyarenotinsertedinthedocument.
MergingVersions
Itisnotalwaysoneandthesamedocumentthatiseditedbydifferentauthorsandpassed
[Link]
[Link],threecopiesarereturnedinadditiontotheoriginal
document,withdifferentchangesineachcopy.
[Link]
[Link],allnormal
textmustbeidentical.
1. Opentheoriginaldocumentintowhichtomergeallthecopies.
2. SelectEdit>Changes>MergeDocument....Thisopensatypicalfileselectiondialogue
fromwhichtochooseacopyofthedocument.
3. Aftermergingthedocuments,thedesignatedchangesfromthecopyintheoriginal
documentwillbevisible.
RecordingChanges
[Link]
[Link](forexample,thechangingofatabstopfromalign
lefttoalignrightisnotrecorded).However,allusualchangesmadebyaproofreaderare
recorded,suchasadditions,deletions,textalterations,usualformattingetcetera.
[Link],openthedocumenttobeeditedandchooseEdit>Changes
andclickRecordwhichdisplayacheckmarkwhenenabled.
[Link]
colour,whilealldeletedtextremainsvisiblebutiscrossedoutandshownincolour.
[Link],onewillseeareferencetothetypeof
change,theauthor,[Link]
enabled(ontheHelpmenu),anyavailablecommentsonthischangewillbedisplayed.
OpenOffice.orgUserGuidefor2.x

409

Chapter9:AdvancedTechniques

Changesinaspreadsheetdocumentarehighlightedbyaborderaroundthecells;whenacell
ispointedtomoredetailedinformationonthischangeisseeninHelpTipswhenExtended
Tipsisalsoenabled(ontheHelpmenu).
Commentsoneachmarkedchangemaybeenteredbyplacingthecursorintheareaofthe
changeandthenchoosingEdit>Changes>Comment....InadditiontoExtendedTips,the
commentisalsodisplayedinthelistintheAcceptorRejectChangesdialogue.
Tostoprecordingchanges,chooseEdit>Changes>Recordagaintodisablethe
function(Thecheckmarkisremoved).Nowthedocumentcanbesavedandreturnedtothe
personwhoaskedforthechanges.
Inatextdocument,[Link]
beintheformofaredlineinthemargin,forexample.
SelectthetypeofadditionalselectionunderTools>Options...>TextDocumentonthe
ChangestaborunderTools>Options>[Link]
dialogues,determinehowandinwhatcolourthechangesshouldbeflagged,whereonthe
pagethedashshouldbeandsoforth.

VersionManagement
[Link]
[Link]
versionsofadocument,[Link]
thedialoguetoopenadocument,choosewhichversionofthedocumentiswantedforediting
fromalistbox.

OpenOffice.orgUserGuidefor2.x

410

Chapter9:AdvancedTechniques

[Link]
[Link]
frombeingmodified,deletedorviewed.
ProtectingAllDocumentsWhenSaving
AlldocumentsthataresavedinXMLformat([Link])canbeprovidedwith
[Link]
secured,[Link],
graphicsandOLEobjects.
Turningonprotection

1. SelectFile>SaveAs
2. checkSavewithpassword.
3. Savethedocument.
Turningoffprotection

1. Openthedocumentandenterthecorrectpassword.
2. ChooseFile>SaveAsanduncheckSavewithpassword.
InformationthatisenteredunderFile>Properties,suchasthenameoftheauthor,date
created,wordandcharactercountsetcetera,arenotencrypted.
ProtectingRevisionMarking
WitheverychangemadeinCalcandWriter,thereviewfunctionrecordswhomadethe
[Link],sothatitcanonlybeturnedoffwhen
[Link],allchangescontinuetoberecordedand
acceptanceorrejectionisnotpossible.
Turningonrevisionprotection

1. ChooseEdit>Changes>ProtectRecords.
2. Enterandconfirmapasswordofatleast5characters.
Turningoffrevisionprotection

1. ChooseEdit>Changes>ProtectRecords.
2. Enterthecorrectpassword.
ProtectingCellRangesinCalc
InCalc,[Link]
process,choosewhetherthecellsareprotectedagainstaccidentalchanges,whetherthe
formulaecanbeviewed,whetherthecellsarevisibleand/orwhetherthecellscanbeprinted.
Protectionmaybepasswordprotected,[Link]
assignedapassword,protectioncanonlyberemovedbyenteringthecorrectpassword.
OpenOffice.orgUserGuidefor2.x

411

Chapter9:AdvancedTechniques
Note:Cellprotectionforcells,settingtheProtectedattribute,isonlyeffectivewhenthewholetableisprotected.
[Link],incellswheretheusermaymake
changes,[Link]
andsavethedocument.
Turningonprotection

Turningoffprotection

Forcells:[Link]>Cells>CellProtectiontab.
Forspreadsheets:ChooseTools>ProtectDocument>Sheet.
Fordocuments:ChooseTools>ProtectDocument>Document.
Enterandconfirmapasswordofatleast5characters.
Forspreadsheets:ChooseTools>ProtectDocument>Sheet.
Fordocuments:ChooseTools>ProtectDocumentDocument.
Whereapasswordhasbeenassigned,enterthecorrectpassword.

ProtectingSectionsinWriter
[Link]
apassword.
Turningonprotection

1. Selectthesection.
2. ChooseInsert>Section>Section,
3. UnderWriteprotectionmarktheProtectandWithpasswordcheckboxes.(Ifthe
sectionalreadyexists:Format>Sections.)
4. Enterandconfirmapasswordofatleast5characters.
Turningoffprotection

1. ChooseFormat>Sections>Section
2. UnderWriteprotection,uncheckProtect.
3. Enterthecorrectpassword.
[Link]
ThecontentsofindividualcellsofaWritertexttablecanalsobeprotectedfromchanges.
Turningonprotection
Turningoffprotection

OpenOffice.orgUserGuidefor2.x

[Link]>Cell>
Protect.
First,ensurethatTools>Options>[Link]>
FormattingAids>CursorinprotectedareashasEnablechecked.
[Link]>
Cell>Unprotect.
SelectthetableintheNavigator,openthecontextmenuandselect
Table>Unprotect.
UseShift+Ctrl+Ttoremoveprotectionfortheentirecurrenttable
orallselectedtables.

412

Chapter9:AdvancedTechniques

AutomaticProtectionofIndexesandTables
Tablesofcontents,alphabeticalindexesandsoonthatarecreatedautomaticallyinWriter,
areautomaticallyprotectedagainstaccidentalchanges.
Turningonprotection

1. Placethecursorintheindex/tableofcontents.
2. FromthecontextmenuchooseEditIndex/Table.
3. OntheIndex/Tabletabpage,checkProtectedagainstmanualchanges.
Turningoffprotection

1. EnsurethatTools>Options>[Link]>FormattingAids>Cursorin
protectedareashasEnablechecked.
2. Placethecursorintheindex.
3. FromthecontextmenuchooseEditIndex/Table.
4. OntheIndex/Tabletabpage,uncheckProtectedagainstmanualchangesor,inthe
Navigator,selecttheindex,openthecontextmenuandselectIndex>Readonly.
Protectingframes,graphicsandOLEobjects
[Link],
positionand/[Link](inWriter)andOLE
objects.
Turningonprotection
Turningoffprotection

Forgraphicsinsertedininadocument:ChooseFormat>Graphics>
[Link],markContents,Positionand/orSize.
Forgraphicsinsertedinadocument:ChooseFormat>Graphics>
[Link],uncheckasappropriate.

ProtectingDrawingObjectsandFormObjects
Drawobjects,thatareinsertedinadocumentusingtheDrawFunctionsfloatingtoolbar,can
[Link],theusercandothe
samewithformobjectsinsertedusingtheFormFunctionsfloatingtoolbar.
Turningonprotection

1. SelectFormat>PositionandSize>PositionorSizetab.
2. ChecktheProtectcheckbox.
Turningoffprotection

1. ChooseFormat>PositionandSize>PositionorSizetab.
2. UnchecktheProtectcheckbox.

OpenOffice.orgUserGuidefor2.x

413

Chapter9:AdvancedTechniques

ProtectingRecords
ChangesmadeinadocumentcanberecordedbychoosingeitherEdit>Changes>Record
orEdit>Changes>[Link],onemustenterthe
correctpasswordinordertoturnoffthefunctionoracceptorrejectchanges.
1. [Link].
2. Enterapasswordconsistingofatleast5charactersandconfirmit.
3. ClickOK.

DigitalSignaturesandEncryption1
Overview
[Link].org2.0andis
[Link],,therequirementtoprotectdatafrom
beingmodifiedhasexistedforalongtime.
[Link]
passwords,digitalsignaturesofferenhancedsecureprotectionofdocumentcontent,both
insideOpenOffice.org2.0andexternally.
Anotheraspectofusingdigitalsignatures,[Link]
importanttopicbecausewhenuseraccessesadocumentcontainingmacrosorreceivesthem
viaemail,theusercannotknowifthesecanbetrustedorwhethertheymayharmthesystem.
Beingthatthereisnoeasywaytodeterminewhetheramacroisharmful;thedecision
whethertotrustamacroornottotrustmustbebasedonthetrustworthinessofthemacro
[Link],onecannotknowthatthemacroreallycomesfromtheauthororthatit
[Link].
Authorscansignthemacrowithaprivatekeyandusercanthenverifythesignaturewiththe
author'[Link]
contenthasnotbeenmodified.
Certificates
HowtogetaCertificate?

[Link],tocreateoneforoneselfor,
secondly,toobtainonefromatrustedsigningauthority.

1 Specification[Link]
OpenOffice.orgUserGuidefor2.x

414

Chapter9:AdvancedTechniques

Selfsignedcertificates

[Link]
[Link],usersareexpectedtoknowand
understandthebasicsoftheprocedure.
Product

OS

Vendor

[Link]

Windows

MicrosoftpartofOffice

abylonSELFCERT

Windows

[Link]

Certificate
Assistant

MacOSX

Builtin.

[Link]

Linux,BSD,Solaris10

ComeswithOpenSSL.

keytool

JDKorJRE

PartofJava(Solaris)

PleaseseetheinstructionsintheOperatingSystemdocumentationforyoursystem.
CertificatesfromaCertificateAuthority

Dependingonuserneeds,gettingacertificatefromaCertificateAuthoritymaybefreeor
[Link]:
Vendor

Cost

Type

Contact

Thawte

Free

Email

[Link]

Comodo

Free30daytrial

Serverandemail

[Link]

Verisign

Cost

Alltypes

[Link]

CAcert

Free

Alltypes

[Link]

[Link]
SeeHelp>Contents>Index>Searchterm>digitalsignaturesforinstructionson
[Link].

OpenOffice.orgUserGuidefor2.x

415

Chapter9:AdvancedTechniques

ChangingDefaultsandOtherConfigurationItems
SavingConfigurationWithDocument
Userscansetaglobalconfiguration(sothatitappliestoalldocumentsofthistype),orcan
connecttheconfigurationtoaspecificdocument,whichmustexistasafile.
1. Loadthedocumenttowhichtoconnecttheconfigurationoropenanydocumentofthe
sametype.
2. [Link],selectthetoolbarsthatshouldbevisibleordefine
whatisonthetoolbars,[Link]
foundunderTools>Configure.
3. ClickSave...inthedialogueunderTools>[Link]
whichtosavetheconfiguration.
4. IntheFileTypelistbox,select<All>.
5. InthelargelistboxoftheSavedialogue,selectthefilethatistobeconnectedtothe
configuration.
6. [Link],[Link]
concernsonlytheconfigurationconnectedtothedocument,nottheactualcontentsof
thedocument.
7. Confirmoverwrite.
[Link]
documentandchoosingFile>DocumentTemplate>Organizerthendoubleclickingthe
document.
Assoonasoneloadsoropensthisdocument,theconfiguration,thatwassavedwithit,
[Link]
[Link]
settingsatanytimebychoosingTools>ConfigureandclickingtheResetbutton.
InsertingandEditingTabStops
[Link],ausercansettabstopsbychoosing
Format>[Link].
[Link]
contextmenuinwhichthetabtypecanbechanged.
Tosetseveraldecimaltabsoneaftertheother,keepclickingtheicontotheleftoftheruler
untilthedesiredtabtypeisshown,thenclickontheruler.
Selection

OpenOffice.orgUserGuidefor2.x

Description:

Settinglefttabs
Settingrighttabs
Settingdecimaltabs
Settingcenteredtabs

416

Chapter9:AdvancedTechniques

DoubleclicktherulertoopentheParagraphdialogue.
[Link]
theTabstabpage.
Note:ToassigntabsdirectlytoacurrentParagraphStyle,openthecontextmenuofthatparagraphandchoose
EditParagraphStyletocalltheParagraphStyledialoguewheretabsarethenentered.

MovingTabsontheRuler

Therearethreewaystosettabs:
1. Moveindividualtabstopsontherulerusingthemouse.
2. Tomoveseveraltabstopsontheruler,[Link]
onetabwhilecontinuingtopressShifttomovethattabaswellasallthetabstothe
[Link].
3. PressCtrlinsteadofShiftwhendraggingatabontherulertomovethattabandall
[Link]
proportionallytotheirdistancefromthemargin.
ChangingthePropertiesofTabs

Tochangetabtype,clickthetabtobechangedontheruler,thenopenthecontextmenu.
DeletingTabs

[Link]
thetaboutsidetheruler.
ChangingtheDefaults

Tochangethesettingsofthedefaulttabstops,seethesettingsinTools>Options>
(DocumentType)>[Link]
displayedunitstocentimetres,inches,point,[Link]
[Link],andtheyonlyapplytotherulerfromwhichcontextmenuthe
[Link],chooseTools>
Options>[Link]>Generalandchangethemeasurementunitthere.

OpenOffice.orgUserGuidefor2.x

417

Chapter9:AdvancedTechniques

ChangingthecolourofText
ClicktheFontcolouriconinWriterandothermodules,andkeepthemousebuttonpressed
toobtainafloatingtoolbarfromwhichtochoosefromtherangeofcolours.
Fontcolour(Writer)
Fontcolour(othermodules)
Thefollowingappliestoallmodules(Writer,Calc,Draw,Impress):Selectthetextthatisto
takeanothercolour,thenclickthecolourwantedonthefloatingtoolbar.
Note:OnlyinWriter:Ifoneconfirmsthesymbolwithashortclickwhilenotextisselected,thenthemousepointer
[Link]
[Link]
longasthesymbolispressed,oruntilclickedwithoutdragging,oruntiltheEsckeyispressed.

InsertingLandscapepagesintoaPortraitorientedDocument
1. OpentheStylesandFormattingwindow(Format>StylesandFormattingorF 11)
2. IntheStylesandFormattingwindow,clickonthePageStylesicon(fourthiconfromleft)
3. Thetype"Standard"shouldalreadybehighlighted,holdtherightmenubuttondownto
seethecontextmenuandchoose"New..."
4. Inthedialoguethatappears,givethenewpagestyleadescriptivename;forexample,
Landscape
5. ClickonthePagetabandchangethepageorientationtoLandscapebyclickingonthe
[Link],makeotherchangestothepagestyle,as
needed(suchasadjustingthemarginsizes).
6. [Link].
7. PlacethetextcursorinthedocumentatthelocationatwhichtoinserttheLandscapepage
8. SelectInsert>ManualBreak
9. Inthedialoguethatappears,selectPageBreakandintheStylelist,selectthenewpage
style,e.g."Landscape";
[Link]

OpenOffice.orgUserGuidefor2.x

418

Chapter9:AdvancedTechniques

MoreonTemplates
ChangingDefaultTemplates
WhenanewdocumentisopenedusingFile>New,ablankdocumentappearsbasedonthe
[Link]
documentorreplaceitwithanexistingdocumentsothatthenewdocumentcontains
personalizedcustomformatattributesorothercontents.
ModifyingDefaultTemplates
[Link],[Link],this
[Link],ifoneisnotwhatisneeded,onecandothefollowingto
createanewtemplate:
1. Openanew,emptydocument
2. [Link],editthestylesintheStylesand
Formattingwindow.
3. Bywayofexample,thefollowingdescribeshowtoproceedfortextdocumentsandthese
[Link],ofcourse,
[Link].
1. Nowsavethedocument,createdinstep2,bychoosingFile>Templates>Saveand
savingthedocumentin,say,theDefaultcategory.
2. SelectFile>Templates>Organize.
3. [Link]
intheuser/templatedirectory.
4. Selectthetemplatewasjustsavedandopenthecontextmenuoropenthesubmenuof
theCommandsbutton.
5. ChooseSetasdefaulttemplate.
[Link],thenewdocument
willcorrespondtothetemplatedefinedasdefaultinstep5above.
ResettingDefaultTemplates
Toresetthemodifiedtexttemplatetotheoriginaldefaulttemplate,proceedasfollows:
1. SelectFile>Templates>Organize.
2. [Link],selectthe
[Link],whenauseropensanemptytextdocument,itwill
[Link].
UsingCustomTemplates
[Link]
[Link]
[Link]
accordingly.
OpenOffice.orgUserGuidefor2.x

419

Chapter9:AdvancedTechniques

NewtemplatessavedusingFile>Templates>SaveorbyselectingtheTemplatefiletype
[Link]
<path_to>/.openoffice.org2/user/[Link]
available,anytime,byselectingitintheNewdialogue(File>New>FromTemplatesand
Documents).Whenthetemplateisopened,anewdocumentwillbecreatedbasedonthat
template.
Remembertoupdatetheviewofthetemplatesinthedialoguetoensurethatnewlycreated
[Link],selectFile>Templates>Organizeandinthesubmenuof
theCommandsbutton,[Link],callthisfileviaFile
>Templates>Editandtheneditit.
[Link]
WhereusershomedirectoriesareremotelymountedviaSamba,NFSorothersimilarfile
storagemethodunder*NIX,itissometimesnecessarytomakechangestomodifytheshell
[Link]:
1. [Link]
/<install_dir>/[Link]/Contents/openofficeorg2.0/program.

2. Editthisfilewithasuitabletexteditorsuchasviandchangethefollowinglinesas
indicated:
SAL_ENABLE_FILE_LOCKING=1
export SAL_ENABLE_FILE_LOCKING
3. toeither
SAL_ENABLE_FILE_LOCKING=0
export SAL_ENABLE_FILE_LOCKING
4. orcommentthemoutasshownbelow:
#SAL_ENABLE_FILE_LOCKING=1
#export SAL_ENABLE_FILE_LOCKING
5. [Link].
NOTE:[Link]
seetheSystemAdministrationGuidefortheOperatingSystemthatisinuse.

OpenOffice.orgUserGuidefor2.x

420

Chapter10:[Link]

Chapter10:[Link]
Macros
[Link]
[Link]
overviewofhowtowriteamacro.
ThesemacrosareonlyavailableinEnglishregardlessoftheinstallationlanguage.

AccessingtheSampleMacros
CallingtheSampleMacros
1. SelectTools>Macros>[Link].
2. IntheLibraryfield,[Link].
3. Thelistwillexpand,[Link].

4. Chooseoneofthemodules,theAutoTextmodule,forexample,byclickingtheentry.
5. ClickMainintheMacronamefield.
6. ClicktheRunbuttontorunthemodule.
7. Anewdocumentiscreated,listingtheAutoTextentriesavailabletothisinstallationof
[Link].
Sincetheobjectofthisexercisewastorunamacro,[Link]
alternative,OrganizeMacros,isusedtouncoverotherfeatures.

OpenOffice.orgUserGuidefor2.x

421

Chapter10:[Link]

EditingtheSampleMacros
1. SelectTools>Macros>OrganizeMacros>[Link]
[Link].
2. IntheMacrofromfield,[Link].
3. Thelistwillexpand,[Link].
4. Chooseoneofthemodules,theAutoTextmodule,forexample,byclickingtheentry.
5. ClickMainintheExistingMacrosin:fieldifitisnotalreadyselected.
6. ClicktheEditbutton.
[Link].
Thefollowingillustrationshowssomeofthecodeonewouldseebyfollowingthese
instructions.

[Link](Help>
[Link])[Link]:Macrosand
Programming>GeneralInformationandUserInterfaceUsage>[Link]
IDE.
Note:Tools>Macros>OrganizeMacrosalsocontainsentriesforPython,BeanShell,[Link]
[Link].

OpenOffice.orgUserGuidefor2.x

422

Chapter10:[Link]

TheSampleMacros
ThefollowingsamplemacrosareintheGimmicksmodule.
AutoText
UsetheMainmacro.
ThismacroopensanemptyWriterdocumentandinsertsatableinwhichthenamesofallthe
AutoTextsarelisted.
OnecanprintthedocumenttohaveahandylistoftheavailableAutoTexts.
ChangeAllChars
UsetheChangeAllCharsmacro.
Usethismacroinatextdocumenttoreplacealltextandnumberswiththecharacters"x"and
"X".Thiscanbehelpful,forexample,ifthedocumentistobeusedasatemplatebutthe
originaltextisnottobelegible.
Ifoneeditsthismacro,otherreplacementcharacterscanbedefinedintheprogramcode.
GetTexts
UsetheMainmacro.
Thismacrocarriesoutasearchintheactivedocument(textdocument,spreadsheet,or
drawing)andcompilesalistofthecontents.
Thissamplewillhelptheuserlearnhowtoreferenceobjectsinthedocuments.
ReadDir
UsetheMainmacro.
[Link]
howthecontentsofdirectoriesareread.
Adialogueasksforadirectoryandthenthemacrocreatesagraphiclist(treeview)ofallthe
filesandsubdirectories.
Userfields
UsetheStartChangesUserfieldsmacro.
Thismacrohelpsusersmanageseveralsetsofuserdataandallowsswitchingbackandforth
[Link]
[Link].

OpenOffice.orgUserGuidefor2.x

423

Chapter11:[Link]

Chapter11:[Link]
FormulaEntry
MainViewofOpenOfficeFormula.

Toolbar
Thetoolbarisdividedintotwoparts.

OpenOffice.orgUserGuidefor2.x

424

Chapter11:[Link]

[Link]
iconforaninteractivecursor,andaniconforinsertingspecialcharacters.
CommandIconBox
ThecommandiconboxprovidesamethodofwritinganequationusingGUIsimilartoother
wordprocessors.

Theuppertworowsintheiconboxaremenusthatcalltheactualcommandbuttonsintothe
[Link]
commandatthecursorpositioninthecommandfield.
CommanddialogueBox

OpenOffice.orgUserGuidefor2.x

425

Chapter11:[Link]

[Link]
boxcanbeediteddirectly.

CreatinganEquationwithdialogueCommands
Tocreateanequationwithequationeditor,entertheprogrammingcommandsinlogical
[Link]
generateequationsinTeX(ascientificpublishingformat).
Maintaininglogicalconsistencyofthecommandsenteredintothedialogueboxisimportant.
Thebracketsusedinthedialogueboxmustbematched,forexampleall"("musthavea
corresponding")".
[Link],itisreallysimpletotypeformulaeinthedialogue
box.
CommandInputField
1+1=2

Formula
11= 2

Thenextexampleshowshowroundbrackets()andbraces{}[Link]
usedwhenitisdesiredtodisplaygroupingintheequation,thebraceisusedtogroupthe
commands,[Link],thenthelbraceandrbrace
commandsareused.
CommandInputField
(1+2)over(2+3)

{1+2}over{2+3}
lbrace1+2rbraceoverlbrace2+3rbrace

Formula
1 2
2 3
1 2
2 3
{12 }
{ 2 3 }

Hereisamorecomplicatedexample.
CommandInputField

{{1over5}+4}over{5+{4+1}over{3+3+1}}

OpenOffice.orgUserGuidefor2.x

Formula
1
4
5
41
5
3 31

426

Chapter11:[Link]

SpecialFormating
OfcoursetherearemanyothertypesofgroupingsthatcanbecreatedwithOpenOffice.
Exponentiation:
CommandInputField
2^3

5^(1+3+3^2)

Subscripting:
CommandInputField
2_3

(1over2)_%alpha+4_3

Formula
3
2
5 133
2

Formula
23
1
43
2

Leadingandtrailingsuperscriptandsubscript:
CommandInputField
Formula
2lsub(123)
123 2
2rsub(123)
2 123
123
2lsup(123)
2
123
2rsup(123)
2
209
1
Bilsup{209}+felsup{58}towardMt
Bi 58 fe 266
109 Mt n
lsup{266}lsub{109}+nlsup{1}

Inthelastexample,the'Mt'[Link]
onlytypingbothcommandsafter'Mt'.
Centresubscript/superscript:
CommandInputField
{24*3}csub(123)

+18csup(plus)(1+2+3+4)csub{minus}

Formula
2 43
123
plus

18 12 3 4
minus

OpenOffice.orgUserGuidefor2.x

427

Chapter11:[Link]

Underbrace/Overbrace:
CommandInputField

+18underbraceplus(1+2+3+4)underbrace
minus
+18overbraceplus(1+2+3+4)overbrace
minus

Formula
18
23 4
1

plus
plus

minus
minus

18
23 4
1

VarioustypesofBrackets
[Link]
useofseveralkindsofbrackets.
{}structuralbraces:usedtogrouppartsofanequationforprogrammingpurposes.
()Parenthesis:[Link]
equation.
[]squarebrackets:usageisthesameasparenthesis().
{}braces:asthekeyboardcharacters{}areusedforprogramcommandsandarenot
displayedintheresultingformula,bracesmustbetypedaslbracefor'{'andrbracefor'}'
Thesizeofbracketscanbecontrolledwiththecommands'left'and'right'
CommandInputField
(1+22cdot(2over(21)))

left(1+22cdotleft(2over{21}right)right)

leftlbracea^2+b^2=c^2rightrbrace

OpenOffice.orgUserGuidefor2.x

Formula

21
2
1 22
21

1 22

{ a 2b 2= c 2 }

428

Chapter11:[Link]

SpecialCharacters
Manyequationsusespecialcharactersinadditiontotheusualcharactersofthealphabet.
OpenofficeprovidesaneasymethodtouseGreekcharacters,whileanyothercharacterin
theavailablefontscanbeused.
[Link]
dialogueforspecialcharacters.
TheGreeklettersandothersymbolscanbeentereddirectlyintothecommanddialoguebox
byenteringthenameofthespecialcharacterprecededby%,forexample%SIGMAproduces
and%mugives .

OpenOffice.orgUserGuidefor2.x

429

Chapter11:[Link]

SpecialOperators
Thefollowingexamplesshowtheuseofsomespecialoperators
IntegralSign:
CommandInputField

intfrom{0}to{infinity}{a^2over3}="?"

SummationCharacter:
CommandInputField

sgn(%sigma)cdotsumfrom{%SIGMAin
%PHI}{1over{1aleph_%sigma^2}}

ProductCharacter:
CommandInputField

prodfrom{i=1}to{i=100}{{(x_i+1)cdot
x_i^3}over{x_i^21}}="?"
5^(1+3+3^2)

OpenOffice.orgUserGuidefor2.x

Formula

2
a
0 3 =?

Formula

sgn

1
2
1

Formula
3
i =100
x i 1x i

i =1

x 2i 1

=?

5 133

430

Chapter11:[Link]

VectorsandMatrices
VectorsandMatricesarecreatedbythe'stack'and'matrix'[Link]
commandsareusedwiththeoctothorp#toindicateelements,anddoubleoctothorp##to
[Link]{}.
Vector
Vectorsarecomposedusingthe'stack'commandasfollows:
CommandInputField

left(stack{A#B#a+b=c}right)

left(stack{alignr1#2}right)+left(stack{2#

3}right)+left(stack{3#1}right)

Formula
A
B
a b= c
1 2 3
2
3
1

Matrix
Matricesarecomposedusingthematrixcommandasfollows:
CommandInputField

left(matrix{1#2##2#3}right)=x
absmatrix{a#b##c#{}}=y
absmatrix{{1over2}#b##c#d}=z

OpenOffice.orgUserGuidefor2.x

Formula
1 2
=x
2 3
a b
=y
c
1
b
=z
2
c d

431

Chapter11:[Link]

Formatting
TherearesomeadditionalformatingcommandsthatareavailableinOpenOfficeFormula.
Theseallowadjustmentofthesize,colour,andlayoutoftheequation.
Size
Theinstructionsizechangesthesizeoftextintheequation.
CommandInputField
size2{a+b}=size+10{C}

Formula
a b =

Colour
Theinstructioncolourchangesthecolourofthetextintheequation.
coloursavailablearered,blue,green,yellow,white,andblack(default),
CommandInputField

colourblueA
left(matrix{{colourred1}#{colourblue2}
##{colourgreen3}#4}right)=colourblack
{x}

Formula
A
1 2 =x
3 4

Layout
Varioustextformatingcommandsareavailabletochangethelayout.
CommandInputField

bold{"bold"}newline"newline"

OpenOffice.orgUserGuidefor2.x

Formula
bold
newline

432

Chapter11:[Link]

Alignment
Thealignmentcommandsareavailabletochangethepositionoftheelementsofanequation
withrespecttoeachother.
CommandInputField

stack{alignra={}#alignrb+c+d={}}
stack{alignl12#alignlb^22}
5^(1+3+3^2)

OpenOffice.orgUserGuidefor2.x

Formula
a= 12
b c d = b 22
5 133
2

433

Chapter11:[Link]

Examples
Nowforthecomplicatedexamples:
CommandInputField

nroot{4}{nroot{3}{1over3+x^2}}
ldlineR_%alphardline=leftldlinematrix{sin
%alpha#cos%alpha##cos%alpha#sin
%alpha}rightrdline
{partialover{partialt}x(t)}+a(x)=%lambdacdot
F(x,t)
matrix{
a_11#a_12#dotsaxis#a_{"1m"}##
a_21#a_22#dotsaxis#a_{"2m"}##
dotsvert#dotsvert#dotsdown#dotsvert##
a_{"n1"}#a_{"n2"}#dotsaxis#a_{"nm"}
}
sqrt{1x}=1xover21over2x^2over4
dotslow
t=size+6intfrom{r_0}to{r_t}size8{drover
sqrt{2over%my[E_cmV(r)]l^2over{
%my^2r^2}}}

Formula

1
2
x
3
sin cos
R =
cos sin
x t a x = F x , t
t
a 11 a 12 a 1m
a 21 a 22 a 2m

a n1 a n2 a nm
4 3

x 1 x2
1 x =1 2 2 4
rt

t=

r0

left(stack{n#k}right)=factnover{factkcdot
fact(nk)}
f(x)=leftlbracematrix{1#xinsetZ##1overx
#xinsetQ##0#xinsetR}rightnone

[a;a_0,a_1,a_2,dotslow]=a+{1over{a_0+1over
{a_1+{1over{a_2+1overdotslow}}}}}

dr
2

2
l
[ E V r ] 2 2
my cm
my r

n!
n=
k k ! n k !

1 x
f x= 1 x
x
0 x
1

[ a ; a 0, a1, a 2, ]= a

a 0
a 1

OpenOffice.orgUserGuidefor2.x

1
1
a 2

434

Chapter12:BuildingFormswithXforms

Chapter12:BuildingFormswithXforms
OpenOffice.org2.0nowallowstocreateformsbasedontheopenW3CXFormsstandard.
WithXFormsitisveryeasytoimplementsimplelogicwithoutanyprogramming.
Thissimpleexampledescribescreationofaformsdocumentwhichcanbeusedtocreateand
collectdatasetsofapredefinedstructureinordertoexchangethisdatawithotherparties.
1. Usercreatesanewdocumentasshownabove.
2. Useraddsformcontrolsandlaysoutofthedocument.
3. Whenlayoutiscompleted,,theusercanstarttoworkonthepropertiesoftheindividual
[Link]
theinstancedata.
4. [Link]
[Link],theinstancedata
canbesenttoaserver,toanemailrecipientorbesavedtoafile.
5. [Link]
sharedwithothers,theusershouldalsosettheformtoopeninusagemodebydefault.

StepbyStepProcedure
1. StartwithFile>New>XMLFormDocumentasshownbelow:

OpenOffice.orgUserGuidefor2.x

435

Chapter12:BuildingFormswithXforms

2. ThenUseView>ToolbarsandensurethattheFormControlandFormDesignbars
arechecked.

Usersmaydockanythatarefloating.

OpenOffice.orgUserGuidefor2.x

436

Chapter12:BuildingFormswithXforms

3. EnsurethatDataNavigatorisenabledasshownbelow.

4. Edittheformandaddtextboxesforthosefieldsthatareneeded.

OpenOffice.orgUserGuidefor2.x

437

Chapter12:BuildingFormswithXforms

5. [Link]
Control.

OpenOffice.orgUserGuidefor2.x

438

Chapter12:BuildingFormswithXforms

6. Adffix

OpenOffice.orgUserGuidefor2.x

439

Chapter12:BuildingFormswithXforms

7. [Link]"Bindings"tabthe
definedbindingsshouldbevisibleandthedefaultmodelshouldbelistedinthe
comboboxontheleftsideofthe"Models"[Link]
binding,doarightclickandselectedit:

OpenOffice.orgUserGuidefor2.x

440

Chapter12:BuildingFormswithXforms

8. Inthisdialogue,[Link],theseareDecimalas
theDataTypeandthatdataentryismandatory.

OpenOffice.orgUserGuidefor2.x

441

Chapter12:BuildingFormswithXforms

9. NowdeselectDesignmodesothattheformmaybetestedinRunmode.

10. [Link],theredframeandtheerror
messageindicatethatthefAMountfieldsismandatoryandmustfilledin:

OpenOffice.orgUserGuidefor2.x

442

Chapter12:BuildingFormswithXforms

11. Becauseoneusuallywantstodosomethingwiththedatafromtheform,itis
importanttoadda"Submission".Thereforetogglebacktothedesignmode,goto
theDataNavigatoragainthenclickonthe"Submission"tabandclicktheAdd
icon:

12. Next,filloutthe"AddSubmission"[Link]
[Link]
requirements.

OpenOffice.orgUserGuidefor2.x

443

Chapter12:BuildingFormswithXforms

13. ToggleDesignOn/OfftoOffandtest.

14. Thisgraphicshowsthecontentofthesubmitasstoredinthefilesspecifiedabove.

OpenOffice.orgUserGuidefor2.x

444

Chapter12:BuildingFormswithXforms

UsingXformsandfurtherxmlprocessingcanthusproduceveryusablereportsetcetera.

OpenOffice.orgUserGuidefor2.x

445

Chapter13:XmlEnhancements

Chapter13:XmlEnhancements
ThissectioncontainshintsandtipsforusingTools>XMLFilterSettingstocreatenew
filters.

FlatXMLfilter
[Link]:
1. UsingthemethodfromtheSDK(See[Link]
2. UsingTools>XMLFilterSettings
OutputtingFlatXMLfilesandimportingthemisfairlystraightforwardwiththebuiltintool.
ThefollowingisastepbystepprocedurethatwillletonesaveandopenflatXMLfiles:
1. ClickonTools>XMLFilterSettings
2. ClickonNew

3. Enteranysettingsasshowninthefollowingillustrations:

OpenOffice.orgUserGuidefor2.x

446

Chapter13:XmlEnhancements

4.

OpenOffice.orgUserGuidefor2.x

447

Chapter13:XmlEnhancements

OpenOffice.orgUserGuidefor2.x

448

Chapter13:XmlEnhancements

5. [Link]
similartothefollowing:
<?xmlversion="1.0"encoding="UTF8"?><office:document
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:offic
e:1.0"
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:
1.0"
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.
0"
xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:
1.0"
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing
:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xslfo
compatible:1.0"
xmlns:xlink="[Link]
xmlns:dc="[Link]
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.
0"
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datas
tyle:1.0"
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg
compatible:1.0"
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:
1.0"
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.
0"xmlns:math="[Link]
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.
0"
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:scrip
t:1.0"
xmlns:config="urn:oasis:names:tc:opendocument:xmlns:confi
g:1.0"xmlns:ooo="[Link]
xmlns:ooow="[Link]
xmlns:oooc="[Link]
xmlns:dom="[Link]
xmlns:xforms="[Link]
xmlns:xsd="[Link]
xmlns:xsi="[Link]
office:version="1.0"office:mimetype="application/x
[Link]">
<office:meta>
<meta:generator>[Link]/2.0$Linux
OpenOffice.org_project/680m3$Build8968
</meta:generator>
<dc:title>UsingDataSources</dc:title>
<meta:initialcreator>Ian
Laurenson</meta:initialcreator>
...

6. UseSaveAsandselecttheFlatfilterfromthelist.
OfcourseoneneedstosupplyanXSLTfiletoprovidetheinstructionsneededtodothe
[Link]
[Link].:
<xsl:stylesheetversion="1.0"
xmlns:xsl="[Link]
OpenOffice.orgUserGuidefor2.x

449

Chapter13:XmlEnhancements
<xsl:stripspaceelements="*"/>
<xsl:templatematch="/">
<xsl:copyofselect="."/>
</xsl:template>
<xsl:outputmethod="xml"indent="yes"/>
</xsl:stylesheet>

OpenOffice.orgUserGuidefor2.x

450

Chapter13:XmlEnhancements

CreatinganewDocbookFilter

GotoTools>XMLFilterSettings...

SetFilterNameandNameofFileTypetoDocBook(Chapter)

GototheTransformationtab

SetDocTypeto<chapter>

ForXSLTforExportbrowsetothechapterexportstylesheet
(sofftodocbookheadings_chapter.xsl).
ForXSLTforImportbrowsetothechapterimportstylesheet
([Link]).

ForTemplateforImportbrowsetothestyletemplate([Link]).

ClickOKandclosetheXSLTFilterSettingdialog

Intheabovelist,theexportandimportstylesheetsareswappedasfollows:

ForXSLTforExportbrowsetothechapterstylesheet
(sofftodocbookheadings_chapter.xsl).
ForXSLTforImportbrowsetothechapterstylesheet([Link]).

OpenOffice.orgUserGuidefor2.x

451

Chapter14:TroubleshootingCommonProblems

Chapter14:TroubleshootingCommonProblems
ErrorMessagecontainsGetStorage:"NoContent"
Thefullerrormessagereads:
OpenOfficecannotbestar tedduetoanerrorinaccessingthe
[Link].
Pleasecontactyoursystemadministrato r.
Thefollowinginternalerrorhasoccurred:GetStorage:"NoContent"

[Link]
[Link],itseemsthatthisfilesometimesendsupbeing
filledwith0sandtheproblemseemstooccurmoreoftenunderWindows,possiblyasa
[Link].
UnderWindows
TolocatethisfileunderWindows,itiseasiesttouseWindowsExplorer'sFindfunction
(sometimescalledSearch).
Multiuserinstallations:
[Link]/W2k/XP,thisfileis
[Link],havingadministratorrightsand
enablingtheoptiontoviewsystemdirectoriesinExplorerisessentialbeforeusingtheFind
[Link]

C:\DocumentsandSettings\user\ApplicationData\[Link]<release>\<user>\regi
stry\data\org\openoffice\Office\[Link]<user>isanactualusernameand

<release>[Link].

Oncethefileislocated,simplyrenamethefile(forexampletosomethinglike
[Link]).[Link],[Link]
problemshouldhavedisappeared.
Singleuserinstallations:
[Link],thisfileislikelytobein

C:\ProgramFiles\[Link]<release>\<user>\registry\data\org\openoffice\Office
\[Link]<user>isanactualusernameand<release>isthereleaseof
[Link]..However,iftheOSisNT/W2k/XP,.thisfilecouldstillbeinaspecial

[Link],havingadministratorrightsandenablingtheoptiontoview
[Link]
95/98/ME,thelocationshouldbeasmentionedabove.
Again,oncethefileislocated,simplyrenamethefile(forexampletosomethinglike
[Link]).[Link],[Link]
problemshouldhavedisappeared.

OpenOffice.orgUserGuidefor2.x

452

Chapter14:TroubleshootingCommonProblems
Note:[Link]:\<some
path>\.[Link]<release>\share\registry\......etceterawhere<release>
[Link]..DoNOTdeletethesefiles!

UNIXsystems
ThedefaultlocationofthisfileunderaUNIXinstallation(singleormultiuser)is$HOME/

.[Link]<release>/user/registry/data/org/openoffice/Office/[Link]
uwhere$HOMEistheuser'[Link],simplyrenamethefile(forexample

[Link])[Link]
createdandtheproblemshouldhavedisappeared.

Outlinenumberingisnotretainedafterasave.
[Link],indocumentsgeneratedby
OpenOffice.org1.1.0upto1.1.3,onemustemployaworkaroundtoachieveexpected
[Link]
[Link].
Thefollowingprovidesaproceduretofollow:
1. [Link],my_text.
2. Changeintothisdirectory.
3. Useunziporsimilarzipfileutilitytounpackthedocumentfilethatisnotretainingits
numbering.
4. [Link]:
<config:configitemconfig:name="UseOldNumbering"
config:type="boolean">false</config:configitem>
5. Setthevaluefrom'false'to'true'.
6. Nowusingziporsimilarutility,repackthefilesinthetemporarydirectoryunderanew
[Link]:
ziprmy_new_fixed_document.sxw*
7. [Link].
IfacopyofStarOffice6.0isavailable,onecangetthesameeffectbyopeningandsavingthe
[Link],[Link]
OpenOffice.org1.0mightalsowork.
Ineithercase,whenthedocumentisopenedusingOpenOffice1.1.x,theline,described
above,isaddedwithvalue'true';sothatwillbenofurtherproblemswithoutline
numbering.

OpenOffice.orgUserGuidefor2.x

453

Chapter14:TroubleshootingCommonProblems

Howgetthepagecounttonotcountatitlepage?
OrHowdoIoffsetthepagecount?
Ifonehasatitlepageorcoverpageinthedocument,Writer's"pagecount"fieldstillcounts
thosepagesandwillbetoohigh.
Unfortunately,thereisnowaytooffsetthe"pagecount"[Link],instead,
[Link]'stheprocedure:
1. Placethecursorwheretoinserttheoffsetpagecount(perhapsintehheader).
2. [Link]"=page1"(the
"="willalreadybeinthere).The"page"variableisthenumberofpagesinthe
document,[Link]
notbecountedinthepagecount(inthisexample,1,foratitlepage).
3. PresstheEnterkeytoinserttheformula.
4. ChooseTools>Update>Fieldsfromthemenu(orpressF9)toforcetheformulato
refresh.(Otherwise,thepagecountformulawilljustbe0.)
5. Toeditthisformulaagainlater,placetecursorimmediatelybeforetheformula,and
pressF2.
Note:Everytimethepagecountchanges,refreshtheformulaagain.

Whattodowhendocumentprintsorexportswithblankpages
Thisisissueisaffectedbythebookcentricparadigmofleft/right,even/oddpagesthatisso
[Link]
Defaultpagestyle.
1. CreateaTitlepagestylefromDefaultorFirstPage.
2. LayouttheTitlepagehoweveritneedstolook.
3. Next,selectInsert>ManualBreak..andspecifyNextStyleas"FirstPage",
[Link].
4. SelecttheStylesandFormattingwindowandmodifytheFirstpagestylelayouttobe
"LeftOnly".
5. Thestatusbarwillnowshow"Page12/2",[Link]
followingFirstPageisdefaultandthepagenumberingwillproceedwithoutsurprises
fromthere.

OpenOffice.orgUserGuidefor2.x

454

Chapter14:TroubleshootingCommonProblems

WhattotodowithaGeneralerrorGeneralinput/outputerror
[Link],could
[Link]
$HOME/.openoffice.org2/user/basicunder*NIX

or,underWindows

C:\DocumentandSettings\<username>\ApplicationData\[Link]<release>\user\basic.

Tofixtheproblem,[Link](includingtheQuickstarter,ifany)andcopy
thesefromthedirectory<where_OOo_is_installed>/presets/basic/under
*NIX,
or,under
Windows,from
C:\ProgramFiles\[Link]<release>\presets\basic
to
C:\DocumentsandSettings\<username>\ApplicationData\[Link]
<release>\user\basic

Note:Tobeabsolutelysafe,onecouldalsodeletethelocalsettingsdirectory;however,.thepenaltyfordoingthis
isthatitispossibletoloseallpersonalsettingsandcustomizations.

[Link]
Thefollowingsetofinstructionsmayormaynotwork,dependingonhowbablydamaged
[Link]
[Link]:
a) AziputilitysuchasZipformostplatformsorWinZipforWindowsandsimilartools
b) Sufficientdiskspacetoallowmultiplecopies
c) Patience
[Link]:
1. Makeabackupofthefile
2. Createadirectoryinwhichtowork
3. [Link]
itintothedirectorycreatedinstep2.
NOTE:[Link].

4. [Link]
andsaveit.
5. RepeatSteps2and3withthenewemptyfile.
6. Replacethecontents.xmlfileinthedirectorycreatedinStep5withthe
contents.xmlfromthedamagedfileunpackedinStep3.
7. Usetheziputilitytorepackagethefilesanddirectoriesinthedirectorycreatedin
Step6.
OpenOffice.orgUserGuidefor2.x

455

Chapter14:TroubleshootingCommonProblems

8. Renamethenewzipfilewiththeextensionusedwiththeoriginalfile.
9. [Link]
insertinggraphics,Userscangetthesefromtheappropriatesubdirectoryofthe
directorycreatedinStep3.
10. Ifthecontentsisrecoveredusingthismethod,cleanup.
11. [Link]
bygoingtoTools>Options>[Link]>Load/Saveandenablingthe
following:
a) Alwayscreateabackup
b) Save AutoRecovery information everyandselecttheintervalfrom
thespinbox.

HowtogetsoundsunderLinux?
NOTE:[Link].

Overview
OpenOffice.org2.x,underLinuxandpossiblyother*NIXvariants,requirestheJavaMedia
Framework(JMF)torendermediasuchasfilmandsoundunderLinux.
Thissectionofthetroubleshootingchapterwilloutline

InstallingtheJavaMediaFramework(JMF)

[Link]

InstallationofadditionalJMFPluginsthatsupportfurthermediatypes

WindowsusersemployWindowstheDirectShowpartofDirectX.
Starting
Getthefollowingcomponents:
JavaruntimeEnvironment(JRE)
[Link]
necessarytouseSun'sJREasotherJREscanemploythebuiltinhook,Howevernon
SunJREsmaynotimplementthefullJavaAPIsoshouldbetested..
[Link]
[Link],ifthesystemusesaRPMbased
distribution,[Link],takeoneoftheotherpackagesthatis
mostsuitable.
JavaMediaFramework(JMF)

OpenOffice.orgUserGuidefor2.x

456

Chapter14:TroubleshootingCommonProblems

[Link],
[Link]
actualJMFcanbeaddedviaPlugins.
JMFMP3Plugin(optional)
TheMP3PluginallowsplayingaudioinMP3FormatviaJMFand,thus,with
[Link].
JffmpegacodecpackfortheJMF(optional)
Jffmpegisacodecpack,whichextendstheJMFtoincludemanymoremediumtypes.
WithJffmpegalloftheFFmpegproject(libavcodec)supportedmediumtypesare
playable.
InstallingtheJRE
[Link]
[Link]
[Link]
OncetheJREisinstalled,[Link]>Options>[Link]
>Javadialoguewhichwilllooksomethinglikethefollowinggraphic.

[Link]
theJREisinstalledinalocationotherthanthestandardlocationof/usr/java/,clickthe
[Link]
listedinthedialogue.
InstallatingtheJMF
1. [Link],installthe
[Link],installingthesoftware,executeallcommandsastheroot
[Link].
OpenOffice.orgUserGuidefor2.x

457

Chapter14:TroubleshootingCommonProblems

2. [Link](maybe
/opt/openoffice.org2.0/program/soffice)andaddthefollowingnearorat
else
LD_LIBRARY_PATH="$sd_prog$add_moz_lib"
fi
soitlookslikethis:
else
LD_LIBRARY_PATH="$sd_prog$add_moz_lib:$JMFHOME/lib"

fi
rememberingtosubstitute$JMFHOMEwiththepathtowhereJMFisinstalledandsave
thefile.
[Link]
[Link]
[Link]|Optionen>[Link]>JavatheButtonClassPath.
[Link]
[Link]
[Link].
[Link]
[Link]
[Link]
LD_LIBRARY_PATH.AsisthecasefortheClasspathalsotheLD_LIBRARY_PATHisa
listfrompathdatabyacolonfromeachotherseparatedis.
Theinstructionlooksasfollowsout:
$exportLD_LIBRARY_PATH=/pfad/zu/JMF2.1.1e/lib
[Link]
MultimediainhalteinOOonomoreproblem.
Theycantransfertheinstructionalsotothesofficescript,thenyoudonotneedtoenterthe
[Link]/LoginSkripte.
Afirsttest
OvertotestwhethertheinstallationoftheJMFwassofarsuccessfulstartsyou
[Link](Extras|Gallery)andclick
[Link]
playtheselectedfile.

Iftheyheartheclay/tone,thencongratulations!thefirsthurdleistaken:)
([Link](~1.1MB)touse)
[Link]
function,shouldyouhowevertosupportforfurtherformatsneed,thenyoureadonsimply.
ExplainedinthefollowingsectionslikeonetheJMFrigs.
OpenOffice.orgUserGuidefor2.x

458

Chapter14:TroubleshootingCommonProblems

InstallationofanadditionalPlugins:Themp3Plugin
TheJMFsupportedsomemediumtypes,[Link]
[Link]
downloadedcan.
Downloadyourselvesthusthemp3pluginof[Link]
media/jmf/mp3/[Link],which
[Link]
[Link]
thatyoucopythePluginintoalistinglib/extordirectlyintolibthelistingoftheJMF.
[Link]
knowthePluginnaturallyalsointothelistinglib/[Link]
ofthechoice.:)
RegistrationofthePluginsintheJMF

Sothatthemp3pluginintheJMFcanbeused,youmustregisterthePluginintheJMF.
Forregistrationyouimplementthefollowingsteps:
Openaterminalwindow
theenvironmentvariableCLASSPATHset,[Link]
areindicated:
$exportCLASSPATH=/pfad/zu/[Link]:/pfad/zu/[Link]
(Thepathsareseparatedbyacolon)
theactualregistrationcommandimplement:
[Link]
Fortheconclusionoftheregistrationyouaretoreceiveregisteredonesasonlymessage
[Link].
Note:IfyouinstalledtheJMFasroots,youmustlikewiseregisterthePluginasroots.
OtherwisetheconfigurationfileoftheJMFcannotbeupdated.
[Link]
abovementionedintoaUnterordnerlib/exttheJMF.

[Link]

[Link],howdescribedwiththeinstallationoftheJMF,the
[Link](Extras|Optionen>[Link]>Java,switching
surfaceClassPath,thenaddsarchives)

OpenOffice.orgUserGuidefor2.x

459

Chapter14:TroubleshootingCommonProblems

Timeforthesecondtest

[Link]
[Link]|
[Link].
InstallationofafurtherPlugins:Jffmpeg
[Link]
[Link]
[Link]
PAGE).
Jffmpegconsistsoftwoparts:[Link]
componentsupportednotyetallformatslibavcodec(FFMPEG)supported,thesystem
componentclosesthisgapandservesforitsimplythenormalsystembinariestoheadfor
(formatssupportoverviewthatofJffmpeg).Loadthusbothdown([Link]
[Link]).Againitisallthesameinthereasonwhereyouthefilesstores,I
recommendslikealsowiththemp3pluginthesublistlib/exttheJMF
Note:[Link],sincethemare
otherwisenotloaded.
RegistrationofthePluginsintheJMF
[Link]
morecomplexthanwiththemp3Plugin,becausethejffmpegPlugindoesnotprovidea
[Link]
createdhowevernowitchworkandalsofrominexperiencedusersto:)
AroundthePlugintoregisteryouimplementthefollowingsteps:
aterminalopen
theenvironmentvariableCLASSPATHset,[Link]
contained([Link]):
$exportCLASSPATH=/pfad/zu/[Link]
theProgramjmfregistryimplement(isintheUnterordneraretheJMF
/pfad/zu/jmfregistry
Example:
$CD~/JMF2.1.1e/
$exportCLASSPATH=./lib/ext/[Link]
$./bin/jmfregistry
Intheprogramjmfregistrynowthefollowingattitudesmustbetransacted:
AddthefollowingentriesintheriderMIMEoftype:
video/vob>vob
OpenOffice.orgUserGuidefor2.x

460

Chapter14:TroubleshootingCommonProblems

audio/ogg>ogg

AddthefollowingentriesintheriderPluginsunderDemultiplexer
[Link]
[Link]

AddthefollowingentriesintheriderPluginsundercodecs
[Link]
[Link]

CommitdonotforgettoalsoalwaysoperatetheButton!
[Link]

[Link],asdescribedwiththe
installationoftheJMF(Extras|Optionen>[Link]>Java,switchingsurfaceClass
Path,thenarchivesadd)
AroundallcodecsoftheJffmpegpackagetousetobeableyoumustusethenative
[Link](naturallytohavealso
theffmpegpackagestobeinstalled).Likeonethepathforruntimelibrariessetsyoualready
furtheraboveexperienced(withtheJMFinstallation).Addsimplythepathinadditioninthat
youthenativelibrary([Link])[Link]
Unterordnerlib/exttheJMFinstalled,thentheinstructionreadsnow
$exportLD_LIBRARY_PATH=/pfad/zu/JMF2.1.1e/lib:/pfad/zu/JMF2.1.1e/lib/ext
[Link]
Loginskripteofregistering.
Timeforthethirdtest

[Link]
MediaplayeroverExtras|[Link]
now.
Note:Ifnecessaryyoumustbeabletoselectthefilteroftypeoffileonallfiles(*.*)to
placetherebyyouaoggfile.
Functionedthat,[Link]
now(nearly)everything.

OpenOffice.orgUserGuidefor2.x

461

Chapter14:TroubleshootingCommonProblems

Whattodoifitfails?
Onlynopanic,[Link]
users@[Link]:
Useameaningfulreference
Describe*genau*[Link]
[Link]
Describewithwhichactiontheproblemarise
Iftheproblemconcernsonlycertainfiles,sendalefttothefilewith(innocasetothe
mailinglistsendthefile!)
Donotforgetalsotheinformationtotheusedsystem(distribution,JREversion,etc.)

HowtoopenMicrosoftWorksDocumentsinOpenOffice.org2.x
MattGodfreyhascontributedthisworkaroundforWorksusers.
Afterhoursoftinkering,[Link].org2.x
ThishasbeentestedandisworkingonWindows,XPand2000,withOpenOffice.org2.x.
Pleaseverifyandreportanysuccessorproblemstodev@[Link]
forwardingtotheauthor.
Herearethesteps:
1. Downloadandinstallthefree,asof20060715,"WordViewer2003"from
Microsoft
2. Downloadandinstallthefree,asof20060715,"Works6.0ConverterforWorks
andWordUsers"fromMicrosoft.
3. Installboth.
4. StartMicrosoftOfficeWordViewer2003fromtheStart>(All)Programsmenu.
5. [Link]"Files of
type"issetto"All Files(*.*)".
6. [Link]
7. [Link],clickyes
[Link]!.
8. Selectall>editcopy>.
9. [Link].
10. YoushouldnowbelookingatyourdocinOpenOffice.org2.x.
11. ChooseSaveasfromthefilemenuandsaveyourdocumenttoyourpreferredformat.
Youarenowgoodtogo!
OpenOffice.orgUserGuidefor2.x

462

Chapter14:TroubleshootingCommonProblems

OpenOffice.orgUserGuidefor2.x

463

Index

Index
Thisindexisaworkinprogressandpagenumbersmayormaynotbecorrectinthedraft.
Theyareaguideonly.

1
2
3

aligning.............................................................................
cells..........................................................................212
1/2 replacement...........................................................214 objects.............................................................xviii, 315
titles in charts....................................................xiv, 238
alphabetical indexes.............................................viii, 117
2D charts selection......................................................237 anchoring..........................................................................
objects......................................................................156
anchors..............................................................................
3D charts........................................................................... changing. .134, 150, 151, 156, 162, 168, 169, 185, 188,
402, 403
inserting....................................................................236
selecting...................................................................237 animating text...............................................vii, 104, 105
views....................................................................7, 237 appearance options.............................................xxii, 396
3D text creation...........................................................318 applying............................................................................
languages, to selected text..........................................34

A
abbreviation replacement..................................42, 43, 98
abbreviations.................................................................97
accents...........................................................................60

areas..................................................................................
fill.............................................................vii, 77, 83, 94
patterns.............................................................104, 224
shaded................................................................xx, 346
shadows......................................66, 109, 185, 307, 346
slanting.....................................................................314
transparency.....................................333, 338, 340, 342

accessibility.......................................................................
shortcuts........6, 19, 20, 28, 44, 60, 65, 71, 72, 97, 112,
151, 180, 212, 285, 292, 384, 392, 393, 405
arranging...........................................................................
adding............................................................................... headings............................................................viii, 113
backgrounds........xvi, xix, xxii, 66, 104, 141, 142, 162, assigning scripts..........................................xxii, 392, 393
166, 183, 187, 224, 226, 234, 236, 238, 274, 280,
attachments in e-mails..............................................ii, 27
288, 289, 290, 298, 299, 307, 312, 315, 324, 333,
338, 340, 353, 370, 371, 384, 400
AutoAbstract function for sending text to presentations. .
bullets..................viii, 81, 125, 126, 127, 128, 136, 137 406
buttons in toolbars............................................xxii, 394 AutoComplete function in text and list boxes.......vii, 98,
captions........................................x, 129, 130, 157, 158 100, 391
command buttons.....xxi, 368, 369, 370, 371, 373, 382, AutoCorrect function........................................................
383, 384, 385, 386, 435
adding exceptions..............................................vii, 100
conditions for XForm items........................5, xxvi, 435
options........................................................................42
hyperlinks.......................................................v, 63, 123
replacement table.........................................42, 96, 171
line numbers........................................................ix, 138
switching on and off...........................................95, 100
objects from Gallery.....x, xxii, 58, 159, 160, 237, 285,
URL recognition...................................................iii, 42
309, 324, 343, 362, 399, 400
textures on chart bars........................................xiv, 239 word completion....................................................v, 60
address books.................................................................... AutoFormat function.........................................................
registering................................................................379 applying to text tables.......................................xiii, 224
switching on and off.............................................iii, 40
address labels from databases................................xi, 179 text documents......................................................iii, 40
ADO databases...................................................365, 379 Automatic .................................................32, 33, 96, 171
OpenOffice.orgUserGuidefor2.x

464

Index
automatic bullets.........................................................128
automatic captions..............................................129, 157
automatic changes on/off......................................95, 100
automatic hyperlink formatting...............................iii, 42
automatic hyphenation in text.....xi, xii, 34, 65, 171, 172,
190

automatic drawing on/off.....................................vii, 96


cells on screen...................................................xiv, 226
defining..................................................................v, 67
elements of.................................................................68
for tables.........................................................v, 69, 151
to draw lines in text............................................vii, 107

bullets................................................................................
adding and editing......................................................81
automatic............................................................40, 128
automatic saving.....................................................22, 23 formatting options....................................................126
Automatic Spellcheck...............iii, vii, xi, 32, 33, 96, 171 in imported lists................................................viii, 136
replacing.....................................................................40
automatic word completion..........................................60
turning on and off.............................................viii, 125
AutoShapes feature in Microsoft Office......................i, 3
business cards...................................................................
AutoText.......vii, xxv, 43, 97, 98, 99, 100, 421, 422, 423 creating and synchronizing.........................xi, 177, 178
axes................................................................................... buttons...............................................................................
editing...............................................................xiv, 239 big/small...................................................................395
scaling .....................................................................239 changing view..................................................xxii, 395
automatic numbering........................................................
of objects...........................................viii, 100, 125, 137

form controls.....................................................xxi, 383


toolbars.....................................................xxii, 392, 394

backgrounds......................................................................
colour..........................66, 141, 162, 183, 187, 274, 384C
for cells and pages.............................................xiv, 226 calculating.........................................................................
for slides...................................................................288 across multiple text tables............................x, 150, 151
graphics....................................................xxii, 187, 400 complex calculation.................................................145
style..................................................................288, 299 in text......................................ix, x, 143, 145, 146, 150
backups.............................................................................
automatic................................................................ii, 23

in text, with formulas...............................................145


sums in text tables................................................x, 152

Base................................................................................... callouts..............................................................................
Data Sources......5, xx, xxi, 25, 57, 240, 247, 364, 376, draw objects....................................................xviii, 318
377, 378, 379, 380, 449
properties........................................................xviii, 318
Basic................................................................................. capital letters.....................................................................
programming............................................................422 AutoCorrect function.....................................vii, 40, 95
recording macros.............................................xxiv, 421 changing to small letters......................................vii, 95
bibliographies..............................................114, 122, 123 font effects.................................................................72
bitmaps.............................................................................. captions.............................................................................
applying text to.................................................xix, 332 adding chapter numbers........................viii, x, 129, 158
editing...............................................................xix, 332 automatic captions....................................................129
inserting............................................................xix, 332 editing or deleting................................................x, 157
replacing colours in...........................................xix, 338 update numbering.....................................................158
saving................................................................xix, 333 case-sensitive search.....................................................46
vectorizing........................................................xix, 321
cats....................................................................................
black and white printing....................................iii, 30, 31 care.................................................................................
feeding................................................................121
blocks of text...........................................................73, 97
bold................................................................................... long haired.....................................................................
Maine Coon........................................................121
formatting while typing.........................................vi, 73
Persian................................................................121
borders..............................................................................
longhaired......................................................................
OpenOffice.orgUserGuidefor2.x

465

Index
Himalayan..........................................................121 changes made automatically.....iii, vii, 40, 42, 43, 57, 65,
Persian................................................................121 95, 96, 100, 125, 139, 171, 214
semi longhaired.............................................................. changing............................................................................
Maine Coon........................................................121 default templates.............................................xxiv, 419
Norwegian Forest...............................................121 formats of hyperlinks.............................................v, 63
shorthaired...................................................................... headers/footers.....x, xi, xii, 84, 87, 162, 163, 165, 166,
Abyssinian..........................................................121
177, 180, 183, 206, 224, 226, 231, 242, 244, 246,
248, 254, 264, 266, 271, 288, 376
American Shorthair....................................120, 121
Bengal.................................................................121 icon sizes..........................................................xxii, 395
cells................................................................................... indents........................................................................15
addressing and naming.......xiv, xv, 206, 221, 227, 229, object sizes......................................................xviii, 307
page backgrounds.................................xi, xii, 183, 187
231, 255
as OLE objects.........................................................405 size of text frames....................................................102
assigning a background colour to.............................141 toolbars............................................................xxii, 394
attributes...........................216, 218, 223, 226, 240, 271 work directory............................................................19
backgrounds.............................................................226
copy visible.......................................................xiv, 230
currency format........................................................216
enlarging and reducing in text tables...................x, 153
entering fractional numbers in.................................214
entering numbers as text in......................................213
formatting text in......................................................212
increasing width.......................................................206
inserting a formula into............................................143
inserting a range of...........................................139, 140
inserting an object into.............................................142
Inserting and Editing Notes..............................xiii, 219
inserting paragraphs before.................................ix, 141
invalid table cell.......................................................150
line breaks................................................................212
merging........................................................x, 141, 152
number formats................................152, 212, 214, 240
printing range...........................................................222
protecting................................................xxiii, 411, 412
selecting a range of..................................139, 231, 242
showing grid lines....................................................226
splitting.................................................x, 141, 152, 153
style..........................................................................274
Text overflow...........................................................206
validity of contents.............................................xv, 261
Value Highlighting...................................................209

character counts...........................................................i, 5
characters..........................................................................
bold..............................................................46, 76, 240
coloring..............................................................66, 418
counting....................................................................i, 5
font effects.........................................................72, 184
fonts........................................................................v, 63
formats......................iv, vi, vii, xiv, 60, 72, 76, 95, 226
italics....................................................................64, 82
languages selection....................................................34
shadowed..................................................................109
spacing.......................................................................83
special...............................................42, 49, 60, 65, 429
subscript and superscript......................xxv, 71, 72, 427
uppercase or lowercase.........................................vi, 72
chart legends.....................................................................
editing...............................................................xiv, 238

charts.................................................................................
3D views......................................................7, 236, 237
bars with textures..............................................xiv, 239
data...................................................................161, 236
dragging and dropping.............................................161
editing axes.......................................................xiv, 239
editing legends..................................................xiv, 238
editing titles..............................................................238
inserting................................x, 160, 161, 203, 235, 236
certificates for documents..........................xxiv, 414, 415
linked data............................................................x, 161
changes............................................................................. organization....................................................xviii, 309
accepting or rejecting......................................xxiii, 408
check box creation......................................................383
comparing.......................................................xxiii, 409
filtering.....................................................................408 checking spelling..............................................................
protecting.........................................................411, 414 automatically.........................iii, vii, xi, 32, 33, 96, 171
recording.........................................xxiii, 407, 409, 410 excluding words............................................xi, 96, 171
in all languages..........................................................34
manually.....................................................................34
OpenOffice.orgUserGuidefor2.x

466

Index
turning on and off.........................................32, 96, 171 combo box.....................xx, 370, 371, 383, 385, 396, 440
while typing...........................iii, vii, xi, 32, 33, 96, 171 comments..........................................................................
choosing printers...........................................................28 on changes................................................................410
circles................................................................................ comparisons......................................................................
drawing....................................................................316 hidden text fields.................................ix, 147, 148, 149
clipboard........................................................................... completion of words.................................................v, 60
cutting........................................................................62 compose key.....................................................................
pasting........62, 136, 139, 146, 228, 296, 401, 402, 405 special characters. .v, xxv, 42, 48, 60, 64, 65, 126, 322,
pasting options.........................................................405
425, 429
colorus............................................................................... concordance files..............................................................
backgrounds...............66, 141, 162, 183, 187, 274, 384 definition..................................................................119
colour bar.......................................15, xix, 312, 335, 342 indexes...........................................i, viii, 119, 120, 121
colours...............................................................................
assinging to area.......................................................107
Cross-fading......................................................xix, 327
custom.......................................................xix, 336, 337
fill.............................................................................313
filter..........................................................................237
fonts............................................................66, 290, 418
gradient.............................xix, 238, 285, 340, 341, 342
in cells..............................................................141, 223
in equations..............................................................432
in layers..............................................................xx, 362
modifying........................................xviii, 307, 336, 349
new...................................................336, 337, 339, 341
of text............................................v, xxiv, 66, 106, 418
preview.....................................................................236
printing in black & white...........................................30
printing in grayscale...................................................30
replacing............................................................xix, 338
selection...................................................................337
user-defined..............................................................335

Conditional Separators..............................................v, 65
conditional text.................................................................
setting up.............................................ix, 147, 148, 149
conditions..........................................................................
in fields and sections..................................................75
configuring........................................................................
for faxing..................................................xxii, 397, 398
for specific document......................................xxiv, 416
keyboard..........................................................xxii, 392
menus.......................................................xxii, 392, 393
toolbars.....................................................................392
contents protection.............................................xxiii, 411

context menus. .13, 17, 33, 34, 35, 63, 66, 67, 70, 78, 81,
83, 85, 86, 88, 90, 91, 92, 96, 102, 104, 105, 106, 116,
123, 125, 138, 140, 141, 142, 152, 153, 156, 160, 165,
169, 171, 172, 183, 184, 185, 186, 190, 193, 194, 207,
209, 212, 214, 218, 219, 220, 226, 231, 236, 238, 239,
240, 264, 271, 273, 274, 287, 288, 290, 298, 299, 303,
305, 306, 307, 311, 315, 318, 320, 321, 322, 323, 324,
328, 330, 340, 344, 354, 361, 362, 391, 394, 398, 400,
column headers................................................................. 401, 402, 405, 412, 413, 416, 417, 418, 419, 438
column header. 177, 180, 206, 240, 241, 254, 266, 273, continuously numbered captions.................................157
404
Contour Editor............................................................186
columns.............................................................................
contour wrap...............................................................186
altering order of........................................................252
changing width and height...............................153, 209 control points....................................................................
designations in Calc.................................................206 for editing.................................................................320
display attributes in table.........................................154 controls.............................................................................
editing................................................................xii, 183 activating in forms....................................xxi, 385, 386
finding labels automatically.....................................230 available............................................................xxi, 383
freezing.............................................................xvi, 273 customizing.......................................................xxi, 384
inserting or deleting.....................................x, 139, 153 inserting..........................................................xxiii, 404
Multicolumn section..................................................75 linked fields..............................................................386
printing...............................................................xv, 265 properties of form controls.......................................384
selecting...................................................................240 toolbar......................369, 370, 373, 382, 383, 384, 385
combination charts......................................................237 converters..........................................................................
OpenOffice.orgUserGuidefor2.x

467

Index
Euro converter..........................................................211D
PostScript,UNIX..............................................294, 397
dashes................................................................................
copies................................................................................ AutoCorrect function.............................................v, 65
printing...............................................................28, 294
data....................................................................................
copying............................................................................. consolidating......................................................xv, 253
datasource records in spreadsheets...........xiv, 246, 247 editing in chart.................................................161, 236
draw objects......................................................xix, 326 evaluating..........................................................xiv, 249
filter conditions........................................................391 Extrapolating....................................................xiii, 202
Gallery...x, xxii, 58, 159, 160, 237, 285, 309, 324, 343, forms........................................................368, 375, 382
362, 399, 400
in columns................................................................236
icons.........................................................................394
referencing........................................................xiii, 204
sheet areas.........................................................xvi, 273
sorting and filtering data..............................6, 177, 377
styles........................................................vii, 77, 83, 94
user data.............................................44, 191, 192, 423
text sections................................................................73
data binding......................................................................
corner roundings.........................................................323
changing in Xforms..........................................435, 440
counting words.............................................................i, 5
Data Navigator............................................437, 440, 443
creating.............................................................................
data series..........................................................................
address labels from databases.............................xi, 178
changing order of.............................................236, 238
new styles from selections.................vii, 77, 81, 83, 94
table of contents..................................viii, xii, 116, 187 data source browser.....................................240, 246, 248
currencies.......................................................................... data source explorer....................................................404
format codes.............................206, 215, 216, 226, 241 data source view................................................................
number formats........................................152, 215, 241 drag and drop..................................................xxiii, 404
currency formats.........................................................152 opening.....................................................................180
cursor................................................................................ data sources.......................................................................
allowing in protected areas..............................412, 413 copying records to spreadsheets........................xiv, 246
direct cursor...............................................................61 registering.................................xxi, 364, 378, 379, 461
in read-only text.................................................20, 267 viewing..............................................................xiv, 246
quickly moving to an object.....................................111 data structure of Xforms.....................................435, 440
curves................................................................................ data values in charts............................................161, 236
drawing...........................................................xviii, 319 database contents..............................................................
editing...............................................................xix, 320 inserting as tables............................................xxiii, 404
custom dictionaries........................................................... inserting as text........................................................404
creating.......................................................................33 database tables..................................................................
editing...............32, 33, 34, 96, 170, 171, 172, 392, 393 copying............................................................xxii, 399
Removing Words From.......................................xi, 171 creating.................................................................5, 364
custom hyphens..............................v, xi, 34, 65, 171, 172 creating in design view............................365, 366, 374
Custom Quotes.................................................vii, 41, 95 data source browser..................................240, 246, 248
searching..................................................................388
custom templates..........................................xxiv, 44, 419
databases..............................................................xxi, 378
customizing.......................................................................
administration through SQL........5, 240, 374, 386, 389,
events...............................................................142, 386
390, 391
keyboard..........................................................xxii, 392 ADO.................................................................365, 379
menus.......................................................xxii, 392, 393 changing list of..................................................xxi, 378
[Link]................xxii, 392, 393, 397, 398, 456 connecting.........................................................xxi, 378
toolbars............................................................xxii, 394 creating.................................................................5, 378
cutting...........................................................................15 Creating Bibliographies....................................viii, 122

OpenOffice.orgUserGuidefor2.x

468

Index
dBase.......240, 246, 247, 248, 365, 366, 378, 379, 380, defaults..............................................................................
381
fonts............................................................................64
default filters....................................243, 244, 248, 377 number formats........................................................223
Designing Labels................................................xi, 178 options.....10, 11, 15, 19, 21, 22, 23, 24, 25, 27, 28, 30,
exchanging...............................................xvii, 296, 380
31, 33, 34, 35, 44, 99, 129, 154, 158, 171, 172, 191,
192, 195, 196, 206, 209, 215, 219, 223, 224, 226,
form filters.......................................xxii, 378, 389, 391
234, 268, 269, 270, 273, 279, 292, 303, 307, 317,
formats.....................................................................246
345, 355, 378, 395, 396, 398, 410, 412, 413, 417,
JDBC................................................................365, 379
456, 457
MySQL........................................................................5
saving.....................................................................ii, 23
ODBC......................................................365, 379, 380
templates...............................................................vi, 92
Printing Labels............................................xi, 177, 178
views..................................................15, 195, 345, 396
produce labels..........................................................175
defining.............................................................................
registering.........................................................xxi, 378
searching records......................................................388 arrowheads and other line ends................................318
sorting..............................................................177, 243 colours...............................................xix, 335, 336, 337
standard filters..........................................................243 conditions...v, ix, xvi, 65, 147, 148, 149, 223, 273, 274
text formats.......................................................xxi, 380 line styles....................................68, 107, 110, 298, 353
viewing.....xiv, xx, xxiii, 177, 180, 246, 247, 248, 364, page styles...........................................................xi, 183
table borders.........................................................67, 69
365, 381, 404
databases in conditions..................................................... deleting.............................................................................
apply conditions to the data.....................................252 captions................................................................x, 157
Filter conditions.......................................252, 389, 391 datapilot tables...................................................xv, 252
special conditions.....................................................202 decimal place...........................................................223
Date Field......xx, 176, 244, 368, 369, 377, 378, 383, 384 footnotes...................................................................168
hyperlinks.............................................................iii, 42
date fields..........................................................................
icons.........................................................xxii, 394, 396
fixed/variable...........................................175, 176, 183
indexes/tables of contents.................................viii, 123
date format..................................................176, 218, 241 rows/columns, by keyboard.................................x, 153
dates.................................................................................. slides................................................................xvii, 305
formatting.................................................................223 snap lines..................................................................361
inserting....................................................................176 tables...................................................................ix, 140
dBase...240, 246, 247, 248, 365, 366, 378, 379, 380, 381 tabs..................................................................xxiv, 417
text..........................................................................v, 62
DDE........................................................74, 75, 140, 161
demoting heading levels.............................................128
decimal places in numbers................................................
Decimal Place..................................................217, 223 design view.......................................................................
creating forms..........................................................435
default directories...................................................19, 23
designing...........................................................................
default file format...........................................................3
database tables..........................................365, 366, 367
default filters..................................................................... fonts.................................vii, x, 66, 108, 109, 110, 156
comparison operators...............................................389
detaching toolbars...................................................17, 18
databases..................................................................243
dialogues...........................................................................
default languages........................................7, 33, 34, 171
opening and saving................................................ii, 19
default printer....................................................................
dictionaries........................................................................
settings...............................................................28, 294
spellcheck...iii, vii, xi, 32, 33, 34, 35, 57, 96, 170, 171,
default tab stops in text...............................................417
172, 173, 174, 196
default templates............................................................... thesaurus.................................xi, 33, 57, 173, 174, 196
changing..........................................................xxiv, 419 Digital Signatures....................i, iv, 5, xxiv, 51, 414, 415
defining.................................................................vi, 92
direct cursor..................................................................61
resetting...........................................................xxiv, 419
OpenOffice.orgUserGuidefor2.x

469

Index
direct formatting...............................................................
applying......................................................................76
resetting......................................................................73

copying a slide.........................................................286
copying text....................................................xxiii, 406
from Gallery to draw objects...................................159
styles..........................................................................95
text frames................................................................102
visible cells...............................................................231

disabling............................................................................
AutoCorrect................................................................95
document protection.................................................272
superscripting.............................................................71 draw objects......................................................................
tips..............................................................................10 anchoring..................................................................156
display of fields................................................................. arranging.........................................................xviii, 315
conditions............................................ix, 147, 148, 149 Callouts...........................................................xviii, 318
changing colour.................................................xix, 338
displaying..........................................................................
combining.........................................................xix, 330
formulas instead of results................................xvi, 273
converting to 3D.......................................318, 324, 349
non printing characters...............................................73
copying.....................................................................296
notes in spreadsheets........................................219, 273
copying between documents............................xxii, 401
distances......................................................xxii, 396, 417 Cross-fading......................................................xix, 327
docking............................................................................. curves..............................................................xviii, 319
Navigator window....................................................111 duplicating........................................................xix, 326
toolbars.....................................................................395 effects in Impress.............................................xvii, 291
windows.....................................................ii, 17, 18, 58 exporting to HTML..................................................107
Document Templates.........................................vi, 20, 82 frames.......................................................................157
documents......................................................................... Gradients and Patterns......................................xix, 340
changing titles............................................................14 grouping............................................................xix, 328
character counts........................................................411 inserting.................................................x, xix, 159, 332
comparing.......................................................xxiii, 409 Inserting a Draw object...........................xxiii, 402, 403
exporting...........xvii, xxi, 134, 294, 295, 310, 333, 381 inserting in a number range..................................x, 157
importing...................................................xvi, 136, 268 labeling.................................................................x, 157
languages.......i, 7, xii, 32, 33, 34, 35, 40, 80, 107, 140, Layer view................................................286, 312, 362
legends............................................................xviii, 318
171, 172, 173, 174, 196, 197, 199, 215, 216, 317,
linking precise points...............................................320
392, 421, 422, 475
master document and subdocuments.......124, 131, 132, mirroring..................................................................156
positioning....................................................x, 156, 355
133, 134
merging....................................................................409 rectangles and ellipses............................xviii, 312, 316
opening............................................................ii, 19, 24 rotating.......................................................................67
organizing...........................................92, 129, 419, 420 sectors and segments.......................................xviii, 316
page count.......................................xxvi, 163, 164, 454 sizes................................................................xviii, 314
page count?..............................................................454 text............................................................................317
printing...28, 30, 31, 134, 194, 222, 265, 294, 306, 398 Using Dimension Lines......................................xx, 361
read-only............................................................20, 267 Using Snap Lines...............................................xx, 361
saving.........................................................ii, 19, 22, 23 vector graphics........xviii, 294, 296, 309, 312, 319, 321
saving automatically..............................................ii, 23 drawing.............................................................................
sending as e-mail...................................................ii, 27 Drawing Lines....................................................vii, 107
styles changed................................................77, 84, 94
drawing toolbar.............................................................66
version management...............................xxiii, 408, 409
word count................................................................i, 5 drawings............................................................................
creating new.........................................iv, xviii, 58, 309
dotted areas.................................................238, 288, 340
Mechanical or Construction...............................xx, 356
drag and drop.................................................................... pinting in blank and white..........................................30
cancelling.................................................................404 Vectorizing Bitmaps.........................................xix, 321
chapters....................................................................113
Drop caps....................................................................184
OpenOffice.orgUserGuidefor2.x

470

Index

T
tree....................................................................................
bark..........................................................................121

replacement.............................................................214

type.........................................................................7, 237

OpenOffice.orgUserGuidefor2.x

471

Index

PublicDocumentationLicense,Version1.0
1.0 DEFINITIONS.

2.1 Initial Writer Grant.

1.1. "Commercial Use" means distribution or otherwise making the


Documentation available to a third party.

The Initial Writer hereby grants You a world-wide, royalty-free,


non-exclusive license to use, reproduce, prepare Modifications of,
compile, publicly perform, publicly display, demonstrate, market,
disclose and distribute the Documentation in any form, on any
media or via any Electronic Distribution Mechanism or other
method now known or later discovered, and to sublicense the
foregoing rights to third parties through multiple tiers of
sublicensees in accordance with the terms of this License.

1.2. "Contributor" means a person or entity who creates or


contributes to the creation of Modifications.
1.3. "Documentation" means the Original Documentation or
Modifications or the combination of the Original Documentation
and Modifications, in each case including portions thereof.
1.4. "Electronic Distribution Mechanism" means a mechanism
generally accepted for the electronic transfer of data.

The license rights granted in this Section 2.1 ("Initial Writer Grant")
are effective on the date Initial Writer first distributes Original
Documentation under the terms of this License.

1.5. "Initial Writer" means the individual or entity identified as the


Initial Writer in the notice required by the Appendix.

2.2. Contributor Grant.

1.6. "Larger Work" means a work which combines Documentation


or portions thereof with documentation or other writings not
governed by the terms of this License.
1.7. "License" means this document.
1.8. "Modifications" means any addition to or deletion from the
substance or structure of either the Original Documentation or any
previous Modifications, such as a translation, abridgment,
condensation, or any other form in which the Original
Documentation or previous Modifications may be recast,
transformed or adapted. A work consisting of editorial revisions,
annotations, elaborations, and other modifications which, as a
whole represent an original work of authorship, is a Modification.
For example, when Documentation is released as a series of
documents, a Modification is:
A. Any addition to or deletion from the contents of the Original
Documentation or previous Modifications.
B. Any new documentation that contains any part of the Original
Documentation or previous Modifications.
1.9. "Original Documentation" means documentation described as
Original Documentation in the notice required by the Appendix, and
which, at the time of its release under this License is not already
Documentation governed by this License.
1.10. "Editable Form" means the preferred form of the
Documentation for making Modifications to it. The Documentation
can be in an electronic, compressed or archival form, provided the
appropriate decompression or de-archiving software is widely
available for no charge.
1.11. "You" (or "Your") means an individual or a legal entity
exercising rights under, and complying with all of the terms of this
License or a future version of this License issued under Section 5.0
("Versions of the License"). For legal entities, "You" includes any
entity which controls, is controlled by, or is under common control
with You. For purposes of this definition, "control" means (a) the
power, direct or indirect, to cause the direction or management of
such entity, whether by contract or otherwise, or (b) ownership of
more than fifty percent (50%) of the outstanding shares or
beneficial ownership of such entity.

Each Contributor hereby grants You a world-wide, royalty-free,


non-exclusive license to use, reproduce, prepare Modifications of,
compile, publicly perform, publicly display, demonstrate, market,
disclose and distribute the Documentation in any form, on any
media or via any Electronic Distribution Mechanism or other
method now known or later discovered, and to sublicense the
foregoing rights to third parties through multiple tiers of
sublicensees in accordance with the terms of this License.
The license rights granted in this Section 2.2 ("Contributor Grant")
are effective on the date Contributor first makes Commercial Use of
the Documentation.
3.0 DISTRIBUTION OBLIGATIONS.
3.1. Application of License.
The Modifications which You create or to which You contribute are
governed by the terms of this License, including without limitation
Section 2.2 ("Contributor Grant"). The Documentation may be
distributed only under the terms of this License or a future version
of this License released in accordance with Section 5.0 ("Versions
of the License"), and You must include a copy of this License with
every copy of the Documentation You distribute. You may not offer
or impose any terms that alter or restrict the applicable version of
this License or the recipients' rights hereunder. However, You may
include an additional document offering the additional rights
described in Section 3.5 ("Required Notices").
3.2. Availability of Documentation.
Any Modification which You create or to which You contribute must
be made available publicly in Editable Form under the terms of this
License via a fixed medium or an accepted Electronic Distribution
Mechanism.
3.3. Description of Modifications.

2.0 LICENSE GRANTS.

OpenOffice.orgUserGuidefor2.x

472

PublicDocumentationLicense,Version1.0
All Documentation to which You contribute must identify the
changes You made to create that Documentation and the date of any
change. You must include a prominent statement that the
Modification is derived, directly or indirectly, from Original
Documentation provided by the Initial Writer and include the name
of the Initial Writer in the Documentation or via an electronic link
that describes the origin or ownership of the Documentation. The
foregoing change documentation may be created by using an
electronic program that automatically tracks changes to the
Documentation, and such changes must be available publicly for at
least five years following release of the changed Documentation.
3.4. Intellectual Property Matters.
Contributor represents that Contributor believes that Contributor's
Modifications are Contributor's original creation(s) and/or
Contributor has sufficient rights to grant the rights conveyed by this
License.
3.5. Required Notices.
You must duplicate the notice in the Appendix in each file of the
Documentation. If it is not possible to put such notice in a particular
Documentation file due to its structure, then You must include such
notice in a location (such as a relevant directory) where a reader
would be likely to look for such a notice, for example, via a
hyperlink in each file of the Documentation that takes the reader to
a page that describes the origin and ownership of the
Documentation. If You created one or more Modification(s) You
may add your name as a Contributor to the notice described in the
Appendix.
You must also duplicate this License in any Documentation file (or
with a hyperlink in each file of the Documentation) where You
describe recipients' rights or ownership rights.
You may choose to offer, and to charge a fee for, warranty, support,
indemnity or liability obligations to one or more recipients of
Documentation. However, You may do so only on Your own behalf,
and not on behalf of the Initial Writer or any Contributor. You must
make it absolutely clear than any such warranty, support, indemnity
or liability obligation is offered by You alone, and You hereby agree
to indemnify the Initial Writer and every Contributor for any
liability incurred by the Initial Writer or such Contributor as a result
of warranty, support, indemnity or liability terms You offer.

Once Documentation has been published under a particular version


of the License, You may always continue to use it under the terms of
that version. You may also choose to use such Documentation under
the terms of any subsequent version of the License published
by______________________ [Insert name of the foundation,
company, Initial Writer, or whoever may modify this License]. No
one other than ________________________[Insert name of the
foundation, company, Initial Writer, or whoever may modify this
License] has the right to modify the terms of this License. Filling in
the name of the Initial Writer, Original Documentation or
Contributor in the notice described in the Appendix shall not be
deemed to be Modifications of this License.
6.0 DISCLAIMER OF WARRANTY.
DOCUMENTATION IS PROVIDED UNDER THIS LICENSE ON
AN "AS IS'' BASIS, WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
LIMITATION, WARRANTIES THAT THE DOCUMENTATION
IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A
PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE
RISK AS TO THE QUALITY, ACCURACY, AND
PERFORMANCE OF THE DOCUMENTATION IS WITH YOU.
SHOULD ANY DOCUMENTATION PROVE DEFECTIVE IN
ANY RESPECT, YOU (NOT THE INITIAL WRITER OR ANY
OTHER CONTRIBUTOR) ASSUME THE COST OF ANY
NECESSARY SERVICING, REPAIR OR CORRECTION. THIS
DISCLAIMER OF WARRANTY CONSTITUTES AN
ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY
DOCUMENTATION IS AUTHORIZED HEREUNDER EXCEPT
UNDER THIS DISCLAIMER.
7.0 TERMINATION.
This License and the rights granted hereunder will terminate
automatically if You fail to comply with terms herein and fail to
cure such breach within 30 days of becoming aware of the breach.
All sublicenses to the Documentation which are properly granted
shall survive any termination of this License. Provisions which, by
their nature, must remain in effect beyond the termination of this
License shall survive.
8.0 LIMITATION OF LIABILITY.

5.0 VERSIONS OF THE LICENSE.

UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL


THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE),
CONTRACT, OR OTHERWISE, SHALL THE INITIAL WRITER,
ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
DOCUMENTATION, OR ANY SUPPLIER OF ANY OF SUCH
PARTIES, BE LIABLE TO ANY PERSON FOR ANY DIRECT,
INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK
STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR
ANY AND ALL OTHER DAMAGES OR LOSSES ARISING
OUT OF OR RELATING TO THE USE OF THE
DOCUMENTATION, EVEN IF SUCH PARTY SHALL HAVE
BEEN INFORMED OF THE POSSIBILITY OF SUCH
DAMAGES.

5.1. New Versions.

9.0 U.S. GOVERNMENT END USERS.

Initial Writer may publish revised and/or new versions of the


License from time to time. Each version will be given a
distinguishing version number.

If Documentation is being acquired by or on behalf of the U.S.


Government or by a U.S. Government prime contractor or
subcontractor (at any tier), then the Government's rights in
Documentation will be only as set forth in this Agreement; this is in
accordance with 48 CFR 227.7201 through 227.7202-4 (for
Department of Defense (DOD) acquisitions) and with 48 CFR
2.101 and 12.212 (for non-DOD acquisitions).

3.6. Larger Works.


You may create a Larger Work by combining Documentation with
other documents not governed by the terms of this License and
distribute the Larger Work as a single product. In such a case, You
must make sure the requirements of this License are fulfilled for the
Documentation.
4.0 APPLICATION OF THIS LICENSE.
This License applies to Documentation to which the Initial Writer
has attached this License and the notice in the Appendix.

5.2. Effect of New Versions.

10.0 MISCELLANEOUS.

OpenOffice.orgUserGuidefor2.x

473

PublicDocumentationLicense,Version1.0
This License represents the complete agreement concerning the
subject matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. This License shall be governed by
California law, excluding its conflict-of-law provisions. With
respect to disputes or any litigation relating to this License, the
losing party is responsible for costs, including without limitation,
court costs and reasonable attorneys' fees and expenses. The
application of the United Nations Convention on Contracts for the
International Sale of Goods is expressly excluded. Any law or
regulation which provides that the language of a contract shall be
construed against the drafter shall not apply to this License.
Appendix

The Original Documentation is _________________. The Initial


Writer of the Original Documentation is ______________________
(C) ____. All Rights Reserved. (Initial Writer
contact(s):_______________[Insert hyperlink/alias].)
Contributor(s): ______________________________________.
Portions created by ______ are Copyright (C)_________[Insert
year(s)]. All Rights Reserved. (Contributor
contact(s):________________[Insert hyperlink/alias]).
Note: The text of this Appendix may differ slightly from the text of
the notices in the files of the Original Documentation. You should
use the text of this Appendix rather than the text found in the
Original Documentation for Your Modifications.

Public Documentation License Notice


The contents of this Documentation are subject to the Public
Documentation License Version 1.0 (the "License"); you may only
use this Documentation if you comply with the terms of this
License. A copy of the License is available at
[Link]

OpenOffice.orgUserGuidefor2.x

474

You might also like