LibreOffice - Writer Guide
LibreOffice - Writer Guide
0 Writer Guide
Word Processing with Style
Copyright
This document is Copyright 20112013 by its contributors as listed below. You may distribute it and/or modify it under the terms of either the !" eneral #ublic $icense %http&//www.gnu.org/licenses/gpl.html'( )ersion 3 or later( or the Creati)e Commons *ttribution $icense %http&//creati)ecommons.org/licenses/by/3.0/'( )ersion 3.0 or later. *ll trademar+s within this guide belong to their legitimate owners.
Contributors
,ohn * -mith ,ohn 0. .1ugos2 4on 5aile ,r. #eter -chofield Cover art: 8laus9,:rgen 7eghorn .rew ,ensenn .a)id /lymire /arbara .uprey 6a2el 4ussman ,ean 6ollis 7eber ,ean 6ollis 7eber ,eremy Cartwright ,amie 3by ary -chnabl
Christoph !oac+
Acknowledgments
This boo+ is adapted and updated from the OpenOffice.org 3.3 Writer Guide. The contributors to that boo+ are listed on page 13.
Feedback
#lease direct any comments or suggestions about this document to& documentation;global.libreoffice.org
Contents
Copyright..................................................................................................................................... 2
Preface.................................................................................................................................. 9
7ho is this boo+ for?................................................................................................................. 10 7hat is in this boo+?.................................................................................................................. 10 7here to get more help?........................................................................................................... 10 7hat you see may be different................................................................................................... 11 "sing $ibre=ffice on a 0ac........................................................................................................ 12 7hat are all these things called?............................................................................................... 12 7ho wrote this boo+?................................................................................................................ 13 *c+nowledgements.................................................................................................................... 13 5re@uently as+ed @uestions....................................................................................................... 1> !ew features in $ibre=ffice 7riter >.0....................................................................................... 1A
*utoformatting........................................................................................................................... ED Creating numbered or bulleted lists........................................................................................... B0 "sing footnotes and endnotes................................................................................................... B3 Chec+ing spelling and grammar................................................................................................. B< "sing built9in language tools...................................................................................................... D0 "sing synonyms and the thesaurus........................................................................................... D1 6yphenating words.................................................................................................................... D3 "sing *utoCorrect...................................................................................................................... D> "sing word completion............................................................................................................... DA "sing *utoTeCt........................................................................................................................... D< $ine numbering.......................................................................................................................... DB Trac+ing changes to a document............................................................................................... DD *dding other comments........................................................................................................... 102 $in+ing to another part of a document...................................................................................... 103 -witching between insert and o)erwrite mode......................................................................... 10< Counting the words in a selection............................................................................................ 10E Changing the case of selected teCt.......................................................................................... 10E
Creating a template.................................................................................................................. 2DA 3diting a template.................................................................................................................... 2DE *dding templates obtained from other sources........................................................................ 2DB -etting a default template........................................................................................................ 2DD *ssociating a document with a different template.................................................................... 301 =rgani2ing templates............................................................................................................... 301
.efining your own numbering se@uences................................................................................ 3D0 "sing automatic cross9references............................................................................................ 3D2 "sing fields in headers and footers.......................................................................................... 3D< "sing fields instead of outline numbering for appendiC numbering..........................................3DE Tric+s for wor+ing with fields.................................................................................................... 3DE .e)eloping conditional content................................................................................................ 3DB "sing placeholder fields........................................................................................................... >0> "sing input fields and input lists............................................................................................... >0A
'
nde'.................................................................................................................................. )(1
Preface
TeCt entry( editing( and formatting %Chapter 3' #age9layout methods( including frames( columns( and tables %Chapter >' 3Cport to #.5( including boo+mar+s %Chapter A' Templates and styles %Chapters <( E( and 10' 3mbedding or lin+ing of graphics( spreadsheets( and other obJects %Chapter B' /uilt9in drawing tools %Chapter B' Tables of data %Chapter D' 0ail merge %Chapter 11' Tables of contents( indeCes( and bibliographies %Chapter 12' 0aster documents( to group a collection of shorter documents into a single long document %Chapter 13' 5ields and forms %Chapters 1> and 1A' .atabase integration( including a bibliography database %Chapters 11( 12( 1A' *nd many more
8elp system
$ibre=ffice comes with an eCtensi)e 6elp system. This is your first line of support for using $ibre=ffice. To display the full 6elp system( press )* or go to 8elp 9 :ibre;ffice 8elp on the main menu bar. Gn addition( you can choose whether to acti)ate +ips( ,-tended tips( and the .elp /gent by going to &ools 9 ;ptions 9 :ibre;ffice 9 1eneral on the main menu bar. Gf +ips are enabled( ho)er the mouse pointer o)er any of the icons to see a small boC %tooltip' with a brief eCplanation of the iconFs function. 5or a more detailed eCplanation( select 8elp 9 !hat<s &his7 on the main menu bar and ho)er the pointer o)er the icon.
This site pro)ides support for $ibre=ffice( among other programs& http&//forum.openoffice.org/en/forum/ +able * )ree support for LibreOffice users Free LibreOffice support
*s+ $ibre=ffice .ocumentation 5*Hs 0ailing lists Huestions and answers from the $ibre=ffice community http&//as+.libreoffice.org/en/@uestions/ "ser guides( how9tos( and other documentation. http&//www.libreoffice.org/get9help/documentation/ https&//wi+i.documentfoundation.org/.ocumentation/#ublications *nswers to fre@uently as+ed @uestions http&//wi+i.documentfoundation.org/5a@ 5ree community support is pro)ided by a networ+ of eCperienced users http&//www.libreoffice.org/get9help/mailing9lists/ The $ibre=ffice website in your language. http&//www.libreoffice.org/international9sites/ Gnternational mailing lists http&//wi+i.documentfoundation.org/$ocalK0ailingK$ists Gnformation about a)ailable accessibility options. http&//www.libreoffice.org/get9help/accessibility/
Gnternational support
*ccessibility options
Preface
**
cons
The icons used to illustrate some of the many tools a)ailable in $ibre=ffice may differ from the ones used in this guide. The icons in this guide ha)e been ta+en from a $ibre=ffice installation that has been set to display the alaCy set of icons. Gf you wish( you can change your $ibre=ffice software pac+age to display alaCy icons as follows& 1' =n $inuC and 7indows operating systems( go to &ools 9 ;ptions 9:ibre;ffice 9 =iew on the main menu bar to open the dialog for )iew options. 2' =n a 0ac operating system( go to :ibre;ffice 9 Preferences 9 =iew on the main menu bar to open the dialog for )iew options. 3' Gn 0ser interface 1 2con si3e and style select Gala-y 4default5 from the options a)ailable in the drop9down list. >' Clic+ ;6 to sa)e your settings and close the dialog.
-ome $inuC operating systems( for eCample "buntu( include $ibre=ffice as part of the installation and may not include the alaCy icon set. You should be able to download the alaCy icon set from the software repository for your $inuC operating system.
>ote
Mac equivalent
:ibre;ffice 9 Preferences 8ontrol9clic7 z 48ommand5 ShiftLzL)% zL+
Effect
*ccess setup options =pen a conteCt menu "sed with other +eys =pen the !a)igator =pen the -tyles and 5ormatting window
*:
)igure * Dialog showing common controls 1' 2' 3' >' Tabbed page %not strictly spea+ing a control'. 4adio buttons %only one can be selected at a time'. Chec+boC %more than one can be selected at a time'. -pin boC %clic+ the up and down arrows to change the number shown in the teCt boC neCt to it( or type in the teCt boC'. A' Thumbnail or pre)iew. <' .rop9down list from which to select an item. E' #ush buttons. Gn most cases( you can interact only with the dialog %not the document itself' as long as the dialog remains open. 7hen you close the dialog after use %usually( clic+ing ;6 or another button sa)es your changes and closes the dialog'( then you can again wor+ with your document. -ome dialogs can be left open as you wor+( so you can switch bac+ and forth between the dialog and your document. *n eCample of this type is the 5ind M 4eplace dialog.
Acknowledgements
This boo+ is adapted and updated from the OpenOffice.org 3.3 Writer Guide. The contributors to that boo+ are& ,ean 6ollis 7eber 0ichele Narri ary -chnabl 0agnus *dielsson *gnes /el2unce 8en /yars /ruce /yfield .aniel Carrera .ic+ .etwiler *leCander !oOl .unne $aurent .uper)al 0artin 5oC 8atharina reif Tara 6ess #eter 6illier9/roo+ $ou Gorio ,ohn 8ane 4achel 8artch -tefan *. 8eel ,ared 8obos
Preface *3
0ichael 8otsarinis *lan 0adden Carol 4oberts ,anet 0. -wisher /ob 7ic+ham
-igrid 8ronenberger #aul 0iller Gain 4oberts /arbara 0. Tobias Claire 7ood
#eter 8upfer Pincen2o #on2i ,oe -ellman Catherine 7aterman $inda 7orthington
*#
/etter interoperability with .=CI and 4T5 documents( than+s to se)eral new features and
impro)ements including the possibility of importing in+ annotations and attaching comments to teCt ranges.
*dditional user interface %"G' incremental impro)ements( including "nity integration and
support of 5irefoC Themes %#ersonas' to gi)e $ibre=ffice a personali2ed loo+.
The ability to ha)e a different header and footer on the first page of a 7riter document(
without the need of a separate page style.
The ability to attach comments to a selected range of teCt. R$ibre$ogoR )ector graphics language& $ogo toolbar and interpreter. The ability to hide/show styles in the -tyles and 5ormatting dialog. The *pply -tyle list boC now gi)es a pre)iew of the selectable styles. TeCt can be selected and copied from message boCes. * new Template 0anager allows for use of non9nati)e template files& templates from other office suites are now handled li+e the =.5 ones. with particular impro)ements for large =.- and I$-I spreadsheets and 4T5 files.
-ignificant performance impro)ements when loading and sa)ing many types of documents( .ropped support for&
3Cport to legacy 7ord and 3Ccel %)ersion <.0/DA' files. These files can still be opened. $egacy binary -tar=ffice %)ersion 1.C thru A.C' files. =.0* document management integration. 7indows 2000.
Preface
*%
!hat is !riter7
7riter is the word processor component of $ibre=ffice. Gn addition to the usual features of a word processor %spelling chec+( thesaurus( hyphenation( autocorrect( find and replace( automatic generation of tables of contents and indeCes( mail merge( and others'( 7riter pro)ides these important features&
Templates and styles %see Chapters < and E' #age9layout methods( including frames( columns( and tables %Chapter >' 3mbedding or lin+ing of graphics( spreadsheets( and other obJects %Chapter B' /uilt9in drawing tools %Chapter B' 0aster documents( to group a collection of shorter documents into a single long document %Chapter 13' Change trac+ing during re)isions %Chapter 3' .atabase integration( including a bibliography database %Chapters 11( 12( 1A' 3Cport to #.5( including boo+mar+s %Chapter A' *nd many more
&itle bar
The Title bar is located at the top of the 7riter window( and shows the file name of the current document. 7hen the document is newly created( the document name will appear as 0ntitled ;( where ; is a number.
*(
/enus
The <enu bar is located Just below the Title bar. 7hen you select one of the menus( a submenu drops down to show further options such as&
3Cecutable commands( such as Close or $ave( found in the File menu. Commands to open dialogs( indicated by the command being followed by an ellipsis %S'(
such as Find or Paste $pecial found in the -dit menu.
5urther submenus( indicated by a right9pointing blac+ arrow( such as &oolbars and @oom
found in the =iew menu. 0o)ing the cursor onto these causes them to open.
&oolbars
7riter displays toolbars in different ways& doc+ed %fiCed in place'( or floating. -ome toolbars ha)e sections which you can tear9off. .oc+ed toolbars can be mo)ed to different locations or made to float( and floating toolbars can be doc+ed. The top doc+ed toolbar( Just under the 0enu bar( is called the Standard toolbar. Gt is consistent across all the $ibre=ffice applications %7riter( Calc( .raw( Gmpress'. The second toolbar at the top is conteCt sensiti)e. 5or eCample( when wor+ing with teCt( the 5ormatting toolbar is displayed. 7hen the cursor is on a graphic %image type'( the raphics toolbar is displayed( and the #ictures toolbar is displayed doc+ed at the bottom of the screen. *n additional toolbar %/ullets and !umbering' is displayed neCt to the 5ormatting toolbar( when for eCample( the cursor is in a numbered/bulleted list.
*=
Movin toolbars
To mo)e a doc+ed toolbar( place the mouse pointer o)er the toolbar handle %the small )ertical bar to the left of the toolbar'( hold down the left mouse button( drag the toolbar to the new location( and then release the mouse button.
)igure # <oving a doc7ed toolbar To mo)e a floating toolbar( clic+ on its title bar and drag it to a new location.
%loatin toolbars
7riter includes se)eral additional conteCt9sensiti)e toolbars( whose defaults appear as floating toolbars in response to the cursorFs current position or selection. 5or eCample( when the cursor is in a table( a floating Table toolbar appears. You can doc+ these toolbars to the top( bottom( or side of the window( if you wish %see T0o)ing toolbarsU abo)e'. The default position is the bottom of the screen.
)igure & 8trl9double"clic7 to doc7 or undoc7 To undoc+ a window( hold down 8trl and double9clic+ on the frame %or a )acant area near the icons at the top' of the doc+ed window.
:$
4ocking AAuto8ideB
=n any window edge where another window is doc+ed you will see a button which allows you to show or hide the window.
Gf you clic+ the button on the window edge to show the window( the window will remain
)isible until you manually hide it again %with the same button'.
Gf you show the window by clic+ing the window border( but not the button( you acti)ate the
Auto8ide function. The *uto6ide function allows you to temporarily show a hidden window by clic+ing on its edge. 7hen you clic+ in the document( the doc+ed window hides again.
(usto#i)in toolbars
You can customi2e toolbars in se)eral ways( including choosing which icons are )isible and loc+ing the position of a doc+ed toolbar. To access a toolbarFs customi2ation options( right9clic+ between the icons on the toolbar to open a conteCt menu. To show or hide icons defined for the selected toolbar( choose =isible 3uttons from the conteCt menu. Pisible icons are indicated by a border around the icon %5igure D' or by a chec+ mar+ beside the icon( depending on your operating system. Clic+ on icons to hide or show them on the toolbar. You can also add icons and create new toolbars( as described in Chapter 1<( Customi2ing 7riter.
Gn earlier )ersions of $ibre=ffice( these options were accessed by clic+ing on an arrow at the end of the toolbar. The arrow is still present on floating toolbars( but not on doc+ed ones. 6owe)er( the arrow has no effect.
>ote
:*
Culers
4ulers are enabled by default. To show or hide the rulers( choose =iew 9 Culer. To disable the rulers( choose &ools 9 ;ptions 9 :ibre;ffice !riter 9 =iew and deselect either or both rulers.
$tatus bar
The 7riter status bar is located at the bottom of the wor+space. Gt pro)ides information about the document and con)enient ways to @uic+ly change some document features. Gt can be hidden by deselecting it in the Piew menu.
)igure *: 6ight end of Status bar Page number -hows the current page number( the se@uence number of the current page %if different'( and the total number of pages in the document. 5or eCample( if you restarted page numbering at 1 on the third page( its page number is 1 and its se@uence number is 3. Gf any boo+mar+s ha)e been defined in the document( a right9clic+ on this field pops up a list of boo+mar+sV clic+ on the re@uired one. To Jump to a specific page in the document( double9clic+ on this field. The !a)igator opens %see page 32'. Clic+ in the Page >umber field in the !a)igator( type the se>uence number of the re@uired page( and press ,nter. !ord count The word count is shown in the status bar( and is +ept up to date as you edit. *ny teCt selected in the document will be counted and displayed alongside the total count.
To display eCtended statistics such as character count( double9clic+ the word count in the status bar( or choose &ools 9 !ord Count. Page style -hows the style of the current page. To change the page style( right9clic+ on this field. * list of page styles pops upV choose a different style by clic+ing on it. To edit the current page style( double9clic+ on this field. The #age -tyle dialog opens. -ee Chapters < and E for more information about styles. :anguage -hows the language for the selected teCt. Clic+ to open a menu where you can choose another language for the selected teCt or for the paragraph where the cursor is located. You can also choose >one A4o not check spellingB to eCclude the teCt from a spelling chec+ or choose /ore... to open the Character dialog. -ee Chapter 3( 7or+ing with TeCt( for more information. nsert mode This area is blan+ when in Gnsert mode. .ouble9clic+ to change to Overwrite modeV single9clic+ to return to Gnsert mode. Gn Gnsert mode( any teCt after the cursor position mo)es forward to ma+e room for the teCt you typeV in =)erwrite mode( teCt after the cursor position is replaced by the teCt you type. This feature is disabled when in -dit 9 Changes 9 Cecord mode. $election mode Clic+ to choose different selection modes. The icon does not change( but when you ho)er the mouse pointer o)er this field( a tooltip indicates which mode is acti)e. 7hen you clic+ in the field( a conteCt menu displays the a)ailable options. =n 7indows systems( you can hold down the /lt +ey while dragging to select a bloc+ of teCt. You donWt need to enter the bloc+ selection mode. -ee Chapter 3( 7or+ing with TeCt( for more information about these modes.
8hapter * 2ntroducing Writer :3
Mode
-tandard selection
Effect
Clic+ in the teCt where you want to position the cursorV clic+ in a cell to ma+e it the acti)e cell. *ny other selection is then deselected. Clic+ing in the teCt eCtends or crops the current selection. * new selection is added to an eCisting selection. The result is a multiple selection. * bloc+ of teCt can be selected.
4ocument changes status The icon that is displayed here changes from this one changes( to this one if the document has no unsa)ed if it has been edited and the changes ha)e not been sa)ed.
4igital signature Gf the document has been digitally signed( this icon To )iew the certificate( double9clic+ the icon.
$ection or obDect information 7hen the cursor is in a section( heading( or list item( or when an obJect %such as a picture or table' is selected( information about that item appears in this field. .ouble9clic+ing in this area opens a rele)ant dialog.
;bDect #icture $ist item 6eading Table -ection =ther nformation shown -i2e and position $e)el and list style =utline numbering le)el !ame or number and cell reference of cursor !ame of section %/lan+' 4ialog opened #icture /ullets and !umbering1 /ullets and !umbering1 Table 5ormat 3dit -ections 5ields
=iew layout Clic+ an icon to change between single page( side9by9side( and boo+ layout )iews %see 5igure 13. You can edit the document in any )iew. Noom settings %see below and neCt page' interact with the selected )iew layout and the window width to determine how many pages are )isible in the document window. @oom To change the )iew magnification( drag the Noom slider( or clic+ on the L and X signs( or right9 clic+ on the 2oom le)el percent to pop up a list of magnification )alues from which to choose.
Gf a list style was used with a list item or heading( no dialog appears.
:#
)igure *#. 8hoosing Aoom and ?iew Layout options Gn 7eb $ayout )iew( you can use only the Noom sliderV the Piew $ayout buttons on the -tatus bar are disabled( and most of the choices on the Noom M Piew $ayout dialog are not a)ailable. Gn 5ull -creen )iew( the document is displayed using the 2oom and layout settings pre)iously selected. To eCit 5ull -creen )iew and return to either #rint or 7eb $ayout )iew( press the ,sc +ey or clic+ the Full $creen icon in the top left9hand corner. You can also use 8trl9Shift9B to enter or eCit 5ull -creen )iew.
8hapter * 2ntroducing Writer :%
:&
#ress the 8trl9D +eys. "se File 9 >ew 9 &e't 4ocument. Clic+ the >ew button on the -tandard toolbar.
From a template
You can use templates to create new documents in 7riter. * template is a set of predefined styles and formatting. Templates ser)e as the foundation of a set of documents( to ma+e sure they all ha)e a similar layout. 5or eCample( all the documents of the Writer Guide are based on the same template. *s a result( all the documents loo+ ali+eV they ha)e the same headers and footers( use the same fonts( and so on. * new $ibre=ffice installation does not contain many templates. Gt is possible for you to add new templates to your installation and use them for new documents. This is eCplained in Chapter 10( 7or+ing with Templates. 0ore templates can be downloaded from http&//templates.libreoffice.org/ and other websites. =nce you ha)e templates on your system( you can create new documents based on them by using File 9 >ew 9 &emplates. This opens a window where you can choose the template you want to use for your document. The eCample shown in 5igure 1E uses a template in the .ocuments Y 0y Templates folder. .ouble9clic+ on the re@uiredtemplate. * new document is created based on the styles and formats defined in the template.
:'
You can also open an eCisting document in one of the following ways. Gf a document is already open in $ibre=ffice( the second document opens in a new window.
Choose File 9 ;pen. Clic+ the ;pen button on the -tandard toolbar. #ress 8trl9O on the +eyboard. "se a File 9 Cecent 4ocuments selection.
$aving a document
To sa)e a new document in 7riter( do one of the following&
#ress 8trl9S. Choose File 9 $ave. Clic+ the $ave icon on the -tandard toolbar.
7hen the -a)e *s dialog appears( enter the file name( )erify the file type( and clic+ $ave. To sa)e an opened document with the current file name( choose File 9 $ave. This will o)erwrite the last sa)ed state of the file. To sa)e an opened document with a different file name in order to preser)e the original and ha)e edits sa)ed in another )ersion( choose File 9 $ave As( gi)e it another name and/or select a different file type. * document can be sa)ed with the same file name if the file type is changed( but must ha)e a different name if the same file type is retained.
&ip
Caution
Password protection
7riter pro)ides two le)els of document protection& read9protect %file cannot be )iewed without a password' and write9protect %file can be )iewed in read9only mode but cannot be changed without a password'. Thus you can ma+e the content a)ailable for reading by a selected group of people and for reading and editing by a different group. This beha)ior is compatible with 0icrosoft 7ord file protection. 1' "se File 9 $ave As when sa)ing the document. %You can also use File 9 $ave the first time you sa)e a new document.' 2' =n the -a)e *s dialog( select the $ave with password option( and then clic+ $ave.
3$
)igure *= +wo levels of password protection 6ere you ha)e se)eral choices& To read9protect the document( type a password in the two fields at the top of the dialog.
To write9protect the document( clic+ the /ore ;ptions button and select the ;pen file
read.only chec+boC.
To write9protect the document but allow selected people to edit it( select the ;pen file
read.only chec+boC and type a password in the two boCes at the bottom of the dialog. >' Clic+ ;6 to sa)e the file. Gf either pair of passwords do not match( you recei)e an error message. Close the message boC to return to the -et #assword dialog and enter the password again. Gn $ibre=ffice 3.A( a different( more often used encryption %*3-' was introduced to replace the pre)iously used one %/lowfish'. Gn conse@uence( files encrypted with $ibre=ffice 3.A or later can not be opened by $ibre=ffice 3.>.> and earlier. $ibre=ffice 3.>.A enables you to open those files. 6owe)er( on sa)ing again in $ibre=ffice 3.>.A( the old encryption will be used. 5iles with the old encryption can be used in $ibre=ffice 3.A.0 and later.
Caution
$ibre=ffice uses a )ery strong encryption mechanism that ma+es it almost impossible to reco)er the contents of a document if you lose the password.
3*
Closing a document
To close a document( choose File 9 Close or clic+ the Close icon on the document window. The appearance and placement of this icon )aries with your operating system( but it typically loo+s li+e the I in the red boC shown in 5igure 20. *lso( clic+ing the component icon at the left side of the title bar opens a menu in which you can select Close. Gf more than one $ibre=ffice window is open( each window loo+s li+e the sample shown on the left in 5igure 20. Closing this window lea)es the other $ibre=ffice windows open. Gf only one $ibre=ffice window is open( it loo+s li+e the sample shown on the right in 5igure 20. !otice the small blac+ I below the larger I in the red boC. Clic+ing the small blac+ I closes the document but lea)es $ibre=ffice open. Clic+ing the larger I closes $ibre=ffice completely.
)igure :$. 8lose icons Gf the document has not been sa)ed since the last change( a message boC is displayed. Choose whether to sa)e or discard your changes.
$ave& The document is sa)ed and then closed. Close without saving& The document is closed( and all modifications since the last sa)e
are lost.
Closing :ibre;ffice
To close $ibre=ffice completely( clic+ File 9 -'it, or close the last open document as described in TClosing a documentE abo)e. Gf all the documents ha)e been sa)ed( 7riter closes immediately. Gf any documents ha)e been modified but not sa)ed( a warning message appears. 5ollow the procedure in TClosing a documentE to sa)e or discard your changes.
Table 2 summari2es the functions of the icons at the top of the !a)igator.
>ote
The !a)igator has different functions in a master document. -ee Chapter 13( 7or+ing with 0aster .ocuments.
33
6eader/5ooter& ,umps between the teCt area and the header or footer area %if the page has them'. *nchor ZY TeCt& ,umps between a footnote anchor and the corresponding footnote teCt. 6eading $e)els -hown& Choose the number of heading le)els to be shown.
To Jump to a specific page in the document( type its se>uence number in the boC at the top
of the !a)igator and press ,nter. The se@uence number may be different from the page number if you ha)e restarted numbering at any point.
7hen a category is showing the list of items in it( double9clic+ on an item to Jump directly to
that itemFs location in the document. 5or eCample( you can Jump directly to a selected heading( graphic( or comment by using this method. To see the content in only one category( highlight that category and clic+ the Content =iew icon. Clic+ the icon again to display all the categories. You can also change the number of heading le)els shown when )iewing 6eadings.
"se the Previous and >e't icons to Jump to other obJects of the type selected in the
!a)igation toolbar. %-ee neCt page for details.'
* hidden section %or other hidden obJect' in a document appears gray in the !a)igator( and displays the word ThiddenU as a tooltip. 5or more about hidden sections( see Chapter >( 5ormatting #ages.
>ote
&ip
=bJects are much easier to find if you ha)e gi)en them names when creating them( instead of +eeping $ibre=fficeFs default names of graphics1( graphics2( Table1( Table2( and so onQwhich may not correspond to the position of the obJect in the document. To rename an image( right9clic+ on the image( select Picture 9 ;ptions( and then edit the name in the dialog. -imilarly( to rename a table( right9clic+ on the table( select &able 9 &able( and then edit the name.
)igure :3 Previous@ Davigation@ and De-t icons The !a)igation toolbar shows icons for all the obJect types shown in the !a)igator( plus some eCtras %for eCample( the results of a Find command'. Clic+ an icon to select that obJect type. !ow all the Previous and >e't icons %in the !a)igator itself( in the !a)igation toolbar( and on the scroll bar' will Jump to the pre)ious or neCt obJect of the selected type. This is particularly helpful for finding items li+e indeC entries( which can be difficult to see in the teCt. The names of the icons %shown in the tooltips' change to match the selected categoryV for eCample( >e't 1raphic( >e't 3ookmark( or Continue search forward.
&ip
>' To @uic+ly change the outline le)el of a heading and its associated subheadings( select the heading in the !a)igator( and then clic+ either the Promote :evel or 4emote :evel icon. This action does not change the location of the heading( only its le)el. To increase the outline le)el of only the selected heading( but not its associated subheadings( hold down 8trl( and then clic+ the icon.
3%
>ote
"sers of 0- =ffice 7ord will note the similarity between this functionality and 7ordWs =utline Piew.
$etting reminders
=ne of the little9+nown features of 7riter that you may find @uite useful is the possibility of Jumping between reminders. 6eminders let you mar+ places in your document that you want to return to later on( to add or correct information( ma+e some other change( or simply mar+ where you finished editing. The possible uses of reminders are limited only by your imagination. To set a reminder at the cursorWs current location( clic+ on the icon in the !a)igator. You can set up to A reminders in a documentV setting a siCth causes the first to be deleted. 4eminders are not highlighted in any way in the document( so you cannot see where they are( eCcept when you Jump from one to the neCtQthe location of the cursor then shows the location of the reminder. To Jump between reminders( first select the Ceminder icon on the !a)igation toolbar. Then clic+ the Previous and >e't icons. 4eminders are not sa)ed with the document.
nsert As 8yperlink Creates a hyperlin+ when you drag and drop an item into the current document. nsert As :ink Gnserts the selected item as a lin+ where you drag and drop in the current document. TeCt is inserted as protected sections. 6owe)er( you cannot create lin+s for graphics( =$3 obJects( references( or indeCes using this method. nsert As Copy Gnserts a copy of the selected item where you drag and drop in the current document. You cannot drag and drop copies of graphics( =$3 obJects( or indeCes.
The -dit menu shows the latest changes that can be undone.
3&
)igure :% ,dit 1 0ndo last action Clic+ the small triangle to the right of the 2ndo icon to get a list of all the changes that can be undone. You can select multiple changes and undo them at the same time %see 5igure 2<'.
)igure :& List of actions that can be undone *fter changes ha)e been undone( Cedo becomes acti)e. To redo a change( select -dit 9 Cedo( or press 8trl9G or clic+ on the Cedo icon . *s with 2ndo( clic+ on the triangle to the right of the arrow to get a list of the changes that can be restored.
3'
>ote
1eneral options
The options on the :ibre;ffice G 1eneral page are described below.
#$
8elp G &ips 7hen &ips is acti)e( one or two words will appear when you hold the mouse pointer o)er an icon or field( without clic+ing. 8elp G -'tended tips 7hen -'tended tips is acti)e( a brief description of the function of a particular icon or menu command or a field on a dialog appears when you hold the mouse pointer o)er that item. 8elp Agent To turn off the .elp /gent %similar to 0icrosoftFs =ffice *ssistant'( deselect this option. To restore the default beha)ior( clic+ Ceset 8elp Agent. ;penF$ave dialogs G 2se :ibre;ffice dialogs To use the standard =pen and -a)e dialogs for your operating system( deselect the 2se :ibre;ffice dialogs option. 7hen this option is selected( the =pen and -a)e dialogs supplied with $ibre=ffice will be used. -ee Chapter 1( 2ntroducing Writer( for more about the $ibre=ffice =pen and -a)e dialogs. This boo+ uses the $ibre=ffice =pen and -a)e dialogs in illustrations. Print dialogs G 2se :ibre;ffice dialogs %0ac only' To use the standard #rint dialogs for your operating system( deselect the 2se :ibre;ffice dialogs option. 7hen this option is selected( the #rint dialogs supplied with $ibre=ffice will be used. This boo+ uses the $ibre=ffice #rint dialogs in illustrations. 4ocument status G Printing sets Hdocument modifiedI status Gf this option is selected( then the neCt time you close the document after printing( the print date is recorded in the document properties as a change and you will be prompted to sa)e the document again( e)en if you did not ma+e any other changes. 4ocument status G Allow to save document even when the document is not modified !ormally when a document has not been modified( the File 9 $ave menu option and the $ave icon on the -tandard toolbar are disabled and the +eyboard shortcut 8trl9S has no effect. -elect this option to allow documents to be sa)ed e)en when they ha)e not been modified. Jear Atwo digitsB -pecifies how two9digit years are interpreted. 5or eCample( if the two9digit year is set to 1D30( and you enter a date of 1/1/30 or later into your document( the date is interpreted as 1/1/1D30 or later. *n TearlierU date is interpreted as being in the following centuryV that is( 1/1/20 is interpreted as 1/1/2020. -nable e'perimental AunstableB features -electing this option enables features that are not yet complete or contain +nown bugs. The list of these features is different )ersion by )ersion. -nable macro recording AlimitedB This option enables macro recording( with some limitations. =pening a window( switching between windows( and recording in a different window to that in which the recording began( is not supported. =nly actions relating to document contents are recordable( so changes in =ptions or customi2ing menus are not supported.
#*
/emory options
The options on the :ibre;ffice G /emory page control how $ibre=ffice uses your computerFs memory and how much memory it re@uires. /efore changing them( you may wish to consider the following points&
0ore memory can ma+e $ibre=ffice faster and more con)enient %for eCample( more undo
steps re@uire more memory'V but the trade9off is less memory a)ailable for other applications and you could run out of memory altogether.
Gf your documents contain a lot of obJects such as images( or the obJects are large(
$ibre=fficeFs performance may impro)e if you increase the memory for $ibre=ffice or the memory per obJect. Gf you find that obJects seem to disappear from a document that contains a lot of them( increase the number of obJects in the cache. %The obJects are still in the file e)en if you cannot see them on screen.'
To load the Huic+starter %an icon on the des+top or in the system tray' when you start your
computer( select the option near the bottom of the dialog. This ma+es $ibre=ffice start fasterV the trade9off is that $ibre=ffice uses some memory e)en when not being used. This option %called -nable systray Euickstarter on $inuC' is not a)ailable on 0ac =- I.
=iew options
The options on the :ibre;ffice G =iew pageaffect the way the document window loo+s and beha)es. -ome of these options are described below. -et them to suit your personal preferences. 2ser nterface G $caling Gf the teCt in the help files or on the menus of the $ibre=ffice user interface is too small or too large( you can change it by specifying a scaling factor. -ometimes a change here can ha)e uneCpected results( depending on the screen fonts a)ailable on your system. 6owe)er( it does not affect the font si2e of the teCt in your documents. 2ser nterface G con si5e and style The first boC specifies the display si2e of toolbar icons %Automatic( $mall( or :arge'V the Automatic icon si2e option uses the setting for your operating system. The second boC specifies the icon style %theme'V here the Automatic option uses an icon set compatible with your operating system.
#:
)igure := 8hoosing ?iew options for LibreOffice applications 2ser nterface G 2se system font for user interface Gf you prefer to use the system font %the default font for your computer and operating system' instead of the font pro)ided by $ibre=ffice for the user interface( select this option. 2ser interface G $creen font Anti.Aliasing %!ot a)ailable in 7indowsV not shown in 5igure 2D.' -mooths the screen appearance of teCt. 3nter the smallest font si2e to apply anti9aliasing. /enu G $how icons in menus Causes icons as well as words to be )isible in menus. Choice of Automatic( 8ide or $how. Font :ists G $how preview of fonts Causes the font list to loo+ li+e 5igure 30( $eft( with the font names shown as an eCample of the font. 7ith the option deselected( the font list shows only the font names( not their formatting %5igure 30( 4ight'. The fonts you will see listed are those that are installed on your system.
)igure 3$ )ont list 4Left5 showing previewH 46ight5 without preview Font :ists G $how font history Causes the last fi)e fonts you ha)e assigned to the current document to be displayed at the top of the font list. 1raphics output G 2se hardware acceleration .irectly accesses hardware features of the graphical display adapter to impro)e the screen display. !ot supported on all operating systems and $ibre=ffice distributions.
#3
1raphics output G 2se Anti.Aliasing 3nables and disables anti9aliasing( which ma+es the display of most graphical obJects loo+ smoother and with fewer artifacts. !ot supported on all operating systems and $ibre=ffice distributions.
&ip
#ress Shift98trl96 to restore or refresh the )iew of the current document after changing the anti9aliasing settings( to see the effect.
/ouse positioning -pecifies if and how the mouse pointer will be positioned in newly opened dialogs. /iddle mouse button .efines the function of the middle mouse button.
Automatic scrolling dragging while pressing the middle mouse button shifts the )iew. Paste clipboard pressing the middle mouse button inserts the contents of the T-election
clipboardU at the cursor position. The T-election clipboardU is independent of the normal clipboard that you use by -dit 9 CopyFCutFPaste or their respecti)e +eyboard shortcuts. Clipboard and T-election clipboardU can contain different contents at the same time. %unction
Copy content #aste content #asting into another document
(lipboard
-dit 9 Copy or 8trl98 -dit 9 Paste or 8trl9? pastes at the cursor position. !o effect on the clipboard contents.
"election clipboard
-elect teCt( table( or obJect. Clic+ing the middle mouse button pastes at the mouse pointer position. The last mar+ed selection is the content of the selection clipboard.
$election G &ransparency .etermines the appearance of selected teCt or graphics( which appear on a shaded bac+ground. To ma+e the shaded bac+ground more or less dar+( increase or decrease the Transparency setting. Gf you prefer selected material to appear in re)ersed color %typically white teCt on a blac+ bac+ground'( deselect this option.
Print options
=n the :ibre;ffice G Print page( set the print options to suit your default printer and your most common printing method. Gn the Printer warnings section near the bottom of the page( you can choose whether to be warned if the paper si2e or orientation specified in your document does not match the paper si2e or orientation a)ailable for your printer. 6a)ing these warnings turned on can be @uite helpful( particularly if you wor+ with documents produced by people in other countries where the standard paper si2e is different from yours.
Gf your printouts are incorrectly placed on the page or chopped off at the top( bottom( or sides or the printer is refusing to print( the most li+ely cause is page9si2e incompatibility.
&ip
##
Path options
=n the :ibre;ffice G Paths page( you can change the location of files associated with( or used by( $ibre=ffice to suit your wor+ing situation. Gn a 7indows system( for eCample( you might want to store documents by default somewhere other than 0y .ocuments. To ma+e changes( select an item in the list shown in 5igure 32 and clic+ -dit. =n the -elect #aths dialog %not shown'( add or delete folders as re@uired( and then clic+ ;6 to return to the =ptions dialog. !ote that many items can ha)e at least two paths listed& one to a shared folder %which might be on a networ+' and one to a user9specific folder %normally on the userFs personal computer'. Gtems with more than one path allowed will use an 3dit #aths dialog %not shown'.
#%
&ip
You can use the entries in the :ibre;ffice G Paths dialog to compile a list of files( such as those containing *utoTeCt( that you need to bac+ up or copy to another computer.
Color options
=n the :ibre;ffice G Colors page( you can specify colors to use in $ibre=ffice documents. You can select a color from a color table or selection list( edit an eCisting color( or define new colors. These colors will then be a)ailable in color selection lists in $ibre=ffice. 5or details on how to modify a color or create a new color( see Chapter 1>( Customi2ing $ibre=ffice( in the Getting Started guide.
Font options
You can define replacements for any fonts that might appear in your documents. Gf you recei)e from someone else a document containing fonts that you do not ha)e on your system( $ibre=ffice will substitute fonts for those it does not find. You might prefer to specify a different font from the one the program chooses. =n the :ibre;ffice G Fonts page %5igure 3>'& 1' -elect Apply Ceplacement &able option. 2' -elect or type the name of the font to be replaced in the Font boC. %Gf you do not ha)e this font on your system( it will not appear in the drop9down list in this boC( so you need to type it in.' 3' Gn the Ceplace with boC( select a suitable font from the drop9down list of fonts installed on your computer. >' The chec+ mar+ to the right of the Ceplace with boC turns green. Clic+ on this chec+ mar+. * row of information now appears in the larger boC below the input boCes. -elect Always to replace the font( e)en if the original font is installed on your system. -elect $creen only to
#&
replace the screen font only and ne)er replace the font for printing. The results of combining these selections are gi)en in Table 3. A' Gn the bottom section of the page( you can change the typeface and si2e of the font used to display source code such as 6T0$ and /asic %in macros'.
)igure 3# Defining a font to be substituted for another font +able 3. )ont substitution replacement actions *lways c!ec&box chec+ed
chec+ed blan+ blan+
+eplace#ent action
5ont replacement on screen and when printing( whether the font is installed or not. 5ont replacement only on screen( whether the font is installed or not. 5ont replacement only on screen( but only if font is not a)ailable. 5ont replacement on screen and when printing( but only if font is not a)ailable.
$ecurity options
"se the :ibre;ffice G $ecurity page to choose security options for documents containing hidden information and for opening documents that contain macros. $ecurity ;ptions and warnings Gf you record changes( sa)e multiple )ersions( or include hidden information or notes in your documents( and you do not want some of the recipients to see that information( you can set warnings to remind you to remo)e it( or you can ha)e $ibre=ffice remo)e some of it automatically. !ote that %unless remo)ed' much of this information is retained in a file whether the file is in $ibre=fficeFs default =pen .ocument format( or has been sa)ed to other formats( including #.5. Clic+ the ;ptions button to open a separate dialog with specific choices %5igure 3<'.
#'
/acro security Clic+ the /acro $ecurity button to open the /acro $ecurity dialog( where you can adJust the security le)el for eCecuting macros and specify trusted sources.
#(
Personali5ation
"sing #ersonali2ation( you can add a theme to your $ibre=ffice installation. Choices on this page are to not use a #ersona( use a pre9installed #ersona if one is a)ailable( select a persona from the 0o2illa 5irefoC site( or add your own design. This option defaults to Pre.installed Persona at installation time.
)igure 3' Personali3ation options To install a persona( clic+ the $elect Persona button to open the install dialog %5igure 3D'. 5rom here you can enter an address %"4$' to the persona or clic+ the =isit Firefo' Personas button. *n internet connection is re@uired for this process. Gnstallation instructions are on this dialog. 5ull details about #ersonas are on the website& http&//www.getpersonas.com.
#=
Appearance options
7riting( editing( and %especially' page layout are often easier when you can see the page margins %teCt boundaries'( the boundaries of tables and sections( grid lines( and other features. Gn addition( you might prefer to use colors that are different from $ibre=fficeFs defaults for such items as comment indicators or field shadings. =n the :ibre;ffice G Appearance page( you can specify which items are )isible and the colors used to display )arious items.
To show or hide items such as teCt boundaries( select or deselect the options neCt to the
names of the items.
To change the default colors for items( clic+ the down9arrow in the 8olor setting column by
the name of the item and select a color from the list boC. !ote that you can change the list of a)ailable colors as described in Chapter 1>( Customi2ing $ibre=ffice( in the Getting Started guide.
To sa)e your color changes as a color scheme( clic+ $aveK and you will be prompted for a
name.
1eneral
0ost of the choices on the :oadF$ave G 1eneral page are familiar to users of other office suites. -ome items of interest are described below.
%$
)igure #* 8hoosing Load and Save options :oad user.specific settings with the document * $ibre=ffice document contains certain settings which are read from the userWs system. 7hen you sa)e a document( these settings are sa)ed with it. -elect this option so that when a document loads( it ignores the stored settings in fa)or of the settings on your computer. 3)en if you do not select this option( some settings are ta+en from your $ibre=ffice installation&
Gnformation about wor+ing with *sian character formats. The following settings are always loaded with a document( whether or not this option is mar+ed&
-ettings a)ailable in File 9 Print 9 ;ptions !ame of 5aC -pacing options for paragraphs before teCt tables Gnformation about automatic updating for lin+s( field functions and charts
%*
$ave AutoCecovery information every LL /inutes Choose whether to enable *uto4eco)ery and how often to sa)e the information used by the *uto4eco)ery process. *uto4eco)ery in $ibre=ffice sa)es the information needed to restore all open documents in case of a crash. Gf you ha)e this option set( reco)ering your document after a system crash will be easier. Always create backup copy -a)es the pre)ious )ersion of a document as a bac+up copy whene)er you sa)e a document. 3)ery time $ibre=ffice creates a bac+up copy( the pre)ious bac+up copy is replaced. The bac+up copy gets the eCtension .3A6. *uthors whose wor+ may be )ery lengthy should always consider using this option. $ave 2C:s relative to file system F internet "se these options to select the default for relati)e addressing of "4$s in the file system and on the Gnternet. 4elati)e addressing is only possible if the source document and the referenced document are both on the same dri)e. * relati)e address always starts from the directory in which the current document is located. Gn contrast( absolute addressing always starts from a root directory. The following table demonstrates the difference in syntaC between relati)e and absolute referencing& Exa#ples
relati)e absolute
%ile syste#
../images/img.Jpg file&///c[/wor+/images/img.Jpg
,nternet
../images/img.Jpg http&//myser)er.com/wor+/images/img.Jpg
Gf you choose to sa)e relati)ely( the references to embedded graphics or other obJects in your document will be sa)ed relati)e to the location in the file system. Gn this case( it does not matter where the referenced directory structure is recorded. The files will be found regardless of location( as long as the reference remains on the same dri)e or )olume. This is important if you want to ma+e the document a)ailable to other computers that may ha)e a completely different directory structure( dri)e or )olume names. Gt is also recommended to sa)e relati)ely if you want to create a directory structure on an Gnternet ser)er. Gf you prefer absolute sa)ing( all references to other files will also be defined as absolute( based on the respecti)e dri)e( )olume or root directory. The ad)antage is that the document containing the references can be mo)ed to other directories or folders( and the references remain )alid. 4efault file format and ;4F settings ;4F format version. $ibre=ffice by default sa)es documents in =pen .ocument 5ormat %=.5' )ersion 1.2 3Ctended. 7hile this allows for impro)ed functionality( there may be bac+wards compatibility issues. 7hen a file sa)ed in =.5 1.2 is opened in an earlier )ersion of $ibre=ffice %using =.5 1.0/1.1'( some of the ad)anced features may be lost. Two notable eCamples are cross9references to headings and the formatting of numbered lists. Gf you plan to share documents with people who are still using older )ersions of $ibre=ffice( you may wish to sa)e the document using =.5 )ersion 1.0/1.1( e)en though some information will be lost.
$i5e optimi5ation for ;4F format. $ibre=ffice documents are I0$ files. 7hen you select
this option( $ibre=ffice writes the I0$ data without indents and line brea+s. Gf you want to be able to read the I0$ files in a teCt editor in a structured form( deselect this option.
4ocument type. Gf you routinely share documents with users of 0icrosoft 7ord( you might
want to change the Always save as attribute for teCt documents to one of the 7ord formats. Current )ersions of 0icrosoft 7ord can open =.5 files( so this may no longer be needed.
%: LibreOffice #.$ Writer Guide
Caution
=3A Properties
=n the :oadF$ave G =3A Properties page( you can choose whether to +eep any macros in 0icrosoft =ffice documents that are opened in $ibre=ffice. These macros are disabled in $ibre=ffice.
)igure #3 8hoosing Load!Save ?J/ Properties Gf you choose :oad 3asic code( you can edit the macros in $ibre=ffice. The changed code is sa)ed in an $ibre=ffice document but is not retained if you sa)e into a 0icrosoft =ffice format. Gf you are importing a 0icrosoft 7ord or 3Ccel file containing P/* code( you can select the option -'ecutable code. 7hereas normally the code is preser)ed but rendered inacti)e( with this option the code is ready to be eCecuted. Gf you choose $ave original 3asic code( the macros are retained unchanged if you sa)e the file into 0icrosoft =ffice format. $ave original 3asic code ta+es precedence o)er :oad 3asic code. Gf both options are selected and you edit the disabled code in $ibre=ffice( the original 0icrosoft /asic code will be sa)ed when sa)ing in a 0icrosoft =ffice format. To remo)e any possible macro )iruses from the 0icrosoft =ffice document( deselect $ave original 3asic code. The document will be sa)ed without the 0icrosoft /asic code.
%3
/icrosoft ;ffice
=n the :oadF$ave G /icrosoft ;ffice page( you can choose what to do when importing and eCporting 0icrosoft =ffice =$3 obJects %lin+ed or embedded obJects or documents such as spreadsheets or e@uations'. -elect the \$] chec+ boCes to con)ert 0icrosoft =$3 obJects into the corresponding $ibre=ffice =$3 obJects when a 0icrosoft document is loaded into $ibre=ffice %mnemonic& T$U for TloadU'. -elect the \-] chec+ boCes to con)ert $ibre=ffice =$3 obJects into the corresponding 0icrosoft =$3 obJects when a document is sa)ed in a 0icrosoft format %mnemonic& T-U for Tsa)eU'.
8&/: compatibility
Choices made on the :oadF$ave G 8&/: Compatibility page %not shown' affect 6T0$ pages imported into $ibre=ffice and those eCported from $ibre=ffice. -ee .+<L documentsH importing!e-porting in the 6elp( and the Getting Started boo+( for more information.
1eneral options
The choices on the :ibre;ffice !riter G 1eneral page affect the updating of lin+s and fields( the units used for rulers and other measurements( and the default tab stop positions.
)igure #& 8hoosing general options for Writer 2pdate links when loading .epending on your wor+ patterns( you may not want lin+s to be updated when you load a document. 5or eCample( if your file lin+s to other files on a networ+( you wonFt want those lin+s to update when you are not connected to the networ+. 2pdate fields and charts automatically You may not want fields or charts to update automatically when you are wor+ing( because that slows down performance. $ettings G &ab stops The +ab stops setting specifies the distance the cursor tra)els for each press of the +ab +ey. This setting is also used for the indent distance applied by the ncrease ndent and 4ecrease ndent buttons on the Formatting toolbar( which affect the indentation of entire paragraphs. "sing the default tab stops to space out or indent material on a page is not recommended. Gf you use the default tab inter)al and then send the document to someone who uses a different default tab inter)al( then your tabbed material will be displayed using the other personFs default tab settings. Gn addition( any changes to the default tab stops will change the eCisting default tab stops in any document you open afterward( as well as tab stops you insert after ma+ing the change. To a)oid these unwanted changes( define your own tabs in paragraph styles or indi)idual paragraphs %see F.efining your own tab stops and indentsE in Chapter 3( 7or+ing with TeCt'. !ord Count *llows eCtra word boundary characters. This feature o)errides long dash %Q' and short dash %' to be word boundary characters for the purposes of counting words( and allows the user to specify additional word boundary characters
%%
=iew options
Two pages of options set the defaults for )iewing 7riter documents& =iew %described here' and Formatting Aids %described below'. 3nabling the uides helps you to precisely position a drawing obJect on a page by pro)iding hori2ontal and )ertical parallel lines the height and width of the obJect( across the complete wor+ing area of the screen as the obJect is mo)ed. Gf the remaining items on the :ibre;ffice !riter G =iew page are not self9eCplanatory( you can easily test their effects in a blan+ document. This is a good page to chec+ if( for eCample( you cannot see graphics on the screen or you see field codes instead of the teCt or numbers you are eCpecting.
%&
>ote
.irect cursor lets you enter teCt( images( tables( frames( and other obJects in any blan+ area in your document. 7riter inserts blan+ paragraphs and tabs to position the teCt or obJects. This feature is incompatible with rigorous use of styles and can lead to many formatting oddities( so it should be a)oided by professional writers.
1rid options
-pecifying snap to grid can be )ery helpful when you are trying to align se)eral obJects such as graphics or tables. =n the :ibre;ffice !riter G 1rid page( you can choose whether to enable this feature and what grid inter)als to use. Gf the grid inter)als %subdi)isions' are too large( you may find that you do not ha)e enough control in placing the obJects.
4efault fonts
The default fonts specified on the :ibre;ffice !riter G 3asic Fonts A!esternB page %5igure A0' apply to both 7riter documents and 6T0$ %7eb' documents. They define the basic fonts for the predefined templates. Gf you want to change the defaults( do so on this page. Gf you ha)e *sian language support enabled %see 5igure AB on page <>' there will be a page for 3asic Fonts AAsianB as well. You can also modify specific templates %as described in Chapter 10' or choose other fonts for use in specific documents( either by applying direct formatting or by defining and applying styles in those templates and documents. 7hen choosing fonts on this page( you are not limited to single fonts or to the ones shown in the drop9down list. You can specify a Tfont familyU as a comma9separated set of fonts that includes those suitable for 7indows( 0acintosh( $inuC( and other operating systems. These choices are particularly important in 6T0$ documents. Gf the document is )iewed on a system that does not ha)e the first font specified( it will use one of the other fonts if that one is a)ailable. =therwise( it will substitute a font that is a)ailable on the system. Type the list of fonts( separated by commas( in the boCes. Gf you want these defaults to apply to the current document only( select that option. The 4efault button resets the )alues on this page to the defaults installed with $ibre=ffice.
%'
Print options
=n the :ibre;ffice !riter G Print page( you can choose which items are printed with the document by default. These options are in addition to those on the :ibre;ffice G Print page %5igure 3>'.
7hen you are wor+ing on drafts and you want to sa)e printer in+ or toner( you might want
to deselect some of the items in the 8ontents section.
The Print te't in black selection causes color teCt %but not graphics' to print as blac+ on a
color printerV on a blac+9and9white printer( this option causes color teCt to print as solid blac+ instead of shades of gray %dithered'.
%( LibreOffice #.$ Writer Guide
The Print te't in black option has a different effect than the Convert colors to grayscale
option on the ;ptions G :ibre;ffice G Print page %5igure 3>'( which prints all graphics as grayscale on color printers. %=n blac+9and9white printers( color in graphics normally prints as grayscale.'
Gf you are printing double9sided on a non9dupleCing printer( you might choose to print only
left or right pages( then turn the stac+ o)er and print the other pages.
You can o)erride any of these defaults when printing a document. Clic+ File 9 Print( then use the options on the )arious pages of the #rint dialog.
&ip
Gf most of your tables will re@uire borders or headings( select those options. Gf most of your
tables are used for page layout( deselect borders and headings.
>umber recognition can be )ery useful if most of your tables contain numerical dataV
7riter will recogni2e dates or currency( for eCample( and format the numbers appropriately. 6owe)er( if you want the numbers to remain as ordinary teCt( this feature can be @uite irritating( so you will want to deselect it.
The Keyboard handling section specifies the distances that cells mo)e when you use
+eyboard shortcuts to mo)e them and the si2e of rows and columns inserted using +eyboard shortcuts.
The choices in the Jehavior of rows!columns section determine the effects that changes to
rows or columns ha)e on adJacent rows or columns and the entire table. You might need to test these selections to fully understand the effects.
%=
Compatibility options
.o you need to import 0icrosoft 7ord documents into $ibre=ffice 7riter? Gf so( you might want to select some or all of the settings on the :ibre;ffice !riter G Compatibility page %5igure A>'. Gf you are not sure about the effects of these settings( lea)e them as the defaults pro)ided by $ibre=ffice. 5or information about the settings not described below( see the 6elp. 2se printer metrics for document formatting Gf this option is selected( the printer specified for the document determines how the document is formatted for )iewing on screen. The line brea+s and paragraph brea+s you see on screen match those that apply when the document is printed on that printer. This setting can be useful when se)eral people are re)iewing a document that will e)entually be printed on a specific printer or when the document is eCported to #.5 %a process that uses T*dobe #.5U as the printer'. Gf this option is not selected( a printer9independent layout will be used for screen display and printing. Add spacing between paragraphs and tables Ain current documentB Gn $ibre=ffice 7riter( paragraph spacing is defined differently than it is in 0- 7ord documents. Gf you ha)e defined spacing between two paragraphs or tables( spacing is also added in the corresponding 0- 7ord documents. Gf this option is selected( 0icrosoft 7ord9compatible spacing is added between paragraphs and tables in $ibre=ffice 7riter documents.
&$
)igure %# 8hoosing compatibility options Add paragraph and table spacing at tops of pages Ain current documentB You can define paragraphs to ha)e space appear before %abo)e' them. Gf this option is selected( any space abo)e a paragraph will also appear if the paragraph is at the beginning of a page or column( if the paragraph is positioned on the first page of the document( or after a manual page brea+. Gf you import a 0icrosoft 7ord document( the spaces are automatically added during the con)ersion. Add paragraph and table spacing at bottom of table cells -pecifies that the bottom spacing is added to a paragraph( e)en when it is the last paragraph in a table cell. 2se as 4efault Clic+ this button to use the current settings on this page as the default in $ibre=ffice.
AutoCaption options
.o you want $ibre=ffice to automatically insert captions for tables( pictures( frames( and =$3 obJects that ha)e been inserted in a 7riter document?
>ote
You may not always want captions for e)ery table( for eCample( if you use tables for layout as well as for tables of data. You can always add captions to indi)idual tables( graphics( or other obJects %right9clic+ 9 Caption'.
Gf you do want automatic captions on one or more obJect types( use the options on the :ibre;ffice !riter 9 AutoCaption page. 3nable the chec+ boC neCt to an obJect you want to be automatically captioned %Picture in the eCample shown'.7ith the item highlighted( specify the characteristics of the caption. The supplied categories for captions are 4rawing( llustration( &able( and &e't. 6owe)er( you are not limited to the supplied categories. Gf you want to use another name %for eCample( Figure' for the caption label( type the re@uired term in the boC. Gn the eCample shown( Figure has been added to the list.
8hapter : Setting up Writer &*
*dditional information about numbering captions by chapter( character styles( frame styles( and other items on the AutoCaption page( is gi)en in later chapters in the Writer Guide.
)igure %& Specifying settings for use when e"mailing mail"merged form letters
&: LibreOffice #.$ Writer Guide
Gnstall the re@uired dictionaries Change some locale and language settings Choose spelling options
)igure %' LibreOffice language options@ with /sian language options enabled on the right side =n the right9hand side of the :anguage $ettings G :anguages page %5igure AB'( change the 2ser interface@ :ocale setting( 4efault currency( and the settings under Default languages for documents as re@uired. Gn the eCample( 3nglish %"-*' has been chosen for all the appropriate settings.
8hapter : Setting up Writer &3
Gf you want the language setting to apply to the current document only( instead of being the default for all new documents( select For the current document only. Gf necessary( select the options to enable support for *sian languages %Chinese( ,apanese( 8orean' and support for CT$ %compleC teCt layout' languages such as 6indi( Thai( 6ebrew( and *rabic. Gf you choose either of these options( the neCt time you open the =ptions dialog( you will see some eCtra pages under :anguage $ettings( as shown in the right side of 5igure AE. These pages %-earching in ,apanese( *sian $ayout( and CompleC TeCt $ayout' are not discussed here.
Gf you do not want spelling chec+ed while you type( deselect Check spelling as you type.
This option can also be deselected using the Auto$pellcheck button on the -tandard toolbar.
Gf you want grammar to be chec+ed as you type( you must ha)e Check spelling as you
type enabled too.
Gf you use a custom dictionary that includes words in all uppercase and words with
numbers %for eCample( /S!#$$'( select Check uppercase words and Check words with numbers.
Check special regions includes headers( footers( frames( and tables when chec+ing
spelling. 6ere you can also chec+ which of the user9defined %custom' dictionaries are acti)e( or you can add or remo)e user installed dictionaries by clic+ing the >ew or 4elete buttons. .ictionaries installed by the system cannot be deleted.
&#
ntroduction
This chapter co)ers the basics of wor+ing with teCt in 7riter( the word9processing component of $ibre=ffice. Gt assumes that you are familiar with the use of a mouse and +eyboard and that you ha)e read about 7riterFs menus and toolbars and other topics co)ered in Chapter 1( Gntroducing 7riter. 7e recommend that you also follow the suggestions in Chapter 2( -etting up 7riter( about displaying formatting aids( such as end9of9paragraph mar+s( and selecting other setup options. 7hen you ha)e read this chapter( you should +now how to&
-elect( cut( copy( paste( and mo)e teCt 5ind and replace teCt Gnsert special characters 5ormat paragraphs and characters Create numbered or bulleted lists Chec+ spelling and grammar( use the thesaurus( and choose hyphenation options "se the autocorrection( word completion( autoteCt( and line numbering features Trac+ changes( undo and redo changes( and insert comments $in+ to other parts of a document
$electing te't
/efore you can do anything with teCt( you need to select it. -electing teCt in 7riter is similar to selecting teCt in other applications. Gn addition to selecting bloc+s of teCt( you can select items that are not consecuti)e( and columns %)ertical bloc+s' of teCt.
&(
)igure &* Selecting items that are not ne-t to each other
!ow you can highlight the selection( using mouse or +eyboard( as shown in 5igure <2.
&=
7hen you paste teCt( the result depends on the source of the teCt and how you paste it. Gf you clic+ on the Paste icon( then the pasted teCt +eeps its original formatting %such as bold or italics'. TeCt pasted from 7eb sites and other sources may also be placed into frames or tables. Gf you do not li+e the results( clic+ the 2ndo icon or press 8trl9A. To ma+e the pasted teCt ta+e on the formatting of the teCt surrounding where it is pasted&
Choose -dit 9 Paste $pecial( or Clic+ the triangle to the right of the Paste icon( or Clic+ the Paste icon without releasing the left mouse button.
Then select 2nformatted te't from the resulting menu. The range of choices on the #aste -pecial menu )aries depending on the origin and formatting of the teCt %or other obJect' to be pasted. -ee 5igure <3 for an eCample with teCt on the clipboard.
5ind and replace words and phrases "se wildcards and regular eCpressions to fine9tune a search 5ind and replace specific formatting 5ind and replace paragraph styles
)igure &# Doc7ed position of )ind toolbar To use the 5ind toolbar( clic+ in the boC and type your search teCt( then press ,nter to find the neCt occurrence of that term. Clic+ the Find >e't or Find Previous buttons as needed. -electing the icon neCt to the arrows opens the 5ind M 4eplace dialog and +eeps the 5ind dialog open.
'$ LibreOffice #.$ Writer Guide
&ip
Gf you clic+ Find All( 7riter selects all instances of the search teCt in the document. -imilarly( if you clic+ Ceplace All( 7riter replaces all matches.
Caution
"se Ceplace All with cautionV otherwise( you may end up with some highly embarrassing %and hilarious' mista+es. * mista+e with Ceplace All might re@uire a manual( word9by9word( search to fiC.
'*
&ip
&ip
The online help describes many more regular eCpressions and their uses.
':
To use wildcards and regular eCpressions when searching and replacing& 1' =n the 5ind M 4eplace dialog( clic+ /ore ;ptions to see more choices. =n this eCpanded dialog %5igure <A'( select the Cegular e'pressions option. 2' Type the search teCt( including the wildcards( in the Search for boC and the replacement teCt %if any' in the 6eplace with boC. !ot all regular eCpressions wor+ as replacement charactersV the line brea+ %\n' is one that does wor+. 3' Clic+ Find, Find All( Ceplace( or Ceplace All %not recommended'.
>ote
To search for a character that is defined as a wildcard( type a bac+slash % \' before the character to indicate that you are using it literally. 5or eCample( to find the teCt P+.**( you would conduct a search using \$5\.00.
_Zstart end_Y ` _n
_Zlog finds logboo7 and logistics( but not catalog. log_Y finds catalog( but not logistics. .oes not wor+ as a replacement character. "se Qn instead. 5inds a line brea+ that was inserted with Shift9,nter. 7hen used as a replacement character( it inserts a paragraph mar+er.
&ip
.ifferent fonts include different special characters. Gf you do not find a particular special character you want( try changing the )ont selection.
'3
)igure && +he Special 8haracters dialog@ where you can insert special characters
&ip
'#
+esult
* / %*( space( en9dash( space( /' * / %*( space( en9dash( space( /' *Q/ %*( em9dash( /' *9/ %unchanged' * 9/ %unchanged' * / %*( space( en9dash( /'
!indows =n most non9*sian installations of 7indows( hold down one of the /lt +eys and type on the numeric +eypad& 01A0 for an en dash or 01A1 for an em dash. The dash appears when you release the /lt +ey.
=n a +eyboard with no numeric +eypad( use a )n %)unction' +ey combination to type the numbers. %The )n +ey is usually to the right of the left9hand 8trl +ey on the +eyboard.' 5or eCample( on a "- +eyboard layout( the combination for an en dash should be /lt9)n9mIim and for an em dash it should be /lt9)n9mIiI.
&ip
:inu' 6old down the 8ompose +ey and type two hyphens and a period for an en dash( or three hyphens for an em dash. The dash appears when you release the 8ompose +ey.
The +ey that operates as a 8ompose +ey )aries with the $inuC distribution. Gt is usually one of the /lt or Win +eys( but may be another +ey( and should be user9 selectable.
&ip
/ac ;$ M 6old down the Option %/lt' +ey and type a hyphen for an en dash. 5or an em dash( the combination is Shift9Option9.yphen.
Formatting paragraphs
You can apply many formats to paragraphs using the buttons on the 5ormatting toolbar. 5igure <E shows the 5ormatting toolbar as a floating toolbar( customi2ed to show only the buttons for paragraph formatting. Gf you ha)e *sian or CompleC TeCt $ayout language support enabled( two additional buttons are a)ailable& $eft9to94ight and 4ight9to9$eft. The appearance of the icons may )ary with your operating system and the selection of icon si2e and style in &ools 9 ;ptions 9 :ibre;ffice 9 =iew.
The use of paragraph styles is highly recommended as an alternati)e to manually formatting paragraphs( especially for long or standardi2ed documents. 5or information on styles and how to use them( see Chapters < and E in this boo+.
&ip
'%
Caution
0anual formatting %also called direct formatting' o)errides styles( and you cannot get rid of the manual formatting by applying a style to it. To remo)e manual formatting( select the teCt( right9clic+( and choose Clear 4irect Formatting from the conteCt menu. *lternati)ely( use 8trl9<.
1 =pen -tyles and 5ormatting 7indow # *pply -tyle % *lign $eft ) Centered
+ ( " 0 9
*lign 4ight ,ustified $ine -pacing& 1 $ine -pacing& 1.A $ine -pacing& 2
1* 11 1# 1% 1)
!umbering =n/=ff /ullets =n/=ff .ecrease Gndent Gncrease Gndent #aragraph format dialog
)igure &' )ormatting toolbar@ showing icons for paragraph formatting 5igure <B shows eCamples of the teCt alignment options.
)igure &( +e-t alignment options 7hen using Justified teCt( the last line is by default aligned to the leftV howe)er( if so desired( you can also align the last line to the center of the paragraph area or Justify it so that spaces are inserted between the words in order to fill the whole line. Gf you select the -'pand single word option( then whene)er the last line of a Justified paragraph consists of a single word( this word is stretched by inserting spaces between characters so that it occupies the full length of the line. 5igure <D shows an eCample of the effect obtained when setting each of these options.
)igure &= )our choices for the last line of a Iustified paragraph These options are controlled in the /lignment page of the #aragraph dialog( reached by choosing Format 9 Paragraph from the menu bar or by right"clic7ing in the paragraph and selecting Paragraph from the conteCt menu.
'&
''
* better strategy is to define tabs for the paragraph style. 4efer to Chapters < and E for more about paragraph styles.
&ip
"sing tabs to space out material on a page is not recommended. .epending on what you are trying to accomplish( a table is usually a better choice.
To set the measurement unit and the spacing of default tab stop inter)als( go to &ools 9 ;ptions 9 :ibre;ffice !riter 9 1eneral.
)igure ': Selecting a default tab stop interval You can also set or change the measurement unit for rulers in the current document by right9 clic+ing on the ruler to open a list of units( as shown in 5igure E3. Clic+ on one of them to change the ruler to that unit. The selected setting applies only to that ruler.
Formatting characters
You can apply many formats to characters using the buttons on the 5ormatting toolbar. 5igure E> shows the 5ormatting toolbar customi2ed to show only the buttons for character formatting. The appearance of the icons may )ary with your operating system and the selection of icon si2e and style in &ools 9 ;ptions 9 :ibre;ffice 9 =iew. Gt is highly recommended that you use character styles rather than manually formatting characters. 5or information on styles and how to use them( see Chapters < and E.
'(
1 =pen -tyles and 5ormatting 7indow # *pply -tyle % 5ont !ame ) 5ont -i2e + /old
&ip
Autoformatting
You can set 7riter to automatically format parts of a document according to the choices made on the Options page of the *utoCorrect dialog %&ools 9 AutoCorrect ;ptions'.
)igure '% /utoformat choices on the Options page of the /uto8orrect dialog
'=
The 6elp describes each of these choices and how to acti)ate the autoformats. -ome common unwanted or uneCpected formatting changes include&
6ori2ontal lines. Gf you type three or more hyphens %---'( underscores %_ _ _' or e@ual
signs %===' on a line and then press ,nter the paragraph is replaced by a hori2ontal line as wide as the page. The line is actually the lower border of the preceding paragraph. %*'( or plus sign %9'( followed by a space or tab at the beginning of a paragraph. * numbered list is created when you type a number followed by a period %.'( followed by a space or tab at the beginning of a paragraph. *utomatic numbering is only applied to paragraphs formatted with the Default( +e-t body or +e-t body indent paragraph styles.
/ulleted and numbered lists. * bulleted list is created when you type a hyphen %-'( asteris+
&ip
Gf you notice uneCpected formatting changes occurring in your document( this is the first place to loo+ for the cause.
To automatically format the file according to the options you ha)e set( choose Format 9 AutoCorrect and select or deselect the items on the submenu. !hile &yping *utomatically formats the document while you type. Apply *utomatically formats the document. Apply and -dit Changes *utomatically formats the file and then opens a dialog where you can accept or reJect the changes. AutoCorrect ;ptions =pens the *utoCorrect dialog %5igure EA'.
"se autoformatting( as described abo)e. "se list %numbering' styles( as described in Chapters < and E in this boo+. "se the >umbering and 3ullets icons on the paragraph formatting toolbar %see 5igure
<E'. This method is described here. To produce a numbered or bulleted list( select the paragraphs in the list and then clic+ on the appropriate icon on the toolbar.
>ote
Gt is a matter of personal preference whether you type your information first( then apply !umbering//ullets or apply these as you type.
($
&ip
To mo)e a list entry up( together with all of its sub9entries( clic+ the Promote ;ne :evel !ith $ubpoints button.
1 # % ) +
/ullets =n/=ff !umbering =n/=ff !umbering =ff #romote =ne $e)el .emote =ne $e)el
( " 0 9 1*
#romote =ne $e)el with -ubpoints .emote =ne $e)el with -ubpoints Gnsert "nnumbered 3ntry 0o)e "p 0o)e .own
11 1# 1% 1)
0o)e "p with -ubpoints 0o)e .own with -ubpoints 4estart !umbering /ullets and !umbering
)igure '& Jullets and Dumbering toolbar Gf you create a nested list using the buttons on this toolbar( all the le)els of the list %up to 10' apply the same numbering %or bullet'. 6owe)er( in many circumstances you will want to use a combination of numbering formats and bullets when creating nested lists. -uch lists( with a miCture of numbering formats and bullets( can be easily configured as described in the following eCample. *dditional information on lists( in particular the techni@ue to create your own list style( is described in Chapter E( 7or+ing with -tyles.
7hen creating nested lists( one option is to enter all the list paragraphs first and apply the le)els afterwards. You can use +eyboard shortcuts to mo)e paragraphs up or down the outline le)els. #lace the cursor at the beginning of the numbered paragraph and press&
&ip
+ab Shift9+ab
To insert a tab stop at the beginning of a numbered paragraph %that is( after the number but before the teCt'( press 8trl9+ab.
(*
)igure '' <odifying a list style 2' =n the !umbering -tyle dialog( go to the Outline page( where you will find that one style matches our re@uirements. Clic+ once on that style.
)igure '( 8hoosing a predefined outline"numbering style 3' To modify the layout of the list( use the Options tab %5igures ED and B0'. !otice that the pre)iew on the right shows the outline selected. Gn the Level boC on the left( select 1( then #( %( and ) and see how the information in the Dumbering and /fter boCes changes. "se the Options page to set different punctuationV for eCample( a period %full stop' after TaU on le)el > instead of a parenthesis. To ma+e the indentation at each le)el greater or less than the default( change it on the Position page. -elect the le)el( then ma+e any changes in the indentation( spacing( or numbering alignment. >' 4epeat for each le)el as re@uired( then clic+ ;6.
(:
)igure '= 8hec7ing the outline numbering for level"* list items
&ip
Gnsert footnotes. .efine the format of footnotes. .efine the location of footnotes on the page( and the color and line styles for separator
lines.
nserting footnotesFendnotes
To insert a footnote or an endnote( put the cursor where you want the footnote/endnote mar+er to appear. Then select nsert 9 FootnoteF-ndnote from the menu bar or clic+ the nsert FootnoteF-ndnote 4irectly or nsert -ndnote 4irectly icon on the Gnsert toolbar. * footnote or endnote mar+er is inserted in the teCt and( depending on your choice( the cursor is relocated either to the footnote area at the bottom of the page or to the endnote area at the end of the document. Type the footnote or endnote content in this area.
(3
)igure (* 0sing the 2nsert )ootnote Directly icon on the toolbar Gf you use nsert 9 FootnoteF-ndnote( the Gnsert 5ootnote/3ndnote dialog %5igure B2' is displayed. 6ere you can choose whether to use the automatic numbering se@uence specified in the footnote settings and whether to insert the item as a footnote or an endnote. Gf you use the nsert FootnoteF-ndnote 4irectly or nsert -ndnote 4irectly icon( the footnote or endnote automatically ta+es on the attributes pre)iously defined in the 5ootnote -ettings dialog. You can edit an eCisting footnote or endnote the same way you edit any other teCt. To delete a footnote or endnote( delete the footnote mar+er. The contents of the footnote or endnote are deleted automatically( and the numbering of other footnotes or endnotes is adJusted automatically.
(#
(%
)igure (% /uto8orrect conte-t menu Clic+ing on one of the suggested words in the top section of the menu replaces the underlined word with the one selected. The choices in the center section of the menu are& gnore This one instance of the underlined word will be ignored while the document is open. =ther instances( if they eCist( will still be underlined. This setting is not stored with the document. gnore All *ll instances of the word in the document will be ignored( and the word will be added to the gnoreAll:ist user9defined dictionary. Add The word is added to a user9defined dictionary. Gf only one dictionary is enabled( no choice is offered here( and it is added by default to the $tandard dictionary. AutoCorrect -electing this opens the submenu( which repeats the suggestions for the word from the top section listing. -electing a replacement word here stores the word pair in the replacement table
(& LibreOffice #.$ Writer Guide
under &ools 9 AutoCorrect ;ptions 9 Ceplacement. The underlined word is replaced with the selected word. $pelling and 1rammar This opens the $pelling and 1rammar chec+er. -ee the eCplanations for this which follow. Gn the third section of the conteCt menu( language settings for the teCt can be set. These settings can be applied to the teCt( or to the paragraph containing the teCt.
)igure (& Spelling alert using the Spelling and Grammar dialog The elements of the -pelling and rammar dialog are as follows.
>ot in dictionary The sentence containing the error is displayed in the pane. Gf an unrecogni2ed word is found it is highlighted. Gf the error is grammatical( then it is indicated in a pale colored bar below the &e't language setting %5igure BE'. The sentence or the word can be edited in the pane. $uggestions The pane contains suggested replacement words for the highlighted word. -elect a word and then select Change or Change All to replace it. 5or grammatical errors there is no multiple choice. -elect Change to accept the suggestion.
8hapter 3 Wor7ing with +e-t ('
&e't language The language to be used for the spell and grammar chec+ing can be selected from this list. Gf the spell chec+ is enabled for this language( a chec+ mar+ is displayed in front of it. gnore ;nce, gnore All, and Add -electing one of these buttons has the same effect as the item in the AutoCorrect conteCt menu detailed abo)e. Change 4eplaces the un+nown word with the suggested word. Gf the sentence was edited( the whole sentence is changed. 5or grammar( the suggested replacement is used to correct the teCt. Change All This replaces all instances of the word with the selected replacement word. AutoCorrect This beha)es in a similar fashion to AutoCorrect described abo)e. .owever( the word is not replaced and you must select one of the Change buttons. 2ndo This button is enabled when a change has been made to the sentence( in case you wish to re)erse the change. The button is not accessible if you use a Change button to replace a word. ;ptions -electing this opens the ;ptions dialogue boC where you can select user defined dictionaries and set the spell chec+ing rules.
Gt is recommended you run the -pelling and rammar chec+er twice on your document. * minor software problem may pre)ent it detecting all the grammar errors in a single pass.
>ote
1rammar
/y default( Check grammar as you type is enabled in &ools 9 ;ptions 9 :anguage $ettings 9 !riting Aids 9 ;ptions. *uto-pellchec+ must be enabled for this to wor+. Gf any errors are detected( they are shown underlined by a wa)y blue line. 4ight clic+ing on this line brings up a conteCt menu which may be similar to one of those those below.
((
The first entry in the menu informs you of the suspected bro+en grammatical rule. The second menu item in the left eCample is -'planations( which if selected opens your browser and ta+es you to a web page offering more information about the error. This entry is not always present in the conteCt menu( as seen in the right eCample. Gn the second section of the menu is the suggested correction. Clic+ing this changes the teCt to the suggestion. The eCample to the right appears blan+( but clic+ing here remo)es the eCtra space causing the error. Gn the third section of the menu you can select to ignore the indicated error( or to open the -pelling and rammar chec+er. This dialog is shown below. This eCample displays the "4$ which will ta+e you to a web site for more information on the error indicated.
)igure (' Dialog showing the 06L for e-panded e-planation Gn the final section of the menu( you can set the language for the selection or the paragraph. *dditional grammar chec+ing rules can be selected through &ools 9 -'tension /anager 9 -nglish spelling dictionaries 9 ;ptions.
(=
-election of paragraph and character styles The functions in &ools 9 :anguage The use of language settings in =ptions The functions a)ailable on the status bar
The main ad)antage of changing the language for a teCt selection is that you can then use the correct dictionaries to chec+ spelling and apply the locali2ed )ersions of *utoCorrect replacement tables( thesaurus( and hyphenation rules. * grammar chec+ing dictionary may be a)ailable for the selected language. You can also set the language for a paragraph or a group of characters as >one A4o not check spellingB. This option is especially useful when you insert teCt such as web addresses or programming language snippets that you do not want to chec+ for spelling.
Caution
=$
)igure (= Options available in the Languages settings The spelling chec+er wor+s only for those languages in the list which ha)e the symbol neCt to them. Gf you do not see this symbol neCt to your preferred language( you can install the dictionary using &ools 9 :anguage 9 /ore dictionaries online.
)igure =$ Language choices on the status bar !otice the 6eset to Default Language option on the menu and submenu. This is the fastest way to return a paragraph or the entire document to the default language set in &ools 9 ;ptions %described abo)e'.
>ote
=:
8yphenating words
You ha)e se)eral choices regarding hyphenation& let 7riter do it automatically %using its hyphenation dictionaries'( insert conditional hyphens manually where necessary( or donFt hyphenate at all. 3ach choice has its pros and cons.
Automatic hyphenation
To turn automatic hyphenation of words on or off& 1' #ress )** to open the -tyles and 5ormatting window. =n the Paragraph Styles page( right9 clic+ on 4efault and select /odify.
)igure =3 <odifying a paragraph style 2' =n the #aragraph -tyle dialog( select the +e-t )low tab.
)igure =# +urning on automatic hyphenation 3' "nder .yphenation( select or deselect the Automatically option. >' Clic+ ;6 to sa)e.
Turning on hyphenation for the Default paragraph style affects all other paragraph styles that are based on Default. You can indi)idually change other styles so that hyphenation is not acti)eV for eCample( you might not want headings to be hyphenated. *ny styles that are not based on Default are not affected. 5or more on paragraph styles( see Chapters < and E in this boo+.
>ote
You can also set hyphenation choices through &ools 9 ;ptions 9 :anguage $ettings 9 !riting Aids. Gn Options( near the bottom of the dialog( scroll down to find the hyphenation settings.
=3
)igure =% Setting hyphenation options To change the minimum number of characters for hyphenation( or the minimum number of characters before or after a line brea+( select the item( and then clic+ the -dit button in the =ptions section. 8yphenate without in?uiry -pecifies that you will ne)er be as+ed to manually hyphenate words that the hyphenation dictionary does not recogni2e. Gf this boC is not selected( when a word is not recogni2ed( a dialog will open where you can manually enter hyphens. 8yphenate special regions -pecifies that hyphenation will also be carried out in footnotes( headers( and footers. 6yphenation options set in the !riting Aids dialog are effecti)e only if hyphenation is turned on through paragraph styles.
/anual hyphenation
To manually hyphenate words( do not use a normal hyphen( which will remain )isible e)en if the word is no longer at the end of a line when you add or delete teCt or change margins or font si2e. Gnstead( use a conditional hyphen( which is )isible only when re@uired. To insert a conditional hyphen inside a word( clic+ where you want the hyphen to appear and press 8trl9hyphen or use nsert 9 Formatting /ark 9 ;ptional hyphen. The word will be hyphenated at this position when it is at the end of the line( e)en if automatic hyphenation for this paragraph is switched off.
2sing AutoCorrect
7riterFs *utoCorrect function has a long list of common misspellings and typing errors( which it corrects automatically. 5or eCample( ThteU will be changed to TtheU. *utoCorrect is turned on when 7riter is installed. To turn it off( unchec+ Format 9 AutoCorrect 9 !hile &yping. -elect &ools 9 AutoCorrect ;ptions to open the *utoCorrect dialog. There you can define what strings of teCt are corrected and how. Gn most cases( the defaults are fine. To stop 7riter replacing a specific spelling( go to the Ceplace tab( highlight the word pair( and clic+ 4elete. To add a new spelling to the list( type it into the 6eplace and With boCes on the 4eplace tab( and clic+ >ew. -ee the different pages of the dialog for the wide )ariety of other options a)ailable to fine9tune *utoCorrect.
&ip
*utoCorrect can be used as a @uic+ way to insert special characters. 5or eCample( %c' will be autocorrected to a. You can add your own special characters.
=#
*dd %append' a space automatically after an accepted word. -how the suggested word as a tip %ho)ering o)er the word' rather than completing the teCt
as you type.
Collect words when wor+ing on a document( and then either sa)e them for later use in
other documents or select the option to remo)e them from the list when closing the document.
Change the maCimum number of words remembered for word completion and the length of
the smallest words to be remembered.
.elete specific entries from the word completion list. Change the +ey that accepts a suggested entryQthe options are right arrow( ,nd +ey(
,nter %6eturn'( Space bar( and +ab.
*utomatic word completion only occurs after you type a word for the second time in a document.
>ote
=%
2sing Auto&e't
"se *utoTeCt to store teCt( tables( fields( and other items for reuse and assign them to a +ey combination for easy retrie)al. 5or eCample( rather than typing T-enior 0anagementU e)ery time you use that phrase( you can set up an *utoTeCt entry to insert those words when you type TsmU and press )3. *utoTeCt is especially powerful when assigned to fields. -ee Chapter 1>( 7or+ing with 5ields( for more information.
Creating Auto&e't
To store some teCt as *utoTeCt& 1' Type the teCt into your document. 2' -elect the teCt. 3' o to -dit 9 Auto&e't %or press 8trl9)3'. >' Gn the *utoTeCt dialog( type a name for the *utoTeCt in the Dame boC. 7riter will suggest a one9letter shortcut( which you can change. A' Gn the large boC to the left( choose the category for the *utoTeCt entry( for eCample <y /uto+e-t. <' Clic+ the Auto&e't button on the right of the dialog and select from the menu either >ew %to ha)e the *utoTeCt retain specific formatting( no matter where it is inserted' or >ew Ate't onlyB %to ha)e the *utoTeCt ta+e on the eCisting formatting around the insertion point.. E' Clic+ Close to return to your document.
=&
&ip
Gf the only option under the Auto&e't button is mport( either you ha)e not entered a name for your *utoTeCt or there is no teCt selected in the document.
To sa)e a table %such as the formatted Tip abo)e' as *utoTeCt& 1' Create a table and format it the way you want. 2' -elect the table. 3' o to -dit 9 Auto&e't %or press 8trl9)3'. >' Type a name for the *utoTeCt( optionally amend the suggested shortcut( and choose the category for the *utoTeCt entry. A' Clic+ the Auto&e't button and select >ew %because you want the formatting of the table preser)ed'. <' Clic+ Close to return to your document.
nserting Auto&e't
To insert *utoTeCt( type the shortcut and press )3.
='
:ine numbering
$ine numbering puts line numbers in the margin. The line numbers are displayed on screen and are also printed. 5igure DD shows an eCample with numbering on e)ery line.
)igure == Line numbering e-ample Clic+ &ools 9 :ine >umbering and select the $how numbering option in the top left corner of the $ine !umbering dialog %5igure 100'. Then clic+ ;6.
=(
You can choose how many lines are numbered %for eCample( e)ery line or e)ery tenth line'( the numbering type( and whether numbers restart on each page. Gn addition( a teCt separator %any teCt you choose' can be set on a different numbering scheme %one e)ery 12 lines( for eCample'.
0a+e your changes to a copy of the document %stored in a different folder( under a different
name( or both'( then use 7riter to combine the two files and show the changes you made. Clic+ -dit 9 Compare 4ocument. This techni@ue is particularly useful if you are the only person wor+ing on the document( as it a)oids the increase in file si2e and compleCity caused by the other methods.
-a)e )ersions that are stored as part of the original file. 6owe)er( this method can cause
problems with documents of nontri)ial si2e or compleCity( especially if you sa)e a lot of )ersions. *)oid this method if you can.
"se 7riterFs change mar+s %often called TredlinesU or Tre)ision mar+sU' to show where you
ha)e added or deleted material or changed formatting. $ater( you or another person can re)iew and accept or reJect each change.
>ote
!ot all changes are recorded. 5or eCample( changing a tab stop from align left to align right and changes in formulas %e@uations' or lin+ed graphics are not recorded.
&ip
*n alternati)e to steps 2 and 3 abo)e is to choose File 9 Properties 9 $ecurity tab( select the Cecord changes option( then clic+ Protect and enter the password.
Cecording changes
-ee Chapter 2( -etting up 7riter( for instructions on setting up how your changes will be displayed. 1' To begin trac+ing %recording' changes( choose -dit 9 Changes 9 Cecord. To show or hide the display of changes( clic+ -dit 9 Changes 9 $how.
&ip
6old the mouse pointer o)er a mar+ed changeV you will see a .elp +ip showing the type of change( the author( date( and time of day for the change. Gf ,-tended +ips are enabled( you will also see any comments recorded for this change.
==
2' To enter a comment on a mar+ed change( place the cursor in the area of the change and then clic+ -dit 9 Changes 9 Comment. Gn addition to being displayed as an eCtended tip( the comment is also displayed in the list in the *ccept or 4eJect Changes dialog %5igure 102'. To mo)e from one mar+ed change to the neCt( use the arrow buttons. Gf no comment has been recorded for a change( the +e-t field is blan+. 3' To stop recording changes( clic+ -dit 9 Changes 9 Cecord again.
&ip
-ee also T*dding other commentsU on page 102 for a way to annotate teCt that is not associated with a recorded change.
*ccepting a change incorporates the alteration into the document and remo)es the change
indication mar+ing.
4eJecting a change re)erts the document to its original state and remo)es the change
indication mar+ing. Cight.click Aconte'tB menu 1' Gf recorded changes are not showing( clic+ -dit 9 Changes 9 $how. 2' 6o)er the mouse pointer o)er a recorded change. * boC appears with information about the type of change( who made it( and the date and time. 3' 4ight9clic+ on the changed teCt. Gn the conteCt menu( choose Accept Change or CeDect Change. Accept or CeDect Changes dialog 1' Clic+ -dit 9 Changes 9 Accept or CeDect. The *ccept or 4eJect Changes dialog %5igure 102' opens( showing changes that ha)e not yet been accepted or reJected.
*$$
2' 7hen you select a change in the dialog( the actual change is highlighted in the document( so you can see what the editor changed. 3' Clic+ Accept or CeDect to accept or reJect the selected change. You can also clic+ Accept All or CeDect All if you do not want to re)iew the changes indi)idually. To show only the changes of certain people or only the changes on specific days or )arious other restrictions( use the )ilter page %5igure 103' on the *ccept or 4eJect Changes dialog. *fter specifying the filter criteria( return to the List page to see those changes that meet your criteria.
)igure *$: +he List tab of the /ccept or 6eIect 8hanges dialog
)igure *$3 +he )ilter page of the /ccept or 6eIect 8hanges dialog
*$*
Comparing documents
-ometimes re)iewers may forget to record the changes they ma+e. This is not a problem with 7riter because you can find the changes if you compare documents. Gn order to compare documents( you need to ha)e the original document and the one that is edited. To compare them& 1' =pen the edited document. -elect -dit 9 Compare 4ocument. 2' The Gnsert dialog appears. -elect the original document and clic+ nsert. 7riter finds and mar+s the changes and displays the *ccept or 4eJect Changes dialog. 5rom this point( you can go through and accept or reJect changes procedure as described earlier.
*$:
)igure *$# 8omments in LibreOffice 4ight9clic+ing on a comment pops up a menu where you can delete the current comment( all the comments from the same author( or all the comments in the document. This part of the menu is also a)ailable by clic+ing the down9arrow in the comment. 5rom this menu( you can also apply some basic formatting to the teCt of the comment. You can also change font type( si2e( and alignment from the menu bar. To na)igate from one comment to another( open the !a)igator %)%'( eCpand the Comments section( and clic+ on the comment teCt to mo)e the cursor to the anchor point of the comment in the document. 4ight9clic+ on the comment to @uic+ly edit or delete it. You can also na)igate the comments using the +eyboard. "se 8trl9/lt9Page Down to mo)e to the neCt comment and 8trl9/lt9Page 0p to mo)e to the pre)ious comment.
6yperlin+s Cross9references
The two methods ha)e the same result if you 8trl9clic7 the lin+ when the document is open in 7riter& you are ta+en directly to the cross9referenced item. 6owe)er( they also ha)e maJor differences&
The teCt in a hyperlin+ does not automatically update if you change the teCt of the lin+ed
item %although you can change it manually'( but changed teCt does automatically update in a cross9reference.
7hen using a hyperlin+( you do not ha)e a choice of the content of the lin+ %for eCample
teCt or page number'( but when using a cross9reference( you ha)e se)eral choices( including boo+mar+s.
To hyperlin+ to an obJect such as a graphic( and ha)e the hyperlin+ show useful teCt such
as )igure &( you need to either gi)e such an obJect a useful name instead of lea)ing it as the default name %T raphics<U'( or you need to use the 6yperlin+ dialog to modify the )isible teCt. Gn contrast( cross9references to figures with captions automatically show useful teCt( and you ha)e a choice of se)eral )ariations of the name.
Gf you sa)e a 7riter document to 6T0$( hyperlin+s remain acti)e but cross9references do
not. %/oth remain acti)e when the document is eCported to #.5.'
*$3
2sing cross.references
To ensure that references update if you reword a heading( caption( or other lin+ed item( use automatic cross9references. -ee T"sing automatic cross9referencesU in Chapter 1>( 7or+ing with 5ields( for details.
2sing bookmarks
/oo+mar+s are listed in the !a)igator and can be accessed directly from there with a single mouse clic+. Gn 6T0$ documents( boo+mar+s are con)erted to anchors that you can Jump to by hyperlin+. 5or more about boo+mar+s( see T"sing boo+mar+sU in Chapter 1>( 7or+ing with 5ields.
2sing hyperlinks
7hen you type teCt %such as website addresses or "4$' that can be used as a hyperlin+( and then press the spacebar or the ,nter +ey( 7riter automatically creates the hyperlin+ and applies formatting to the teCt %usually a color and underlining'. Gf this does not happen( you can enable this feature using &ools 9 AutoCorrect ;ptions 9 ;ptions and selecting the 2C: Cecognition option. Gf you do not want 7riter to con)ert a specific "4$ to a hyperlin+( choose -dit 9 2ndo nsert from the menu bar or press 8trl9A immediately after the formatting has been applied. You can also insert hyperlin+s using the !a)igator and the 6yperlin+ dialog( and you can modify all hyperlin+s using the 6yperlin+ dialog( as described in this section.
6yperlin+s between documents can be set as relati)e or absolute( using the $ave 2C:s relative to option in &ools 9 ;ptions 9 :oadF$ave 9 1eneral.
>ote
4elati)e lin+ing is only possible when the document you are wor+ing on and the lin+ destination are on the same dri)e( and you need to create the same directory structure on your hard dis+ as will apply on the destination website. $ibre=ffice uses absolute path names internally( so when you mo)e your mouse cursor o)er a hyperlin+( the tooltip displays the absolute reference e)en when it is set to be a relati)e lin+.
*$#
nternet& a web address( normally starting with http&// /ail O >ews& for eCample an email address. 4ocument& the hyperlin+ points to another document or to another place in the
presentation.
)igure *$&. .yperlin7 dialog showing details for 2nternet lin7s The top right part of the dialog changes according to your choice for the hyperlin+ type. * full description of all the choices( and their interactions( is beyond the scope of this chapter. 6ere is a summary of the most common choices used in presentations.
8hapter 3 Wor7ing with +e-t *$%
5or an 2nternet type hyperlin+( choose the type of hyperlin+ %choose between 7eb( 5T# or Telnet'( and enter the re@uired web address %"4$'. 5or a <ail and Dews type hyperlin+( specify whether it is a mail or news lin+( the recei)er address and for email( also the subJect. 5or a Document type hyperlin+( specify the document path %the ;pen File button opens a file browser'V lea)e this blan+ if you want to lin+ to a target in the same presentation. =ptionally specify the target in the document %for eCample a specific slide'. Clic+ on the &arget icon to open the !a)igator where you can select the target( or if you +now the name of the target( you can type it into the boC. 5or a Dew Document type hyperlin+( specify whether to edit the newly created document immediately or Just create it %-dit later' and the type of document to create %teCt( spreadsheet( and so on'. 5or a teCt document( -dit now is the more li+ely choice. The $elect path button opens a directory pic+er. The )urther settings section in the bottom right part of the dialog is common to all the hyperlin+ types( although some choices are more rele)ant to some types of lin+s.
-et the )alue of Frame to determine how the hyperlin+ will open. This applies to documents
that open in a 7eb browser.
Form specifies if the lin+ is to be presented as teCt or as a button. &e't specifies the teCt that will be )isible to the user. >ame is applicable to 6T0$ documents. Gt specifies teCt that will be added as a NAME
attribute in the 6T0$ code behind the hyperlin+.
-vent button& this button will be acti)ated to allow $ibre=ffice to react to e)ents for which
the user has written some code %macro'. This function is not co)ered in this boo+.
Editin !yperlin&s
To edit a hyperlin+( clic+ anywhere in the lin+ teCt and then open the 6yperlin+ dialog by clic+ing the 8yperlink icon on the -tandard toolbar or choosing -dit 9 8yperlink from the menu bar. 0a+e your changes and clic+ Apply. Gf you need to edit se)eral hyperlin+s( you can lea)e the 6yperlin+ dialog open until you ha)e edited all of them. /e sure to clic+ Apply after each one. 7hen you are finished( clic+ Close. The standard %default' beha)ior for acti)ating hyperlin+s within $ibre=ffice is to use 8trl9clic7. This beha)ior can be changed in &ools 9 ;ptions 9 :ibre;ffice 9 $ecurity 9 ;ptions( by deselecting the option Ctrl.click re?uired to follow hyperlinks. Gf clic+ing in your lin+s acti)ates them( chec+ that page to see if the option has been deselected. To change the color of hyperlin+s( go to &ools 9 ;ptions 9 :ibre;ffice 9 Appearance( scroll to 0nvisited lin7s and/or ?isited lin7s( select those options( pic+ the new colors and clic+ ;6. Caution& this will change the color for all hyperlin+s in all components of $ibre=fficeQthis may not be what you want. Gn 7riter and Calc %but not .raw or Gmpress'( you can also change the 2nternet lin7 character style or define and apply new styles to selected lin+s.
*$&
7ith the +eyboard( press 2nsert to toggle between o)erwrite mode and insert mode. 7ith the mouse( clic+ in the area on the -tatus /ar that indicates the current mode in order to switch to the other mode. =)erwrite mode cannot be used with -dit 9 Changes 9 Cecord enabled.
You can also see the number of words and characters %and other information including the number of pages( tables( and graphics' in the entire document in File 9 Properties 9 $tatistics.
-entence case( where only the first word is capitali2ed %together with any proper nouns' lower case( where no words %eCcept proper nouns' are capitali2ed "##34 C*-3( where all letters are capitali2ed Capitali2e 3)ery 7ord( where e)ery word is capitali2ed t= $3 c*-3( which changes e)ery letter to the opposite case
There are also se)eral options that are used with *sian teCt. These are not strictly TCaseU changes( but are lumped together in the broader sense of replacing characters with different forms of the same letter. These options are hidden when *sian language support is not enabled. 7riter does not ha)e an automated way to do Title Case( where all words are capitali2ed eCcept for certain subsets defined by rules that are not uni)ersally standardi2ed. To achie)e this affect( you can use 8apitali3e ,very Word and then restore those words that were incorrectly capitali2ed.
*$'
ntroduction
7riter pro)ides se)eral ways for you to control page layouts&
&ip
**$
"se page styles %with two columns' for an indeC or other document with two columns of teCt where the teCt continues from the left9hand column to the right9hand column and then to the neCt page( all in se@uence %also +nown as sna7ing columns of teCt'. Gf the title of the document %on the first page' is full9 page width( put it in a single9column section.
5or a newsletter with a compleC layout( two or three columns on the page( and some articles that continue from one page to some place se)eral pages later( use page styles for basic layout. #lace articles in lin+ed frames and anchor graphics to fiCed positions on the page( if necessary.
5or a document with terms and translations to appear side9by9side in what appear to be columns( use a table to +eep items lined up so you can type in both TcolumnsU.
***
>ote
*ll pages in a 7riter document are based on styles. Gf you do not specify a page style( 7riter uses the Default page style.
To change the layout of indi)idual pages( either define a new page style or use one of the techni@ues %sections( frames( or tables' described later in this chapter. This chapter describes some uses of page styles. -ome other uses are discussed in Chapter <( Gntroduction to -tyles. The #age -tyle dialog is co)ered in detail in Chapter E( 7or+ing with -tyles.
*ny modifications of page styles( including the Default page style( apply only to the document you are wor+ing on. Gf you want the changes to be the default for all documents( you need to put the changes into a template and ma+e that template the default template. -ee Chapter 10( 7or+ing with Templates( for details.
&ip
**:
&ip
You can also insert a page brea+ as followsV 1' #osition the cursor in the paragraph you want to be at the start of the neCt page. 6ight"clic7 and choose Paragraph in the pop9up menu. 2' =n the +e-t )low page of the #aragraph dialog( in the Jrea7s section( select nsert. .o not select !ith Page $tyle. 3' Clic+ ;6 to position the paragraph at the start of the neCt page.
)igure *$( Letterhead with different headers for first and following pages
**3
)igure *$= Dame the new style and set the ne-t page style to Landscape >' =n the Page page of the #age -tyle dialog %5igure 110'( ma+e sure the Orientation is set to :andscape. Change the margins so that they correspond with the margins of the portrait page. That is( the portrait top margin becomes the landscape left margin( and so on.
)igure **$ Set orientation and margins for a landscape page A' Clic+ ;6 to sa)e the changes.
**# LibreOffice #.$ Writer Guide
)igure **: Specifying a page brea7 before a table 3' #osition the cursor in the paragraph or table where the page is to return to portrait orientation and change the paragraph properties or table properties so that With Page Style is the portrait page style that was used before the Landscape page style. >' Clic+ ;6 to return to the pre)ious portrait page style.
&ip
Gf you need the headers or footers on the landscape pages to be in portrait orientation( see T#ortrait headers on landscape pagesU on page 13E.
Con)ert eCisting pages to title pages( or insert new title pages 6ow many pages to con)ert or insert
8hapter # )ormatting Pages **%
7here those pages are located Gf and where to restart page numbering( and what number to start with 7hat page style to use for the title page
"sing this techni@ue( you can insert se)eral Ttitle pagesU at different points in your document( for eCample to add decorati)e pages between chapters as well as title( copyright( and other pages at the beginning of a boo+.
"sing the page rulersQ@uic+ and easy( but does not ha)e fine control. "sing the #age -tyle dialogQcan specify margins to two %fractional' decimal places. >ote
Gf you change the margins using the rulers( the new margins affect the page style and will be shown in the #age -tyle dialog the neCt time you open it.
To change margins using the rulers& 1' The shaded sections of the rulers are the margins %see 5igure 11>'. #ut the mouse cursor o)er the line between the gray and white sections. The pointer turns into a double9headed arrow. 2' 6old down the left mouse button and drag the mouse to mo)e the margin.
The small arrows on the ruler are used for indenting paragraphs. They are often in the same place as the page margins( so you need to be careful to mo)e the margin mar+er( not the arrows. #lace the mouse pointer between the arrows and( when the pointer turns into a double9headed arrow( you can mo)e the margin %the indent arrows will mo)e with it'.
&ip
**&
)igure **# <oving the margins To change margins using the #age -tyle dialog %5igure 110'& 1' 4ight9clic+ anywhere on the page and select Page from the conteCt menu. 2' =n the Page page of the dialog( type the re@uired distances in the <argins boCes.
.efine the number of columns and their layout on a page( using page styles. Change the number of columns for eCisting teCt.
**'
To define the number of columns on a page& 1' Choose Format 9 Columns to go to the Columns dialog %see 5igure 11<'( or go to the 8olumns page of the #age -tyle dialog( 2' Gn the Settings section( choose the number of columns and specify any spacing between the columns and whether you want a )ertical separator line to appear between the columns. You can use one of 7riters predefined column layouts( or you can create a customi2ed column layout. The pre)iew pane( located to the right of the Settings section( shows how the column layout will loo+. !otice the /pply to boC on the right9hand side of the dialog. Gn this instance( the changes are being applied to the Default page style. 3' Clic+ ;6 to sa)e the changes.
&ip
To @uic+ly input the maCimum or minimum allowed )alue in an input boC( clic+ the current )alue and press Page 0p or Page Down respecti)ely.
**(
&ip
**=
&ip
Choose =iew 9 >onprinting Characters %or press 8trl9)*$' to display end of paragraph mar+ers %'. =ften( uneCpected beha)ior of columns is due to eCtra paragraphs that are normally in)isible to the user but are ta+ing up space.
#osition something in a particular place on a page( for eCample( a logo or a Tstop pressU
news boC in one corner of a page.
*llow teCt on one page to continue on another page( somewhere more distant than the neCt
one( by lin+ing the content of one frame to another so the contents flow between them as you edit the teCt.
*:$
You also should thin+ about the type of wrap and the spacing between the frame and teCt. Gnstead of cramming a frame close to the teCt( use the Wrap tab to place some white space between them. You can format frames indi)idually or define and apply frame stylesV see Chapter E( 7or+ing with -tyles. -'ample: 2sing a frame to center te't on a page *lthough you can center teCt hori2ontally as part of a paragraph style or by using manual formatting( those methods do not wor+ for )ertical centering. To center teCt )ertically( you need to place the teCt in a frame( anchor the frame to a page or a paragraph( and then center the frame )ertically on the page. -ee T*nchoring framesU on page 123.
Creating frames
You can create a frame in se)eral ways( depending on your needs.
Choose nsert 9 Frame to create an empty frame. The 5rame dialog %5igure 11D' appears.
You can clic+ ;6 and come bac+ to customi2e it later( or you can set the frameFs characteristics at this stage.
-elect teCt or a graphic( choose nsert 9 Frame( and clic+ ;6 to create a frame containing
the selection. The selected teCt is automatically deleted from the normal teCt flow and inserted into the frame( and the 5rame dialog appears.
Gnsert a picture or other obJect by selecting nsert 9 Picture 9 From file or nsert 9 ;bDect
9 Stype of obDectT to start the process to insert a picture or obJect. The item inserted automatically appears in a frame( but the 5rame dialog does not appear.
button on the Gnsert toolbar %go to =iew 9 &oolbars Y nsert to display it'( select the number of frames in the drop9down menu( the mouse cursor changes to a plus %L' symbol( clic+ and drag the mouse to draw the frame.
)igure **( 0sing an icon on the 2nsert toolbar to create a frame 4eleasing the mouse button creates the frame& an area isolated from the main document. To add content to a frame( first deselect the frame by clic+ing somewhere else on the page. Then( clic+ inside the frame to place the teCt cursor there. !ow add content Just li+e you would on the main page. 7hen you are done( deselect the frame.
a manual o)erride when a frame is added to the document. 5rame styles are discussed in Chapter E( 7or+ing with -tyles. To change the si2e or location of a frame( first select the frame( then use either the mouse or the 5rame dialog %5igure 11D'. "sing the mouse is @uic+er but less accurate. You might want to use the mouse for gross layout and the dialog for fine9tuning.
)igure **= )rame dialog You can re9si2e the frame manually by clic+ing on the green s@uares %si2ing handles' and dragging to the appropriate si2e( or start adding content to it %the frame will re9si2e automatically if( for eCample( you add a large picture to it' or go bac+ to the 5rame dialog and set the si2e and other characteristics. To change the location of the frame using the mouse( drag and drop one of the edges or put the cursor anywhere within the frame. %The G9bar cursor changes to a four9headed arrow when properly positioned for a drag9and9drop mo)e.' To change the si2e of the frame( drag one of the si2ing handles. .rag a handle on one of the sides to enlarge or reduce the teCt frame in one dimension onlyV drag a corner handle to enlarge or reduce it in both dimensions. These resi2ing actions distort the proportions of the frame. 6olding down the Shift +ey while dragging one of the handles ma+es the frame +eep the same proportions. You can open the 5rame dialog at any time by selecting the frame( right9clic+ing( and choosing Frame from the conteCt menu. To remo)e the default border on a newly created frame( open the 5rame dialog( go to the Jorders page( and under Line Style( select >one. *lternati)ely( you can assign a borderless style to the frameV see Chapter E( 7or+ing with -tyles( for information on frame styles.
>ote
.o not confuse a frameFs border with the teCt boundaries that are made )isible using the Piew menu %by selecting =iew 9 &e't 3oundaries'.
*::
Anchoring frames
"sing the 5rame dialog %or by right9clic+ing and pointing to Anchor'( you can anchor a frame to a page( paragraph( or character( or you can anchor it as a character. &o Page The frame +eeps the same position in relation to the page margins. Gt does not mo)e as you add or delete teCt. This method is useful when the frame does not need to be )isually associated with a particular piece of teCt. Gt is often used when producing newsletters or other documents that are )ery layout9intensi)e. This method is also used to center teCt on a page. &o Paragraph The frame is associated with a paragraph and mo)es with the paragraph. Gt may be placed in the margin or another location. This method is useful as an alternati)e to a table for placing icons beside paragraphs. Gt is also used to center teCt on a page in documents which will be used in a master document %frames anchored to pages will disappear from the master document'. &o Character The frame is associated with a character but is not in the teCt se@uence. Gt mo)es with the paragraph but may be placed in the margin or another location. This method is similar to anchoring to a paragraph. As Character The frame is placed in the document li+e any other character and( therefore( affects the height of the teCt line and the line brea+. The frame mo)es with the paragraph as you add or delete teCt before the paragraph. This method is useful for adding a small icon in se@uence in a sentence. Gt is also the best method for anchoring a graphic to an empty paragraph so it does not mo)e around the page in uneCpected ways.
:inking frames
You can lin+ frames to each other e)en when they are on different pages of a document. The contents will automatically flow from one to the neCt. This techni@ue is )ery useful when designing newsletters( where articles may need to be continued on a different page.
>ote
You cannot lin+ from a frame to more than one other frame.
*:3
To lin+ one frame to another& 1' -elect the frame to be lin+ed from. 2' Clic+ the :ink Frames icon on the 5rames toolbar. 3' Clic+ the neCt frame in the series %which must be empty'. 7hen a lin+ed frame is selected( any eCisting lin+s are indicated by a faint connecting line( as shown in 5igure 121. 5rames can be unlin+ed by selecting the 2nlink Frames icon on the 5rames toolbar.
)igure *:* Lin7ed frames The height of a frame that is being lin+ed from is fiCedV you can change this height manually or by using the 5rame dialog( but it does not automatically adJust to the si2e of the contents %that is( the *uto6eight attribute is disabled'. =nly the last frame of a chain can adapt its height to the content. The Options page of the 5rame dialog %5igure 122' shows the names of the selected frame and any frames it is lin+ed to or from. You can change this information here. =n this page( you can also select options to protect the contents( position( and si2e of the frame.
)igure *:: Options page of the )rame dialog =n the .yperlin7 page %5igure 123'( you can specify the file for the hyperlin+ to open. This file can be on your machine( a networ+( or the Gnternet.
*:#
)igure *:3 .yperlin7 page of the )rame dialog To open this file( you must 8trl9clic7 in the area between the border and the teCt boundary. !ote that as the mouse cursor mo)es o)er any area within the frame boundary the hyperlin+ tooltip will be displayed( but it will only be acti)e at the edges.
The Wrap( Jorders( Jac7ground( 8olumns( and <acro pages of the 5rame dialog are the same as those for frame styles. 4efer to the Chapter E( 7or+ing with -tyles( for details.
>ote
*:%
To create a table for use with a sidehead& 1' #lace the cursor where you want the table to appear and choose nsert 9 &able %8trl9)*:'. 2' Gn the Gnsert Table dialog( define a one9row( two9column table with no border and no heading. Clic+ ;6 to create the table.
)igure *:% Defining a two"column borderless table with no header 3' 4ight9clic+ on the table and choose &able from the pop9up menu. =n the 8olumns page of the Table 5ormat dialog( ma+e the columns the re@uired width.
)igure *:& Defining a two"column table to line up with te-t offset at *.: inches >' =n the +able page of the Table 5ormat dialog %5igure 12E'( in the Spacing section( ma+e the /bove and Jelow )alues the same as the +op and Jottom spacing you ha)e defined for ordinary paragraphs of teCt. Clic+ ;6 to sa)e your settings.
To chec+ the top and bottom spacing for ordinary paragraphs& 1' #osition the cursor in a paragraph and press )** %unless the -tyles and 5ormatting window is already open'. Chec+ that the -tyles and 5ormatting window shows paragraph styles %top left button'. 2' The current style should be highlighted. Gf no paragraph style is highlighted( select All $tyles in the bottom drop9down list. 4ight9clic+ on it and select /odify from the pop9up list. 3' o to the 2ndents L Spacing page and loo+ in the Spacing area for the )alues in /bove paragraph and Jelow paragraph .
&ip
*:&
)igure *:' Defining the space above and below a table You may also want to turn off number recognition so that 7riter will not try to format numbers if you want them to be plain teCt. To turn number recognition off& 1' 4ight9clic+ in the table and then clic+ >umber Format on the pop9up menu. 2' =n the !umber 5ormat dialog( ma+e sure the 8ategory is set to &e't. Clic+ ;6.
Gf you use this table format often( you may want to sa)e it as *utoTeCt( as described in Chapter 3( 7or+ing with TeCt. -elect the table %not Just the contents' to assign the shortcut.
&ip
7rite9protect teCt 6ide teCt .ynamically insert the contents of another document *dd columns( margin indents( a bac+ground color( or a bac+ground graphic to a portion of your document
*:'
Creating sections
To create a section& 1' #lace the cursor at the point in your document where you want to insert the new section. =r( select the teCt that you want to place in the new section. 2' 5rom the 0enu bar( choose nsert 9 $ection. The Gnsert -ection dialog opens. 3' Clic+ the $ection tab( if it is not already displayed. The Gnsert -ection dialog has fi)e tabbed pages.
"se the Section page to set the sections attributes. "se the 8olumns page to format the section into columns. "se the 2ndents page to set indents from the right and left margins of the section. "se the Jac7ground page to add color or a graphic to the sections bac+ground. "se the )ootnotes!,ndnotes page to customi2e the sections footnotes and endnotes.
*t any time before closing the dialog( you can reset a tabbed page to its default settings by clic+ing the Ceset button. %!ote( howe)er( that you cannot reset the Section page. Gf you wish to undo changes to the Section page( you must do so manually.' "se the Section page to set the attributes of the section.
/a#in sections
7riter automatically enters a name for the section in the name boC of the Dew section list boC. To change the name( select it and type o)er it. The name is displayed in the Sections category of the !a)igator window. Gf you gi)e your sections meaningful names( you can na)igate to them more easily.
*:(
Lin&in sections
You can insert the contents of another document into the section and then ha)e 7riter update it whene)er the other document is updated. This is called lin7ing the section to the other document. To lin+ the section to another document( follow these steps& 1' Gn the Lin7 section of the dialog( select the :ink option.
)igure *3$ Lin7ing sections 2' Clic+ the %...' button to the right of the )ile name field. The Gnsert dialog opens. 3' 5ind and select the document you want to insert and then clic+ the nsert button. The Gnsert dialog closes and the name of the selected document appears in the )ile name field. >' Gf you want to insert only a section of the selected document( select the desired section from the Section drop9down list.
>ote
The section must already eCist in the selected document. You cannot create a section in the selected document at this point.
You can update lin+s automatically or manually. -ee T"pdating lin+sU on page 13>.
Write$protectin sections
To write9protect the section so that its contents cannot be edited( select the Protect option in the Write protection area.
>ote
7rite9protection protects only the section s contents( not its attributes or format.
0assword$protectin sections
To pre)ent others from editing the sections attributes or format( additionally protect the section with a password( as follows& 1' -elect the !ith password option. The 3nter #assword dialog opens. 2' Type a password in the Password field and then confirm the password by typing it again in the 8onfirm field. 3' Clic+ ;6. The 3nter #assword dialog closes. *nyone who tries to edit the sections attributes or format will be prompted to enter the password.
*:=
>ote
1idin sections
You can hide the section so that it will not be displayed on the screen or printed. You can also specify conditions for hiding the section. 5or eCample( you can hide the section only from certain users.
>ote
You cannot hide a section if it is the only content on the page or if the section is in a header( footer( footnote( endnote( frame( or table cell.
To hide a section( select the 8ide option in the .ide section of the dialog.
)igure *33 .iding sections To hide the section only under certain conditions( enter the desired conditions in the With 8ondition field. The syntaC and operators that you use to enter conditions are the same ones that you use to enter formulas. 5or syntaC and a list of operators( see 7riters online help under conditions. Gf the section is write9protected with a password( the password must be entered to hide or re)eal the teCt.
6iding teCt is not a secure way to stop someone else reading it. Gt will stop the casual reader but will not pre)ent someone who acti)ely wants to find out what you ha)e hiddene)en if it is password protected.
>ote
*3$
)igure *3# 2ndenting sections 3nter the desired left9margin indent in the Jefore section boC. 3nter the desired right9margin indent in the /fter section boC. The pre)iew boC on the right9hand side of the page shows you how the section will loo+ with the indents applied.
)igure *3% Setting footnotes and endnotes for sections Customi5ing footnotes Gf you want the sections footnotes to appear separately from the other footnotes in the document( select the Collect at end of te't option in the )ootnotes area.
*3*
To number the sections footnotes separately from the other footnotes in the document( and format the numbering( follow these steps& 1' Gn the )ootnotes section of the page( ma+e sure that the Collect at end of te't option is selected. 2' -elect the Cestart numbering option. 3' Gf you want the sections footnotes to start at a number other than 1( enter the desired starting number in the Start at number boC. >' -elect the Custom format option. A' 5rom the drop9down list of the Custom format option( select a numbering format for the footnotes. <' To add teCt to the selected numbering format( use the Jefore and /fter teCt input boCes. 5or eCample( if you want the footnote numbers to be preceded by the word T!oteU and followed by a colon( fill the Jefore and /fter fields li+e this&
)igure *3& Dumbering footnotes for sections Customi5ing endnotes Gf you want the sections endnotes to appear at the end of the section rather than at the end of the document( select the Collect at end of section option in the ,ndnotes area. To number the current sections endnotes separately from the other endnotes in the document( and format the numbering( apply the procedures described abo)e to the 3ndnotes settings.
*3:
*33
Deletin sections
To delete the selected section( clic+ the Cemove button.
>ote
7riter will not prompt you to confirm the deletion. To undo a deletion( clic+ the Cancel button.
2pdating links
You can set 7riter to update lin+ed sections automatically( and you can also update lin+s manually.
-elect Always if you want 7riter to update lin+s automatically( without prompting you( whene)er you open a document that contains lin+s. -elect ;n re?uest if you want 7riter to prompt you before updating lin+s. -elect >ever if you do not want 7riter to update lin+s.
*3#
)igure *#$ .eader mar7er at top of te-t area 6eaders can also be inserted from the 0enu bar by selecting nsert 9 8eader 9 SPage $tyleT. The submenu lists the page styles used in your document. Gn addition( the submenu includes the entry All( which acti)ates headers on all the pages of the document regardless of their page style. 5or our eCample( select the 4efault menu item to acti)ate the headers only on the pages that use the Default page style. -imilarly( to insert a footer( choose nsert 9 Footer 9 SPage $tyleT.
The nsert menu can also be used for deleting a preeCisting header or footer for a page style. Gf that page style has a chec+ mar+ in front of it( it contains a header/footer( and clic+ing on it opens a message boC warning about deletion and as+s whether you want to delete the header or footer for that particular page style.
>ote
*3%
.epending on which option you choose( an area will appear at the top or bottom of the page. Gn this area you can enter teCt and graphics that will appear on e)ery page unless $ame content on first page has been deselected..
)igure *#* / page with a page header Gtems such as document titles( chapter titles( and page numbers( which often go into headers and footers( are best added as fields. That way( if something changes( the headers and footers are all updated automatically. 5ields are co)ered in Chapter 1>( 7or+ing with 5ields( but one eCample here may be useful. To insert the document title into the header on a .efault page style& 1' -elect File 9 Properties 9 4escription( enter a title for your document in the +itle area( and clic+ ;6 to close the dialog. 2' *dd a header % nsert 9 8eader 9 4efault'. 3' #lace the cursor in the header part of the page. >' -elect nsert 9 Fields 9 &itle. The title should appear on a gray bac+ground %which does not show when printed and can be turned off'. A' To change the title of the document( reselect File 9 Properties 9 4escription and edit.
&ip
You can format the layout of headers and footers using two different methods. The first method is to use the 6eader or 5ooter mar+ers that appear within headers and footers. 5or eCample( to use the 6eader mar+er& 1' Clic+ the top of the page. The blue 6eader mar+er will appear. 2' Clic+ the plus sign in the 6eader mar+er. The plus sign will change to a down arrow. 3' Clic+ the down arrow. >' -elect Format 8eader. This opens the #age -tyle dialog where you can change the margins( spacing( and height. A' Clic+ /ore to open the /order//ac+ground dialog where you can add borders( bac+ground colors( and bac+ground images to the header. You can also format headers and footers by modifying the page style at Format Y Page Y 8eader.
*3& LibreOffice #.$ Writer Guide
Caution
.o not use the /ac+ground and /orders tabs on the #age -tyle dialog to format headers. -tyle choices selected from those tabs will apply to the entire page rather than to the header.
Landscape pa e 2ri !t pa e3
4ight margin $eft margin Top margin /ottom margin 2.A cm 2.A cm 2.B cm 1.B cm
2' 7e will continue this eCample setting the frame for the footer. The procedure is the same for doing the header. *pply these margin settings in the Landscape page style. 3' Copy and paste the footer from the portrait page into a blan+ paragraph in the teCt. #aste or mo)e it into the landscape page. This teCt will then ha)e the )ooter style so the typeface( font si2e( and tab settings will match.
)igure *#: 8opy the footer@ paste@ and select it. >' -elect the teCt %including the fields' you Just entered. Choose Format 9 Character. =n the Character dialog( choose the Position tab and set 6otation ! scaling to #"* degrees %countercloc+wise'. !ote in the pre)iew pane that the tabs are remo)ed in this process. Clic+ ;6.
*3'
)igure *#3 6otating the footer te-t :'$ degrees A' 7ith the teCt still selected( choose nsert 9 Frame. Gn the 5rame dialog( select the +ype tab and enter the width( height( and hori2ontal and )ertical position for the footer. .eselect the *utomatic options in 7idth and 6eight if they are selected.
The width is the footer height ta+en from the 5ooter page of the portrait page style
dialog.
The frame height is obtained by simple arithmetic. The *> page9width is 21cm( minus
the sum of the top and bottom margins of 2.Bcm and 1.Bcm resulting in a frame height of 1<.>cm.
The hori2ontal position is the portrait page bottom margin. The )ertical position is the landscape page top margin.
)igure *## Defining the si3e and position of the footer frame <' Gf your footer has a line abo)e the teCt( as in this boo+( on the Jorders page( select a right border and specify the line width and spacing to the frameFs contents. E' Clic+ ;6 to sa)e these settings. The footer will now appear in the re@uired position and orientation. *ny fields will update.
*3( LibreOffice #.$ Writer Guide
B' /ecause tabs ha)e been remo)ed( insert the cursor in the frame( at the end of the teCt where the tab was( and insert as many spaces using the +eyboard space bar( as you re@uire for the layout to match that on the portrait page. 4epeat these steps %using appropriate settings' to set up a portrait header on the landscape page.
Caution
0a+e sure to return to the paragraph in the document from which you rotated the teCt( and return it to * degrees, or any teCt typed in this location will rotate.
>umbering pages
This section describes techni@ues to insert page numbers and related information in a document. -ome basic +nowledge of page styles( which are fully described in chapters < and E( may be needed to follow some of the eCamples gi)en.
Preliminaries: fields
$ibre=ffice uses fields to manage page numbers. To insert a page number field( position the cursor where you want to insert the number and choose nsert 9 Fields 9 Page >umber. The page number appears with a gray bac+ground. The gray bac+ground denotes a fieldV although it is )isible on screen( it is not printed.
&ip
Gf you wish to turn off the gray bac+ground( choose =iew 9 Field $hadings %or press 8trl9)(5.
*3=
The page number field always displays the page number for the page where it is placed. Gf you see the words T#age numberU instead of a number( press 8trl9)=. This shortcut +ey toggles $ibre=ffice between displaying the )ield Dame %the )ariable' and the fields result %the data in the )ariable'.
>ote
5or a full introduction to fields( see Chapter 1>( 7or+ing with 5ields.
)igure *#& Page number inserted in the header !ow the correct page number appears on e)ery page.
4ight9align the header to ma+e the page number appear on the top9right. Type the word page before the page number field so the header reads page 1, page #(
and so on. This also re@uires using the Page Dumber field( discussed earlier %page 13D'. Justified( and page ' with right Justification( where C is the )alue of the Page Dumber field. Consider using a %right9aligned' tab to separate the title from the page number.
*dd the document title so the header reads( for eCample& Peter<s Favourite Poems( left $ibre=ffice also has a Page 8ount field % nsert 9 Fields 9 Page Count'. "sing it( you
could( for eCample( ha)e a header that reads page # of 1#. These )ariations are all illustrated in 5igure 1>E.
*#$
&ip
.o not set a starting page number that is an e)en number because you will end up with a blan+ page before the first page when you print the file or eCport it as a #.5.
1' Choose nsert 9 Footer 9 Spage styleT to acti)ate the footer. Gf the page style already has footers acti)e( there will be a chec+ mar+ against its name. Gn which case clic+ in the footer
*#*
<'
area of the page without clic+ing on the page style. Gf you do clic+ the chec+ed page style name( select >o in the warning dialog if you do not want to remo)e any footer teCt already in place( or Jes if you do. Clic+ in the footer area. The cursor is now in the footer. To insert the page number( choose nsert 9 Fields 9 Page >umber. The page number will be 1. Clic+ in the first paragraph in the teCt area. Choose Format 9 Paragraph %or right9clic+ and choose Paragraph from the conteCt menu'( to display the #aragraph dialog. =n the +e-t )low page( in the Jrea7s section( select nsert and select Page in the +ype drop9down list. -elect !ith Page $tyle and the page style you are using for the first page of the document. !ote that you are not inserting a page brea+( but a brea+ in the page numbering. The Page number field is now acti)e. Type the page number you want to start with. Clic+ ;6 to close the #aragraph dialog.
)igure *#= Specifying paragraph style and numbering for chapter titles 3' Gnsert the chapter number in your document. To do this& a' b' c' #lace the cursor in the header or footer Just before the page number you inserted earlier( and choose nsert 9 Fields 9 ;ther from the menu bar. =n the 5ields dialog %5igure 1A0'( go to the Document page. -elect Chapter in the +ype list( Chapter number in the )ormat list( and 1 in the Layer boC. Clic+ nsert. Type a hyphen or other punctuation between the chapter number and the page number.
LibreOffice #.$ Writer Guide
*#:
)igure *%$ 2nserting a chapter number field 5or more information( see TChoosing paragraph styles for outline le)elsU and TGncluding chapter or section information in page headersU in Chapter E( 7or+ing with -tyles.
*#3
)igure *%* 6estarting page numbering after a manual page brea7 >' Choose the re@uired page in the Style drop9down list. A' -elect Change page number. <' -pecify the page number to start from and then clic+ ;6. This does insert a new page.
#age numbers are displayed in 4oman numerals %i( ii( iii( i)( '. *fter the preface( the document starts on a Default page. The page number resets to 1( and the number format becomes *rabic %1( 2( 3( >( '.
4esetting the page number re@uires page brea+s. 5irst( do the preliminary wor+ for the Preface style& 1' Create a new page style and name it Preface. 2' -et its De-t Style to Preface because a preface could span multiple pages. 3' *dd a header to Preface and insert the Page Dumber field. 0a+e the page numbers display as 4oman numerals %i( ii( iii( i)( '& a' =pen the page style window for Preface %if not already open' and clic+ the 8eader tab. -elect 8eader on under .eader. b' Clic+ the Page tab %5igure 1A2'. "nder Layout settings( in the )ormat drop9down list( set the format to i, ii, iii, . Clic+ ;6 to close the dialog. *fter the preface is written( we are ready to restart the page numbering in the main body of the document to *rabic numerals. 5ollow these steps& 1' 0a+e an empty paragraph at the )ery end of the preface. 2' #ut the cursor on the blan+ line. 3' Choose nsert 9 /anual 3reak. >' -elect Page break and choose the Default style. A' -elect the Change page number option and set the new )alue to 1. Clic+ ;6 to close the dialog. These settings are shown in 5igure 1A3.
>ote
You cannot assign an odd page number to a left page or an e)en page number to a right page. $ibre=ffice strongly adheres to the con)ention that odd page numbers go on right9hand pages and e)en page numbers on left9hand pages.
*##
)igure *%3 Set the new page number to * and the page style to Default. This change is also reflected on the status bar. The Page section of the status bar now shows the page number( the se@uence number and the total page count %the graphic shows the cursor location is in #age 1( and that it is the third page of siC in the document'.
The Statistics page in the documentFs Properties %File 9 Properties' always displays the
total number of pages in the document( which may not be what you want to appear in the Page 8ount field.
*#%
)igure *%% )ormula bar Gf you do not +now the total number of pages in ad)ance( then one approach is to create a boo+mar+ on the last page and then insert a cross reference to it. To create a boo+mar+ on the last page& 1' o to the last page %8trl9,nd'. 2' Choose nsert 9 3ookmark. 3' Gn the Gnsert /oo+mar+ dialog( type a name for the boo+mar+( for eCample LastPage. Clic+ ;6.
)igure *%& 2nserting a boo7mar7 To insert a cross9reference to the last page in the header or footer where you want to refer to the total number of pages& 1' #osition the cursor at the desired locationfor eCample after the space added after of in the header or footer( as in page '' of yy. 2' Choose nsert 9 Cross.reference. 3' =n the 8ross"references page of the 5ields dialog %5igure 1AE'( select 3ookmarks in the +ype column and :astPage in the Selection column. :astPage now appears in the Dame boC. >' Gn the 2nsert 6eference to boC( select As page style. Clic+ nsert.
*#&
>ote
.o not delete the boo+mar+ at the end of the document. Gf you do( the cross9 reference will not wor+. Gf a field( such as a cross9reference( does not automatically update( press )=.
&ip
Adding a border
To begin( select the frame( right9clic+( and choose 5rame from the conteCt menu. -elect the Jorders tab. /orders ha)e three components& where they go( what they loo+ li+e( and how much space is left around them.
Line arrangement specifies where the borders go. 7riter pro)ides fi)e default arrangements but you can Just as easily clic+ on the line you want to customi2e in the 0ser" defined area to get eCactly what you want. 3ach line can be indi)idually formatted.
*#'
Line specifies what the border loo+s li+e& the style and color. There are a number of different styles and colors to choose from. The $ine -tyle and Color will apply to those borders highlighted by a pair of blac+ arrows in the "ser9defined map on the left hand side of the dialog. Spacing to contents specifies how much space to lea)e between the border and the contents of the element. -paces can be specified to the left( right( abo)e( and below. Chec+ $ynchroni5e to ha)e the same spacing for all four sides. This spacing is li+e a padding and it is not factored in when calculating the teCt measurements. Shadow style properties always apply to the whole element. * shadow has three components& where it is( how far from the element it is cast( and what color it is.
)igure *%= )rame dialog Jac7ground page showing color choices A' Gn the +ype area( choose how you want the bac+ground graphic to appear& a' To position the graphic in a specific location( select Position and then clic+ the desired location in the position grid. b' To stretch the graphic to fill the entire bac+ground area( select Area. c' To repeat the graphic across the entire bac+ground area( select &ile. <' Gn the +ransparency area( you can adJust the transparency of the graphic. This adJustment is often necessary to ma+e any teCt easier to read.
)igure *&$ Graphic options on the Jac7ground page of the )rame dialog
*#=
*%$
Euick printing
Clic+ the Print File 4irectly icon your computer. to send the entire document to the default printer defined for
>ote
You can change the action of the Print File 4irectly icon to send the document to the printer defined for the document instead of the default printer for the computer. o to &ools 9 ;ptions 9 :oadF$ave 9 1eneral and select the :oad printer settings with the document option.
Controlling printing
>ote for /ac users
Gf you prefer to use the standard 0ac #rint dialogs( deselect the Print dialogs G 2se :ibre;ffice dialogs option in :ibre;ffice 9 Preferences 9 1eneral. This boo+ uses the $ibre=ffice #rint dialogs in illustrations.
5or more control o)er printing( use the #rint dialog boC %File 9 Print or 8trl9P'.
*%:
The options selected on the #rint dialog boC apply to this printing of this document only.
>ote
To specify default printing settings for $ibre=ffice( go to &ools 9 ;ptions 9 :ibre;ffice 9 Print and &ools 9 ;ptions 9 :ibre;ffice !riter 9 Print. -ee Chapter 2( -etting "p 7riter( for more details.
The #rint dialog boC has four tabs( from which you can choose a range of options( as described in the following sections.
The printer %from the printers a)ailable' 7hich pages to print %the current page number is displayed here'( the number of copies to
print( and whether to collate multiple copies %6ange and copies section'
7hether to print any comments that are in the document( and where to print the
comments. -ome selections may not be a)ailable all the time. 5or eCample( if the document contains no comments( the #rint Comments drop9down list does not wor+.
)igure *&: 8hoosing whether and where to print comments Clic+ the Properties button to display a dialog boC where you can choose portrait or landscape orientation( which paper tray to use( and the paper si2e to print on. =n the Options tab of the #rint dialog boC( you can choose )arious other options for printing.
*%3
)igure *&# Printing multiple page per sheet of paper 2' Gn the Layout section( select from the drop9down list the number of pages to print per sheet. The pre)iew panel on the left of the #rint dialog boC shows how the printed document will loo+. 7hen printing more than 2 pages per sheet( you can choose the order in which they are printed across and down the paper. The two pictures below show the difference.
3' Gn the Page sides section( select whether to print all pages or only some pages. >' Clic+ the Print button.
&ip
To print two pages per sheet in Tfacing pagesU %boo+ layout' style( print from #rint #re)iew instead. -ee page 1AE.
*%#
Printing a brochure
Gn 7riter( Gmpress( and .raw( you can print a document with two pages on each side of a sheet of paper( arranged so that when the printed pages are folded in half( the pages are in the correct order to form a boo+let or brochure.
&ip
#lan your document so it will loo+ good when printed half si2eV choose appropriate margins( font si2es( and so on. You may need to eCperiment.
To print a brochure on a single9sided printer& 1' Choose File 9 Print. 2' Gn the #rint dialog boC( clic+ Properties. 3' Chec+ the printer is set to the same orientation %portrait or landscape' as specified in the page setup for your document. "sually the orientation does not matter( but it does for brochures. Clic+ ;6 to return to the #rint dialog boC. >' -elect the Page layout tab in the #rint dialog boC. A' -elect the 3rochure option. <' Gn the Page sides section( select Jac7 sides ! left pages option from the Gnclude drop9down list. %-ee 5igure 1<<.' E' Clic+ the Print button.
*%%
B' Ta+e the printed pages out of the printer( turn the pages o)er( and put them bac+ into the printer in the correct orientation to print on the blan+ side. You may need to eCperiment a bit to find out what the correct arrangement is for your printer. B' =n the #rint dialog boC( in the Page sides section( select )ront sides ! right pages option from the Gnclude drop down boC. D' Clic+ the Print button.
&ip
&ip
Change the $ibre=ffice settings to print all color teCt and graphics as grayscale& 1' Choose &ools 9 ;ptions 9 :ibre;ffice 9 Print. 2' -elect the Convert colors to grayscale option. Clic+ ;6 to sa)e the change. 3' =pen the #rint dialog boC %File 9 Print'. >' Clic+ the Print button to print the document. Change the $ibre=ffice 7riter settings to print all color teCt as blac+( and all graphics as grayscale& 1' Choose &ools 9 ;ptions 9 :ibre;ffice SComponentT 9 Print. 2' "nder 8ontents( select the Print te't in black option. Clic+ ;6 to sa)e the change. 3' =pen the #rint dialog boC %File 9 Print'. >' Clic+ the Print button to print the document.
Piew $ayout %editable )iew'& use the 5acing #ages %/oo+ #re)iew' button on the status bar.
To use #age #re)iew& 1' Choose File 9 Page Preview %or clic+ the Page Preview button on the -tandard toolbar'. 7riter now displays the Page Preview toolbar instead of the 5ormatting toolbar.
)igure *&'. Page Preview toolbar 2' -elect the re@uired pre)iew icon& &wo Pages % Preview % '. ' to open the #rint '( /ultiple Pages % ' or 3ook
3' To print the document from this )iew( clic+ the Print document icon % dialog boC. >' Choose the print options and clic+ the Print button.
Printing envelopes
#rinting en)elopes in)ol)es two steps& setup and printing. To set up an en)elope to be printed by itself or with your document& 1' Clic+ nsert 9 -nvelope from the menu bar. 2' Gn the 3n)elope dialog boC( start with the ,nvelope tab. Perify( add( or edit the information in the *ddressee and -ender boCes %the TfromU on the en)elope'.
)igure *&(. 8hoosing addressee and sender information for an envelope You can type information directly into the *ddressee and -ender boCes( or use the right9 hand drop9down lists to select the database or table from which you can draw the en)elope information( if desired. -ee Chapter 11( "sing 0ail 0erge( for details on how to print en)elopes from a database.
*%( LibreOffice #.$ Writer Guide
3' =n the )ormat page( )erify or edit the positioning of the addressee and the sender information. The pre)iew area on the lower right shows the effect of your positioning choices.
)igure *&=. 8hoosing positioning and si3e of elements for an envelope >' To format the teCt of these bloc+s( clic+ the -dit buttons to the right. Gn the drop9down list you ha)e two choices& Character and #aragraph. Gn Character( you can choose 5onts %-i2es...'( 5onts 3ffects %"nderlining( Color...'( #osition %4otating/scaling...'( 6yperlin+( /ac+ground and more.
Gn #aragraph( you can choose Gndents M -pacing( *lignment( TeCt 5low( Tabs( .rop
Caps( /orders and /ac+grounds. A' Gn the lower left of this page( the -i2e section( choose the en)elope format from the drop9 down list. The width and height of the selected en)elope then show in the boCes below the selected format. Gf you chose a pre9eCisting format( Just )erify these si2es. Gf you chose 0ser defined in the 5ormat list( then you can edit the si2es. <' *fter formatting( go to the Printer page to choose printer options such as en)elope orientation and shifting. You may need to eCperiment a bit to see what wor+s best for your printer. You can also choose a different printer or alter printer setup %for eCample( specify the tray that holds en)elopes' for this print Job. E' 7hen you ha)e finished formatting and are ready to print( clic+ either the >ew 4oc or nsert button to finish. >ew 4oc ma+es only an en)elope or starts a new document with the en)elope. nsert puts the en)elope into your eCisting document as page 1. To not proceed with this en)elope( clic+ Cancel or press the ,sc +ey. You can also clic+ Ceset to remo)e your changes and return to the original settings when the dialog boC opened. 7hen the 3n)elope dialog boC closes( you are returned to your document( which now has the en)elope in the same file as the document. -a)e this file before you do anything else.
*%=
)igure *'$. 8hoosing printer options for an envelope To print the en)elope& 1' Choose File 9 Print from the menu bar. 2' =n the #rint dialog boC( under Print range( choose Pages and type 1 in the boC. Clic+ ;6 to print.
Printing labels
$abels are commonly used for printing address lists %where each label shows a different address'( but they can also be used for ma+ing multiple copies of one label only( for eCample return9address stic+ers. To print labels& 1' Choose File 9 >ew 9 :abels on the menu bar. The $abels dialog boC opens. 2' =n the Labels page( fill in your own label teCt in the Gnscription boC( or use the 4atabase and &able drop9down lists to choose the re@uired information( as described in Chapter 11( "sing 0ail 0erge.
*&$
3' -elect the label stoc+ in the 3rand drop9down list. The types for that brand then appear in the &ype drop9down list. -elect the si2e and type of labels re@uired. You can also select "ser in the &ype drop9down list and then ma+e specific selections on the )ormat page. >' =n the )ormat page( choose the pitch( si2es( margins( columns and rows for user9defined labels( or Just )erify with a brand of label stoc+ you ha)e loaded into the printer.
)igure *'3. Labels dialog bo-@ Options page E' 7hen you ha)e finished formatting( clic+ >ew 4ocument to create your sheet of labels or clic+ Cancel %or press the ,sc +ey'. You can also clic+ Ceset to remo)e your changes and return to the original settings when the dialog boC opened. B' You can print using the Print File 4irectly icon on the toolbar or by choosing File 9 Print from the menu bar( or you can sa)e the file to print later.
*&*
$ending a fa'
To send a faC directly from $ibre=ffice( you need a faC modem and a faC dri)er that allows applications to communicate with the faC modem. 1' =pen the #rint dialog boC %5igure 1<1' by choosing File 9 Print and select the faC dri)er in the Printer list. 2' Clic+ Print to open the dialog boC for your faC dri)er( where you can select the faC recipient. You can set up a toolbar icon so that a single clic+ sends the current document as a faC. To add an icon for this purpose to a toolbar( see Chapter 1<( Customi2ing 7riter.
-'porting to P4F
$ibre=ffice can eCport documents to #.5 %#ortable .ocument 5ormat'. This industry9standard file format for file )iewing is ideal for sending the file to someone else to )iew using *crobat 4eader or other #.5 )iewers.
Pages& To eCport a range of pages( use the format %.( %pages 3 to <'. To eCport single
pages( use the format "U9U11 %pages E( D( and 11'. You can also eCport a combination of page ranges and single pages( by using a format li+e %.(U0U1#.
VP-1 compression& *llows for )arying degrees of @uality. * setting of D0k wor+s well with
photographs %small file si2e( little perceptible loss of @uality'.
Ceduce image resolution& $ower9.#G %dots per inch' images ha)e lower @uality. 5or
)iewing on a computer screen generally a resolution of E2dpi %for 7indows' or D<dpi
*&: LibreOffice #.$ Writer Guide
% !"/$inuC' is sufficient( while for printing it is generally preferable to use at least 300 or <00 dpi( depending on the capability of the printer. 6igher dpi settings greatly increase the si2e of the eCported file.
3#- %3ncapsulated #ost-cript' images with embedded pre)iews are eCported only as pre)iews. 3#- images without embedded pre)iews are eCported as empty placeholders.
>ote
)igure *'# General page of PD) Options dialog bo!atermark section $ign with !atermark: 7hen this option is selected( a transparent o)erlay of the teCt you enter into the !atermark &e't boC will appear on each page of the #.5. 1eneral section -mbed ;pen4ocument file: "se this setting to eCport the document as a .pdf file containing two file formats& #.5 and =.5. Gn #.5 )iewers it beha)es li+e a normal .pdf file( and it remains fully editable in $ibre=ffice.
&agged P4F& Tagged #.5 contains information about the structure of the documentFs
contents. This can help to display the document on de)ices with different screens( and when using screen reader software. -ome tags that are eCported are table of contents( hyperlin+s( and controls. This option can increase file si2es significantly.
Create P4F form G $ubmit format& Choose the format of submitting forms from within the
#.5 file. This setting o)errides the controlFs "4$ property that you set in the document. There is only one common setting )alid for the whole #.5 document& #.5 %sends the whole document'( 5.5 %sends the control contents'( 6T0$( and I0$. 0ost often you will choose the #.5 format.
*&3
-'port bookmarks& Creates #.5 boo+mar+s %a table of contents list displayed by most
#.5 )iewers( including *dobe 4eader' for all headings in the document.
-'port comments& 3Cports comments as #.5 notes. You may not want thisl -'port automatically inserted blank pages& Gf selected( automatically inserted blan+
pages are eCported to the #.5. This is best if you are printing the #.5 double9sided. 5or eCample( boo+s usually ha)e chapters set to always start on an odd9numbered %right9hand' page. 7hen the pre)ious chapter ends on an odd page( $ibre=ffice inserts a blan+ page between the two odd pages. This option controls whether to eCport that blan+ page.
-mbed standard fonts: !ormally the 1> standard #ost-cript fonts are not embedded in a
#.5 file( because #.5 reader software already contains these fonts. 6owe)er( you can choose to embed these fonts in all #.5 documents created by $ibre=ffice to enhance display accuracy in #.5 )iewers. 5ont embedding may also be re@uired by some printers.
)igure *'% 2nitial ?iew page of PD) Options dialog boGf you ha)e CompleC TeCt $ayout enabled %in &ools 9 ;ptions 9 :anguage settings 9 :anguages'( an additional selection is a)ailable under 8ontinuous facing& First page is left %normally( the first page is on the right when using the 8ontinuous facing option'.
)igure *'& 0ser 2nterface page of PD) Options dialog bo2ser interface options section 8ide menu bar. Causes the #.5 )iewer to hide the menu bar.
8ide toolbar. Causes the #.5 )iewer to hide the toolbar. 8ide window controls. Causes the #.5 )iewer to hide other window controls.
3ookmarks -elect how many heading le)els are displayed as boo+mar+s( if ,-port boo7mar7s is selected on the eneral page.
)igure *'' Lin7s page of PD) Options dialog bo-'port bookmarks as named destinations Gf you ha)e defined 7riter boo+mar+s( this option eCports them as Tnamed destinationsU to which 7eb pages and #.5 documents can lin+. Convert document references to P4F targets Gf you ha)e defined lin+s to other documents with =pen.ocument eCtensions %such as .odt( .ods( and .odp'( this option con)erts the files names to .pdf in the eCported #.5 document. -'port 2C:s relative to the file system Gf you ha)e defined relati)e lin+s in a document( this option eCports those lin+s to the #.5.
*&%
Cross.document links -et up the beha)ior of the #.5 lin+s to other files. -elect one among the following alternati)es&
4efault mode& The #.5 lin+s will be handled as specified in your operating system. ;pen with P4F reader application& "se the same application used to display the #.5
document to open lin+ed #.5 documents.
;pen with nternet browser& "se the default Gnternet browser to display lin+ed #.5
documents.
7ith an open password set( the #.5 can only be opened with the password. =nce opened(
there are no restrictions on what the user can do with the document %for eCample( print( copy( or change it'.
7ith a permissions password set( the #.5 can be opened by anyone( but its permissions
can be restricted. -ee 5igure 1EB. *fter you set a password for permissions( the other choices on the -ecurity page become a)ailable.
7ith both the open password and permission password set( the #.5 can only be opened
with the correct password( and its permissions can be restricted.
>ote
#ermissions settings are effecti)e only if the userFs #.5 )iewer respects the settings.
)igure *'( Security page of PD) Options dialog bo5igure 1ED shows the pop9up dialog boC displayed when you clic+ the $et open password button on the -ecurity page of the #.5 =ptions dialog boC. =nce you ha)e set all the options you re@uire( clic+ on -'port to open the 3Cport dialog boC( where you can set the file name and the sa)e location.
*&&
)igure *'= Setting a password to encrypt a PD) *nother choice is to use File 9 -'port. This opens the 3Cport dialog boC. -elect the #.5 file format( file name and location and clic+ -'port. This then opens the #.5 =ptions dialog boC( as described abo)e. Clic+ -'port when all the selections ha)e been made.
>ote
-'porting to M8&/:
$ibre=ffice uses the term TeCportU for some file operations in)ol)ing a change of file type. $ibre=ffice can eCport files to I6T0$. =ther formats may be made a)ailable through eCtensions. To eCport to I6T0$( choose File 9 -'port. =n the 3Cport dialog boC( specify a file name for the eCported document( then select the I6T0$ in the )ile format list and clic+ the -'port button.
>ote
.ocuments can only be sent from the $ibre=ffice mail merge wi2ard if a mail profile has been set up in &ools 9 ;ption 9 :ibre;ffice !riter 9 /ail /erge -.mail.
*&'
To send the current document in =.T format& 1' Choose File 9 $end 9 4ocument as -.mail. 7riter opens your default e9mail program. The document is attached. 2' Gn your e9mail program( enter the recipient( subJect( and any teCt you want to add( then send the e9mail. File 9 $end 9 -.mail as ;pen4ocument &e't has the same effect. Gf you choose -.mail as /icrosoft !ord( 7riter first creates a .=C file and then opens your e9mail program with the .=C file attached. -imilarly( if you choose -.mail as P4F( 7riter first creates a #.5 using your default #.5 settings %as when using the -'port 4irectly as P4F toolbar button' and then opens your email program with the #.5 file attached.
"se the 0ail 0erge 7i2ard to create the document and send it. -ee Chapter 11( "sing 0ail
0erge( for details.
Create the document in 7riter without using the 7i2ard( then use the 7i2ard to send it.
This method is described here. To use the 0ail 0erge 7i2ard to send a pre)iously9created 7riter document& 1' =pen the document in 7riter. Clic+ &ools 9 /ail /erge !i5ard. =n the first page of the wi2ard( select 2se the current document and clic+ >e't.
*&(
2' =n the second page( select -.mail message and clic+ >e't.
)igure *(: Select document type 3' =n the third page( clic+ the $elect Address :ist button. -elect the re@uired address list %e)en if only one is shown' and then clic+ ;6. %Gf the address list you need is not shown here( you can clic+ Add to find and add it to the list.'
)igure *(3 Selecting an address list >' /ac+ on the Select address list page( clic+ >e't. =n the Create salutation page( deselect the chec+boC by &his document should contain a salutation.
*&=
)igure *(# Deselecting a salutation A' Gn the left9hand list( clic+ 0. $ave, print or send. $ibre=ffice displays a TCreating documentsU message and then displays the Save@ print or send page of the 7i2ard. <' -elect $end merged document as -./ail. The lower part of the page changes to show e9mail settings choices. E' Type a subJect for your email and clic+ $end documents. $ibre=ffice sends the e9mails.
*'$
*'*
The teCt must use *rial font instead of Times !ew 4oman. The headings must be dar+ blue and indented. The title must appear at the top9right of e)ery page eCcept the first. 3)en9numbered pages must ha)e a wider right margin( and odd9numbered pages must ha)e a wider left margin.
Than+fully( ,ane used $ibre=ffice 7riter and styles. -he ma+es all the changes in only two minutes and hands in the paper on time.
$tyle categories
$ibre=ffice 7riter has fi)e style categories&
Paragraph styles affect entire paragraphs represented with those styles. 8haracter styles affect a bloc+ of teCt inside a paragraph. Page styles affect page formatting %page si2e( margin( and the li+e'. )rame styles affect frames and graphics. List styles affect outlines( numbered lists( and bulleted lists.
Gn the same way that characters are the building bloc+s for creating words( paragraphs are the building bloc+s of e)ery document. 6eadings %subheads' are paragraphsV headers( footers( and numbered lists are also paragraphs. #aragraph styles are( therefore( the most fre@uently used styles and are the ones treated in most detail in this and the neCt chapter.
*'#
)igure *(& +he Styles and )ormatting window for Writer@ showing paragraph styles To open the -tyles and 5ormatting window( do any one of the following&
Clic+ on the icon located at the left9hand end of the 5ormatting toolbar. -elect Format > $tyles and Formatting. #ress )**. &ip
You can mo)e the -tyles and 5ormatting window to a con)enient position on the screen or doc+ it to an edge.
*'%
1' =pen the -tyles and 5ormatting window %5igure 1B<' and select a style. 2' Clic+ the Fill Format /ode icon . 3' To apply a paragraph( page( or frame style( ho)er the mouse o)er the paragraph( page( or frame and clic+. To apply a character style( hold down the mouse button while selecting the characters. Clic+ing on a word applies the character style to that word. >' 4epeat step 3 until you ha)e made all the changes for that style. A' To @uit the 5ill 5ormat mode( clic+ the icon again or press the ,sc +ey.
Caution
7hen this mode is acti)e( a right9clic+ anywhere in the document undoes the last 5ill 5ormat action. /e careful not to accidentally right9clic+ and mista+enly undo actions you want to +eep.
2sing >ew $tyle from $election, 2pdate $tyle, and :oad $tyles
-tyles are part of the document properties( therefore changes made to a style or new styles you create are only a)ailable within the document they belong to. -tyles always stay with a document. -o( for eCample( if you e9mail a document to another person( the styles go with it. Gf you want to reuse modified or new styles in other documents( you need to either sa)e the styles in a template %see Chapter 10' or copy the styles into the document where you want to use them. The last button in the toolbar of the -tyles and 5ormatting window is a menu button that gi)es access to three submenu functions& Dew Style from Selection( 0pdate Style( and Load Styles.
Caution
0a+e sure that there are uniform properties in this paragraph. 5or eCample( if there are two different font si2es in the paragraph which is selected to be used to update the style( that particular property will not be updated.
2' -elect the paragraph by clic+ing anywhere in the paragraph. 3' Gn the -tyles and 5ormatting window( select the style you want to update %single9clic+( not double9clic+' and then clic+ on the >ew $tyle from $election icon and select 2pdate $tyle.
)igure *(( 0pdating a style from a selection The procedure to update another type of style %character( page( or frame styles' is the same& select the item in @uestion( modify it( select the style you want to update( and choose 2pdate $tyle.
Clic+ on the From File button if the styles you want are contained in a teCt document rather than a template. Gn this case( a standard file selection dialog opens up( where you can select the desired document. >' -elect the options for the types of styles to be copied& TeCt %#aragraph and Character styles'( 5rame( #ages( !umbering %$ist styles'. Gf you select ;verwrite, the styles being copied will replace any styles of the same names in the target document. A' Clic+ ;6 to copy the styles.
)igure *=$ Styles and )ormatting filter Gf you select the Paragraph $tyles )iew in the -tyles and 5ormatting window( the drop9down menu contains many more filtering options so you can )iew( for eCample( only &e't $tyles( $pecial $tyles( and so on.
3' -elect the obJect you want to base the style on and drag it to the -tyles and 5ormatting window. The cursor changes to indicate whether the operation is possible or not. >' Gn the Create -tyle dialog %5igure 1BE'( type a name for the new style and clic+ ;6 to sa)e the style.
>ote
You cannot use the drag9and9drop method to create a custom page style.
Applying styles
-tyles can be applied easily by means of the -tyles and 5ormatting window. 6owe)er( alternati)e ways eCist to apply certain styles( as eCplained in this section.
)igure *=* /pply Style list To apply a style from this menu( place the cursor in the paragraph to change( clic+ on the desired style or use the up or down arrow +eys to mo)e through the list( then press ,nter to apply the highlighted style.
&ip
-elect /ore at the bottom of the list to open the -tyles and 5ormatting window.
*'=
-ype of selection
!o selection. Cursor in the space between two words. !o selection( cursor in any word. TeCt selected.
*ction
Copies the formatting of the paragraph and the character formatting of the neCt character in the teCt flow direction. *s abo)e. Copies the formatting of the last selected character and the paragraph.
/ C
0aint position
Gn a space between words. Gn a word or selection. Gn a word or a selection.
+esult
#aragraph formatting only. *s abo)e. #aragraph formatting applied. 7ord or selection formatted with character format from original paragraph.
!ow do one of the following& 1' To format a single paragraph& a' b' Clic+ the Format Paintbrush icon in the standard toolbar.
c'
The cursor changes into an in+ bottle . !ow clic+ the paragraph %see Table E' to which you want to apply the copied style. Gf you press Shift98trl while clic+ing( you eCclude any character formatting where)er you select to clic+. The paragraph is formatted and the cursor then returns to normal
2' To format more than one paragraph& a' Double"clic7 the Format Paintbrush icon. b' The cursor changes shape. !ow clic+ each of the paragraphs %see Table E' to which you want to apply the copied style. Gf you press Shift98trl while clic+ing( you eCclude any character formatting where)er you select to clic+. c' The paragraphs are formatted. Clic+ the Format Paintbrush icon once more. d' The cursor then returns to normal.
*($
)igure *=: Showing the results of +able & and +able ' on the unformatted paragraph
)igure *=3 8lic7 on the Styles and )ormatting icon to bring up the window
*(*
.ouble9clic+ the 8eading 1 entry of -tyles and 5ormatting %5igure 1D>'. This does two things&
i)es the line %actually( its entire paragraph' you typed the .eading * style. *dds 8eading 1 to the /pply Style menu.
)igure *=# /pplying paragraph styles To use the /pply Styles list %5igure 1D>'& 1' 4epeat steps 1 and 2 from the pre)ious eCample. 2' -elect 8eading 1 in the /pply Styles list. The teCt ac@uires the properties of the .eading * style. Gf the paragraph style you want is not in the /pply Style list( select /ore to bring up the -tyles and 5ormatting window. Gf the -tyles and 5ormatting window is still open( you may notice that the .eading * style is also highlighted in the main window( as shown in 5igure 1D>. 5inally( try the )ormat Paintbrush. 4ecreate the teCt in 5igure 1D> and add eCtra formatting to some of the teCtV bold and italic was used in the eCample. #lace the cursor at a point in the teCt and clic+ the Format Paintbrush icon to acti)ate it. The cursor changes shape. 0o)e the cursor to one of the new paragraphs and left9clic+ to apply formatting. Try the different selection points and the different paint points to see the effects. To apply the formatting to multiple paragraphs( double9clic+ the Format Paintbrush icon before clic+ing at a paint point. Clic+ing bac+ on the icon cancels the format painting. The cursor shape changes bac+ to the normal one on completion.
*(:
-elect all the formatting of one type at a time. 0anually remo)ing this formatting lea)es the teCt elements selected so you can then apply the new character style immediately.
&ip
5or eCample( to remo)e a number of manually italici2ed elements& 1' -elect each instance %press 8trl when selecting each subse@uent element'. 2' "se one of the methods abo)e to remo)e the formatting %the teCt remains selected after remo)al'. 3' Gn this eCample( pressing 8trl92 will also toggle off italics. >' *pply the character style %for eCample( 3mphasis'. 4epeat for each formatted style you wish to replace.
>ote
*(3
*nchoring& how the frame is positioned in relation to the rest of the pages contents
%Format > Anchor'.
*rrangement& the frames position in a stac+ of obJects %Format > Arrange'. *dding a hyperlin+& so that a clic+ on the frame opens a 7eb page or another document in
an 6T0$ file % nsert > 8yperlink'. 7hen a frame is selected( the 5rame toolbar replaces the 5ormatting toolbar( allowing you to modify the settings. The right9clic+ %conteCt' menu also has items for anchoring and arrangement( as well as for wrap and alignment.
)igure *=% +he current page style is displayed on the status bar Gf you want to apply a different style( you can either right9clic+ on the style in the status bar and select a new style from the pop9up menu( or you can open the -tyles and 5ormatting window %press )**5( select the page style icon at the top of the window %fourth icon'( and then double9clic+ on the desired style.
Caution
Changing a page style may cause the style of subse@uent pages to change as well. The results may not be what you want. To change the style of only one page( you may need to insert a manual page brea+( as described below.
*s discussed in Chapter E( 7or+ing with -tyles( a correctly set up page style will( in most cases( contain information on what the page style of the neCt page should be. 5or eCample( when you apply a Left page style to a page( you can indicate in the style settings that the neCt page has to apply a 6ight page style( a )irst page style could be followed by either a Left page style or a Default page style( and so on.
*(#
*nother )ery useful mechanism to change the page style is to insert a manual page brea+ and specify the style of the subse@uent page. The idea is simple& you brea+ a se@uence of page styles and start a new se@uence. To insert a page brea+( choose nsert > /anual 3reak and choose Page break. This section illustrates two common scenarios where page brea+s are useful.
Exa#ple4 (!apters
* possible scenario& You are writing a boo+ that is di)ided into chapters. 3ach chapter starts with a page style called Dew 8hapter. The following pages use the Default page style. *t the end of each %eCcept the last' chapter( we return to the Dew 8hapter page style for the first page of the neCt chapter. 5igure 1D< illustrates the flow of page styles when using page brea+s.
)igure *=& Page style flow using a page brea7 7riter doesnFt ha)e a predefined Dew 8hapter page style( so you must create a custom style %see Chapter E'. %You could also use the 5irst #age style for this purpose( but in our eCamples we use that style for the title page of the boo+.' $etFs suppose that you already ha)e the page styles with the following properties& 0a e style
!ew Chapter .efault
/ext "tyle
.efault .efault
*t some point( you will want to start a new chapter. 5ollow these steps& 1' #ut the cursor at the end of the chapter( on a blan+ line %empty paragraph' of its own. 2' Choose nsert > /anual 3reak. The Gnsert /rea+ dialog %5igure 1DE' appears. 3' "nder +ype( choose Page break and under Style( select >ew Chapter.
)igure *=' 8hoose Page brea7 and select the Dew 8hapter page style
8hapter & 2ntroduction to Styles *(%
Dumbering * is a default paragraph style to which you can attach a list style. Gf you want to ma+e eCclusi)e use of paragraph styles and ne)er use the 5ormatting toolbar when creating a numbered list( you could use the other three styles. *ll you need to do is to create a suitable list style and set up the De-t Style property in the =rgani2er page of the #aragraph -tyle dialog so that the Dumbering * Start paragraph is followed by the Dumbering * 8ont. style( while the Dumbering * ,nd paragraph style is followed by a default style paragraph. Gf you only want to apply a list style %that is( the numbering or bullet symbol and the indentation' then( when the cursor is on the paragraph( double9clic+ on the desired list style. 7hen creating a list style( you can define up to ten le)els of depth for nested lists. -witch from one le)el to the other with either the Promote ;ne :evel
*(&
buttons
on the /ullets and !umbering toolbar or by pressing the +ab +ey %one le)el down' or Shift9+ab +ey combination %one le)el up' or by right9clic+ing on the list element and select 2p ;ne :evel or 4own ;ne :evel from the conteCt menu.
Clic+ on the Cestart numbering icon on the /ullets and !umbering toolbar. 4ight9clic+ on the first element of the list and choose Cestart numbering from the conteCt
menu.
4ight9clic+ on the first element of the list( choose Paragraph from the conteCt menu( and
go to the =utline M !umbering tab of the #aragraph dialog. Gn the Dumbering section( select the options Cestart at this paragraph and $tart with( and set the number %see 5igure 1DD'.
)igure *== 6estarting numbering Gf you find that the numbering does not restart as intended using the first or second method( or if you want to restart from a number greater than 1( use the third method. 7hen editing a document( you may want to change from restarting numbering to continuing the numbering from a pre)ious list. To do so( right9clic+ on the list element and choose Continue previous numbering from the conteCt menu.
/odifying styles
7riter pro)ides se)eral predefined styles( but you may find that they do not fit your preferences. You can build your own library of custom styles to use in place of the predefined ones( or you can modify the eCisting styles. $ibre=ffice offers four mechanisms to modify both both predefined and custom %user9created' styles&
"pdate a style from a selection. $oad or copy styles from another document or template. Change a style using the -tyle dialog. "se *uto"pdate %paragraph and frame styles only'.
*('
The first two methods are discussed in T"pdate -tyle %from a selection'U and T$oad -tyles %from a template or document'U on page 1EE( while Chapter E( 7or+ing with -tyles( discusses at length the process of creating a new style. This section shows how you can @uic+ly ma+e simple modifications to eCisting paragraph styles using the same tools you would use for applying formatting manually.
*ny changes made to a style are effecti)e only in the current document. Gf you want to reuse modified or new styles in other documents( you need to either sa)e the styles in a template %see Chapter 10( 7or+ing with Templates' or copy the styles into the other documents( as described in T$oad -tyles %from a template or document'U on page 1EE.
&ip
*((
)igure :$* .eadings *3 with default styles !ow( suppose you decide to ma+e the following changes to these styles&
)igure :$: <odifying a style *fter the #aragraph -tyle window opens( choose the Alignment tab( select Center %as shown below'( and clic+ ;6.
*(=
)igure :$3 8enter .eading * !ow( e)ery paragraph mar+ed as .eading * will be centered %as shown below'. Gf you ma+e another .eading * entry( it will be centered as well.
)igure :$# +he te-t +itle@ which is formatted as a centered .eading * style
,ndent 1eadin 7
=n the -tyles and 5ormatting window( right9clic+ on the 8eading % paragraph style and choose /odify %as before'. *fter the #aragraph -tyle dialog opens( follow the steps below& 1' Clic+ the ndents O $pacing tab. 2' "nder the 2ndent section( set the indentation before the teCt to 0.60 ( as shown below. Your display might be different( depending upon what measurement unit was set in the options %&ools > :ibre;ffice !riter > 1eneral > $ettings'.
*=$
2sing Auto2pdate
=n the =rgani2er page of the #aragraph -tyle dialog is a chec+ boC named *uto"pdate. Gt is present only for paragraph and frame styles. Gf this chec+ boC is selected( then $ibre=ffice itself will apply to the style( any modification made manually to a paragraph formatted with that style.
Caution
Gf you are in the habit of manually o)erriding styles in your document( be sure that *uto"pdate is not enabled( or you will suddenly find whole sections of your document reformatting uneCpectedly.
Poem& Centered( with a font si2e of 10pt. Poem.eading& Centered( bold( with a 12pt font si2e.
Gn addition( a Poem.eading style is to be followed by a Poem style. Gn other words( when you press ,nter( the neCt paragraph style in the document changes to Poem.
*=*
>ote
You may ha)e noticed this beha)ior already. *fter you enter a heading using a .eading paragraph style and press ,nter( the neCt style switches to +e-t body.
Description
This is the name of the style itself( li+e .eading * or +e-t body. -et %type in the teCt boC' the name to P!e". This is the style of a paragraph that follows the paragraph that is in Poem style. 7hen you press ,nter while typing teCt in the Poem style( this style is applied to the new paragraph. -et this )alue to Poem. 7hen you press ,nter( the teCt of the new paragraph will remain in the Poem style.
:inked with
Gf the Poem style is lin+ed with another style( say Default( then any change in Default will affect Poem( Just as you saw with .eading in the pre)ious section. 5or our eCample( this is not the beha)ior we want. -et this entry to G >one G. This means that Poem is not lin+ed with any other style.
-elect the Custom -tyles category for new styles. *fter ma+ing these changes( your dialog should loo+ li+e 5igure 20B.
)igure :$( 2nitial configuration for the Poem style. Set the first three entries as shown. The neCt step is to configure the alignment and font properties of this style.
=n the /lignment page( select the Center option. =n the )ont page( select the 1#pt font si2e.
Clic+ ;6 to sa)e the new Poem style.
*=:
)igure :$= Settings for the Poem.eading style !ow set the settings of the new style& 1' =n the /lignment page( select Center. 2' =n the )ont page( choose 3old and si2e 1)pt. Clic+ ;6 to sa)e the new Poem.eading style.
$ample poem
Gt is a good idea to test out your new styles and see if you are happy with them. Typing a poem using the styles we ha)e Just defined should produce the results in 5igure 210.
,ndent 0oe#
5irst( set the Poem style to left alignment& 1' Gn the -tyles and 5ormatting window( select Poem and right9clic+ and select /odify. 2' =n the /lignment page( select :eft. -et the indentation& 1' Clic+ the ndents O $pacing tab. 2' "nder 2ndent( set the indentation before the teCt to 0.5in. .onel Clic+ ;6( and you should see the teCt change.
Final result
*fter all these changes( the poem should loo+ similar to 5igure 211. !ote in the figure that a third style has been created for the author of the poem.
*=#
4eleting styles
Gt is not possible to delete $ibre=fficeFs predefined styles from a document or template( e)en if they are not in use. 6owe)er( custom styles can be deleted. To delete an unwanted style( right9clic+ on it in the -tyles and 5ormatting window and choose 4elete. Gf the style is in use( a message appears( warning you that the style is in use and as+ing you to )erify that you really want to delete the style. Gf the style is not in use( a different message appears( as+ing you to )erify that you really want to delete the style.
Caution
Gf you delete a style that is in use( all obJects with that style will return to the style it was based on %lin+ed with' but retain some of the deleted styleFs formatting as manual formatting.
&ip
Gf an unwanted paragraph style is in use( you can use Find O Ceplace to replace it with a substitute style before deleting it. -ee Chapter 3( 7or+ing with TeCt( for more information.
*=%
To use custom styles in place of one or more of the default heading styles& 1' Choose &ools > ;utline >umbering to open the =utline !umbering dialog. 2' Clic+ the number in the Level boC corresponding to the heading for which you want to change the paragraph style.
)igure :*: 8hoosing paragraph styles for outline levels 3' Gn the Dumbering Paragraph Style section( choose from the drop9down list the paragraph style you want to assign to that heading le)el. Gn this eCample( you might choose /y 8eading 1 to replace 8eading 1 and for :evel #( /y 8eading # to replace 8eading #. >' 4epeat for each outline le)el that you want to change. Clic+ ;6 when done.
*=&
)igure :*# +he numbering scheme to be set up "se the !umbering page of the =utline !umbering dialog to define the numbering scheme and its appearance. 5igure 21A shows the default settings.
)igure :*% Default settings on the Outline Dumbering dialog 1' Gn the Level list( choose 1. Gn the Dumber list( choose 1, #, %, .... The result is shown in the pre)iew boC on the right in 5igure 21<.
*='
)igure :*& Specifying numbering of Level * headings 2' Gn the Level list( choose #. Gn the Dumber list( choose 1, #, %, .... The Show sublevels list is now acti)eV it should show # %if not( choose #'. The result is shown in 5igure 21E.
)igure :*' Specifying numbering of Level : headings 3' Gn the Level list( choose %. Gn the Dumber list( choose 1, #, %, .... The Show sublevels list should show % %if not( choose %'. The result is shown in 5igure 21B.
)igure :*( Specifying numbering of Level 3 headings These choices produce the layout shown in 5igure 21D.
*=(
>ote
)igure ::$ Setting up the position of level * headings 1' Gn the Level list on the left( choose 2. Change the )alues for Dumbering followed by... at and /ligned at( as shown in 5igure 221. You may want to use a different )alue. This indents the entire heading but does not affect the way long headings wrap around %see 5igure 222'.
*==
)igure ::: 6esult of changes to indentation of Level : headings 2' To change the wrapping beha)ior of long headings( change 2ndent at to a larger )alue( as shown in 5igure 223. The result is shown in 5igure 22>.
:$$
3' Gn the Level list( choose 3. Change the )alues for Dumbering followed by... at( /ligned at( and 2ndent at( as shown in . The final result is shown in 5igure 22A.
:$*
ntroduction
Chapter <( Gntroduction to -tyles( describes the basics of how to use( apply( and manage styles. This chapter gi)es a more detailed description of how to create or modify a style( using the many options a)ailable on the )arious pages of the -tyle dialog. You will learn how these options affect the appearance of the style and how to use them efficiently. 3Camples and hints are also pro)ided. The -tyle dialogs share many of the same pages as the manual formatting dialogs( so you can also use this chapter to help you apply manual formatting %though you do not need that if you use styles'.
&ip
:$#
)igure ::& +he Organi3er page displayed when a new Paragraph style is created. .epending on the style you are creating( you will find the following information on this page&
>ame& present on all the categoriesuse this field to gi)e a name to the style you are
creating.
Auto2pdate& only present for paragraph and frame styles. Gf it is chec+ed( then 7riter will
apply any modification made manually to a paragraph formatted with that style to the style itself.
Caution
Gf you are in the habit of manually o)erriding styles in your document( be sure that *uto"pdate is not enabled( or you will suddenly find whole sections of your document reformatted uneCpectedly.
>e't $tyle& only a)ailable for paragraph and page styles. "se it to specify which style will
be applied to the neCt element. Gt is customary( for eCample( to ha)e a left page style followed by a right page( a first page followed by a left page( a heading followed by body teCt( and so on. You will see in the eCample later how this property is used. #redefined paragraph styles for lists or bullets also ma+e large use of the De-t Style property.
:inked with& a)ailable for paragraph( character( and frame stylesV it determines the position of the style in the hierarchy. 7hen creating a new style and lin+ing it to an eCisting style( all the starting properties of the style are copied from the lin+ed style. Category& a)ailable for all stylesV use it to associate the new style with one of the
categories. !ote that you cannot change the category of the predefined styles. -etting this field is useful when filtering the contents of the -tyles and 5ormatting window.
:$%
$in+ing styles is a )ery powerful method to create TfamiliesU of styles and allows you to change their properties simultaneously. 5or eCample( if you decide that all the headings should be green %such as in this guide'( you only need to change the font color of the parent style to achie)e the desired result. !ote howe)er( that changes made to a parameter of the parent style do not o)erride changes pre)iously made to the same parameter in the child styles. 5or eCample( if you changed the .eading : font color to green( a change of the font color of the .eading style %the parent style' to red will not affect the .eading : font color. You can easily chec+ which properties are specific to a style by loo+ing at the 8ontains section of the Organi3er page. Gn case you want to reset the properties of a child style to that of the parent style( clic+ the $tandard button located at the bottom of each #aragraph and Character style dialog page.
>ote
You cannot define a hierarchical style structure for #age( 5rame and $ist styles.
!ow( the fonts of all the heading styles %.eading * through .eading *$' are changed in a single operation. 5igure 230 shows on the left a document using the headings 1( 2 and 3 and on the right the same document after changes ha)e been made to the .eading style.
3efore te't& controls the space in the selected unit of measurement between the left
margin of the page and the leftmost part of the paragraph area. 3ntering a negati)e )alue results in the teCt starting on the left of the margin. This may be useful in situations where your left margin is @uite wide( but you want the headings to be centered in the page.
After te't& controls the space in the selected unit of measurement between the right
margin of the page and the rightmost part of the paragraph area. 3ntering a negati)e )alue results in the teCt eCtending into the right margin of the page.
First line& enter the offset in this boC %either positi)e or negati)e' of the first line of the
paragraph relati)e to the paragraph area. * positi)e )alue increases the indentation of the first line( while a negati)e )alue ma+es the first line start to the left of the paragraph area.
Automatic& chec+ this boC to allow 7riter to automatically control the indentation of the first
line. The )alue is calculated by 7riter on the basis of the font si2e and other parameters. "se the Spacing section of the page to determine the amount of )ertical space abo)e and below the paragraph. Gt is customary to include some Tspace abo)eU in heading styles so that they are separated from the teCt body of the pre)ious section without the need to insert empty paragraphs. -pacing between paragraphs is also normal in certain types of documents. The body teCt style of this guide is configured to lea)e some space between consecuti)e paragraphs.
8hapter ' Wor7ing with Styles :$'
)igure :3* Settings on the 2ndents and Spacing page of a paragraph style The option to remo)e space between paragraphs of the same style is a)ailable by selecting the chec+ boC. The spacing between paragraphs does not affect the spacing between lines( which is controlled using the drop9down boC in the Line spacing section. You can select one of the following )alues&
$ingle& the default settingapplies a single line spacing to the paragraph. This is
calculated automatically based on the font si2e.
1.+ lines& sets the line spacing to 1.A lines. 4ouble& sets the line spacing to 2 lines. Proportional& this )alue acti)ates the edit boC neCt to the drop9down list where you can
enter a percentage )alue. 100k means a single line spacing( 200k double line spacing and so on.
At least& this choice acti)ates the edit boC neCt to the drop9down list( where you can enter
the minimum )alue %in your selected unit of measurement' to be used for the line spacing.
:eading& if this is selected( you can control the height of the )ertical space between the
base lines of two successi)e lines of teCt( by entering a )alue( which is summed with the )alue of single line spacing( into the edit boC.
Fi'ed& this choice acti)ates the edit boC neCt to the drop9down list( where you can enter the
eCact )alue of the line spacing.
7hen using different font si2es in the same paragraph( the line spacing will be une)en( as 7riter automatically calculates the optimal )alue. To obtain e)enly spaced lines( select Fi'ed or At least in the drop9down list and a )alue that is large enough to create a spacing between the lines sufficient to account for the largest font si2e used.
&ip
The last parameter that can be set in this page is 6egister"true. This is a typography term that is used in printing. This term refers to the congruent imprint of the lines within a type area on the front and the bac+ side of boo+ pages( newspaper pages( and maga2ine pages. The register9true feature ma+e these pages easier to read by pre)enting gray shadows from shining through
:$( LibreOffice #.$ Writer Guide
between the lines of teCt. The register9true term also refers to lines in adJacent teCt columns that are of the same height. 7hen you define a paragraph( #aragraph -tyle( or #age -tyle as register9true( the base lines of the affected characters are aligned to a )ertical page grid( regardless of font si2e or of the presence of graphics. This aligns the baseline of each line of teCt to a )ertical document grid( so that each line is the same height. To use this feature( you must first acti)ate the 6egister"true option for the current page style. Gf you ha)e acti)ated the 4egister9true for the page style in use %refer to eneral settings for the page style on page 223' then the 6eference style and all the styles hierarchically dependent on it will ha)e the Activate Cegister.&rue boC selected. You may also( howe)er( want to acti)ate the )ertical grid for other styles %or not apply it to styles dependent on the reference style' and this is where this can be done.
)igure :3: +e-t to te-t vertical alignment Jaseline@ +op@ <iddle@ Jottom
8haracters at line end& controls the minimum number of characters to be left on a line
before inserting a hyphen.
:$=
8haracters at line begin& controls the minimum number of characters that can be placed at
the beginning of a new line following a hyphen.
<a-imum number of consecutive hyphens& controls the number of consecuti)e lines that
terminate with a hyphen. Gf you prefer 7riter to automatically control the hyphenation( select the Automatically option.
)igure :33 +he options on the +e-t )low page of the Paragraph dialog Gn the Jrea7s section( you can re@uire a paragraph to start on a new page or column( as well as specify the position of the brea+( the style of the new page( and the new page number. * typical use for this option is to ensure that the first page of a new chapter always starts on a new %usually right9hand' page. To always start a style on a new page( choose the following settings on the +e-t )low page of the #aragraph -tyle dialog& 1' Gn the Jrea7s section( select nsert. 0a+e sure that +ype is set to Page and Position is set to 3efore. 2' -elect !ith Page $tyle and choose the page style from the list. 3' To continue page numbering from the pre)ious chapter( lea)e Page number set at *. To restart each chapterFs page numbering at 1( set Page number to 1. Clic+ ;6.
Gf you want the first page of a new chapter to always start on a right %recto' page( ma+e sure that the page style for the first chapter page is set for the right page only by ma+ing this selection in the Layout settings field on the Page tab of the #age -tyle dialog.
>ote
The Options section of the +e-t )low page pro)ides settings to control what happens when a paragraph does not fit on the bottom of a page&
4o not split paragraph means that the paragraph is ne)er split across two pages. Gf it
does not fit on the bottom of one page( the entire paragraph mo)es to the top of the neCt page.
:*$
6eep with ne't paragraph is appropriate for headings or the lead9in sentence to a list( to
ensure that it is not the last paragraph on a page.
;rphan control and !idow control. 7idows and orphans are typographic terms. *n
orphan is the first line of a paragraph alone at the bottom of a page or column. * widow is the last line of a paragraph that appears alone at the top of the neCt page or column. "se these options to allow paragraphs to split across pages or columns but re@uire at least two or more lines to remain together at the bottom or top of a page or column. You can specify how many lines must remain together.
7ithin the document( you can apply a separate language to any paragraph style. This setting has priority o)er the language of the whole document. =n the )ont page of the #aragraph -tyle dialog( languages with installed dictionaries are mar+ed in the Language list by a small A3C icon %5igure 23A'. 7hen chec+ing spelling( 7riter will use the correct dictionary for paragraphs with this style. Gf you write documents in multiple languages( you can use the lin+ed styles to create two paragraph styles that differ only in the language option. Gf you then want to change some of the other properties of the paragraph style( all you need do is to change the parent style. To insert occasional words in a different language and a)oid their being pic+ed by mista+e with the chec+9spelling function( it is more con)enient to use a character style( as discussed in TCreating a new character styleU on page 21B.
)igure :3& +he position page of the Paragraph Style dialog "se the Position section to control the appearance of superscripts and subscripts. 6owe)er( you will normally apply superscript and subscripts to groups of characters rather than to entire paragraphs. Therefore( it is strongly recommended to change these parameters only when defining a character style and( instead( lea)e the default settings for the paragraph styles. The second section of the #osition page controls the rotation of the paragraph area. Two common uses for rotated paragraphs are&
To put portrait headers and footers on a landscape page To fit headings abo)e narrow table columns %as shown in 5igure 23E'
:*:
)igure :3' / table with rotated headings The $cale width boC controls the percentage of the font width by which to compress or stretch the rotated teCt hori3ontally. That is( from the first character to the last. Chapter >( 5ormatting #ages( describes how to create portrait headers and footers on landscape pages by rotating characters. You can achie)e the same effect by defining a separate header or footer paragraph style specifically for landscape pages.
)igure :3( 6otating a paragraph =$ degrees 3' -elect the heading row of the table and apply the new style. *ny teCt in the cells of the heading row is now rotated. >' Gf the headings are aligned to the top of the cells( you may want to change the alignment to the bottom of the cells( as shown in 5igure 23E. To do this( clic+ the 3ottom button on the Table toolbar or select Format > Alignment > 3ottom from the main menu.
"pacin options
"se the Spacing section of the #osition page to control the spacing between indi)idual characters in the paragraph. 7hen selecting an option other than default in the drop9down menu( use the edit boC to enter the )alue in points by which you want to eCpand or condense the teCt.
:*3
The Pair 6erning option %selected by default' increases or decreases the amount of space between certain pairs of letters to impro)e the o)erall appearance of the teCt. 8erning automatically adJusts the character spacing for specific letter combinations. 8erning is only a)ailable for certain font types and( for printed documents( only wor+s if your printer supports it.
Caution
Gf you need to use tabs( and you will be sending a document to other people( do not use the default tab stops. Gf the recipients of the document ha)e defined default tab stops that are different from the ones you are using( the paragraph may loo+ )ery different on their machines. Gnstead( define the tab stops eCplicitly in the paragraph or the paragraph styleV then you can be sure that e)eryone will see the same layout.
To define tab stops in your paragraph style( use the Tabs page( shown in 5igure 2>0. 6ere you can choose the type of tab& left( right( centered( or decimalV the character to be used as a decimal pointV and the fill characterQthe characters that appear between the end of the teCt before the tab and the beginning of the teCt after the tab. You can also create a custom fill character by entering it in the corresponding boC. Common use of a fill character is adding dots between a heading and a page number in a table of contents or underscore character when creating a form to fill in.
)igure :#$ Specifying tab stops for a paragraph style Creating a new tab stop( therefore( is Just a matter of deciding its position relati)e to the left margin( the type( the fill character and clic+ing the >ew button. The tab stop will be entered in the Position list on the left hand side. "nfortunately( the only way to modify the position of a tab stop is to create a new one in the desired position and delete the old one using the buttons on the right9hand side of the page. !ote that it is not possible to define tabs that eCceed the page margin. Gn the rare cases where that may be needed( use a borderless table instead.
:*# LibreOffice #.$ Writer Guide
)igure :#* Setting the outline level on the Outline L Dumbering page
)igure :#: Options for adding a drop cap to the paragraph style
:*%
Gn case you do not find the desired color in the list of predefined ones( you can define your
own by selecting &ools > ;ptions > :ibre;ffice > Colors.
You can use a graphic instead of a solid color as bac+ground. Gn the As drop9down list(
select 1raphic( then select the graphic obJect you want to use and adJust the parameters( as re@uired. .etailed instructions on wor+ing with graphic bac+grounds can be found in the 2mpress Guide.
The bac+ground is only applied to the paragraph area. Gf you ha)e defined an indented
paragraph( the space between the paragraph and the margin does not ha)e the paragraphFs bac+ground color. =n the Jorders page( the following points are worth considering&
7atch out for the effects that the spacing between borders and paragraph area produces
on indentations and tabulations.
Gf you want the border to be drawn around multiple paragraphs( lea)e the /erge with ne't
paragraph option at the bottom of the page mar+ed.
>ote
#redefined styles %other than +e-t body' such as Default( .eading *( and .eading : cannot be set to be conditional.
:*&
Caution
Gf you want to ma+e a style conditional( you ha)e to do it while the style window is still open for the first time. *fter the window closes( the 8ondition tab no longer appears in the window.
)igure :#3 8ondition page for paragraph styles 7hen you create a conditional style( you are saying Tin this condition ma+e this style loo+ li+e that other styleU. 5or eCample( T7hen typing into a footer( ma+e this style loo+ li+e the myPfooter paragraph styleV when typing into a table( ma+e this style loo+ li+e the tablePte-t paragraph styleU. Gn addition to setting the normal %unconditional' properties of the style( you need to define which other style it will loo+ li+e in different situations. You do this on the 8ondition page. To set up a conditional paragraph style& 1' .efine a new paragraph style. 2' -elect all the paragraph properties for the style. 4o not click ;6W 3' Clic+ the Condition tab. >' -elect the Conditional $tyle option. A' -elect the first condition in the 8onte-t list %left side of the dialog' and select the style you want for this condition in the Paragraph Styles list on the right9hand side. <' Clic+ Apply. The name of the paragraph style appears in the middle list. E' 4epeat steps A and < for each condition you want to ha)e lin+ed to a different style. B' Clic+ ;6. 7hen the style is selected( you will see that the formatting of your teCt depends on the conteCt.
:*'
Formatting changes
*s ,eanFs story illustrates( the ability to ma+e formatting changes throughout a document can be important. Character styles pro)ide this. Consistency Character styles help ensure that typesetting guidelines are applied consistently. Focus on content TWas 2 supposed to bold 7eystro7esQ .ow about menusQU * writer should not ha)e to remember the answers to these @uestions. Typesetting details distract you from the real content of your wor+. * properly named custom character style %such as KeyStro7e or <enuPath' will remo)e this burden from you.
"se the Organi3er to set up the hierarchical le)el of the new character style %if needed' and
to gi)e it a name.
:*(
"se the )ont page to determine the font( typeface( and si2e for your character style. *s
with paragraph styles( you can specify the si2e as a percentage rather than pro)iding the absolute )alue. 5or eCample( 1A0k means that when the character style is applied to a 10pt font si2e( the new font si2e will be 1Apt( while if applied to a 1>pt font si2e( the new si2e will be 21pt. You can also specify the :anguage of the teCt to which a certain character style is applied( so you can insert words in a different language and ha)e them spell chec+ed using the correct dictionary.
Gn the )ont ,ffects page( you can set up attributes such as font color( underlining( relief( or
other effects. Gf you fre@uently use hidden teCt( for eCample( it is )ery con)enient to define a character style where the 8idden option is mar+ed. This way you only need a few mouse clic+s to hide teCt. Celief effects may be appropriate for a drop cap or to gi)e more emphasis to the chapter number or other parts of the title %as it is the case of this guide'.
You can use the Position page to create a subscript in case you are not satisfied with the
default one or e)en a sub9subscript which may be useful for certain scientific publications. Gn the same page( you can create rotated( condensed( or eCpanded teCt.
7hen rotating a group of characters( you also need to specify whether the rotated teCt should fit in the line or if( instead( it is allowed to eCpand abo)e and below the line. This property only becomes acti)e for character styles.
>ote
Dever miC character styles and manual formatting. 0anual formatting supersedes
character styles. Gf you combine them( you may end up wasting hours in frustration trying to figure out why your character styles donFt wor+.
4ight9clic+ing and choosing Clear 4irect Formatting remo)es manual formatting but not
character styles. To remo)e a character style( select the characters( then select the 4efault character style.
4eali2e that clic+ing the 3old icon in the toolbar is not easier than double9clic+ing on a
character style that is preset for bolding the font typeface.
$ea)e the -tyles and 5ormatting window open to ma+e character styles easy to access.
:*=
&ip
There is considerable o)erlap between the uses of frames and of sections for some page layout purposes. You may find it useful to ta+e a loo+ at Chapter >( 5ormatting #ages( for information about the use of frames and sections.
$abels 0arginalia
::$
"tyle
=$3 7atermar+
+ype page& sets the si2e and position of the frame. =ne of the most useful options here is
Auto$i5e( which automatically adJusts the frame to the obJect it contains. Gf the frame style is one used automatically( then this option should be selected.
Options page& sets whether the contents of the frame are printed and able to be edited in a
read9only document. This page also sets the teCt direction( which is useful if you are using the frame for contents in a language that uses right9to9left teCt direction.
Wrap page& sets how teCt is positioned in relation to the frame and how close teCt comes to
a frame. Gf you want the frame contents to stand out from the paragraphs around it( set the wrap to >one. This probably is the single most important page for frames.
Jac7ground page& sets the bac+ground color or graphic. This page is useful mostly for teCt
frames in compleC page layouts( in which a teCt frame has an appearance different from the general bac+ground of the page.
Jorders page& sets the line around the frame( if any. 0any new designers ma+e the
mista+e of adding a border to e)ery frame. 6owe)er( when a colored bac+ground distinctly mar+s the di)ision between the frameFs contents and the rest of the page( borders are unnecessary.
8olumns page& this page can be ignored unless the frame is being used for teCt. The page
is the same as is used to set up a page style( and its parameters are described in the section TColumns pageU on page 22A.
<acro page& sets a macro to use with the frame in order to trigger an action when the user
interacts with the frame. These options are useful only in an on9line 7riter or 6T0$ document.
)igure :## +he tabbed pages for the Page Style dialog
"ettin up a title pa e
Consider a common scenario& you want the document to ha)e a title page that is different from the rest of the document&
Gt should not ha)e a header or page number. The left and right margins should be the same.
5or the title page( we can use the predefined )irst Page page style that comes with $ibre=ffice( and for the rest of the document( we can use the Default page style. 5igure 2>A shows the re@uired flow of page styles. =n the ;rgani5er page of the Default page style( lea)e the De-t Style property set to 4efault. =n the ;rgani5er page of the )irst Page style( ma+e sure that the De-t Style property is set to 4efault.
>ote
:::
)igure :#& +he Page page for the Page Style dialog Gn the Paper format section( you can specify the si2e of the paper choosing from one of the many predefined formats. -electing TuserU( you can use the Width and .eight fields to define your own paper si2e. Gf using a predefined format( select the orientation of the paper between portrait and landscape. Gf your printer has more than one tray( you can specify the tray from which to print pages in the new page style. Gn the <argins section( specify the si2e of the margins in your preferred unit of measurement. Gf you select /irrored for Page layout in the Layout settings section( then the names of the margins change from :eft and Cight to nner and ;uter. Gn the Layout settings section( choose the desired Page layout from the four a)ailable options. .ecide whether the page style being defined applies to both left and right pages %default'( or applies to right or left only. -ome considerations&
Gf you plan to bind the printed pages using this style li+e a boo+( select a mirrored layout.
"se the Format drop9down menu to determine the page numbering style to apply to this page style.
* common practice in page layouts is to ha)e asymmetrical page marginsQboth for left
and right margins and for top and bottom margins. There are )arious schemes for accomplishing this. The most common of them follow these two general rules for printed page layouts& %a' The outer margin %right margin on a right9hand page' would ha)e a wider margin than an inner margin %left margin on a right9hand page'V %b' The bottom margin would be larger than a top margin. The rationale for an asymmetrical page layout is allowing more space for readers to place their hands while holding the boo+s or other printed documents. *bout.com describes some page layouts on their 7eb site& #erfect #roportions "sing #age 0argins in .es+top #ublishing.
Gf you want the first page of a new chapter to always start on a right %recto' page( ma+e
sure that the page style for the first chapter page is set for the right page only by ma+ing this selection in the Layout settings field. The typical procedure for the rest of a chapter is
8hapter ' Wor7ing with Styles ::3
to define a single TmirroredU page style for both left and right pages. * mirrored page can ha)e different headers and footers. Gf done this way( e)ery chapter will use two page styles.
You can choose to define separate page styles for left and right pages( if you want the
pages to be )ery different in appearance %for eCample( different margins or headers and footers only on right pages but not on left pagesV imagine a boo+ with a full9page photograph on the left pages and teCt on the right pages'. Gn that case( ma+e sure that the De-t Style field for the first page style is then set for a left9only page( which( in turn( is then set to be followed by a right9only page style. Gf done this way( e)ery chapter will use three page styles. * hypothetical case might ha)e these page9style names& )irst page( Left( and 6ight. Gf you chec+ the Cegister.true boC( 7riter will create a )ertical grid on the page with a spacing between grid points that depends on the selected Ceference $tyle. The )ertical grid ma+es sure that teCt printed on adJacent columns( opposite pages( or e)en both sides of the same sheet of paper( is alignedma+ing it easier to read as well as being more pleasant to see.
::#
Columns page
"se this page to create the desired column layout for the page style. The page is subdi)ided into three sections& Settings( Width and Spacing and Separator Line. The Settings section contains thumbnails of predefined columns settings you can select( as well as a teCt boC where you can enter the desired number of columns if you need to create a customi2ed one. *fter you select more than one column( the Width and Spacing section becomes acti)e. Gf you are not satisfied with the predefined settings %e@ually spaced columns'( deselect the Auto!idth option and enter the parameters manually. 7hen you wor+ with multiple columns per page( you can also fine tune the position and si2e of a separator line between the columns.
Footnote page
"se this page to adJust the appearance of the footnotes. 8eeping the default setting >ot larger than page area( the footnotes area is calculated automatically on the basis of the number of footnotes. Gf you prefer to control manually the maCimum space that footnotes can ta+e( select the /a'imum footnote height option and enter the )alue in the preferred unit of measurement. "se the second section of the page to customi2e the separator between the footnotes and the main area.
Desired effect
5irst page always on the right %an odd9numbered page' !o header or footer Top margin of page larger than on other pages
0roperty4 settin
Page > Page layout > ;nly right 8eader > 8eader on: >ot selected Page > /argins > &op: (.**cm Page > Page layout: /irrored 8eader > 8eader on: $elected 8eader > 8eader > $ame content leftFright: >ot selected
.efault
0irrored margins 6eader with page number on the top outside of the page and chapter title in the top middle center of the page
5igure 2>B illustrates the transitions from the 6ight Page to Default page styles( with the change of header between left and right pages shown by the m symbol.
::%
)igure :#( 6ight Page and then the Default page style with different headers for alternate pages. $tep 1. $et up the Cight Page style. 1' =n the -tyles and 5ormatting window( clic+ the #age -tyles icon to display a list of page styles. 2' 4ight9clic+ on 6ight Page and select /odify from the pop9up menu. 3' =n the Organi3er page of the #age -tyle& 4ight #age dialog( change De-t Style to 4efault.
)igure :#= Specifying the ne-t style after the first page of a chapter >' =n the Page tab( specify a larger left margin for binding( and a larger top margin to mo)e the chapter title down the page.
)igure :%$ Setting page margins and layout for the 6ight Page style A' =n the .eader and )ooter pages( be sure the 8eader on and Footer on options are not selected. Clic+ ;6 to sa)e your changes. $tep #. $et up the 4efault page style. 1' =n the -tyles and 5ormatting window( in the list of page styles( right9clic+ on Default and select /odify from the pop9up menu. 2' =n the Organi3er page of the #age -tyle& .efault dialog( be sure >e't $tyle is set to 4efault.
::& LibreOffice #.$ Writer Guide
3' =n the Page tab of the #age -tyle& .efault dialog( select /irrored for Page layout and set the 2nner and Outer margins to the same width as the Left and 6ight margins( respecti)ely( on the 6ight Page style.
)igure :%* Setting page margins and layout for the Default page style >' =n the .eader page of the #age -tyle& .efault dialog( select the 8eader on option and deselect the $ame content leftFright option. Clic+ ;6 to sa)e your changes.
)igure :%: Setting up the header properties for the Default page style $tep %. $et up the 8eading 1 paragraph style to start on a new right.hand page. 1' Gn the -tyles and 5ormatting window( on the #aragraph -tyles page( right9clic+ on .eading * and select /odify. 2' =n the +e-t )low page of the #aragraph -tyle dialog( in the Jrea7s section( select nsert( !ith Page $tyle( and Cight Page. Clic+ ;6 to sa)e your changes.
::'
$tep ). $tart a new chapter. *pply the .eading * paragraph style to the first paragraph( which is the title of the chapter.
/y default( the .eading * paragraph style is assigned to Outline Level *. The assignment of paragraph styles to outline le)els is done through &ools > ;utline >umbering.
>ote
$tep +. $et up the page headers. 1' =n a left page( put the cursor in the header and insert a page number field on the left % nsert > Fields > Page >umber'. 2' #ress +ab to put the cursor in the middle and insert a Chapter reference& #ress 8ontrol9): %or choose nsert > Fields > ;ther from the menu bar' to display the 5ields dialog %5igure 2A>'. =n the Document page( for +ype( select Chapter and for )ormat( select Chapter name. 0a+e sure that Level is set to 1 and then clic+ nsert. 3' =n a right page( put the cursor in the header( press the +ab +ey( insert a Chapter reference( press +ab again( and insert a page number field. >' Gf you need to adJust the tab stops for the header( modify the .eader paragraph style. .o not manually adJust the tab stops.
::(
>ote
Outline pa e
"se the Outline page to select from eight predefined nested lists. You can also select one and use it as a starting point for your own style( customi2ing the list using the Position page and the Options page( as described below.
::=
0osition pa e
"se the Position page to fine tune the indentation and spacing of the list item symbol and the teCt of the list item. This page is particularly effecti)e when used in combination with the Options page.
)igure :%% Position settings for a List style You can adJust the following settings for each indi)idual le)el or all le)els at once %to ma+e them all the same'. Gt is generally easier to adJust the settings in the order gi)en below( instead of the order on the dialog. That is( start from the o)erall indentation for the list elements( then fiC the position of the symbols( and finally adJust the alignment of the symbols.
>umbering followed by& the character to follow the numbering symbol %plus any
charactersQfor eCample a punctuation mar+Qchosen on the =ptions page to appear after the number'. Choose between a tab stop( a space( or nothing. Gf you select the tab stop( you can specify the position of the tab.
ndent at& how much space is reser)ed for the numbering symbol( measured from the left page margin. The alignment of the first line of the list is also affected by any tab you may ha)e set to follow the numbering. page.
Aligned at& the position of the numbering symbol( measured from the left margin of the >umbering alignment& how the numbering %including any teCt before or after as set in the
Options page' will be aligned. The Aligned at )alue determines the symbol alignment.
7hen defining an indentation different from 0( the position of the tabulation is not considered.
>ote
&ip
Gn normal circumstances( setting the Dumbering followed by distance to be e@ual to the 2ndent at distance wor+s well. -ee 5igure 2A< for a graphic representation of the effects of the abo)e parameters.
:3$
Position page for older documents opened in :ibre;ffice Gf your document was created with an earlier )ersion of a similar program such as =pen=ffice.org( or if the document was sa)ed for compatibility reasons using the =.5 file format )ersion 1.1 or earlier( the Position page will appear as in 5igure 2AE.
)igure :%' +he Position page for older documents Gn this case you can adJust the following settings&
ndent& the indentation of the number or bullet area( measured from the left margin of the paragraph lin+ed to the numbering style. Gn other words( if the paragraph style already has an indentation( when the list style is applied the indentations are added together. 5or any le)el other than $e)el 1( the Celative option causes the indentation to be measured from the start of the pre)ious le)el rather than from the page margin. !idth of numbering& how much space is used by the numbering symbol. 7riter reser)es this space( e)en if only part of it is used.
/inimum spacing numbering X.9 te't& the spacing between the right edge of the
numbering symbol and the teCt. Gf the spacing to teCt is not sufficient( 7riter will honor this setting by eCpanding the numbering area. -etting the minimum spacing between numbering and teCt is )ery useful when right9aligning the numbering or when there is much teCt before or after the numbering.
:3*
>umbering alignment& how the numbering %including any teCt before or after' will be
aligned.
To fully appreciate how the !umbering alignment wor+s( try to create a numbered list with more than ten elements and ma+e sure that enough room has been made for numbers with two or more digits. You may also wish to right9align numbers 10 or greater( as in 5igure 2A< on page 231.
&ip
Options pa e
"se the Options page to define the style of the outline le)els. The options a)ailable on this page depend on the type of mar+er selected for the list. 5irst( on the left side( select the le)el you want to modify. To modify all ten le)els at once( select 1 G 1* as the le)el. Gf you started from a predefined outline( some of the le)els will already ha)e settings.
)igure :%( +he Options page for a list style .epending on the numbering style selected in the Dumbering boC %bullet( graphic( numbering'( some of the following options become a)ailable on the page&
3efore& any teCt to appear before the number %for eCample( %tep'. After& any teCt to appear after the number %for eCample( a punctuation mar+'. Color& the color for the list mar+er %number or bullet character'. Celative si5e& the si2e of the number relati)e to the si2e of the characters in the paragraph of the list. 1'.
$tart at& the first )alue of the list %for eCample( you might want the list to start at > instead of Character $tyle& the style to be used for the number or bullet. Character button& clic+ to select the character for the bullet. 1raphics selection button& opens a list of a)ailable graphics % allery' or allows the
selection of a file on the hard dis+ to be used as the list mar+er.
:3: LibreOffice #.$ Writer Guide
!idth and 8eight& the dimensions of the graphic mar+er. Alignment& the alignment of the graphic obJect. 6eep ratio option& fiCes the ratio between the width and the height of the graphic mar+er.
The right9hand side of the dialog shows a pre)iew of the modifications made. To re)ert to the default )alues( clic+ the Ceset button in the bottom right corner. 5inally( if you wish to use consecuti)e numbers regardless of the outline le)el( chec+ the Consecutive numbering boC at the bottom of the page.
:33
The !umbering style dialog is displayed. 5or the 8D+rac7s style( we need to customi2e fields in the Organi3er( the Options( and the Position pages. "tyle fields
>ame Category
Description
3nter )*Trac+ Custom styles will be =8 for us.
0odify the options of the Options page as follows& 1' Gn the Level boC( choose 1. 2' Gn the Dumbering list( choose 1, #, %,.... 3' $ea)e the Jefore and /fter boCes empty. >' $ea)e the 8haracter Style field as >one. A' Show sublevels should be grayed out. <' 0a+e sure Start at is set to 1. E' .o not select Consecutive numbering. *s discussed abo)e( the numbered list will adopt the settings of the underlying paragraph style. Gf you want to use a special font( si2e or color for the numbering( you can create a character style and apply it in the =ptions page. Gf you want the word +rac7 to appear before the number( add it to the Jefore field in the =ptions dialog. .o not forget to add a space character to separate the word from the number. -et up the final parameters of the 8D+rac7s list style in the Position page. 1' Gn the Level boC( choose 1. 2' 5or Dumbering followed by( choose tab stop and set it at ,.0c". 3' 5or Dumbering alignment( choose Cight. >' 5or /ligned at choose 1.5c". %this refers to the alignment of the numbers' A' 5or 2ndent at choose ,.0c". %This sets the indentation of the whole list.' Clic+ ;6 to finish.
>ote
Gf you ha)e more than one list in a document( the second and subse@uent lists with the same style continue their numbering from the pre)ious list. To restart at 1( place the cursor anywhere in the paragraph you want numbered 1( right9clic+( and choose Cestart numbering. To stop using numbering( press the >umbering ;nF;ff icon on the -tandard toolbar. The final result is illustrated in 5igure 2A<.
:3#
Gmage files( such as photos( drawings( and scanned images .iagrams created using $ibre=fficeFs drawing tools Charts created using $ibre=fficeFs Chart facility
This chapter co)ers images and diagrams. 0ore detailed descriptions on wor+ing with drawing tools can be found in the Draw Guide and 2mpress Guide. Gnstructions on how to create charts are gi)en in the 8alc Guide.
Create images that ha)e the eCact dimensions re@uired for the document( or use an
appropriate graphics pac+age to scale photographs and large drawings to the re@uired dimensions. .o not scale images with 7riter( e)en though 7riter has tools for doing this( because the results might not be as clear as you would li+e.
.o any other re@uired image manipulation %brightness and contrast( color balance(
cropping( con)ersion to grayscale( and so on' in a graphics pac+age( not in 7riter( e)en though 7riter has the tools to do a lot of these things too.
Gf the document is meant for screen use only( there is no need to use high resolution
images of 300 or more dpi %dots per inch'. 0ost computer monitors wor+ at between E2 and D< dpiV reducing the resolution %and the file si2e' has no negati)e impact on what is displayed but does ma+e 7riter more responsi)e.
:3&
Changing the colors of the circle and the arrow impro)es the contrast and )isibility of the resulting grayscale image.
Gf the document will be a)ailable in blac+9and9white print only( a better result can often be obtained by choosing grayscale fills( not color fillsQand you donFt ha)e to guess and test to see if youF)e made good choices.
)igure :&$ 8autionary message bo- when inserting a lin7ed image $in+ing an image has two ad)antages and one disad)antage&
*d)antage $in+ing can reduce the si2e of the document when it is sa)ed( because the
image file itself is not included. 5ile si2e is usually not a problem on a modern computer with a reasonable amount of memory( unless the document includes many large graphics filesV $ibre=ffice can handle @uite large files.
:3(
*d)antage You can modify the image file separately without changing the document
because the lin+ to the file remains )alid( and the modified image will appear when you neCt open the document. This can be a big ad)antage if you %or someone else( perhaps a graphic artist' is updating images.
>ote
>ote
oing the other way( from embedded to lin+ed( is not so easyQyou must delete and reinsert each image( one at a time( selecting the :ink option when you do so.
:3=
Caution
Gf the application from which the graphic was copied is closed before the graphic is pasted into the target( the image stored on the clipboard could be lost.
1' To open the allery( clic+ on the 1allery icon %located in the -tandard toolbar and in the .rawing toolbar' or choose &ools 9 1allery from the menu bar. 2' !a)igate through the allery to find the desired picture. 3' To insert the picture( clic+ and drag it from the allery into the 7riter document. You can also right9clic+ on the picture and choose nsert 9 Copy. 5igure 2<2 shows an eCample of an image dragged from the allery. /y default( the allery is doc+ed abo)e the 7riter wor+space. To eCpand the allery( position the pointer o)er the line that di)ides it from the top of the wor+space. 7hen the pointer changes to parallel lines with arrows( clic+ and drag downward. The wor+space resi2es in response. To eCpand the allery without affecting the wor+space( undoc+ it so it floats o)er the wor+space. To do so( hold down the 8ontrol +ey and double9clic+ on the upper part of the allery neCt to the
:#$ LibreOffice #.$ Writer Guide
Piew icons. .ouble9clic+ in the same area while holding down the 8ontrol +ey to doc+ it again %restore it to its position o)er the wor+space'. 7hen the allery is doc+ed( to hide it and )iew the full 7riter wor+space( clic+ the 8ideF$how button in the middle of the thin bar separating the allery from the wor+space %circled in 5igure 2<2'. To close the icon again. allery( choose &ools 9 1allery to toggle the allery entry( or clic+ on the allery
/odifying an image
7hen you insert a new image( you may need to modify it to suit the document. The placement of the picture relati)e to the teCt is discussed in T#ositioning graphics within the teCtU on page 2A0. This section describes the use of the #icture toolbar( resi2ing( cropping( and a wor+around to rotate a picture. 7riter pro)ides many tools for wor+ing with images. These tools are sufficient for most peopleFs e)eryday re@uirements. 6owe)er( for professional results it is generally better to use an image manipulation program such as G0# to modify images %for eCample( to crop( resi2e( rotate( and change color )alues' and then insert the result into 7riter. G0# is an open9source graphics program that can be downloaded from http&//www.gimp.org/downloads/.
:#*
Grap!ics #ode
You can change color images to grayscale( to blac+ and white( or to a watermar+ by selecting the image and then selecting the rele)ant menu item from the raphics mode list.
%ilters
Table 10 pro)ides a short description of the a)ailable filters( howe)er the best way to understand them is to see them in action. 3Cperiment with the different filters and filter settings( remembering that you can undo all the changes by pressing 8trl9A or /lt9Jac7space or by selecting -dit 9 2ndo.
1 # % ) + ( " 0 9 1* 11 1# 1% 1) 1+ 1( 1" 10 19 #* #1 ## #% 5ilter raphics mode Color Transparency 5lip 6ori2ontally 5lip Pertically 5rame #roperties Gn)ert -mooth -olari2ation *ging Charcoal -+etch 4elief 0osaic 4emo)e !oise -harpen #op *rt #osteri2e 4ed reen /lue /rightness Contrast LibreOffice #.$ Writer Guide
:#:
#)
amma
Effect
Gn)erts the color )alues of a color image or the brightness )alues of a grayscale image. -oftens the contrast of an image. Gncreases the contrast of an image. 4emo)es single piCels from an image. 0imics the effects of too much light in a picture. * further dialog opens to adJust the parameters. -imulates the effects of time on a picture. Can be applied se)eral times. * further dialog opens to adJust the aging le)el. 0a+es a picture appear li+e a painting by reducing the number of colors used. 0odifies the picture dramatically. .isplays the image as a charcoal s+etch. * dialog is displayed to adJust the light source that will create the shadow and( hence( the relief effect. ,oins groups of piCels into a single area of one color.
(olor
"se this toolbar to modify the indi)idual 4 / color components of the image %red( green( blue' as well as the brightness( contrast( and gamma of the image. Gf the result is not satisfactory( you can press 8ontrol9A to restore the default )alues.
-ransparency
0odify the percentage )alue in the +ransparency boC on the #icture toolbar to ma+e the image more transparent. This is particularly useful when creating a watermar+ or when wrapping the image in the bac+ground.
Cropping images
7hen you are only interested in a section of the image for the purpose of your document( you may wish to crop %cut off' parts of it.
Gf you crop an image in 7riter( the image itself is not changed. 7riter hides( not cuts off( part of the image. Gf you eCport the document to 6T0$( the original image is eCported( not the cropped image.
>ote
To start cropping the image( right9clic+ on it and select Picture from the conteCt menu. Gn the #icture dialog( select the Crop page. The units of measurement shown on the Crop page are those set in &ools 9 ;ptions 9 :ibre;ffice !riter 9 1eneral. Two options are a)ailable in the crop section for cropping an image. The first option is the defaultV 6eep scale. You can )isuali2e this as using scissors on a paper picture. *s you cut parts off( the image gets smaller.
)igure :&# 6esult on image si3e of cropping using Keep scale option The second option is 6eep image si5e. You can )isuali2e this as ha)ing a picture frame and the image is 2oomed in as much as re@uired to fill the fiCed9si2e frame. You can see in 5igure 2<> that as the )alues in $eft( 4ight( Top( and /ottom are altered( the boundaries of the image in the pre)iew boC alter to show the crop area on the image. This results in either an image si2e change( or a scale change for a fiCed image si2e %5igure 2<A'. The Width and .eight fields under either Scale or 2mage si3e change as you enter )alues in the $eft( 4ight( Top( and /ottom fields( depending on which option( 8eep scale( or 8eep image si2e( is selected. The original image si2e is indicated abo)e the ;riginal $i5e button. The bitmap image density is shown alongside this dimension.
:##
Cesi5ing an image
To perfectly fit the image into your document( you may ha)e to resi2e it. There are a number of options a)ailable in 7riter to do this. * @uic+ and easy way to resi2e is by dragging the imageFs si2ing handles& 1' Clic+ the image( if necessary( to show the green si2ing handles. 2' #osition the pointer o)er one of the green si2ing handles. The pointer changes shape gi)ing a graphical representation of the direction of the resi2ing. 3' Clic+ and drag to resi2e the image. >' 4elease the mouse button when satisfied with the new si2e. The corner handles resi2e both the width and the height of the graphic obJect simultaneously( while the other four handles only resi2e one dimension at a time.
&ip
To retain the original proportions of the graphic( Shift9clic7 one of the corner handles( then drag.
5igure 2<< shows three eCamples of an image inserted into a document and resi2ed. 5or more accurate resi2ing of images( use either the Crop page of the #icture dialog %5igure 2<>' or( the &ype page of the #icture dialog. =n the Crop page you can adJust the following settings.
$cale !idth and 8eight& specify in percentages the scaling of the image. The si2e of the
image changes accordingly. 5or a symmetrical resi2ing( both )alues need to be identical.
mage si5e& specify the si2e of the image in your preferred unit of measurement. The image enlarges or shrin+s accordingly. si2e resulting after any cropping was carried out.
;riginal si5e button& when clic+ed( restores the image to its original si2e. This will be the
=n the &ype page of the #icture dialog( select the Celative option to toggle between percentage and actual dimension. 5or a symmetrical resi2ing( select the 6eep ratio option. Clic+ing on the ;riginal $i5e button restores the original image si2e( the scale dimensions are altered if the image has been cropped.
:#%
)igure :&& +hree e-amples of resi3ed images@ plus the original image
Cotating an image
7riter does not pro)ide a tool for rotating an imageV howe)er( there is a simple wor+around& 1' =pen a new Draw or 2mpress document %File 9 >ew 9 4rawing or File 9 >ew 9 Presentation'. 2' Gnsert the image you want to rotate. You can use any of the mechanisms described in T*dding images to a documentU on page 23E( although there are some slight )ariations in the position of the menu entries and icons. 3' -elect the image( then in the .rawing toolbar %shown by default at the bottom of the window in Gmpress and .raw'( select the Cotate icon from the -ffects tear9off toolbar
. >' 4otate the image as desired. "se the red handles at the corners of the image and mo)e the mouse in the direction you wish to rotate. /y default the image rotates around its center %indicated by a blac+ cross9hair'( but you can change the pi)ot point by mo)ing the blac+ cross9hair to the desired rotation center.
&ip
To restrict the rotation angle to multiples of 1A degrees +eep the Shift +ey pressed while rotating the image.
A' -elect the rotated image by pressing 8trl9/( then copy the image to the clipboard with 8trl98. <' 5inish by going bac+ to the location of the 7riter document where the image is to be inserted and pressing 8trl9?.
:#&
;ther settings
The #icture dialog %5igure 2<>' consists of eight pages. The Crop page was described on page 2>>( while the use of the Type and the 7rap pages is eCplained in T#ositioning graphics within the teCtU on page 2A0. The other pages ser)e the following purposes&
;ptions& use this page to gi)e the image a descripti)e name %as you want it to appear in
the !a)igator'( display alternati)e teCt when the mouse ho)ers o)er the image in a web browser when the image is not a)ailable( and protect some of the image settings from accidental changes. You can also pre)ent the image from being printed by deselecting the corresponding option.
3orders& use this page to create borders around the image. The /orders dialog is the
same as the one used for defining table or paragraph borders. You can also add a shadow to the image if so desired.
3ackground& use this page to change the bac+ground color of the image. This setting
produces the desired results only for images with a transparent color.
8yperlink& use this page to associate a hyperlin+ to the image. You can also create an
image map so that only certain areas of the image respond to a mouse clic+ by opening the associated "4G %"niform 4esource Gdentifier' in the default browser. 0ore information on image maps can be found in the 2mpress Guide.
Picture& use this page to flip the image as well as to display the original location of the file
in case the image is lin+ed rather than embedded.
/acro& allows you to associate a macro to the image. You can choose among the
predefined macros or write your own.
4eleting an image
To delete an image& 1' Clic+ on the image to show the green resi2ing handles. 2' #ress 4elete.
You cannot include images in a group with drawing obJects( so they may get out of
alignment in your document.
Gf you con)ert a 7riter document to another format( such as 6T0$( the drawing obJects and
the graphics will not remain associatedV they are sa)ed separately. Gn general( if you need to create compleC drawings( it is recommended to use $ibre=ffice .raw( which includes many more features such as layers( styles( and so on.
:#'
1 # % )
+ ( " 0
9 1* 11 1#
1% 1) 1+ 1( 1"
)igure :&' +he Drawing toolbar To use a drawing tool& 1' Clic+ in the document where you want the drawing to be anchored. You can change the anchor later( if necessary. 2' -elect the tool from the .rawing toolbar %5igure 2<E'. The mouse pointer changes to a drawing9functions pointer . 3' 0o)e the cross9hair pointer to the place in the document where you want the graphic to appear and then clic+9and9drag to create the drawing obJect. 4elease the mouse button. The selected drawing function remains acti)e( so you can draw another obJect of the same type. >' To cancel the selected drawing function( press the ,sc +ey or clic+ on the $elect icon %the arrow' on the .rawing toolbar. A' You can now change the properties %fill color( line type and weight( anchoring( and others' of the drawing obJect using either the .rawing =bJect #roperties toolbar %5igure 2<B' or the choices and dialog reached by right9clic+ing on the drawing obJect.
:#(
)igure :&( Drawing ObIect Properties toolbar To change the properties for an eCisting drawing obJect& 1' -elect the obJect. 2' Continue as described abo)e. You can also specify the position and si2e( rotation( and slant and corner radius properties of the drawing obJect& 1' 4ight9clic+ on the drawing obJect and then clic+ Position and $i5e from the conteCt menu. The Position and Si3e dialog is displayed. 2' Choose any properties( as re@uired.
>ote
You cannot include an embedded or lin+ed graphic in a group with drawing obJects.
:#=
/nchoring refers to the reference point for the graphics. This point could be the page( or
frame where the obJect is( a paragraph( or e)en a character. *n image always has an anchor point.
+e-t wrapping refers to the relation of graphics to the surrounding teCt( which may wrap
around the graphic on one or both sides( be o)erprinted behind or in front of the graphic( or treat the graphic as a separate paragraph or character. The settings can be accessed in a number of ways( depending on the nature of the graphics& 1' 5rom the Format menu( where you can find Alignment( Arrange( !rap, and Anchor %both for images and drawing obJects'. 2' 5rom the conteCt menu displayed when you right9clic+ on the graphic. 3' 5rom the =$3 =bJect toolbar shown in 5igure 2<D. >' 5or images( from the +ype and Wrapping pages of the #icture dialog. !ote that you cannot control the arrangement using the dialog. To open the #icture dialog( clic+ on the image to select it and then choose Format 9 Picture or right9clic+ on the graphic and choose Picture on the conteCt menu. A' 5or drawing obJects( from the Position and Si3e page of the #osition and -i2e dialog. To open the #osition and -i2e dialog( clic+ on the drawing obJect to select it and then choose Format 9 ;bDect 9 Position and $i5e or right9clic+ on the graphic and choose Position and $i5e on the conteCt menu. !ote that you can only control the alignment and anchoring.
1 *pply -tyle # 7rap =ff % #age 7rap ) 7rap Through + *lign $eft
11 /orders 1# $ine -tyle 1% $ine Color %of the border' 1) /ac+ground Color 1+ 5rame #roperties
1( /ring to 5ront 1" -end to /ac+ 10 Change *nchor 19 $in+ 5rames #* "nlin+ 5rames
:%$
Arranging graphics
*rranging a graphic obJect means to determine its )ertical position relati)e to other graphic obJects or teCt. *rranging is only rele)ant when obJects are o)erlapping. You can choose between four common settings( plus a fifth special setting for drawing obJects& 3ring to Front #laces the graphic on top of any other graphics or teCt. 3ring Forward /rings the graphic one le)el up in the stac+ %29aCis'. .epending on the number of o)erlapping obJects( you may need to apply this option se)eral times to obtain the desired result. $end 3ackward The opposite of /ring 5orwardV sends the selected graphic one le)el down in the obJect stac+. $end to 3ack -ends the selected graphic to the bottom of the stac+( so that other graphics and teCt co)er it. &o 3ackground F &o Foreground =nly a)ailable for drawing obJectsV mo)es the drawing obJect behind or in front of the teCt respecti)ely.
Anchoring graphics
You can anchor graphics as a character or to a page( paragraph( or character. You can also place graphics in a frame and anchor the frame to a page( paragraph( or character. 7hich method you choose depends on what you are trying to achie)e. 6ere are the ways you can anchor graphics or drawing obJects& &o Page The graphic +eeps the same position in relation to the page margins. Gt does not mo)e as you add or delete teCt or other graphics. This method is useful when the graphic does not need to be )isually associated with a particular piece of teCt. Gt is often used when producing newsletters or other documents that are )ery layout intensi)e( or for placing logos in letterheads.
Caution
Gf you plan to use a document within a master document( do not anchor graphics &o Page because the graphics will disappear from the master document. -ee Chapter 13( 7or+ing with 0aster .ocuments( for more information.
&o Paragraph The graphic is associated with a paragraph and mo)es with the paragraph. Gt may be placed in the margin or another location. This method is useful as an alternati)e to a table for placing icons beside paragraphs. &o Character The graphic is associated with a character but is not in the teCt se@uence. Gt mo)es with the paragraph but may be placed in the margin or another location. This method is similar to anchoring to a paragraph but cannot be used with drawing obJects. As Character The graphic is placed in the document li+e any other character and( therefore( affects the height of the teCt line and the line brea+. The graphic mo)es with the paragraph as you add or
:%*
delete teCt before the paragraph. This method is useful for +eeping screen9shots in se@uence in a procedure %by anchoring them as a character in a blan+ paragraph' or for adding a small %inline' icon in se@uence in a sentence. &o Frame Gf the graphic has been placed in a frame( you can anchor the graphic in a fiCed position inside the frame. The frame can then be anchored to the page( a paragraph( or a character( as re@uired.
Aligning graphics
=nce you ha)e established the anchor point of the graphic( you can decide the position of the graphic relati)e to this anchor& this is called aligning the graphics. Choose from siC options& three for aligning the graphic hori2ontally %left( center( right' and three for aligning the graphic )ertically %top( center( bottom'. 6ori2ontal alignment is not a)ailable for images anchored *s Character. 5or finer control of the alignment( use the #osition options on the Type page of the #icture dialog( shown in 5igure 2E0.
)igure :'$ )ine tuning the alignment 5or both the hori2ontal and )ertical position( start by pic+ing the reference point in the right hand side drop9down menu( then select in the first drop9down menu among :eft( Cight or Center. Gf you select the )alue From left %or From top for the )ertical positioning' you can specify the amount in your selected unit of measurement. Gn the eCample in 5igure 2E0( the upper9left corner of the image will be placed at 3 cm from the left margin of the page hori2ontally and on the top margin )ertically. * )isual representation of the area to which the image is anchored is shown in the pre)iew pane to the right of the page( indicated by a red bordered area. The graphic position is indicated by a green bordered area.
:%:
!rap &hrough -uperimposes the image on the teCt. That is( the image is in front of the teCt. This option must be used in conJunction with the image9transparency setting in order to ma+e the teCt under the picture )isible. n 3ackground -imilar to !rap &hrough( but the image is placed below the teCt so there may be no need to change the transparency to ma+e the teCt )isible.
>ote
The >o !rap option found in the conteCt menu of a picture is e@ui)alent to the !rap ;ff menu item in the Format 9 !rap menu.
The wrap format is normally selected after the anchoring and the alignment of the picture ha)e been decided. To set the position of an image to the desired wrap format( follow these steps& 1' -elect a graphic by clic+ing on it. 2' 4ight9clic+ to display the conteCt menu and mo)e the mouse pointer to !rap to display the a)ailable wrap formats. *lternati)ely you can select Format 9 !rap from the menu bar. 3' -elect the desired wrap format.
>ote
7hen anchoring a graphic as character( you can only adJust the distance between the image and the teCt( but no wrapping option is displayed.
To fine9tune the wrapping options( open the #icture dialog and select the 7rap page( shown in 5igure 2E1.
)igure :'* +he advanced wrap format options 5or images( you can open this dialog by selecting Format 9 Picture from the menu bar or right9 clic+ and select Picture from the conteCt menu. 5or drawing obJects( you can access the !rap page by selecting Format 9 !rap 9 -dit in the menu bar or right9clic+ and select !rap 9 -dit from the conteCt menu. This page is di)ided into three sections. Gn the top part you can select from the wrap types mentioned abo)e( plus two additional wrap formats that pre)ent the teCt from filling the area to the
:%3
left %After' or to the right %3efore' of the picture. "se the Spacing section of the page to adJust the spacing between the image and the teCt. The contents of the Options section of the page may change depending on the selected wrap format. First paragraph Chec+ this boC if you want $ibre=ffice to start a new paragraph after the image e)en if it could still wrap around the image. n background This option becomes a)ailable if &hrough !rap is selectedV it mo)es the image to the bac+ground. Contour 7raps the teCt around a custom contour rather than around the edge of the picture. This option is only a)ailable for #age or =ptimal #age 7rap. ;utside only 5orces the teCt to wrap on the outside of the image( e)en if the contour contains open areas within the shape.
)igure :': +he 8ontour ,ditor in action with /uto8ontour There are four tools a)ailable to create a contour in the Contour 3ditor window& Cectangle( -llipse( Polygon( and AutoContour. -ome familiarity with drawing tools is re@uired to create compleC contoursV howe)er( in most circumstances there is no need for high accuracy. 5igure 2E2 shows the actual contour used for T3Cample 2& simple contour wrapping in actionU when using *utoContour( and as you can see the shape of the line around the edge of the apple is @uite acceptable.
:%# LibreOffice #.$ Writer Guide
7hen you are done( clic+ on the Apply button to sa)e the contour. Gf you are not satisfied with the result( you can select the contour line and press the Delete +ey to restart( or clic+ the 7or+space icon and then clic+ inside the contour. You can also undo the pre)ious steps or you can select the -dit Points button and adJust the contour shape point by point. /e aware that any of the graphic outside the contour line is not shown in the document. 5or simple images( the AutoContour button does a decent Job. Gf the contour has to be drawn around an area with the same or a similar color( you can select this region using the eyedropper. -elect this tool( then clic+ on a point in the image ha)ing the desired color. $ibre=ffice automatically selects all the points which ha)e the same or a similar color. The similarity le)el can be changed by modifying the )alue in the tolerance boC %100k j perfect match'.
>ote
7hile all the positioning techni@ues discussed in this section apply e@ually to frames( contour wrapping is not possible.
Exa#ple 64 pa e wrappin
5igure 2E3 shows an eCample of page wrapping in action.
To achie)e this& 1' Gnsert the image into the document( then anchor it to the paragraph of your choice. To mo)e the anchor( select the image or the anchor( and mo)e it until the anchor symbol is at the beginning of the chosen paragraph. 2' *lign the image so that the left margin of the image is where you want it to be. This can be done with the mouse or using the ad)anced settings. The tas+bar shows the location of the upper left corner and the image si2e. 3' Change the wrap to #age 7rap. 7e now wish to increase the space between the image and the teCt. To do this( access the 7rap page of the #icture dialog and set the gap between the image and teCt to 0.1U in all the boCes. >' The last touch is to change the position so that the image has our chosen number of lines of the paragraph abo)e it. *gain( you can use the mouse to drag the image or use the ad)anced settings( which re@uire a bit of trial and error. 0o)ing with the mouse is the simplest method.
:%%
5igure 2E>& Gmage and drawing obJects with contour wrapping >' "se the techni@ue discussed in T3diting the contourU on page 2A> to create a custom contour and clic+ Apply. Gf needed( adJust the spacing between the edge of the image and the teCt using the 7rap page of the #icture dialog. A' Gnsert an *uto-hape of your choice %a triangle in the eCample' and proceed as in step 2 abo)e. <' 3nable the contour wrap by selecting Format 9 !rap 9 Contour from the menu bar. *s discussed pre)iously( $ibre=ffice automatically generates the contour. You may need to adJust the distance between the drawing obJect and the teCt using Format 9 !rap 9 -dit.
)igure :'% +ransparent image added over the te-t You can obtain a better result if you set a graphicFs wrap to 2n Jac7ground. 7ith this selection all the teCt will be clearly readable( with all characters ha)ing the same intensity( as long as the bac+ground is not too dar+. You may still need to adJust the transparency of the image.
>ote
:%'
&ip
* common se@uence nameQ5igureQis not one of the names pro)ided& X>one9( 4rawing( llustration( &able( and &e't. Gf you want the name T5igureU or any other custom name for your graphics( do the following& 1' =pen the ;ptions G :ibre;ffice !riter G AutoCaption dialog( as described abo)e. 2' Gn the /dd captions automatically when inserting section( select :ibre;ffice !riter Picture. This acti)ates the Caption area in the dialog for pictures %graphics'. 3' "nder the 8ategory drop9down list( enter the name that you want added %say( -ig're'( by o)erwriting any se@uence name in the list. %=)erwriting a term does not delete it from the drop9down list.' You can also set some options for the number style and for a separator between the name and the number( if desired. Clic+ ;6 to sa)e the changes.
1' Gnsert the graphic( then either right9clic+ it and select Caption from the conteCt menu( or select it and choose nsert 9 Caption from the 0enu bar. 2' "nder Properties on the Caption dialog %5igure 2E<'( ma+e your selections for the 8ategory( Dumbering( and Separator fields % llustration( Arabic A1 # %B( and a colon %:'( respecti)ely( for the eCample in 5igure 2E< and type your caption teCt in the 8aption teCt boC at the top. 7hate)er teCt you enter for the caption appears in the boC at the bottom( after the se@uence name( number( and separator. 3' Clic+ ;6. The graphic and its caption are placed in a frame( as shown in 5igure 2EE.
&ip
Gn the Category boC( you can type any name you want( for eCample )igure. $ibre=ffice will create a numbering se@uence using that name.
:%(
Illustration 1. An example
)igure :'' /n e-ample of a graphic and its caption contained in a frame. +he outer bo- shows the edge of the frameH this border is normally set to be invisible.
&ip
You may wish to adJust the spacing abo)e and below the caption teCt to fine9tune the appearance of the picture and its caption.
#lace the graphic and its caption in separate paragraphs. "se a table. 0lace t!e rap!ic and its caption in separate para rap!s
Gnsert the graphic and anchor it to its paragraph as a character. #ress ,nter to create a new paragraph for the caption. 1' Gn the caption paragraph( type( for eCample( -ig're and add a space. 2' To insert the figure number automatically( clic+ nsert 9 Fields 9 ;ther %8ontrol 9 ):' and select the Pariables tab. 3' -elect >umber range in the +ype list. -elect Figure in the -election list and choose( for eCample( Arabic A1 # %B in the 5ormat drop9down list. Clic+ the nsert button. >' * number will appear after the word T5igureU in the caption. !ow( type the teCt of the caption.
:%=
Gf you are manually adding captions to a lot of figures using this method( you might want to ma+e an *utoTeCt entry containing( for eCample( -ig're and a space( the figure9number field( and an optional separator and a space after it.
&ips
To ensure the picture and its caption stay together on the page( create a new paragraph style( for eCample 5igure& if the picture is going abo)e the caption( define the teCt flow of the 5igure paragraph style as 6eep with ne't paragraph and the neCt style as Caption. Con)ersely( if the caption is going abo)e( define the Caption paragraph style as 6eep with ne't paragraph and the neCt style as Figure.
.se a table
Create a one9column( two9row table. #lace the picture in one row and type the caption in the other rowQor use two or more rows for the caption and other teCt. This method can be especially useful for pictures with numbered legends( such as 5igure 2<D in this chapter.
:&$
To use the image map editor& 1' Gn your $ibre=ffice document( select the image where you want to define the hotspots. 2' Choose -dit 9 mage/ap from the menu bar. The Gmage0ap 3ditor %5igure 2EB' opens. 3' "se the tools and fields in the dialog %described on the neCt page' to define the hotspots and lin+s necessary. >' Clic+ the Apply icon to apply the settings.
A' 7hen done( clic+ the $ave icon to sa)e the image map to a file( then clic+ the M in the upper right corner to close the dialog. The main part of the dialog shows the image on which the hotspots are defined. * hotspot is identified by a line indicating its shape. The toolbar at the top of the dialog contains the following tools&
Apply button& clic+ this button to apply the changes. ;pen, $ave, and $elect icons. Tools for drawing a hotspot shape& these tools wor+ in eCactly the same way as the
corresponding tools in the .rawing toolbar.
-dit( /ove( nsert( 4elete Points& ad)anced editing tools to manipulate the shape of a
polygon hotspot. -elect the 3dit #oints tool to acti)ate the other tools.
Active icon& toggles the status of a selected hotspot between acti)e and inacti)e. /acro& associates a macro with the hotspot instead of Just associating a hyperlin+. Properties& sets the hyperlin+ properties and adds the !ame attribute to the hyperlin+.
/elow the toolbar( specify for the selected hotspot&
Address: the address pointed by the hyperlin+. You can also point to an anchor in a
documentV to do this( write the address in this format& file:///<path>/document_name#anchor_name
&e't& type the teCt that you want to be displayed when the mouse pointer is mo)ed o)er the
hotspot.
Frame: where the target of the hyperlin+ will open& pic+ among Kblan+ %opens in a new
browser window'( Kself %opens in the acti)e browser window'( Ktop or Kparent.
The )alue Kself for the target frame will wor+ Just fine in the )ast maJority of occasions. Gt is therefore not recommended to use the other choices unless absolutely necessary.
&ip
:&*
/ethod 1 %selecting a file' 1' =pen the allery and select the theme where you want to add images. %You can also create a new theme for your imagesV see page 2<3.' 2' 4ight9clic+ on the desired theme and select Properties in the conteCt menu. This displays a dialog( into which the files from which the selection will be made( are added.
allery
3' =n the )iles page( clic+ the Find Files button. The -elect path dialog %not shown' opens which allows you to reach the folder containing the files of interest. >' You can enter the path for the folderFs directory in the Path teCt boC( or you can na)igate to locate the folderFs directory. A' Clic+ the $elect button to start the search. -ubfolders are included in the search. * list of graphic files is then displayed in the #roperties window. You can use the )ile type filter to limit the files displayed. <' To add all of the files shown in the list( clic+ Add All. =therwise( select the files to add and then clic+ Add. %6old down either the Shift +ey or the 8ontrol +ey when you clic+ on multiple files.'
>ote
You may need to import some graphics or create your own on your computer if the eCisting files are insufficient for your needs.
/ethod # %drag and drop' You can drag and drop an image into the allery from a document. 1' =pen the document containing an image you want to add to the allery( and display the allery theme to which you want to add it. 2' #osition the mouse pointer abo)e the image( without clic+ing. 3' Gf the mouse pointer changes to a hand symbol( the image refers to a hyperlin+. Gn this case( press the /lt +ey while you clic+ the image( to select it without acti)ating the lin+. Gf the mouse pointer does not change to a hand symbol( you can simply clic+ the image to select it. >' =nce the image is selected( e)ident from the colored selection handles around it( release the mouse button. Clic+ again on the image( +eeping the mouse button pressed for more than two seconds before mo)ing the mouse . 7ithout releasing the mouse button( drag the image into the allery. A' 4elease the mouse button.
:&:
2' Clic+ 4elete on the conteCt menu. * message appears( as+ing if you want to delete this obJect. Clic+ Jes.
>ote
.eleting the name of a file from the list in the allery does not delete the file from the hard dis+ or other location. This includes the drag9drop folder in the allery.
)igure :($ +heme showing files inserted with drag"and"drop and by reference Gn a wor+group situation( you may ha)e access to a shared allery %where you cannot change the contents unless authori2ed to do so' and a user allery( where you can add( change( or delete obJects. The location of the user allery is specified in &ools 9 ;ptions 9 :ibre;ffice 9 Paths. You can change this location( and you can copy your gallery files %SDV' to other computers. allery contents pro)ided with $ibre=ffice are stored in a different location. You cannot change this location.
:&3
:ibre:ogo scripting
$ibre$ogo is an embedded )ector graphics language that pro)ides a simple( nati)e( $ogo9li+e programming en)ironment with turtle )ector graphics for the teaching of computing %programming and word processing'( des+top publishing %.T#'( and graphic design.
:ogo toolbar
.isplay the $ogo toolbar by selecting =iew 9 &oolbars 9 :ogo from the 0enu bar.
To start using the program( open a new blan+ document and clic+ the $tart button %A' on the toolbar. This sets the turtle( 5igure 2B1( to the center of the page. You may find it useful to adJust the page 2oom le)el so you can )iew the whole page.
)igure :(* +he graphical turtle The turtle has three attributes& 1' * location 2' *n orientation 3' * pen( itself ha)ing attributes such as color( width( and up and down. The turtle mo)es with commands that are relati)e to its own position( such as Rmo)e forward 10 spacesR and Rturn left D0 degreesR. The pen carried by the turtle can also be controlled( by enabling it( setting its color( or setting its width.
&he basics
Clic+ on the buttons 1 > to see the effects of these controls on the turtle. Clic+ the 8ome button %E' to return the turtle to its default settings and position in the center of the page. The Clear screen button %B' deletes all drawings from the page. The command teCt input boC allows you to enter command strings before pressing the ,nter +ey so that a se@uence of commands can be eCecuted at the same time.
:&#
5or eCample( entering the se@uence circle 10c" fillc!l!r .#l'e. penc!l!r .red. pensi/e 0 circle 5c" f!r1ard 000 rig(t 23 circle 50 into the command line and then pressing ,nter results in the following graphic&
)igure :(: Sample graphic from command line !ote that the graphic is anchored +o Page( and that the turtle attributes follow the setting for the line( in this instance fillcolor WblueWV pencolor WredWV linesi2e 2. You can also write your program on the page instead of entering it into the command line( allowing a larger and more compleC set of instructions to be built. Gn this case( clic+ing the -tart $ogo program button runs the script on the page. The teCt can be deleted from the page after completing the program to Just lea)e the graphic. The distance units are typographic points unless eCpressly defined as standard units such as inch or centimeters %E2 pt j 1 in j 2.A> cm'. -ee the 8elp for comprehensi)e information about $ibre$ogo. $ibre$ogo eCamples can be found on http&//eCtensions.libreoffice.org/eCtension9center/librelogo
:&%
ntroduction
Tables are a useful way to organi2e and present large amounts of information( for eCample&
Technical( financial( or statistical reports. #roduct catalogs showing descriptions( prices( characteristics( and photographs of
products.
/ills or in)oices. $ists of names with address( age( profession( and other information.
Tables can often be used as an alternati)e to spreadsheets to organi2e materials. * well9designed table can help readers understand better what you are saying. 7hile you would normally use tables for teCt or numbers( you could put other obJects( such as pictures( in cells. Tables can also be used as a page9layout tool to position teCt in areas of a document instead of using se)eral +ab characters. 5or eCample( the descriptions under 5igure 2DA were created in a table with in)isible borders. *nother( perhaps better( eCample would be in headers and footers to support independent positioning of different elements( such as page number( document title etc. This use of tables is described in Chapter >( 5ormatting #ages.
Creating a table
/efore you insert a table into a document( it helps to ha)e an idea of the )isual result you want to obtain as well as an estimate of the number of rows and columns re@uired. 3)ery parameter can be changed at a later stageV howe)er( thin+ing ahead can sa)e a large amount of time as changes to fully formatted tables often re@uire a significant effort.
5rom the 0enu bar( choose nsert 9 &able. 5rom the 0enu bar( choose &able 9 nsert 9 &able. #ress 8trl9)*:. =n the -tandard toolbar( clic+ the left side of the split &able button
To directly insert a table with the default properties( clic+ on the arrow button neCt to the Table icon on the -tandard toolbar. * graphic appears where you can choose the si2e of the table %up to fifteen rows and up to ten columns'. To create the table( clic+ on the cell that you want to be on the last row of the last column. 6olding down the mouse button o)er the Table icon will also display the graphic.
&ip
Gn the Gnsert Table dialog( you can specify the properties for the new table. General settings& Gn the Label boC( you can enter a different name from the $ibre=ffice9generated default for the table. This might come in handy when using the !a)igator to @uic+ly Jump to a table. Gn the 8olumns and 6ows boCes( specify the number of columns and rows for the new table. You can change the si2e of the table later( if necessary.
:&(
)igure :(3 2nserting a new table using the 2nsert +able dialog "nder Options( set up the initial table characteristics. -electing the options in this section of the dialog produces the following results&
8eading -electing this enables a heading to be used in the table and enables further
options for the heading. .efines the number of rows in the table to be used as headings. The default +able .eading paragraph style is applied to the heading rows. You can edit the $ibre=ffice9predefined +able .eading paragraph style in the -tyles and 5ormatting window to change these default settings %centered( bold( and italic teCt'. 7hen splitting a table into two tables( the 6eading rows can be copied into the second table. Cepeat 8eading Cows on new pages -election enables the heading rows of the table to be repeated at the top of subse@uent pages if the table spans more than one page. 8eading Cows -pecifies the number of rows to be used for the heading. .efault is 1. 4onNt split table over pages #re)ents the table from spanning more than one page. This can be useful if the table starts near the end of a page( and would loo+ better if it were completely located on the following page. Gf the table becomes longer than would fit on one page( you will need to either deselect this option or manually split the table. deleted later. The AutoFormat button opens a dialog from which you can select one of the many predefined table layouts. -ee T*utomatic formatting of tablesU on page 2B< for more information. *fter ma+ing your choices( clic+ ;6. 7riter creates a table as wide as the teCt area %from the left page margin to the right page margin'( with all columns the same width and all rows the same height. You can then adJust the columns and rows later to suit your needs.
3order -urrounds each cell of the table with a border. This border can be modified or
:&=
>ote
This function can be disabled or enabled in &ools 9 AutoCorrect ;ptions. =n the Options tab( deselect or select Create table.
:'$
The Separate te-t at part of the dialog has four options for the separator for the columns of teCt. -elect ;ther to choose the default comma %useful if you are importing a C-P file' or type any character in the boC. The other options in this dialog are the same as those in the dialog used to insert a table shown in 5igure 2B3.
Exa#ple
Gn this eCample we will con)ert the following teCt into a table. Cow 1 Column 1U Cow 1 Column #U Cow 1 Column % Cow # Column 1U Cow # Column #U Cow # Column % Choose &able 9 Convert 9 &e't to &able Gn this case( the separator between elements is a semicolon. /y selecting the teCt and applying the con)ersion( we obtain the following result. Cow 1 Column 1 Cow # Column 1 Cow 1 Column # Cow # Column # Cow 1 Column % Cow # Column %
!ote that( unli+e when creating a table with other mechanisms( the con)ersion from teCt to table preser)es the paragraph style and character style applied to the original teCt. You can also use the Convert menu to perform the opposite operationV that is( to transform a table into plain teCt. This may be useful when you want to eCport the table contents into a different program. To transform a table into teCt( place the cursor anywhere in the table( choose &able 9 Convert 9 &able to &e't in the 0enu bar( pic+ the preferred row separator( and clic+ ;6 to finish.
4efault parameters
Gf you create a table using the Gnsert Table dialog or the &able icon on the -tandard toolbar( the following defaults are set&
The cells use the +able 8ontents paragraph style( which( in the default template( is identical
to the Default paragraph style.
The default table occupies all the space from margin to margin %teCt area'. The default table has thin blac+ borders around each cell %grid'.
*dditionally( if you acti)ate the 8eading option( the cells in the heading row %or rows' use the +able .eading paragraph style. Gn the default template( the teCt is centered and set with a bold and italic font.
mo)e the mouse to either the left or right edge. 7hen the cursor changes shape into a double arrow( drag the border to the new position. This operation only changes the si2e of the first or last columnV it does not change the alignment of the table on the page. Gf you need more precise control o)er the si2e and position of the table on the page( open the Table 5ormat dialog by choosing &able 9 &able Properties or by right9clic+ing anywhere in the table and choosing &able from the conteCt menu. -elect the Table page of the dialog.
)igure :(& +he +able page of the +able )ormat dialog =n this page you can set the alignment of the table( choosing among the following options&
Automatic& the default setting for a table. :eft& aligns the table with the left margin. Cight& aligns the table with the right margin. From :eft& lets you specify under Spacing eCactly how far from the left margin the table is placed. is greater than the margin( the table will eCtend outside of the margins.
Center& aligns the table in the middle between the left and right margins. Gf the table width /anual& lets you specify the distances from both left and right margins under Spacing.
-electing an alignment option other than Automatic acti)ates the !idth field in the Properties section( where you can enter the desired si2e of the table. -elect Celative to see the width as percentage of the teCt area. Gn the Spacing section( use the Above and 3elow boCes to modify the separation between the teCt and the table. 7hen the si2e of the table is less than the si2e of the teCt area( $ibre=ffice will insert some )alues in the :eft and Cight boCes. You can change both :eft and Cight boC )alues if you select /anual alignment and you can change the :eft boC )alue when you select the From :eft alignmentV otherwise these )alues are not a)ailable. !ote that the sum of the table width( and the )alues in the :eft and Cight boCes( should not be greater than the width of the teCt area.
0o)e the mouse neCt to the edge of the cell and when a double9headed arrow appears(
clic+ and hold the left mouse button( drag the border to the desired position( and release the mouse button.
:':
=n the hori2ontal ruler( column di)iders are mar+ed by a pair of thin gray linesV the )ertical
ruler indicates row di)iders in the same way. You can resi2e a row or column by holding the mouse button down on the appropriate di)ider and dragging it to the desired location.
-elect Column !idth or Cow 8eight to enter a dimension into the si2e boC for each
selectable column or row of the table.
The ;ptimal Column !idth or ;ptimal Cow 8eight options ma+e the selected columns
or rows as narrow as possible while still fitting their contents.
4istribute ColumnsFCows -venly to @uic+ly bring them bac+ to all being the same width
or height. 5or greater control o)er the width of each column( use the 8olumns page of the Table 5ormat dialog.
)igure :(' +able )ormat dialog 8olumns page 4ight9clic+ on the table and choose &able from the pop9up menu or choose &able 9 &able Properties from the 0enu bar. =n the Table 5ormat dialog( select the 8olumns tab.
Adapt table width& Gf a table already stretches to the page margins( it cannot stretch any
wider and the /dapt table width option is not a)ailable. Gf the table is narrower( increasing the width of a column will increase the width of the whole table. Gf the table width already eCtends past the margins( with the /dapt table width option chec+ed( attempting to change a column width will automatically decrease that columns si2e so that the table will now shrin+ to the page margins while +eeping any other column si2es intact. AdDust columns proportionally results in all columns changing their widths by the same percentage when one is changed. 5or eCample( if you reduce by half the si2e of a column( the si2es of all the other columns will be hal)ed. the margins. This )alue cannot be edited and will not be negati)e in the e)ent that the table width is already larger than the space between the left and right margins.
Cemaining space shows how much further the table can eCpand before hitting the limit of "nder Column width( each indi)idual column can be adJusted. Gf you ha)e more than siC
columns( use the arrows at the right and left to )iew them all. 7ith no options selected( the column to the right of the one being adJusted will automatically adJust to +eep the table width constant. *dJusting the most right hand column causes the first column to adJust. 4ather than start from the +able )ormat dialog( it is often more efficient to ma+e rough adJustments to a new table using the mouse( and then fine tune the layout using the 8olumns page in conJunction with the +able page of the Table 5ormat dialog.
:'3
Gt is also possible to resi2e a table using only the +eyboard. This is sometimes easier than using the mouse. 1' #lace the cursor in the cell where you want to ma+e changes. 2' #ress and hold the /lt +ey while using the arrow +eys. a' The left and right arrow +eys adJust the column width by mo)ing the border on the right edge of the cell. b' The up and down arrows adJust the row height %when possible' by mo)ing the border on the lower edge of the cell. 3' #ress and hold the Shift9/lt +ey while using the left/right arrow +eys. *dJusts the column width by mo)ing the border on the left edge of the cell. To adJust the resi2ing parameters and beha)ior for +eyboard handling( choose &ools 9 ;ptions 9 :ibre;ffice !riter 9 &able. "se the 6ow and 8olumn )alues in the <ove cells section to determine the amount of change produced by a single +eystro+e while resi2ing. Gn the Jehavior of rows!columns section you can choose one of the following three strategies when resi2ing&
Fi'ed& select this if you want the resi2ing to affect only the adJacent cell and not the entire
table. The width of the table does not change when resi2ing its cells.
Fi'ed, proportional& when resi2ing a cell with this option selected( all the other cells are
also resi2ed proportionally( *lso in this case the width of the table remains constant.
=ariable& this is the default option. 4esi2ing a cell affects the table si2e. 5or eCample( when
you widen a cell( the width of the table increases.
>ote
:'#
You can also @uic+ly insert a row or a column using the +eyboard& 1' #lace the cursor in the row or column neCt to the row or column you want to insert. 2' #ress /lt92nsert to acti)ate +eyboard handling. 3' "se the arrow +eys as desired to add a row or column& :eft to insert a new column to the left of the cell where the cursor is located. Cight to insert a new column to the right of the cell where the cursor is. 4own to insert a new row below the cell where the cursor is. 2p to insert a new row abo)e the cell where the cursor is. The abo)e +eyboard techni@ue can also be used to delete rows or columns by replacing the /lt92nsert +eystro+e combination in -tep 2 with /lt9Delete.
Line arrangement specifies where the borders go. Gf a group of cells is selected( the border will be applied only to those cells. You can specify indi)idually the style of the border for the outside edges of the selected cells as well as for the the cell di)isions. 7riter pro)ides fi)e default arrangements but you can Just as easily clic+ on the line you want to customi2e in the 0ser"defined area to get eCactly what you want. 7hen multiple cells are selected( the "ser9defined area allows you to select the edges of the selection as well as the cell di)iders. /y clic+ing at the intersection of the lines( you can modify multiple borders simultaneously. 5or eCample( in 5igure 2BB the right edge and hori2ontal separators are modified with a single operation.
:'%
>ote
Line specifies what the border loo+s li+e& the style( width( and color. There are a number of
different styles and colors to choose from. -tyle( 7idth( and Color selections apply to those borders highlighted by a pair of blac+ arrows in the "ser9defined map on the left9hand side of the dialog.
Spacing to contents specifies how much space to lea)e between the border and the cell
contents. -paces can be specified to the left( right( abo)e( and below. Chec+ $ynchroni5e to ha)e the same spacing for all four sides. This spacing is li+e a padding and it is not factored in when calculating the teCt measurements.
Shadow style properties always apply to the whole table. * shadow has three components&
where it is( how far from the table it is cast( and what color it is.
Gf /erge adDacent line styles is chec+ed( two cells sharing a common border will ha)e
their borders merged( rather than being side by side.
To reset e)erything if you are ha)ing problems with borders( right9clic+ in the table and choose &able or choose &able 9 &able Properties from the 0enu bar. =n the Jorders tab( select the $et >o 3orders icon under Line arrangement& Default %the boC on the left'.
&ip
:'&
Gf you choose Cell( changes apply only to the selected cells( or the cell where the cursor
currently resides. 3)en when selecting a group of cells( the bac+ground settings are applied to each cell indi)idually.
Gf you choose Cow( changes affect the entire row where the cursor resides. Gf you choose &able( changes will set the bac+ground for the entire table( regardless of
the cursor position or selected cells. A' Gn the /s selection boC( choose whether the bac+ground is a color or a graphic. To apply a color( select the color and clic+ ;6. 4emember that you can add custom colors by choosing &ools 9 ;ptions 9 :ibre;ffice 9 Colors. To apply a graphic& a' 5irst select the graphic from your computerFs file system with the 3rowse button. %7riter supports a large number of graphics formats.'
:''
b'
c'
You can use the :ink option to lin+ the graphic file. Gf it is lin+ed( changes to the graphic %for eCample( if you edit it in a different software pac+age' are reflected in your document. 6owe)er( you also need to +eep the lin+ed graphic file with the document file. Gf( for eCample( you email the document without the graphic file( the graphic will no longer be )isible. "nder +ype( select the type of placement for the graphic.
d' e'
Gf you choose Position( you can select in the position map where the graphic will be displayed in the selected area. Gf you choose Area( the graphic is stretched to fill the whole area. Gf you choose &ile( the graphic is tiled %repeated hori2ontally and )ertically' to fill the area.
Gf the Preview option is chec+ed( the graphic displays in the pane on the right. To apply the graphic( clic+ ;6.
5igure 2D0 shows an eCample of a table set with a bac+ground image( and the first row bac+ground colored. *s you can see( the row bac+ground co)ers the table bac+ground.
)igure :=$ ,-ample of table with different row and table bac7grounds
>ote
Turning boundaries off does not hide the borders that the table may ha)e. You can also turn table boundaries on and off through &ools 9 ;ptions 9 :ibre;ffice 9 Appearance. =n that page( you can display or hide boundaries around teCt( pages headers and footers( figures( and other parts of a document.
&ip
/esides the paragraph and character styles( there are other aspects to consider when placing teCt in a table cell( such as teCt flow( alignment and orientation. You can format each cell independently of other cells( or you can simultaneously format a group of cells by selecting them before applying the desired formatting.
Gnsert a page or column brea+ either before or after the table. "se the +e-t )low& 3reak
option( combined with the Page or Column and the 3efore or After buttons. Gf you insert a page brea+ before the table %that is( start the table on a new page'( you can also change the page style that will go with it by chec+ing the !ith Page $tyle boC and selecting a new page style. *s with any page brea+( you can also reset the page numbers using the Page number boC.
8eep a table on one page by deselecting the Allow table to split across pages and
columns option. Gf this item is deselected( the neCt item is not acti)e.
8eep each row on one page by deselecting the Allow row to break across pages and
columns option.
"se the 6eep with ne't paragraph option to +eep the table and an immediately following
paragraph together if you insert a page brea+.
"se the Cepeat heading option( and its associated numbers boC( to select the number of
table heading rows that will be repeated on each page. * complicated table may need two or three heading rows to be easily read and understood.
"se the +e-t direction list to select the direction for the teCt in the cells. The most common
setting is :eft to right for 7estern languages.
The phrase 2se superordinate obDect settings means Tuse the formatting settings from the paragraph before the tableU.
>ote
:'=
-elect the )ertical alignment of the teCt in the table or the selected cellsV the choices are to
align with the top of the cell( the center of the cell( or the bottom of the cell. This alignment is in addition to the $eft94ight alignment options a)ailable on the Table page of the Table 5ormat dialog.
* table heading row can not span two pages( but any other row can. * one9row table %often used for page layout purposes'( if set up with the default of including a heading( will not brea+ across pages. The cure is to ma+e sure the table is defined without a heading row.
>ote
=ertical alignment
/y default( teCt entered into a table is aligned to the top9left of the cell. You can change the default for the entire table( as described abo)e( or for indi)idually selected cells. To )ertically align the teCt in specific cells&
#lace the cursor in the cell you wish to change( or clic+ and drag to select multiple cells. 4ight9clic+ in the selected area and choose Cell 9 Center( &op( or 3ottom from the
conteCt menu to )ertically align the teCt as desired.
>umber formats
The number format can be set for a whole table or group of cells. 5or eCample( cells can be set to display in a particular currency( to four decimal places( or in a particular date format. The !umber recognition option can be enabled under &ools 9 ;ptions 9 :ibre;ffice !riter 9 &able within the 2nput in +ables section. >umber recognition specifies that numbers in a teCt table are recogni2ed and formatted as numbers. Gf !umber recognition is not selected( numbers are sa)ed in teCt format and are automatically left9aligned. Gf >umber format recognition is not selected( only input in the format that has been set for the cell is accepted. *ny other input resets the format to +e-t. -elect the cells to format( then right9clic+ and choose >umber Format from the conteCt menu. The !umber 5ormat dialog opens for you to set options for )arious categories of numerical data.
Gn the 8ategory list( select the category you want( such as currency( date( or teCt. Gn the )ormat list( choose a format for the category you Just selected. 5or some categories( such as date( you may wish to change the language using the
Language list( while for other numerical categories you can use the Options section of the dialog to customi2e the appearance.
You will notice that $ibre=ffice displays the formatting code for the category and format selected in 5ormat Code section at the bottom of the dialog. 5or eCample( if you select a date format such as 31 .ec 1DDD the corresponding code is D MMM . *d)anced users can easily customi2e this formatting code as well as create new user9defined codes.
&ip
Alignment specifies that numbers are always bottom right aligned in the cell. Gf this field is not selected numbers are always top left aligned in the cell.
:($
>ote
.irect formatting is not influenced by the Alignment field. Gf you center align the cell content directly( it remains centered irrespecti)e of whether teCt or numbers are in)ol)ed.
-elect the teCt to be rotated and then choose Format 9 Character. =n the Position page( in the 6otation ! scaling section( choose the rotation angle and clic+
;6. 5igure 2D2 shows a sample table with rotated headings.
>ote
TeCt rotation within table cells can also be achie)ed with the use of paragraph styles( discussed in greater detail in Chapter E( 7or+ing with -tyles.
&ip
To enter a +ab character as part of the teCt of the cell( press the 8trl and +ab +eys at the same time.
To mo)e to the beginning of the table( press 8trl9.ome. Gf the acti)e cell is empty( the mo)e is to the beginning of the table. Gf the cell has content( the first press goes to the beginning of the cell and the neCt press goes to the beginning of the table %pressing again ta+es you to the beginning of the document'.
8hapter = Wor7ing with +ables :(*
To mo)e to the end of the table( press 8trl9,nd. Gf the acti)e cell is empty( the mo)e is to the end of the table. Gf the cell has content( the first press goes to the end of the cell and the neCt press goes to the end of the table %pressing again ta+es you to the end of the document'.
>ote
You ha)e to select all cells that might be affected by the sorting. 5or eCample( if you select only the cells of one column( the sort affects that column only( while the others remain unchanged. Gn such a case( you ris+ miCing the data of the rows.
&ip
5or eCample( suppose you had two numbers in cells Z/1Y and ZC2Y and wanted to display the sum of the two in cell Z*1Y( as shown in 5igure 2D3. .o the following& 1' Clic+ in cell Z*1Y and press the R +ey( or choose &able 9 Formula from the 0enu bar( or press ):. The 5ormula bar appears automatically( near the top of the screen. Gn the leftmost side of the bar( you can see the coordinates of the selected cell. 2' Clic+ in cell Z/1Y. The identifiers of this cell are automatically displayed in the 5ormula bar and inserted into cell Z*1Y.
:(:
)igure :=3 0sing spreadsheet functions in a table 3' #ress the 9 +ey. >' Clic+ on cell ZC2Y. You can see the final formula Y X319RXC#9 displayed both in the selected cell and in the =bJect bar. A' #ress the ,nter +ey( or clic+ the green tic+ %chec+ mar+' on the 5ormula /ar( to replace the formula in the cell with the result of the calculation.
&ip
To display a cellWs formula and ma+e it a)ailable for editing( choose &able 9 Formula from the 0enu bar( or press ):.
&ip
To display the list of the mathematical functions that you can use in a table& 1' .isplay the 5ormula toolbar by pressing ): or by selecting a blan+ cell and pressing the R 7ey. 2' Clic+ the Formula fA'B icon.
Gn our eCample( this gi)es the result 9 in the top left cell. 5or summing contiguous cells( you can simply select the cells in the row( column( or the rectangle of rows and columns. Thus( for eCample( to add a column of numbers( do this& 1' Type an e@uals sign j in an empty cell. 2' -elect the cells to be added togetherin this case the cells from *2 to *A. The formula should be something li+e YXA#:A+9. 3' #ress the ,nter +ey or clic+ the green tic+ %chec+ mar+' on the 5ormula /ar. >' The result appears in the cell you ha)e selected. 7hen using a function( you can enter the cells manually or by selecting them. Thus( to add up the four numbers that we added abo)e %*2( *3( *>( *A'( do this& 1' Type an e@uals sign R in an empty cell. 2' Type s'" or select it from the function list fA'B. 3' -elect the contiguous cells to be added together. The formula should be something li+e YsumXA#:A+9. >' #ress the ,nter +ey or clic+ the green tic+ %chec+ mar+' on the 5ormula /ar. A' The answer appears in the cell you ha)e selected.
Caution
"nli+e in Calc( when inserting or deleting rows or columns of the table( formulas are not updated automatically. Gf you plan to use compleC formulas you should consider embedding a Calc spreadsheet in your 7riter document.
:(3
>ote
To turn on cell protection& #lace the cursor in a cell or select cells. 4ight9clic+ to open the conteCt menu( then choose Cell 9 Protect. To tun off cell protection( do one of the following&
#lace the cursor in the cell or select the cells. 5irst( if necessary( choose &ools 9 ;ptions
9 :ibre;ffice !riter 9 Formatting Aids and mar+ Cursor in protected areas 9 -nable. Then right9clic+ the cell to open the conteCt menu and choose Cell 9 2nprotect.
-elect the table in the !a)igator( open the conteCt menu and select &able 9 2nprotect. "se Shift98trl9+ to remo)e protection for the entire current table or all selected tables.
Adding a caption
You can easily add a caption to any table. 7riter will +eep trac+ of all your captioned tables( automatically number them( and update any lin+s to them. To add a caption to a table& 1' #lace the cursor in the table. 2' 4ight9clic+ and choose Caption from the pop9up menu. *lternati)ely( the nsert 9 Caption menu option becomes a)ailable whene)er your cursor is inside a table cell. 3' 3nter the teCt for your caption( your category selection( the numbering style( separator( and position %abo)e or below the table'. >' Clic+ ;6.
=nce the category( numbering style( and separator are established in the Caption dialog( you can edit them in the document if you choose. 6owe)er( doing so may damage the automatic numbering and reference lin+s. Gf you need to establish the numbering and reference lin+ for the caption( you can choose to lea)e your caption blan+ in the Caption dialog and add it later.
>ote
7riter supplies fi)e category labels for captions& Z!oneY( .rawing( Table( Gllustration( and TeCt. You can also create your own category labels( formatting( and separators. 5or eCample( you might want your tables to be labeled as Fantasia( formatted with roman numerals( and using a period (.) as a separator( as follows& %antasia ,. 2nteresting data %antasia ,,. <ore interesting data %antasia ,,,. Get more interesting data To accomplish this& 1' =pen the Caption dialog following the instructions abo)e. 2' Gn the 8ategory field( select the teCt and type the word -antasia. 3' Gn the Dumbering drop9down list( select the Coman A B option.
:(# LibreOffice #.$ Writer Guide
>' Gn the Separator field( select the teCt and type a period %.' followed by a space.
>ote
7riter will use eCactly what you type into the Category and -eparator fields( so be sure to include any additional spaces or punctuation you want to see in your caption.
*dditional options for numbering captions by chapter are a)ailable under the Options button in the Captions dialog. -ome of these settings which refer to the outline le)el will only ha)e an effect if you are using outline le)el paragraph styles on the chapter headings within your document. -ee Chapter E. 7or+ing 7ith -tyles( for information. /y adding chapter numbers to your captions( $ibre=ffice will restart the caption numbering for each chapter it encounters. 5or eCample( if the last figure caption you create in chapter 1 is 5igure 1.1A( and the neCt figure caption you create is in chapter 2( the numbering will start o)er at 5igure 2.1. =ptions a)ailable to chapter numbering for captions include the following&
"se :evel to specify the outline le)els that triggers a restart of the numbering as well as
how many le)els of outline numbering are shown before the table number. *n eCample may be useful. -uppose your document uses 6eading 1 style for chapters and 6eading 2 style for sub9headings( and that this is how you set up your outline numbering. Gf you want all the tables in a chapter %that is( between two 6eading 1 paragraphs' to be numbered se@uentially independently of the sub9heading they are under( select 1 as $e)el. Gf instead you want to restart the numbering at each sub9heading select le)el 2.
"se the $eparator field to establish the separator between the chapter number and figure
number.
"se Character style to set a character style for the caption. This is useful if the separator
of your choice is not a symbol included in the default font type of your document or if you want the caption to ha)e a special color( si2e and so on.
The Apply border and shadow option does not apply to table captions. $ibre=ffice
normally wraps the obJects you can add a caption to in a frame( but not for tables.
"se Caption order to specify whether you want the category or numbering to appear first
in the caption. *ll of the features described abo)e can also be set up to automatically apply to any new tables you create in your document. To automatically caption all your tables& 1' #lace the cursor in a table. 2' 4ight9clic+ and choose Caption 9 AutoCaption from the pop9up menu. 3' -elect :ibre;ffice !riter &able and select the settings you want and clic+ ;6. This dialog is co)ered in more detail in Chapter 2( -etting up 7riter. 7hen *utoCaption is enabled for tables( any new tables will be captioned according to your selections in the *utoCaption dialogV howe)er( you will need to add the specific teCt for each caption onto the table manually.
Cross.referencing a table
You can insert a cross9reference to a captioned table. Clic+ing on the cross9reference ta+es the reader directly to the table. 1' #osition the cursor where you want the cross reference. 2' Choose nsert 9 Cross.reference from the 0enu bar. 3' -et the +ype to Table %or whate)er you chose as the category'. * list of captioned tables will be shown in the Selection panelV select the one you want to reference.
:(%
>' Gn the )ormat pane( choose how the cross reference will appear. Page creates a reference of the page number that the caption appears on. Chapter places a reference to the chapter number in which the caption appears. This will only produce an empty space unless you ha)e set up your chapter headings with outline le)el paragraph styles. Ceference inserts the entire captionFs category( number and caption teCt as a reference. AboveF3elow inserts Tabo)eU or TbelowU depending on whether the table appears abo)e or below the cross9reference. As Page $tyle creates a reference to the page number that the caption appears on using the page style format. Category and >umber creates a cross9reference with only the captionFs category and numberV for eCample( &able 1 for the first table. Caption &e't creates the reference using the caption teCt( lea)ing off the category and number. >umbering inserts only the number of the caption. A' Clic+ nsert to add the cross9reference and clic+ Close to eCit the dialog.
)igure :=# +he table /uto)ormat dialog -elect from the list on the left the 5ormat most suitable for your table and clic+ ;6 to apply it. Clic+ing the /ore button opens another section of the dialog where you can rename the selected table format scheme as well as decide which parts of the predefined formatting you want to apply to your table. You can selecti)ely apply the number format( the font( the alignment( the border( or the pattern.
:(&
>ote
You cannot rename or delete the 4efault format. 5igure 2D> shows that with 4efault selected( the Cename and 4elete buttons are not a)ailable.
To create your own *uto5ormat( proceed as follows& 1' Create a table and manually format it as you wish( including borders( spacing of teCt from the top and bottom borders( fonts to be used in the table heading and data cells( and bac+ground colors. 2' #osition the cursor anywhere in the table and then clic+ &able 9 AutoFormat. 3' =n the *uto5ormat dialog( clic+ Add and gi)e the table format a name in the *dd *uto5ormat dialog and clic+ ;6. >' The newly named *uto5ormat now appears as an a)ailable format. Clic+ ;6 to close the *uto5ormat dialog. Table *uto5ormats record the following table9le)el properties&
/rea+ 8eep with neCt paragraph 4epeat heading *llow table to split across pages *llow rows to brea+ across pages 0erge adJacent line styles Table shadow
This techni@ue does not include table and column widths in the table format. To insert a table with predefined full formatting( sa)e it as *utoTeCt. -ee T"sing *utoTeCtU in Chapter 3( 7or+ing with TeCt( for instructions.
&ip
Caution
*utoformats are not easily remo)ed. You can change to a different autoformat( but it ta+es 2ndo to get bac+ to the original table.
:('
To split a table& 1' #lace the cursor in a cell that will be in the top row of the second table after the split %the table splits immediately abo)e the cursor'. 2' 4ight9clic+ and choose $plit &able in the conteCt menu. You can also use &able 9 $plit &able from the 0enu bar. 3' * -plit Table dialog opens. You can select >o heading or an alternati)e formatting for the headingthe top row%s' of the new table. >' Clic+ ;6. The table is then split into two tables separated by a blan+ paragraph.
>ote
Gf cells in one table include formulas using data from the other table( those cells will contain an error message& pp3Cpression is faultypp.
To merge two tables& 1' .elete the blan+ paragraph between the tables. You must use the Delete +ey %not the Jac7space +ey' to do this. 2' -elect any cell in one of the tables. 3' 4ight9clic+ and choose /erge &ables in the pop9up menu. You can also use &able 9 /erge &able from the 0enu bar.
&ip
To see clearly where the paragraphs are and to delete them easily( choose =iew 9 >onprinting Characters 48trl9)*$5 or clic+ the button in the -tandard toolbar.
4eleting a table
To delete a table& 1' Clic+ anywhere in the table. 2' Choose &able 9 4elete 9 &able from the 0enu bar. =r& 1' -elect from the end of the paragraph before the table to the start of the paragraph after the table. 2' #ress the Delete +ey or the Jac7space +ey.
>ote
The second method also merges the paragraph after the table with the paragraph before the table( which may not be what you want.
Copying a table
To copy a table from one part of the document and paste it into another part& 1' Clic+ anywhere in the table. 2' 5rom the 0enu bar choose &able 9 $elect 9 &able. 3' #ress 8trl98 or clic+ the Copy icon on the -tandard toolbar. >' 0o)e the cursor to the target position and clic+ on it to fiC the insertion point. A' #ress 8trl9? or clic+ the Paste icon in the -tandard toolbar.
:((
/oving a table
To mo)e a table from one part of a document to another part& 1' Clic+ anywhere in the table. 2' 5rom the 0enu bar( choose &able 9 $elect 9 &able. 3' #ress 8trl9; or clic+ the Cut icon in the -tandard toolbar. %This step remo)es the contents of the cells but lea)es the empty cells( which must be remo)ed in step <.' >' 0o)e the cursor to the target position and clic+ on it to fiC the insertion point. A' #ress 8trl9? or clic+ the Paste icon in the -tandard toolbar. %This pastes the cells and their contents and formatting.' <' 4eturn to the original table( clic+ somewhere in it and then choose &able 9 4elete 9 &able from the 0enu bar.
>ote
&ip
To remo)e the borders from an eCisting table( right9clic+ on the table( choose &able from the conteCt menu( select the 3orders tab %see 5igure 2BB on page 2E<'( and select the icon for no borders.
:(=
1 Table # $ine -tyle % $ine Color %border' ) /orders + /ac+ground Color ( 0erge Cells " -plit Cells 0 =ptimi2e
9 Top 1* Center %)ertical' 11 /ottom 1# Gnsert 4ow 1% Gnsert Column 1) .elete 4ow 1+ .elete Column 1( -elect Table
1" -elect Column 10 -elect 4ow 19 *uto5ormat #* Table #roperties #1 -ort ## -um
)igure :=% +able toolbar +able ** )unctions of the icons on the +able toolbar /a#e
Table
Description
* split button. You can open the 2nsert +able dialog where you can set up and insert a table into the document( name the table for use with the !a)igator( and set some other options. -electing the triangle button neCt to the icon opens the +able window( where you can use the mouse to select the number of rows and columns to include in the table. Clic+ /ore in this window to bring up the 2nsert +able dialog as abo)e. =pens the /order -tyle window where you can modify the border line style. * split button. You can apply the color with a single clic+ on the icon( or by selecting the triangle button( open the Jorder 8olor window where you can modify the border color. =pens the Jorders window where you can select which sides of the table or of the selected cells will ha)e a border. * split button. You can apply the color with a single clic+ on the icon( or by selecting the triangle button( open the Jac7ground color window where you can select the bac+ground color of the table or of the selected cells. Combines the selected cells into a single cell. 4efer to 0erging and splitting cells on page 2EA for a description of the effect of this button. =pens the Split 8ells dialog where you can define how to split a cell. 4efer to 0erging and splitting cells on page 2EA for a description of the effect of this button. =pens a window with four options you can use to let 7riter optimi2e the distribution of the columns or rows or optimi2e the row height or column width. #ress this button to align the contents of the selected cells to the top of the cell.
$ine -tyle $ine Color %of the border' /orders /ac+ground Color 0erge Cells -plit Cells
=ptimi2e Top
:=$
/a#e
Center %)ertical' /ottom Gnsert 4ow Gnsert Column .elete 4ow .elete Column -elect Table -elect Column -elect 4ow *uto5ormat
Description
#ress this button to align the contents of the selected cells to the )ertical center of the cell. #ress this button to align the contents of the selected cells to the bottom of the cell. Gnserts a row below the selected row. Gnserts a column after the selected column. .eletes the selected rows from the table. .eletes the selected columns from the table. -elects the entire table. -elects the column in which the cursor is positioned. -elects the row in which the cursor is positioned. =pens the /uto)ormat dialog where you can select from se)eral predefined formatting sets. 3ach set is characteri2ed by its own fonts( shading( and border styles. You can also select AutoFormat from the 2nsert +able dialog. =pens the Table )ormat dialog where you can control all the properties of the table( for eCample name( alignment( spacing( column width( borders( and bac+ground. =pens the Sort dialog where you can specify the sort criteria for the selected cells. *cti)ates the Sum function. 4efer to T"sing spreadsheet functions in a tableU on page 2B2 for an eCample of using this function.
Table #roperties
-ort -um
:=*
ntroduction
* template is a document model that you use to create other documents. 5or eCample( you can create a template for business reports that has your companyFs logo on the first page. !ew documents created from this template will all ha)e your companyFs logo on the first page. Templates can contain anything that regular documents can contain( such as teCt( graphics( a set of styles( and user9specific setup information such as measurement units( language( the default printer( and toolbar and menu customi2ation. *ll documents in $ibre=ffice are based on templates. Gf you do not specify a template when you start a new 7riter document( then the document is based on the default template for teCt documents. Gf you ha)e not specified a default template( 7riter uses the blan+ template for teCt documents that is installed with $ibre=ffice. -ee T-etting a default templateU on page 2DD for more information. $ibre=ffice >.0 supplies one user9selectable teCt template( 0edia7i+i( as an alternati)e to the default in documents %7riter'. !ote that erman is the default document language in the 0edia7i+i template. This can be changed on the :anguages page in &ools 9 ;ptions 9 :anguage $ettings. Ten colored bac+grounds are supplied for presentations %Gmpress'. !o alternati)e templates are supplied for drawings %.raw' or spreadsheets %Calc'.
)igure :=&. +emplate <anager 2' 5rom the tabs at the top of the dialog( select the .ocuments category %type' of template. 5olders containing templates are listed in the category page of the dialog. Gf no other folders than 0edia7i+i are )isible( there are no templates a)ailable.
:=#
3' .ouble9clic+ the folder that contains the template that you want to use( typically this will be 0y Templates. *ll the templates contained in that folder are then listed on the page( as shown in 5igure 2D<. >' -elect the template that you want to use. Gf you wish to )iew the templateFs properties( clic+ the Properties button abo)e the list of templates. The templateFs properties appear in a pop9up window. Clic+ Close to close this pop9up window. A' .ouble9clic+ on the re@uired template. * new document based on the selected template opens in 7riter. You can then edit and sa)e the new document Just as you would any other document.
Creating a template
You can create your own templates in two ways& from a document or using a wi2ard.
)igure :=' Saving a template >' -elect the 0y Templates folder. A' Clic+ the $ave icon. <' 3nter a name for the template in the teCt input boC that opens( and clic+ Accept %see 5igure 2DE'. E' Close the Template 0anager dialog.
8hapter *$ Wor7ing with +emplates :=%
*ny settings that can be added to or modified in a document can be sa)ed in a template. 5or eCample( below are some of the settings %although not a full list' that can be included in a 7riter document and then sa)ed as a template for later use&
#rinter settings& which printer( single9sided or double9sided printing( paper si2e( and so on -tyles to be used( including character( page( frame( numbering( and paragraph styles 5ormat and settings regarding indeCes( tables( bibliographies( table of contents
Templates can also contain predefined teCt( sa)ing you from ha)ing to type it e)ery time you create a new document. 5or eCample( a letter template may contain your name( address( and salutation. You can also sa)e menu and toolbar customi2ations in templatesV see Chapter 1<( Customi2ing 7riter( for more information.
Type of faC %business or personal' .ocument elements li+e the date( subJect line %business faC'( salutation( and
complimentary close
=ptions for sender and recipient information %business faC' TeCt to include in the footer %business faC'
To create a template using a wi2ard& 1' 5rom the menu bar( choose File 9 !i5ards 9 \type of template re@uired].
)igure :=( 8reating a template using a wi3ard 2' 5ollow the instructions on the pages of the wi2ard. This process is slightly different for each type of template( but the format is similar for all of them. 3' Gn the last section of the wi2ard( you can specify the template name which will show in the Template 0anager( and also the name and location for sa)ing the template. The two names can be different but may cause you confusion if you choose two different names.
:=&
The default location is your user templates folder( but you can choose a different location if you prefer. >' -electing the Path button to set the file name( and perhaps change the directory( causes the $ave As dialog to open. -etting the file name and clic+ing $ave closes the dialog. A' 5inally( you ha)e the option of creating a new document from your template immediately( or manually changing the template( by clic+ing Finish. 5or future documents( you can re9use the template created by the wi2ard( Just as you would use any other template. You may ha)e to open the Template 0anager and clic+ Cefresh on the Action menu to ha)e any new templates appear in the listings.
Gn this release of $ibre=ffice( clic+ing Finish reopens the -a)e *s dialog in which you set the file name at -tep >. Clic+ing $ave now( in the reopened dialog( causes the file to be sa)ed to the hard dri)e( and the template to open. Clic+ing $ave in -tep > only sa)ed the dialog in memory and not to the hard dri)e.
>ote
-diting a template
You can edit a templateFs styles and content( and then( if you wish( you can reapply the templateFs styles to documents that were created from that template. !ote that you can only reapply styles. You cannot reapply content. To edit a template& 1' 5rom the 0enu bar( choose File 9 >ew 9 &emplates. The Template 0anager dialog opens. 2' !a)igate to the template that you want to edit. Clic+ once on it to acti)ate the file handling controls %see 5igure 2D<'. Clic+ -dit. The template opens in $ibre=ffice. 3' 3dit the template Just as you would any other document. To sa)e your changes( choose File 9 $ave from the 0enu bar.
)igure :==. 0pdate styles message Clic+ 2pdate $tyles to apply the templateFs changed styles to the document. Clic+ 6eep ;ld $tyles if you do not want to apply the templateFs changed styles to the document %but see the Caution notice below'.
:='
Caution
Gf you choose 6eep ;ld $tyles in the message boC shown in 5igure 2DD( that message will not appear again the neCt time you open the document after changing the template it is based on. You will not get another chance to update the styles from the template( although you can use the macro gi)en in the !ote below to re9enable this feature.
>ote
To re9enable updating from a template& 1' "se &ools 9 /acros 9 ;rgani5e /acros 9 :ibre;ffice 3asic. -elect the document from the list( clic+ the eCpansion symbol %L or triangle'( and select -tandard. Gf -tandard has an eCpansion symbol beside it( clic+ that and select a module. 2' Gf the -dit button is acti)e( clic+ it. Gf the 3dit button is not acti)e( clic+ >ew. 3' Gn the /asic window( enter the following& Su! "ixDocV# $ %et &pdate"rom'emplate oDocSettin(% ) 'hi%*omponent.create+n%tance, _ -com.%un.%tar.document.Settin(%- . oDocSettin(%.&pdate"rom'emplate ) 'rue End Su! $"ixDocV# >' Clic+ the Cun 3A$ C icon( then close the /asic window. A' -a)e the document. !eCt time when you open this document you will ha)e the update from template feature bac+.
&ip
:=(
3' 5ind and select the pac+age of templates you want to install and clic+ ;pen. The pac+age begins installing. You may be as+ed to accept a license agreement. >' 7hen the pac+age installation is complete( the templates are a)ailable for use through File 9 >ew 9 &emplates and the eCtension is listed in the 3Ctension 0anager.
)igure 3$$ Dewly"added pac7age of templates 3Ctension pac+ages may also be installed by double9clic+ing the file( and then accepting the installation and any license agreement which is re@uested. -ee Chapter 1<( Customi2ing 7riter( for more about the 3Ctension 0anager.
You may +now that 0icrosoft 7ord employs a normal.dot or normal.dotx file for its default template and how to regenerate it. $ibre=ffice does not ha)e a similar default template fileV the Tfactory defaultsU are embedded within the software.
:==
*lthough many important settings can be changed in the &ools 9 ;ptions dialog %see Chapter 2( -etting up 7riter'( for eCample default fonts and page si2e( more ad)anced settings %such as page margins' can only be changed by replacing the default template with a new one.
)igure 3$* Setting a default template using the +emplate <anager dialog
)igure 3$: 6esetting the default template This choice does not appear unless a custom template had been set as the default( as described in the pre)ious section. The neCt time that you create a document by choosing File 9 >ew 9 &e't 4ocument( the document will be created from 7riterFs default template.
3$$
>ote
Gn $ibre=ffice 3.C( you could use the Template Changer eCtension to simplify this process. "nfortunately( this eCtension does not wor+ in $ibre=ffice >.0.
5or best results( the names of styles should be the same in the eCisting document and the new template. Gf they are not( you will need to use -dit 9 Find O Ceplace to replace old styles with new ones. -ee Chapter 3 of the 7riter uide( 7or+ing with TeCt( for more about replacing styles using 5ind M 4eplace. 1' "se File 9 >ew 9 &emplates. Gn the Template 0anager dialog( double9clic+ the template you want to use. * new document opens( containing any teCt or graphics that were in the template. .elete any unwanted teCt or graphics from this new document. 2' =pen the document you want to change. %Gt opens in a new window.' #ress 8trl9/ to select e)erything in the document. Clic+ in the blan+ document created in step 1. #ress 8trl9? to paste the content from the old document into the new one. 3' "pdate the table of contents( if there is one. Close the old file without sa)ing. "se $ave As to sa)e this new file with the name of the file from which content was ta+en. Confirm you wish to o)erwrite the old file when as+ed.
;rgani5ing templates
7riter can only use templates that are in $ibre=ffice template folders. You can( howe)er( create new $ibre=ffice template folders and use them to organi2e your templates. 5or eCample( you might ha)e one template folder for report templates and another for letter templates. You can also import and eCport templates. To begin( choose File 9 >ew 9 &emplates from the 0enu bar to open the Template 0anager dialog.
3$*
Caution
/oving a template
To mo)e a template from one template folder to another template folder& 1' Gn the Template 0anager dialog( double9clic+ the folder that contains the template that you want to mo)e. * list of all the templates contained in that folder appears underneath the folder name. 2' Clic+ the template that you want to mo)e and clic+ the /ove to folder button abo)e the list of templates %see 5igure 303'.
4eleting a template
You cannot delete templates supplied with $ibre=ffice or installed using the 3Ctension 0anagerV you can only delete templates that you ha)e created or imported. To delete a template& 1' Gn the Template 0anager dialog( double9clic+ the folder that contains the template that you want to delete. * list of all the templates contained in that folder appears underneath the folder name. 2' Clic+ the template that you want to delete. 3' Clic+ the 4elete button abo)e the list of templates. * message boC appears and as+s you to confirm the deletion. Clic+ Jes.
3$: LibreOffice #.$ Writer Guide
mporting a template
Gf the template that you want to use is in a different location( you must import it into a $ibre=ffice template folder. To import a template into a template folder& 1' Gn the Template 0anager dialog( select the folder into which you want to import the template. 2' Clic+ the mport button abo)e the list of template folders. * standard file browser window opens. 3' 5ind and select the template that you want to import( and then clic+ ;pen. The file browser window closes and the template appears in the selected folder.
-'porting a template
To eCport a template from a template folder to another location& 1' Gn the Template 0anager dialog( double9clic+ the folder that contains the template that you want to eCport. * list of all the templates contained in that folder appears underneath the folder name. 2' -elect the template that you want to eCport. 3' Clic+ the -'port button abo)e the list of template folders. The -a)e *s window opens. >' 5ind the folder into which you want to eCport the template and clic+ $ave.
3$3
0ultiple copies of a document to send to a list of different recipients %form letters' 0ailing labels 3n)elopes
*ll these facilities( though different in application( are based around the concept of a registered data source( from which is deri)ed the )ariable address information necessary to their function. This chapter describes the entire process. The steps include& 1' 6ow to create and register a data source. 2' 6ow to create and print form letters( mailing labels( and en)elopes. 3' =ptionally( how to sa)e the output in an editable file instead of printing it directly.
)igure 3$# Spreadsheet data e-ample *fter being created as described below( for a data source to be directly accessible from within a 7riter document( it must be registered. You only need to do this onceV after that( the data source is a)ailable to all components of $ibre=ffice. 1' 5rom within any 7riter document( or from the $ibre=ffice -tart Center( choose File 9 !i5ards 9 Address 4ata $ource.
3$&
2' The choices on the first page of the wi2ard )ary with your operating system. -elect the appropriate type of eCternal address boo+. Gn this eCample( it is ;ther e'ternal data source. Clic+ >e't.
)igure 3$% Select type of e-ternal address boo7 3' =n the neCt page of the 7i2ard( clic+ the $ettings button.
)igure 3$& Starting the Settings part of the Wi3ard >' Gn the .ata -ource #roperties page( select the .atabase type. Gn our eCample( it is $preadsheet. Clic+ >e't.
3$'
A' Gn the neCt dialog( clic+ 3rowse and na)igate to the spreadsheet that contains the address information. -elect the spreadsheet and clic+ ;pen to return to this dialog. *t this time you may wish to test that the connection has been correctly established by clic+ing on the &est Connection button %not shown in illustration'.
)igure 3$( Selecting the spreadsheet document <' Clic+ Finish. E' =n the following page( clic+ >e't. /ecause this is a spreadsheet( do not clic+ Field Assignment.
)igure 3$= Jecause this is a spreadsheet@ do not clic7 )ield /ssignment B' * database file will be created. !ame the file in the path in the $ocation field. The default is Addresses.odbV but you may replace Addresses with another name if you wish. You may also change the name in the T*ddress boo+ nameU field. The name in this field is the registered name( which $ibre=ffice will display in data source listings. Gn our eCample( the name T#ointsU was used for both.
)igure 3*$ Dame the .odb file and the address boo7 D' Clic+ Finish. The data source is now registered.
3$(
3$=
3' 5ind the data source that you wish to use for the form letter( in this case Points. 3Cpand the Points and &ables folders( and select $heet1. The address data file is displayed.
)igure 3** Selecting the data source >' !ow create or modify the form letter by typing in the teCt( punctuation( line brea+s( and so on that will be present in all of the letters. To add the mail9merge fields where needed %such as names and addresses'( clic+ in the field heading and drag it to the appropriate point in the letter. !ote that address lines should be in indi)idual paragraphs( not separated by line brea+s as might seem preferable. The reason for this will be made clear in the neCt step.
)igure 3*: Dragging fields to the body of the form letter A' Continue until you ha)e composed the entire document. *t this time you may wish to consider suppressing any blan+ lines that may appear in the resulting letters. Gf not( s+ip ahead to -tep E.
3*$
)igure 3*3 +he completed form letter <' To suppress blan+ lines& a' Clic+ at the end of the first paragraph to be suppressed if empty( and then choose nsert 9 Fields 9 ;ther to display the 5ields dialog. b' -elect the )unctions tab and then clic+ on 8idden Paragraph in the +ype column.
3**
c'
d'
!ow clic+ in the Condition boC and enter the details of the condition that defines a blan+ address field. Gt has the general form of& 12Data!a%e.'a!le.Data!a%e field3 where the nlF %!=T' character indicates the negati)e case and the s@uare brac+ets indicate the condition. 5or eCample( in our #oints database the condition to test if the Last Dame field is empty would be& 124oint%.Sheet5.6a%t Name3 as illustrated in 5igure 31>. To test for multiple conditions use the operators /DD and/or O6 between the conditional statements( for eCample& 124oint%.Sheet5.'itle3AND124oint%.Sheet5.6a%t Name3 Clic+ nsert( but do not close the dialog until you ha)e amended all the lines that should be suppressed.
E' The document is now ready to be printed. a' Choose File 9 Print and respond with Jes in the message boC.
)igure 3*% <ail merge confirmation message b' Gn the 0ail 0erge dialog %5igure 31<'( you can choose to print all records or selected records. To select records to be printed( use 8trl9clic7 to select indi)idual records. To select a bloc+ of records( select the first record in the bloc+( scroll to the last record in the bloc+( and Shift9clic7 on the last record. c' Clic+ ;6 to send the letters directly to the printer. =r( you can sa)e the letters to a file for further editing or formattingV see T3diting merged documentsU below. d' Gf you ha)e not sa)ed the original( prototype form letter document %template' pre)iously( then you should do so now. 6a)ing a form letter template could greatly simplify the creation of other form letters in the future and is highly recommended.
3*:
3' Clic+ ;6. Gn the -a)e as dialog( enter a file name for the sa)ed letters and choose a folder in which to sa)e them. The letters will be sa)ed consecuti)ely as separate pages in the single document( or numbered consecuti)ely in indi)idual files if sa)ed as indi)idual documents. You can now open the letters and edit them indi)idually as you would edit any other document.
3*3
)igure 3*( Select Database@ +able@ label Jrand@ and label +ype
)igure 3*= 0ser label default settings A' You can now sa)e your label template if you are li+ely to use it again. Clic+ $ave. <' Gn the boC that opens( enter names for your label 3rand and &ype. Clic+ ;6.
3*# LibreOffice #.$ Writer Guide
)igure 3:$ Dame and save the label. E' Clic+ the :abels tab. Clic+ the drop9down arrow under 4atabase field. -elect the first field to be used in the label %in this eCample( &itle'. Clic+ the left arrow button to mo)e this field to the :abel te't area( as shown in 5igure 321.
)igure 3:* <ove fields from Database field list to Label te-t area B' Continue adding fields and inserting desired punctuation( spaces( and line brea+s until the label is composed. 5igure 322 shows the completed label.
D' Clic+ >ew 4ocument. You now ha)e a new( single9page document containing a series of frames( one for each label of the selected type and filled with the data source address fields that you selected. Huite often some of the fields in your address data source will be unused( leading to blan+ lines in your labels. Gf this is not important( go to T#rintingU on page 31EV otherwise( continue with T4emo)ing blan+ lines from labelsU.
You will now see that address field separation is created by line brea+s ( rather than paragraphs . *s the suppression of blan+ address fields depends on hiding paragraphs( not lines( you need to replace line brea+s with paragraphs as follows. 3' Clic+ in the first label( at the end of the last data source address field in the first line of the label. #ress Delete to remo)e the new line character and then press 6eturn %or the ,nter +ey' to insert a paragraph mar+er. 4epeat this action for each line in the address. Gf the line spacing in the first label is not satisfactory( you may wish to correct this before proceeding( by modifying the paragraph style associated with the address. "nless you ha)e changed it( the address uses the .efault style.
Caution
The obJecti)e of step 3' is to replace all line brea+s at the end of data source address fields with paragraphs. -ometimes the address data field may be longer than the width of the label and will wrap to the neCt physical line& ma+e sure that you are not misled by this into deleting and replacing anything other than line brea+ characters.
>' Clic+ again at the end of the first paragraph to be conditionally suppressed and then choose nsert 9 Fields 9 ;ther. -elect the Functions tab and then clic+ on 8idden Paragraph in the +ype column. !ow clic+ in the Condition boC and enter the details of the condition that defines a blan+ address field. Gt has the general form of& 12Data!a%e.'a!le.Data!a%e field3 where the nlF %!=T' character indicates the negati)e case and the s@uare brac+ets indicate the condition. 5or eCample( in our #oints database the condition to test if the Last Dame field is empty would be 124oint%.Sheet5.6a%t Name3 as illustrated in 5igure 31>. To test for multiple conditions( use the operators /DD and/or O6 between the conditional statements( for eCample& 124oint%.Sheet5.'itle3AND124oint%.Sheet5.6a%t Name3 Clic+ nsert, but do not close the dialog until all lines ha)e been amended. A' 4epeat for each paragraph to be conditionally suppressed( remembering to ad)ance the cursor to the end of the line in @uestion before changing the last element of the condition and nserting the result.
3*&
Caution
The last paragraph of the label address bloc+ ends with a special field( Next record:Data!a%e.'a!le ,Next record:4oint%.Sheet5 in our eCample'( and the 6idden paragraph field must be inserted before this field. This can generally be accomplished by clic+ing at the end of the paragraph and then using the Left /rrow +ey once to s+ip bac+ o)er it. * clue that you omitted this action is the obser)ation that some records ha)e been s+ipped and are missing from the final output.
<' 4emembering that we selected -ynchroni2e contents earlier( you should now be able to see a small window containing a -ynchroni2e :abels button. Clic+ on this button and the hidden paragraph fields are propagated to all the labels in your document. You now ha)e a template suitable for future use with the same data source and type of label. Gf you wish to sa)e it( use File 9 &emplates 9 $ave as to sa)e it as an =pen .ocument TeCt Template %.ott' into the pri)ate template directory %folder' that you ha)e pre)iously defined in &ools 9;ptions 9 :ibre;ffice 9 Paths 9 &emplates.
Printing
1' Choose File 9 Print. The message shown in 5igure 31A appears. Clic+ Jes to print. 2' Gn the 0ail 0erge dialog %5igure 31<'( you can choose to print all records or selected records. To select records to be printed( use 8trl9clic7 to select indi)idual records. To select a bloc+ of records( select the first record in the bloc+( scroll to the last record in the bloc+( and Shift9clic7 on the last record. 3' Clic+ ;6 to send the labels directly to the printer. Gf you prefer to sa)e the labels to a file( perhaps to allow some later editing such as changing the typeface or paragraph format( then you should select File in the output section of the 0ail 0erge dialog( rather than using the default Printer selection. This changes the dialog to highlight the Save merged document section( where $ave as single document is preselected. Gn this case( clic+ing ;6 brings up the -a)e as dialog( where a file name can be entered for the sa)ed labels. Gf you did not sa)e the prototype label fields document %template' in -tep < of the 6emoving blan7 lines from documents paragraph( then you are prompted to do so now by another -a)e as dialog. Gn either case( whether printing or sa)ing to file( despite there apparently being only one page of labels( the printed or sa)ed output will be eCpanded to include all of the selected records from the data source.
3*'
You can edit indi)idual records in the normal way( by highlighting and changing the font name( for eCample. 6owe)er( you cannot edit all labels globally %for eCample( to change the font name for all records' by the techni@ue of selecting the entire document. To achie)e this result you ha)e to edit the paragraph style associated with the label records as follows& 1' 4ight9clic+ any correctly spelled word in a label record. -elect -dit Paragraph $tyle from the conteCt menu. %!ote& Gf you clic+ on a misspelled word( a different menu appears.' 2' Then from the #aragraph -tyle dialog( you can ma+e changes to the font name( the font si2e( the indents( and other attributes.
Printing envelopes
Gnstead of printing mailing labels( you may wish to print directly onto en)elopes. There are two basic ways to create en)elopes( one where the en)elope is embedded within a letter( generally as the first page % nsert in the 3n)elope dialog'( and another where the en)elope is an independent document %>ew 4oc. in the dialog'. Gn each case the addressing data may be manually entered( for eCample by copying and pasting from the letter with which it is associated( or it may originate within an address data source. This section assumes the use of an address data source and( for con)enience( a free9standing en)elope. The production of en)elopes in)ol)es two steps( setup and printing.
>ote
Gf the list of en)elope formats in the Si3e section of this dialog does not include the si2e you need( choose 2ser 4efined %at the bottom of the list' and specify the en)elope si2e using the !idth and 8eight boCes. *t this stage it is only possible to )ary the position of the origin points %upper left corners' of the frames that will hold the -ender and *ddressee information( but once the en)elope has been created( full adJustment of si2e and position will become possible and you may wish to ma+e some cosmetic adJustments.
&ip
3' The neCt step is to select the Printer tab %5igure 32>'( from where you may choose the printer you intend to use( its setupQfor eCample( specification of the tray holding en)elopes Qand other printer9related options such as en)elope orientation and shifting. You may need to eCperiment with these settings to achie)e the best results with your printer.
)igure 3:# 8hoosing printer options for an envelope >' -elect the -nvelope tab %5igure 32A'.
A' Choose whether or not to add Sender information to the en)elope by selecting or deselecting the $ender option. Gf wanted( edit the information in the Sender boC %-ender is the TfromU on the en)elope'. <' You now ha)e the choice of creating the *ddressee fields by dragging and dropping from the data source headings %as described in TCreating a form letterU on page 30D( and in particular in 5igure 312' or using the facilities of the -nvelope tab. Gf you prefer dragging and dropping( then clic+ >ew 4oc.( drag your data source headings into the /ddressee area on your new en)elope and s+ip to step 10'( otherwise continue with the neCt step. E' Perify( add( or edit the information in the /ddressee boC. You can use the right9hand drop9 down lists to select the database and table from which you can access the *ddressee information( in a similar fashion to that described for T#rinting mailing labelsU( paragraphs 3( > and A. The similarity of the method with 5igure 321 and 5igure 322 will be clear. B' 7hen you ha)e finished formatting( clic+ either the >ew 4oc. or nsert button to finish. *s might be eCpected( >ew 4oc. creates only the en)elope template in a new document( whereas nsert inserts the en)elope into your current document as page 1. Gf you donFt want to proceed with this en)elope( clic+ Cancel or press the ,sc +ey. You can also clic+ Ceset to remo)e your changes and return to the original settings eCtant when the dialog opened. You can now modify the placement of the frames containing the sender and addressee information( or ma+e further changes to the character and paragraph attributes %for eCample( the font' or add a logo or other graphic to the en)elope.
&ip
Gf you fre@uently print en)elopes from the same database onto the same si2e en)elopes( at this point you may wish to create a template from this setup. -ee TCreating an en)elope templateU on page 321.
D' Huite often some of the fields in your address data source will be unused( leading to blan+ lines in your en)elope *ddressee area. Gf this is not important( you can s+ip the neCt few paragraphs and go straight to T0erging and printing the en)elopesU on page 321( otherwise continue as described here.
&ip
a'
The following procedure is )ery similar to that used for a similar purpose in the section on printing mailing labels. Gt is reproduced here for ease of reference.
b'
5irst ensure that the en)elope is showing the field contents %data source headings'( rather than their underlying field names. Gf this is not the case( then either press 8trl9)= or choose =iew 9 Field >ames to toggle the )iew. !eCt( ensure that you can see non9printing characters( such as paragraph mar+s( line brea+s and so on. Gf these are not already )isible( choose =iew 9 >onprinting Characters from the menu bar( or press 8trl9)*$( or clic+ on the >onprinting Characters icon on the -tandard toolbar. You will now see that address field separation is created by line brea+s ( rather than paragraphs . *s the suppression of blan+ address fields depends on hiding paragraphs( not lines( you need to replace line brea+s with paragraphs as follows. Clic+ at the end of the last data source address field in the first line of the en)elope. #ress Delete to remo)e the new line character and then press 6eturn %or the ,nter +ey' to insert a paragraph. 4epeat this action for each line of the en)elope. Gf the line spacing in the *ddressee area is not satisfactory( you may wish to correct this before proceeding( by modifying the paragraph style associated with the address. "nless you ha)e changed it( the address uses the .efault style.
LibreOffice #.$ Writer Guide
c'
3:$
d'
e'
Clic+ again at the end of the first paragraph to be conditionally suppressed and then choose nsert 9 Fields 9 ;ther. -elect the Functions tab and then clic+ on 8idden Paragraph in the +ype column. !ow clic+ in the Condition boC and enter the details of the condition that defines a blan+ address field. Gt has the general form of& 12Data!a%e.'a!le.Data!a%e field3 where the nlF %!=T' character indicates the negati)e case and the s@uare brac+ets indicate the condition. 5or eCample( in our #oints database the condition to test if the Last Dame field is empty would be& 124oint%.Sheet5.6a%t Name3 as illustrated in 5igure 31>. To test for multiple conditions( use the operators /DD and/or O6 between the conditional statements( for eCample& 124oint%.Sheet5.'itle3AND124oint%.Sheet5.6a%t Name3 Clic+ nsert, but do not close the dialog until all lines ha)e been amended. 4epeat for each paragraph to be conditionally suppressed( remembering to ad)ance the cursor to the end of the line in @uestion before changing the last element of the condition and Gnserting the result.
"se the current document. Create a new document. -tart with an eCisting document. -tart from a template.
3:*
5or the purposes of this description( we assume that you opened a new teCt document. This will ensure that all the steps in the wi2ard are fully eCplored( although with eCperience you may find it more practical to use a draft you prepared earlier( which will allow for the s+ipping of some steps. -elect 2se the current document and clic+ >e't.
)igure 3:( 2nsert address bloc7 3' 0a+e sure that the fields all match correctly. This is )ery important. 5or eCample( the "8 3nglish )ersion of the wi2ard has a field called Z-urnameY. Gf your spreadsheet has a column called T$ast !ameU( you need to tell the wi2ard that Z-urnameY and T$ast !ameU are e@ui)alent. This is described in T0atching the fieldsU on page 32A.
3:3
)igure 33$ Select address bloc7 2' The -elect *ddress /loc+ dialog displays the original two bloc+s plus other choices for the format of the address bloc+ %you may need to scroll down to see all of the choices'. You can also optionally include or eCclude the country %for eCample( only include the country if it is not 3ngland' in the /ddress bloc7 settings. The formats pro)ided are relati)ely common(
3:# LibreOffice #.$ Writer Guide
but they might not eCactly match your preference. Gf this is the case( select the address bloc+ that is closest to what you want and clic+ -dit( which opens the !ew *ddress /loc+ dialog. 3' Gn the !ew *ddress /loc+ dialog( you can add or delete address elements using the arrow buttons on the left. To mo)e elements around( use the arrow buttons on the right. 5or eCample( to add an eCtra space between forename and surname in 5igure 331( clic+ Z-urnameY and then clic+ the right arrow button.
"se the <atches to )ield column to select( for each address element( the field from
your data source that matches it.
The Preview column shows what will be shown for this field from the selected
address bloc+( so you can double9chec+ that the match is correct. >' 7hen you ha)e matched all the fields( clic+ ;6 to return to step 3 of the wi2ard. !ow( when you use the arrow buttons to loo+ at all the addresses( they should all loo+ correct. Gf not( go bac+ and change anything youFre not happy with( before clic+ing >e't to mo)e to step >. !ote that you will not be able to continue until you ha)e correctly matched all the fields in your chosen address bloc+. Gf you see Znot yet matchedY in a field position it indicates that the field in @uestion is not correctly matched.
3:%
)igure 33: <atch fields dialog A' !otice the option for $uppress lines with empty fields in section 2 of 5igure 32B. "sing the 7i2ard( you do not ha)e to create your own conditional suppression fields.
>ote
You do not need to tell $ibre=ffice who is a male( because it assumes that all non9 female records are males.
Gf you do not ha)e such a column in your spreadsheet( then you can lea)e the Field name and Field value boCes empty and use the customi2ed content of the /ale list boC for the salutation.
3:&
)igure 333 8reate a salutation *s an eCample& 1' Clic+ the !ew button alongside the 0ale list boC. The 8ustom Salutation 4<ale 6ecipients5 dialog opens %see 5igure 33>'. 2' -elect $alutation in the Salutation elements listings. 3' Clic+ the Add to salutation arrow button to add it to boC 1. >' =pen the list boC choices for boC 2( select an appropriate greeting or type your own teCt into the list boC. 3dit it as needed. A' -elect and mo)e across &itle from the Salutation elements listings into boC 1. <' *dd a space and then mo)e :ast >ame across. E' 5inally( mo)e Punctuation /ark across and select the comma from the choices in boC 2. B' The construct is shown in the Preview boC. D' Carry out any final editing. Clic+ ;6.
You can see that the ZTitleY field ta+es care of the gender aspect of the salutation. "sing this method allows you to use gender neutral titles such as .octor %.r' and 4e)erend %4e)'( or titles such as 0s or 0aster.
You can also edit the body of the document. Gf you started with a blan+ document( you can write the whole letter in this step. Clic+ -dit 4ocument to shrin+ the wi2ard to a small window %5igure 33E' so you can easily edit the letter.
)igure 33' <inimi3ed mail merge wi3ard You need to perform another important tas+ in this step. The wi2ard only inserts information from the name and address fields( but you may wish to add additional data. Gn our eCample( we want to tell each person how many points they had accumulated during the yearV that information is in the database. To do this& 1' Clic+ -dit 4ocument in step < of the wi2ard. 2' Choose nsert 9 Fields 9 ;ther. The 5ields dialog opens. 3' Clic+ the Database tab. >' =n the left hand side( select /ail merge fields. A' "nder Database selection find your data source %in this eCample( it is Points'. 3Cpand it to see the fields. <' Clic+ the field you want to insert %#oints'( then clic+ nsert to insert the field. You can insert any number of fields any number of times into your mail merge document. E' Clic+ Close when you are done.
>ote
The 4atabase selection lists the data source you selected in step 3. All the information you need for the letter must be contained in that data source.
3:=
)igure 33= Personali3e document *s with step <( when editing the document( the wi2ard shrin+s to a small window %5igure 33E'. Clic+ on this window to eCpand the wi2ard to its full si2e.
The merged document can now be sa)ed by selecting $ave merged document. This will re)eal the $ave merged document settings section( from which you can select to sa)e either as one large file containing all the indi)idual( generated letters or as a separate file for each letter.
)igure 3#* Saving a merged document 7hen you ha)e sa)ed the merged document( you can print the final letters now or laterV and you can still manually chec+ and edit the letters if necessary. Gf you elect to print at this stage( the dialog shown in 5igure 3>2 appearsV it should be self9eCplanatory.
33*
ntroduction
This chapter describes how to create and maintain a table of contents %T=C'( an indeC( and a bibliography for a teCt document using $ibre=ffice 7riter. To understand the instructions( you need to ha)e a basic familiarity with 7riter and styles %see Chapters < and E'. This chapter does not co)er all the possible ways to use the features a)ailable through the T=C/GndeC dialog in 7riter. -ome common usage eCamples are gi)en.
&ables of contents
7riterFs table of contents feature lets you build an automated table of contents from the headings in your document. These entries are automatically generated as hyperlin+s in the table. 7hene)er changes are made to the teCt of a heading in the body of the document or the page on which the heading appears( those changes automatically appear in the table of contents when it is neCt updated. /efore you start( ma+e sure that the headings are styled consistently. 5or eCample( you can use the .eading * style for chapter titles and the .eading : and .eading 3 styles for chapter subheadings. This section shows you how to&
Create a table of contents @uic+ly( using the defaults. Customi2e a table of contents. >ote
You can use any style you want for the different le)els to appear in the table of contentsV howe)er( for simplicity( most of this chapter uses the default .eading N-O styles.
Gf some of your headings do not show up in the table of contents( chec+ that the headings
ha)e been tagged with the correct paragraph style. Gf a whole le)el of headings does not show up( chec+ the settings in &ools 9 ;utline >umbering. -ee T.efining a hierarchy of headingsU in Chapter <( Gntroduction to -tyles( for more information.
The T=C appears with a gray bac+ground. This bac+ground is there to remind you that the
teCt is generated automatically. Gt is not printed and does not appear if the document is con)erted to a #.5. To turn off this gray bac+ground( go to &ools 9 ;ptions 9 :ibre;ffice 9 Appearance( then scroll down to the +e-t Document section and deselect the option for nde' and table shadings.
33#
This change may lea)e a gray bac+ground showing behind the dots between the headings and the page numbers( because the dots are part of a tab. To turn that shading off( go to &ools 9 ;ptions 9 :ibre;ffice !riter 9 Formatting Aids and deselect the option for &abs. Gf you cannot place the cursor in the T=C( choose &ools 9 ;ptions 9 :ibre;ffice !riter 9 Formatting Aids( and then select -nable in the 8ursor in protected areas section.
Gf you add or delete teCt %so that headings mo)e to different pages' or you add( delete( or change headings( you need to update the table of contents. To do this& 4ight9clic+ anywhere in the T=C and select 2pdate nde'F&able from the pop9up menu.
Caution
Gf you ha)e -dit 9 Changes 9 $how enabled when editing your document and you update the T=C( then errors may occur( as the T=C will still include any deleted headings and you may find that deleted teCt causes page numbering in the T=C to be wrong too. -imply ensure this option is deselected before updating a T=C.
33%
You can also access this dialog at any time by right9clic+ing anywhere in an eCisting table of contents and choosing -dit nde'F&able from the pop9up menu. The Gnsert GndeC/Table dialog has fi)e pages. 3ach of them co)ers a different aspect of the T=C structure and appearance&
"se the 2nde-!+able page to set the attributes of the T=C. "se the ,ntries and Styles pages to format the entries in the T=C. "se the 8olumns page to put the T=C into more than one column. "se the Jac7ground page to add color or a graphic to the bac+ground of the T=C.
You can display a pre)iew boC( located on the left9hand side of each page( to show as you wor+ how the T=C will loo+. %Gf you do not see the pre)iew boC( select the Preview option in the lower right9hand corner of the dialog'. The illustrations in this chapter show the dialog as it appears with the pre)iew boC hidden.
The pre)iew boC only shows the appearance from settings made on the 2nde-!+able( ,ntries and Styles pages. The 8olumns and Jac7ground pages each ha)e their own pre)iew panes.
>ote
*fter ma+ing all your changes( clic+ ;6 to apply them. /efore clic+ing ;6( Gf you choose to re)ert to the default settings for the 8olumns and Jac7ground pages( select each page in turn and clic+ the Ceset button. The settings on the ,ntries and Styles pages must be reset manuallyV the Ceset button has no effect.
,ndex'-able pa e
"se the 2nde-!+able page( pictured in 5igure 3>3( to set the attributes of the T=C.
Changing the title To gi)e the table of contents a different title( type it in the +itle field. To delete the title( clear the +itle field. $etting the type of inde'Ftable /e sure the +ype is set to &able of Contents. -ee T*lphabetic indeCesU on page 3>> and T=ther types of indeCesU on page 3A2 for more about creating other types of indeCes.
>ote
You can change the type of indeC only when you first create it. =nce you define an indeC type %for eCample( ma+e a table of contents' you cannot change the type.
Protecting against manual changes /y default( to pre)ent the T=C from being changed accidentally( the Protected against manual changes option is selected( the T=C can only be changed by using the right9clic+ menu or the Gnsert Table/GndeC dialog. Gf the option is not selected( the T=C can be changed directly on the document page( Just li+e other teCt. 6owe)er( any manual changes will be lost when you update it. Changing the number of levels included 7riter uses 10 le)els of headings when it builds the table of contents %or the number of le)els used in the document( whiche)er is smaller'. To change the number of le)els included( enter the re@uired number in the ,valuate up to level boC. 5or eCample( the T=C in this boo+ includes only the first four heading le)els.
33&
Choosing the scope of the table of contents The for drop9down list in the 8reate inde-!table area( allows you to select whether the T=C will co)er all the headings of the document %-ntire document' or Just the headings of the chapter where it is inserted. 7riter identifies a TchapterU as all the headings between two first le)el outline headings %normally .eading *'. Creating a table of contents from an outline The third section of the 2nde-!+able page is used to determine what 7riter should use to create the T=C. The a)ailable choices %not mutually eCclusi)e' are& =utline *dditional styles GndeC mar+s
/y default 7riter uses the outline le)elsV that is( paragraphs formatted with the paragraph styles associated with outline le)els in &ools 9 ;utline >umbering. Gn the default document( .eading * has outline le)el 1( .eading : outline le)el 2 and so on up to .eading *$. You can change the paragraph styles included in the outline as described in T.efining a hierarchy of headingsU in Chapter <( Gntroduction to -tyles. You can include other paragraph styles in the T=C by assigning an outline le)el to those styles. To do this( modify the paragraph style definition& go to the =utline M !umbering page for the style( and select the re@uired outline le)el. Clic+ ;6 to sa)e the change.
)igure 3## Specifying an outline level on the Outline L Dumbering page for a paragraph style
Creating from additional styles /y selecting the /dditional Styles option on the 2nde-!+able page( you can add more paragraph styles to the T=C. This can be useful when you want to include in the T=C an anneC %appendiC'. Gf the Outline option is also selected( the additional styles will be included in the table of contents together with the ones defined in the outline numbering. 6owe)er( headings included in the T=C using this feature are not hyperlin+ed to the headings in the document body as are headings assigned to outline le)els. Creating from inde' marks This selection adds any indeC entries that you ha)e inserted into the document by using nsert 9 nde'es and &ables 9 -ntry. !ormally you would not use this selection for a table of contents. 6owe)er( if you do wish to use it( be sure to select &able of Contents from the drop9down list in the Gnsert GndeC 3ntry dialog %see 5igure 3A1' when you are entering the indeC entries for use in a T=C( so that 7riter can distinguish between them and any indeC entries intended for inclusion in an alphabetic indeC.
Entries pa e
"se the ,ntries page %see 5igure 3><' to define and format the teCt of entries in the T=C. The teCt of each outline le)el can be styled independently from the other le)els by adding and deleting elements.
33'
Clic+ on a number in the Level column to select the outline le)el whose elements you want to format. The Structure line contains the elements included in the entries for that le)el. 3lements that can be added to the structure line are displayed Just below the structure line( and are grayed out if they cannot be included&
The -Z button represents the Tchapter numberU( which means the heading number )alue
assigned in &ools 9 ;utline >umbering to a heading style( not Just for chapters but also for other le)els of headings %Chapter le)el and le)el 2 )alues are illustrated in 5igure 3>A'.
The - button represents the chapter %or sub9chapter' teCt& That is the teCt formatted with
the paragraph style used for each le)el. Gn 5igure 3>A( 6eading 1 is used for $e)el 1( 6eading 2 for $e)el 2.
The & button represents a tab stop. The Z button represents the page number. The :$ button represents the start of a hyperlin+. %This button appears on the default
Structure line.'
The :- button represents the end of a hyperlin+. %This button appears on the default
Structure line.' The :$ and :- buttons are part of the 8yperlink button set9up. 3ach white field on the Structure line represents a blan+ space where you can add custom teCt.
)igure 3#% /ssigning a chapter number value 4the ,S value5. +he assigned Level : value also shows in the preview pane.
>ote
Gn the =utline !umbering dialog( if you ha)e included any teCt in the Separator 3efore or After teCt input boCes for any gi)en le)el( then that teCt will be part of the -Z field for that le)el. You should ta+e care when building the structure line not to create any unwanted effects in the appearance of your T=C.
33(
Adding elements To add an element to the Structure line& 1' Clic+ in the white field where you want to insert the element. 2' Clic+ one of the acti)e buttons Just below the Structure line. 5or eCample( to add a tab( clic+ the &ab stop button. * button representing the new element appears on the Structure line. 3' To add custom teCt( such as the word 8hapter( type the teCt in the white field. .onWt forget a trailing space. Changing elements To change an element in the Structure line( clic+ the button representing that element and then clic+ a non9grayed out element that you want to substitute it for( in the row of buttons Just below the Structure line. 5or eCample( to change a chapter number to a tab stop( clic+ the -Z button on the Structure line %it shows then as being pressed' and then clic+ the &ab stop button in the row of a)ailable elements. To cancel before swapping an element( clic+ in one of the white spaces. Applying changes to all outline levels To apply the displayed structure and formatting to all outline le)els( clic+ the All button. 4eleting elements To delete an element from the Structure line( clic+ the button representing that element and then press the Delete +ey on your +eyboard. 5or eCample( to delete the default hyperlin+ setting( clic+ the :$ button and then press the Delete +ey %)unction9Delete on a 0ac'. 4epeat this for the :button. Applying character styles You might want an element to be a bit different from the rest of the line. 5or eCample( you might want the page number to be bold. To apply a character style to an element& 1' /e sure you ha)e defined a suitable character style. 2' =n the Structure line( clic+ the button representing the element to which you want to apply a style. 3' 5rom the 8haracter Style drop9down list( select the desired style.
To )iew or edit the attributes of a character style( select the style from the 8haracter Style drop9 down list and then clic+ the -dit button.
33=
The default character style for hyperlin+s is 2nternet Lin7 %such as those inserted by nsert 9 8yperlink'( which by default is underlined and shown in blue. The default hyperlin+s of T=C entries are set to the 2nde- Lin7 character style.
&ip
Gf you want them to appear underlined and blue( you can select the :$ button on the -tructure line and change the character style selection for T=C entries to 2nternet Lin7. You can also change the attributes for 2nde- Lin7 to what you want.
&ab parameters Clic+ing on the Tab stop button on the structure line brings up two controls& )ill character and +ab stop position& Fill character& select from the three options the tab leader you wish to use. &ab stop position& 3nter the distance to lea)e between the left page margin and the tab stop. &ab position relative to Paragraph $tyle indent 7hen this option is selected( entries are indented according to the settings of their indi)idual formats. 7here a paragraph style specifies an indent on the left( tab stops are relati)e to this indent. Gf this option is not selected( tab stops are relati)e to the left margin position.
"tyles pa e
"se the Styles page %5igure 3>E' to change which paragraph style is assigned to display the teCt of each le)el in the table of contents. Gn most cases( the best strategy is to +eep the assigned styles but change their settings as needed to ma+e the T=C appear the way you want.
)igure 3#' Styles page of 2nsert 2nde-!+able dialog To apply a custom paragraph style to an outline le)el& 1' Gn the Levels list boC( select the outline le)el. 2' Gn the Paragraph Styles list boC( clic+ the desired paragraph style. 3' Clic+ the X button to apply the selected paragraph style to the selected outline le)el. The style assigned to each le)el appears in s@uare brac+ets in the Levels list.
3#$ LibreOffice #.$ Writer Guide
To remo)e paragraph styling from an outline le)el( select the outline le)el in the Levels list boC( and then clic+ the 4efault button. To )iew or edit the attributes of a paragraph style( clic+ the style in the Paragraph Styles list boC( and then clic+ the -dit button.
>ote
Changes to a paragraph style will affect any teCt in the document that is formatted using this style( not Just the format of the table of contents.
(olu#ns pa e
"se the 8olumns page to change the number of columns for the T=C. 0ultiple columns are more li+ely to be used in an indeC than in a T=C( so this page is described in the section on indeCes. -ee 5igure 3AA.
8ac& round pa e
"se the Jac7ground page to add color or a graphic to the bac+ground of the T=C.
Adding color To add color to the bac+ground of the table of contents( select from the color grid.
/y default( the bac+ground to the T=C is shaded gray. This setting is in &ools 9 ;ptions 9 :ibre;ffice 9 Appearance( then( in the Te-t Document area( nde' and table shadings is selected. .eselect this option to remo)e the gray bac+ground. !ote that by adding a bac+ground color( you o)erwrite this setting anyway.
>ote
3#*
Adding a graphic To add a graphic to the bac+ground of the table of contents& 1' 5rom the /s drop9down list( select 1raphic. The Jac7ground tab now displays the graphics options( as shown below. 2' Clic+ the 3rowse button. The 5ind graphics dialog opens. 3' 5ind the graphic file you want and then clic+ the ;pen button. The 5ind graphics dialog closes and the selected graphic appears in the graphic pre)iew boC on the right9hand side of the Jac7ground tab. %Gf you do not see the graphic( select the Preview chec+boC.' >' To embed the graphic in your document( clear the :ink chec+boC. To lin+ the graphic to the document but not embed it( select the :ink chec+boC. A' Gn the &ype area of the Jac7ground tab( choose how you want the bac+ground graphic to appear&
To position the graphic in a specific location( select Position and then clic+ the desired
location in the position grid.
To stretch the graphic to fill the entire bac+ground area( select Area. To repeat the graphic across the entire bac+ground area( select &ile.
)igure 3#= Graphic options on the Jac7ground page of the 2nsert 2nde-!+able dialog
4eleting a color or graphic To delete color or a graphic from the table bac+ground& 1' 5rom the /s drop9down list( select Color. 2' Clic+ >o Fill on the color grid.
3dit an eCisting T=C "pdate a T=C when changes are made to the document .elete a T=C
3#: LibreOffice #.$ Writer Guide
&ip
You can also access the 2nde-!+able dialog from the !a)igator %5igure 3A0 '. 1' =pen the !a)igator %press )%'. 2' Clic+ the eCpansion symbol %R sign or triangle' neCt to nde'es. 3' 4ight9clic+ on &able of Contents1 and choose nde' 9 -dit.
3#3
You can also update the indeC from the !a)igator by eCpanding nde'es and right9clic+ing on &able of Contents1 and choosing nde' 9 2pdate.
>ote
7riter will not prompt you to confirm the deletel "se caution when deleting a T=C.
You can also delete the indeC from the !a)igator by selecting nde' 9 4elete from the menu shown in 5igure 3A0.
Alphabetic inde'es
*n alphabetical indeC %referred to as an indeC' is a list of +eywords or phrases used throughout a document that( if listed in order with page numbers( may help the reader find information @uic+ly. enerally an indeC is found in the bac+ of a boo+ or document. This section describes how to&
*dd indeC entries. Create an alphabetic indeC @uic+ly. Customi2e the display of indeC entries. Customi2e the appearance of the indeC. Piew and edit eCisting indeC entries.
>ote
* cursor placed immediately before the first character of a word( or immediately after the last character of a word if itWs followed by a space( counts as being in that word.
-ee TCustomi2ing indeC entriesU below for an eCplanation of the fields on this dialog. You can create multiple entries without closing the dialog. 5or each one& 1' Clic+ at the location in the document that you want to indeC. 2' Clic+ again on the dialog. 3' Change the entry if needed( and clic+ nsert. >' 4epeat steps 13 until you ha)e finished with the entries( then clic+ Close.
3##
>ote
&ip
You can also open the Gnsert GndeC 3ntry dialog by clic+ing the 3ntry icon on the Gnsert toolbar( as shown in 5igure 3A2.
3#%
3#&
The 2nsert 2nde-!+able dialog %5igure 3A3' has fi)e pages. *ny or all of them can be used to customi2e the appearance of an indeC.
"se the 2nde-!+able page to set the attributes of the indeC. "se the ,ntries and Styles pages to format the entries in the indeC. "se the 8olumns tab to put the indeC into more than one column. "se the Jac7ground tab to add color or a graphic to the bac+ground of the indeC.
The pre)iew boC( located on the left9hand side of the dialog( shows as you wor+ how the indeC will loo+. %Gf you do not see the pre)iew boC( select Preview in the lower right9hand corner of the dialog.' *fter ma+ing your changes( clic+ ;6 to sa)e the indeC so it appears in your document.
The pre)iew boC only shows the appearance from settings made on the 2nde-!+able( ,ntries and Styles pages. The 8olumns and Jac7ground pages each ha)e their own pre)iew panes.
>ote
,ndex'-able pa e
"se the 2nde-!+able page to set the basic attributes of the indeC.
)igure 3%3 2nde-!+able page of 2nsert 2nde-!+able dialog 1' To gi)e the GndeC a different title( type it in the &itle field. To delete the title( clear the &itle field. 2' /e sure the type of indeC is set to Alphabetical nde'. 3' To pre)ent the indeC from being changed accidentally( select Protected against manual changes. Gf this option is selected( the indeC can only be changed using the right9clic+ menu( or the 2nsert 2nde-!+able dialog. Gf the option is not selected( the indeC can be changed directly on the document page( Just li+e other teCt( but any manual changes to an indeC are lost when you update it.
3#'
>' 5rom the drop9down list in the 8reate inde-!table section( select -ntire document. You can also choose to create an indeC for Just the current chapter. A' Parious other options determine how the indeC handles entries&
Combine identical entries. .efines how identical entries are dealt with. !ormally each page number of an indeCed word or phrase will be shown in the indeCV howe)er these can be combined using the Combine identical entries with p or pp. Gf you want a page range displayed( select Combine with G %which will produce something similar to 2331'. Gf you want different entries based on what letters are capitali2ed( select Case sensitive. AutoCapitali5e entries. *utomatically capitali2es the first letter of each entry regardless of how they show within the document itself. 6eys as separate entries. 5or the +eys to ha)e their own page numbers( select this option. Concordance file. 3nables a list of words in an eCternal file to be imported %select using the File button' and then used within the indeC. The concordance file has a special file formatV for further information( refer to concordance file in 8elp 9 :ibre;ffice 8elp. "sing a concordance file can speed up production of an indeC( but unless the words are )ery carefully selected and you edit the indeC afterwards( the resulting indeC can be full of entries for minor mentions of a term( ma+ing it less useful than a more selecti)e indeC. $ort. .efines how the entries are sorted when displayed. The only option is alphanumeric( but you can define which language alphabet will be used.
Entries pa e
"se the ,ntries page to set eCactly how and what will be displayed for each of the entries. The page is similar to 5igure 3A>.
3#(
To begin( in the Level column select the indeC le)el whose elements you want to format. $e)el T-U refers to the single letter headings that di)ide the indeC entries alphabetically when the Alphabetical delimiter option is selected in the )ormat section. %You will be able to apply your changes to all indeC le)els later.' The Structure line displays the elements for entries in that le)el. 3ach button on the Structure line represents one element&
The - button represents the entry teCt. The & button represents a tab stop. The Z button represents the page number. The C button represents chapter information. This is not present by default( but can be added by selecting the Chapter info button.
3ach white field on the Structure line represents a blan+ space. You can add custom teCt if you desire.
Adding elements To add an element to the Structure line& 1' #lace the cursor in the white field to the left of where you want to insert the element. 2' Clic+ one of the acti)e buttons below the Structure line. %5or eCample( to add a tab stop( clic+ the &ab stop button.' * button representing the new element appears on the Structure line. 3' To add custom teCt( clic+ in the white space at the position you want to insert it( and type the teCt. .onWt forget a trailing space. Changing elements To change an element in the Structure line( clic+ the button representing that element and then clic+ the element that you want to substitute it for in the row of buttons Just below the Structure line. 5or eCample( to change entry teCt to a tab stop( clic+ the - button on the Structure line %it shows then as being pressed' and then clic+ the &ab stop button in the row of a)ailable elements. 4eleting elements To delete an element from the Structure line( clic+ the button that represents that element and then press the Delete +ey on your +eyboard. 5or eCample( to delete a tab stop( clic+ the & button and then press the Delete +ey %)unction9Delete on a 0ac'. Chapter nfo This button inserts chapter information( such as the chapter heading and number. The information to be displayed is selected from the Chapter entry boC menu. This data is determined in the Outline Dumbering dialog %&ools 9 ;utline >umbering'. Applying character styles 3ach of the items that can be added to the Structure line may be gi)en additional formatting. 5or eCample( you may want the page number to be a different si2e from the rest of the indeC teCt. To do this( apply a character style to one of the elements in the Structure line.
To apply a character style to an element& 1' =n the Structure line( clic+ the button representing the element to which you want to apply a style. 2' -elect the desired style from the 8haracter Style drop9down list. 7riter applies the style to the selected element. To )iew or edit the attributes of a character style( select the style from the 8haracter Style drop9 down list and then clic+ the -dit button.
3#=
Formatting entries *pply additional formatting using the options in the )ormat section. Alphabetical delimiter. This separates the indeC entries into bloc+s that start with the same first letter( using that letter as a header. 5or eCample( if your indeC begins& apple( > author( 10 brea+( 2 bus( >
then selecting this option will gi)e you& A apple( > author( 10 3 brea+( 2 bus( >
6ey separated by commas. *rranges the entries in the indeC on the same line but
separated by commas.
&ab position relative to Paragraph $tyle indent. 7hen chec+ed( entries are indented
according to the settings of their indi)idual formats. 7here a paragraph style with an indent on the left is in use( tab stops will be relati)e to this indent. Gf this option is not selected( tab stops will be relati)e to the left margin position.
(olu#ns pa e
"se the Columns page %5igure 3AA' to change the number of columns for the indeC.
Adding multiple columns To display the indeC in more than one column& 1' 3ither enter the number of columns desired in the boC labeled 8olumns or select the icon representing the number of columns. 2' To e)enly distribute the columns according to the page width( chec+ the Auto!idth boC. Gf it is unchec+ed( you can manually set each of the following& Width of each of the columns Spacing between the columns
3' You can choose to ha)e a separator line between the columns&
Style The default is Done( or select from three choices of line style. Width& The width %thic+ness' of the line. The default is $.:%pt. .eight& The height of the line( as a percentage of the full column height. The default is *$$T Position& #osition of the line relati)e to the columns %top( centered( or bottom' if the height is less than 100k. 8olor *llows the color of the separator line to be set.
Maintaining an index
To modify the appearance of an indeC& 1' 6ight"clic7 anywhere in the indeC. 2' 5rom the conteCt menu( choose -dit nde'F&able. The 2nsert 2nde-!+able dialog opens and you can edit and sa)e the indeC using the fi)e tabs described in the pre)ious section. To update or delete an indeC( right"clic7 anywhere in the indeC and select 2pdate nde'F&able or 4elete nde'F&able as re@uired.
3%*
3%:
)igure 3%' 8reating other types of inde-es A' =n the -ntries page( notice that hyperlin+ing from the indeC to the body of the document is not a)ailable( but you can ma+e some other selections.
)igure 3%( ,ntries tab for 2llustration 2nde<' Clic+ ;6. The result is shown below.
3%3
Bibliographies
* bibliography is a list for displaying references used throughout a document. These references are either stored in a bibliographic database or within the document itself. This section shows you how to&
Create a bibliographic databaseV add and maintain entries. *dd a reference into a document. 5ormat the bibliography. "pdate and edit an eCisting bibliography.
3%#
%ilterin records
To set up a filter for specific records within the bibliographic database( select &ools 9 Filter from the /ibliographic .atabase menu bar. =n the Standard )ilter dialog %5igure 3<1'( choose the fields( conditions and )alues for the filter and clic+ ;6.
3%%
)igure 3&3 8hoosing a different data source for the bibliographic database
)igure 3&# Data Source view of Jibliography database 2' 0a+e sure that the /ibliography database is selected as well as the correct table. You may ha)e to eCpand some le)els to be able to select the correct ones. 3' 6ight"clic7 on the table entry %biblio in the eCample' and select -dit 4atabase File from the conteCt menu. This opens a window similar to 5igure 3<A( which is the main menu for /ase( the database component of $ibre=ffice.
>' Gf &ables %in the Database section' is not selected( select it now. A' 6ight"clic7 on the biblio table name in the +ables section and select -dit from the conteCt menu to display the +able Design window similar to that shown in 5igure 3<<. <' You can now select each of the fields. You can select the teCt in the Field >ame cell and change the entry as re@uired. Clic+ing in the Field &ype cell( allows you to open a selection menu to change the data type in that cell. Gn the )ield Properties section( the data properties can be modified. 5or each data field selected( an eCplanation of that field appears in a window to the right of the section. E' 7hen finished( you will be as+ed to confirm that you want the changes sa)ed.
>ote
5or more information on how to use $ibre=fficeFs database features( see Chapter B( etting -tarted with /ase( in the Getting Started guide.
3%'
A' To complete the entry( mo)e to the last field and press +ab once more. Gf your document re@uires \*uthor( date] style citations( use the Short name field of the database to record the information in the re@uired format.
5rom a bibliography database( such as the one built in to 7riter. .irectly from the +eyboard when you may ha)e documents in front of you. Enterin references fro# a database
To add references from the bibliographic database into a document& 1' #lace the cursor where you want the reference to appear. 2' 5rom the main menu( choose nsert 9 nde'es and &ables 9 3ibliographic -ntry. 3' Gn the 2nsert Jibliographic ,ntry dialog( choose From bibliography database at the top of the dialog.
)igure 3&' 2nserting bibliographic entries into a document >' -elect the reference from the Short name drop9down list near the bottom of the dialog. The *uthor and Title of the selected reference are shown in the middle of the dialog( to help you )erify that it is the reference you want. A' To insert the reference into the document( clic+ nsert. <' You can +eep the dialog open and insert another reference into the documentV you donFt need to close and reopen it. E' 7hen you ha)e finished inserting all the references( select Close.
1' -elect nsert 9 nde'es and &ables 9 3ibliography -ntry. 2' Gn the dialog that opens( select the From document content option. a' -elect >ew. b' Gn the Define Jibliography ,ntry dialog( complete all the fields which are rele)ant to your entry. Type a uni@ue name in the Short name teCt entry boC( because the 2nsert Jibliography ,ntry dialog uses this entry for the citation. c' *n entry must be selected from the menu in the &ype input boC in order to enable the ;6 button. d' Clic+ ;6 when all the fields wanted are completed. e' Clic+ nsert to add the Short name field to the document f' Clic+ in each location you wish to add an entry and repeat this se@uence 3' Clic+ Close. You may of course re9use an entry in your document( by restarting the se@uence abo)e( and then selecting the Short name re@uired( from the current list of entries( instead of selecting to add a new entry
-diting a reference
You can edit a reference in the following manner& 1' 6ight"clic7 on the entry %the cursor then displays to the left of the entry'. 2' 5rom the conteCt menu which opens( select 3ibliography -ntry. The 3dit /ibliography 3ntry dialog opens( similar to below.
)igure 3&( ,dit the citation entry 3' To @uic+ly edit only the Short name( clic+ on the teCt boC( alter the entry and then clic+ /odify. The dialog sa)es the change and closes. >' To edit more of the entry( clic+ on -dit to open the Define Jibliography ,ntry dialog similar to the graphic shown below %5igure 3<D'. A' You can change the citation to attribute by choosing a different -hort name from the drop9 down list. <' 0a+e any changes re@uired and then clic+ ;6 to return to the dialog of 5igure 3<B. E' Gf you are satisfied with your changes( clic+ /odify to accept the changes and eCit the dialog. 7hate)er the source of the citation( the modified references are stored in the document. Gf the source was a bibliography database( that database remains unmodified.
3%=
,ndex'-able pa e
7riter supports two ways of displaying references %citations' in the teCt of a document&
"sing the teCt recorded in the Short name field of each bibliographic entry( for eCample
\ "400].
/y numbering the referenced documents in the se@uence they occur in the teCt( for
eCample \1].
&ip
To specify which citation style is used in the document( use the nde'F&able page on the Gnsert 2nde-!+able dialog( described on page 3<1.
2nsert 2nde-!table dialog %co)ered in this section' Jibliography * paragraph style %see page 3<3'
The basic settings are selected on this page. 1' To gi)e the bibliography a title( enter it in the &itle field. %* title is not re@uired.' 2' You can protect the bibliography from being changed accidentally( by chec+ing Protected against manual changes. Gf this option is selected( the bibliography can only be changed
3&$ LibreOffice #.$ Writer Guide
using the right9clic+ menu or the 2nsert +able!2nde- dialog. Gf the option is not selected( the bibliography can be changed directly on the document page( Just li+e other teCt( but any manual changes will be lost when you update the bibliography.
)igure 3'$ 2nserting a bibliography 3' To ha)e the bibliographic entries %citations' numbered within the body of the document %for eCample( \1]( \2]...'( select >umber entries. Gf( howe)er( you wish to ha)e the Short name field contents %from the database' appear in the document( deselect this option. >' -elect the type of brac+ets that you want for the referenced entries shown within the body of the document. A' .efine the sorting you re@uire. Currently only alphanumeric sorting is supported. -orting by the se@uence that entries appear in the teCt is done on the ,ntries page.
Entries pa e
The structure of this page %see 5igure 3E1'( is similar to that for tables of contents and for indeCes. 3ach type of source that you use when creating your document will ha)e its own uni@ue wor+s cited format. The 0odern $anguage *ssociation %0$*' documentation format sets out the recommended order for these citations. 5or eCample( see http&//www.mattawanschools.org/. You can define how the entry will appear( based on its source( by selecting from the &ype list of entries( or simply apply the same format to all entries by selecting the All button. 3ach entry in the +ype list has a default structure format. The Structure of the entry is based on the fields a)ailable in the bibliographic database. The ones shown by default for /rticle in the &ype list are& $h -hort name Au *uthor &i Title Je Year
3&*
>ote
Gn this current release of $ibre=ffice 7riter( )ersion >.0.2( only 3ook from the &ype list is editable. *lthough you can add and remo)e items from the structure line for other types( as described in the instructions below( it has no effect on the indeC created. The indeC will be created with the default entries shown abo)e. /ug <3A11.
To remo)e elements from the Structure line( clic+ the element then clic+ the Cemove button. To add an element( clic+ in the Structure line where it is to be inserted. -elect either the &ab stop( or an element in the drop9down list to the left of the nsert button( and then clic+ nsert. The elements in the drop9down list are those fields found in the Jibliography Database. *ll the elements on the Structure line can be formatted using the Character $tyle selection list. To determine how entries are sorted( modify the Sort by options. To sort by the se@uence that entries appear in the teCt( choose 4ocument position. To sort alphanumerically( choose Content. "se $ort keys to group similar references.
3&:
)igure 3': Specifying s>uare brac7ets before and after the number in a list 3' !ow go to the Position page of the Dumbering style dialog. Gn the $pacing to te't boC( specify how much indentation you want for the second and following lines of any item in the bibliography list of your document. =ften you will need to eCperiment a bit to see what is the best setting. Gn our eCample %5igure 3E3'( we ha)e chosen 1 cm.
)igure 3'3 Setting the spacing between the margin and the te-t
3&3
>' Clic+ ;6 to sa)e these settings and close the Dumbering Style dialog. 4eturn to the $tyles and Formatting window( clic+ on the Paragraph $tyles icon( choose All $tyles from the list at the bottom of that window( then right"clic7 on 3ibliography 1 and choose /odify. A' =n the Paragraph Style dialog( go to the ;utline O >umbering tab and select >umbering 1 from the drop9down list. %-ee 5igure 3E>.' Clic+ ;6 to sa)e this change to the Jibliography * paragraph style.
)igure 3'# /pplying a numbering style to a paragraph style !ow when you generate the bibliography( the list will loo+ something li+e the one shown below for a boo+ after remo)ing elements from the structure line %the Short name and colon( for eCample'.
-elect 2pdate nde'F&able to update the bibliography. -elect -dit nde'F&able to open the 2nsert 2nde-!+able dialog so you can edit and sa)e the
table.
7hen graphics( spreadsheets( or other material cause the file si2e or number of pages to
become @uite largeV writing( re)iewing( and editing may be easier when done on subsets of the full document.
7hen different people are writing different chapters or other parts of the full document. 7hen files will be published as stand9alone documents as well as becoming part of a larger
document. The chapters of this 7riter uide are an eCample of this.
&ip
Gf more than one subdocument uses a custom style with the same name %for eCample(
my/odyTeCt'( then only the one in the first subdocument to be lin+ed is imported into the master document.
Gf a style with the same name eCists in the master document and in the subdocuments %for
eCample( .efault -tyle'( then the style is applied as defined in the master document.
The styles in the subdocuments are only changed in the master document( so when a
subdocument is opened for editing the original styles are not affected.
Gf you use the same document template for the master document and its subdocuments( the subdocuments will loo+ the same when they are loaded into the master document as they do when )iewed as indi)idual files. 7hen you modify or create a style( ma+e the change in the template %not in the master document or any of the subdocuments'. Then when you reopen the master document or a subdocument( the styles will update from the template.
&ip
3&&
You ha)e one eCisting document %a boo+' that you want to split into se)eral subdocuments
%chapters' that will be controlled by the master document.
You ha)e se)eral eCisting documents %chapters' by one or more authors that you want to
combine into one boo+( controlled by the master document.
You ha)e no eCisting documents but intend to write a long boo+ containing se)eral
chapters( possibly by multiple authors. 7e will loo+ at each of these scenarios in turn.
The page style of the first page %and possibly all pages' in each subdocument re)erts to
.efault -tyle. Gf you are using custom page styles and you want the subdocuments to use the same page layout( whether part of the master document or standalone( you will need to reapply at least the first page style.
The automatically generated file names for the subdocuments are maindocname;.odt(
where I is 1( 2( 3( and so on. Gf you ha)e a #reface or other TchapterU starting with a .eading * before Chapter 1( the file names will not directly correspond to the chapter numbers. You may wish to rename the subdocumentsV see T*dding( deleting( or renaming subdocumentsU on page 3EE.
Gf the original document is associated with a template( the .=.0 file will also be associated
with that template( but the subdocuments will not. The subdocuments will inherit the styles in the original document( but their association with the template will be lost. 8ow to do it: 1' =pen the document and choose File 9 $end 9 Create /aster 4ocument. 2' =n the !ame and #ath of 0aster .ocument dialog %5igure 3E<'& a' !a)igate to the folder where you want to sa)e the master document and its subdocuments %or create a new folder'. b' Type a name for the master document in the )ile name boC. c' Gn the separated by list ( choose the outline le)el where the file should be split into subdocuments. "sually this is ;utline: :evel 1 for a chapter heading( but your document may be structured differently. 5or more information about outline le)els( see T.efining a hierarchy of headingsU in Chapter <( Gntroduction to -tyles. d' $ea)e the /utomatic file name e-tension option selected( and clic+ $ave to split the document into subdocuments and create the master document. Gf you selected Outline Level * and the paragraph style at that le)el is .eading *( each of the subdocuments begins with a .eading * paragraph.
3&'
3&(
)igure 3'' +est)ile documents created from )rontPage 3' =pen the master document and clic+ Jes to update lin+s. The master document opens with the !a)igator open by default. >' Clic+ and hold on the nsert icon( mo)e the cursor down to File and release the button.
)igure 3'( /dding files to the master document A' !a)igate to the location of the test results files %4esults1( 4esults2 and so forth'. -elect the first file to insert( 4esults1 for eCample( and clic+ nsert. The file is inserted abo)e the eCisting entry. <' Clic+ the /ove 2p icon to ha)e the Test5ile teCt abo)e the 4esults1 teCt %file contents are inserted abo)e the selected file in the master document'. E' 4epeat from step > as often as re@uired. Gt does not matter which file is highlighted in the master document when you insert the neCt one( Just select the inserted file and use the /ove 2p or /ove 4own icons to position it as re@uired.
)igure 3'= <oving subdocuments B' To edit the master document( to perhaps add a widget serial number and a clientWs name( in the master document right9clic+ Test5ile1 and select -dit from the conteCt menu. *dd the re@uired content to the file which opens( sa)e and close the file %see T3diting a master documentT on page 3E< for more detailed information'. D' -elect &ools 9 2pdate 9 :inks from the 0enu bar( or clic+ and hold on the 2pdate icon in the !a)igator and mo)e the cursor to :inks and release the button. *ll the edits in the master document will now show.
3&=
Page, paragraph, character, frame, and numbering styles. .etermine the styles you wish to use. -ee Chapter <( Gntroduction to -tyles( and Chapter E( 7or+ing with -tyles( for instructions on how to create or modify styles and eCamples of the use of styles in boo+ design. #ay particular attention to setting up headings using styles( as described in T.efining a hierarchy of headingsU in Chapter <( Gntroduction to -tyles. Fields and Auto&e't entries, as re?uired. -ee Chapter 3( 7or+ing with TeCt( and Chapter 1>( 7or+ing with 5ields( for ideas. ;ne or more templates for master and subdocuments. Gf you are starting a new proJect( create the master document and all the subdocuments from the same template. !ot using the same template can create style inconsistencies that could cause your document not to loo+ as you eCpect. 5or eCample( if two subdocuments ha)e a style with the same name that is formatted differently in each document( the master document will use the formatting from the first subdocument that was added. Page numbering. Gn our eCample( the pages are numbered se@uentially from the title page. %The title page style can be defined not to show the page number( but it will still count as page 1.' Therefore the first chapter begins on a higher number page( for eCample page A. To create a boo+ in which the page numbering restarts at 1 for the first chapter( you need to do some additional wor+. -ee T4estarting page numberingU on page 3EA.
3'$ LibreOffice #.$ Writer Guide
>ote
>ote
3'*
Gf you already ha)e some of the chapters written( the files are probably not based on the template you Just created for this proJect. You will need to change the template attached to the eCisting files. You can do this manually by opening the re@uired template and copying and pasting content into the blan+ template.
0a+e sure paragraph mar+s are showing. You can set them in &ools 9 ;ptions 9
:ibre;ffice !riter 9 Formatting Aids( or clic+ the >onprinting Characters icon the -tandard toolbar or press 8trl9)*$. on
-how teCt boundaries( table boundaries( and section boundaries %&ools 9 ;ptions 9
:ibre;ffice 9 Appearance'. Gf your master document does not contain any re@uired Tfront matterU such as a title page( copyright page( or T=C page( add them now. The eCample in this section uses the se@uence of page styles gi)en in T-tep 1. #lan the proJectU on page 3E0. 1' Type the contents of the title page %or lea)e placeholders and fill in later'. 7ith the insertion point in the last blan+ paragraph on the page( clic+ nsert 9 /anual 3reak. =n the Gnsert /rea+ dialog( select Page break and the page style for the second page %8opyright page in our eCample'( and lea)e the Change page number option deselected. Clic+ ;6.
)igure 3($ 2nserting a page brea7 between the title page and the copyright page 2' Type the contents of the copyright page %or lea)e placeholders'. 7ith the insertion point in the last blan+ paragraph on the page( insert another manual page brea+( this time setting the page style to +able of 8ontents page. 3' =n the Table of Contents page( lea)e a blan+ paragraph or two or insert a T=C % nsert 9 nde'es and &ables 9 nde'es and &ables'. The T=C will not ha)e any contents until you add the subdocuments( but you should see a gray mar+ or boC indicating its location. 5or more about inserting and formatting T=Cs( see Chapter 12( Tables of Contents( GndeCes( and /ibliographies.
>ote
.epending on the style definitions for the first paragraph %usually a heading' on the Copyright and T=C pages( you may not need to insert manual page brea+s.
3':
&ip
1' .isplay the !a)igator %clic+ =iew 9 >avigator( or press )%( or clic+ the >avigator icon . 2' /e sure the !a)igator is showing the master )iew %see T"sing the !a)igatorU on page 3B0'. Clic+ on the &oggle icon at the upper left to toggle between regular and master )iews. 3' =n the !a)igator( select &e't( then clic+ and hold on the nsert icon( mo)e the mouse pointer down( and clic+ File.
)igure 3(* 2nserting a subdocument into a master document using the Davigator * standard 5ile =pen dialog appears. -elect the re@uired file %which you created in -tep >' and clic+ nsert. This eCample uses E chapters and a prefaceV we will load Chapter E first( as suggested in the Tip abo)e. The inserted file is listed in the !a)igator before the TeCt item( as shown in 5igure 3B2.
)igure 3(: Davigator after inserting one subdocument >' /ecause the +e-t section contains the title page and other material( highlight it and clic+ the /ove 2p icon to mo)e it to the top of the list. A' 6ighlight the subdocument you Just inserted %Chapter E'( then clic+ and hold on the nsert icon( mo)e the mouse pointer( and clic+ File to insert the first subdocumentV in this eCample( #reface. Chapter E remains highlighted. 4epeat with Chapter 1( Chapter 2( and so on until all the subdocuments ha)e been added to the list. The !a)igator will now loo+ something li+e 5igure 3B3. <' -a)e the master document again.
3'3
)igure 3(# Davigator showing subdocuments@ table of contents@ and inde- in a master document
3'# LibreOffice #.$ Writer Guide
!o page numbers on co)er page or copyright page $ower9case roman numerals in the front matter( starting with i *rabic numerals in the body of the document( starting with 1 #age numbering se@uential through the rest of the boo+
To set up a master document to produce such a boo+( you need to define a different paragraph style for the heading of the first chapter and assign two special characteristics to it. -'ample 3ach chapter may start with a .eading * paragraph( set up on the TeCt 5low tab of the #aragraph -tyle dialog to start on a new page %5igure 3BA'. The #age number is set to 0( with the effect that numbering continues from the number of the pre)ious page.
)igure 3(% +e-t )low tab of Paragraph Style dialog for .eading * $oo+ on the =utline M !umbering tab %5igure 3B<' of this dialog to see what outline le)el .eading * is assigned to. "sually this will be =utline $e)el 1. The le)el cannot be changed here because it has been set in &ools 9 ;utline >umbering.
)igure 3(& Outline L Dumbering tab of Paragraph Style dialog for .eading *
3'%
=nly one paragraph style can be assigned to =utline $e)el 1 through &ools 9 ;utline >umbering. 6owe)er( you can assign additional paragraph styles to any outline le)el by using the =utline M !umbering tab on the #aragraph -tyle dialog. Therefore( you want to define a style called .eading * 8hapter * that is identical in appearance to .eading * but has one essential difference& on the TeCt 5low tab( set the #age number to 1 %5igure 3BE'. Then( on the =utline M !umbering tab( set the =utline le)el to $e)el 1 %5igure 3BB'. This ensures that the heading will appear in the Table of Contents along with the other chapter headings. %The !umbering -tyle for this heading is !one( as it was not assigned an outline le)el through the =utline !umbering dialog. !ow( assign the new style to the first paragraph of Chapter 1( and youFre done.
)igure 3(' Set the page number to restart at * for this heading style
3'&
To update the master document %and all of the subdocuments' with changes to the template( Just open the master document. You will get two messages& first( to as+ if you want to update all lin+sV and second( if you want to apply the changed styles. *nswer Ges to both of these messages.
-diting subdocuments
You cannot edit a subdocument from within the master document. Gnstead( you must open the subdocument( either by double9clic+ing on it in the master documentFs !a)igator( or by opening it from outside the master document. Then you can edit it Just as you would edit any other document. Gf( while editing a subdocument( you want to ma+e changes to the styles that apply to the master document( follow the recommendations in TChanging the appearance of the master documentU abo)e. Gf you change the contents of any subdocument( you need to manually update the table of contents( bibliography( and indeC from within the master document.
.sin boo&#ar&s
/oo+mar+s are listed in the !a)igator and can be accessed directly from there with a single mouse clic+. To insert a boo+mar+& 1' -elect the teCt you want to boo+mar+. Clic+ nsert 9 3ookmark. 2' =n the Gnsert /oo+mar+ dialog( the larger boC lists any pre)iously defined boo+mar+s. Type a name for the new boo+mar+ in the top boC. Clic+ ;6.
"ettin references
=pen the subdocument in which you want to set references. 1' Clic+ nsert 9 Cross.reference. 2' =n the 8ross"references tab of the 5ields dialog %5igure 3D1'( clic+ $et Ceference in the +ype list. The Selection list shows any references that ha)e been defined. You can lea)e this page open while you set many headings as references. 3' Clic+ in the document and highlight the teCt of the first heading to be used as a target for a cross9reference. Clic+ on the 5ields dialog. The teCt of the heading will appear in the ?alue boC in the lower right of the dialog. Gn the Dame boC( type some teCt by which you can identify this heading. >' Clic+ nsert. The teCt you typed in the Dame boC now appears in the Selection list. A' 4epeat steps 3 and > as often as re@uired( +eeping a note of your references as needed. <' 4epeat for other subdocuments if wanted. -a)e and close.
3'(
)igure 3=: )ields dialog showing manual entry of field name >' Gn the >ame field in the lower right hand column( type the name of the reference you set in the subdocument you are referring to. Gn our eCample( the reference is in Chapter 3( and its name is word count.
3'=
A' Clic+ nsert, type any teCt you want to appear between the reference and page number %such as Ton pageU'( and then insert another reference with Page from the 2nsert reference to list. The cross9references will show an error as shown in 5igure 3D3. 7hen you ho)er the mouse pointer o)er one of these fields( you will see the field name.
)igure 3=3 ?iewing the field name %You can turn on the display of field codes by clic+ing =iew 9 Field >ames. The two error fields shown in 5igure 3D3 now loo+ li+e 5igure 3D>.'
)igure 3=# Displaying field codes <' *fter you ha)e inserted all the cross9references re@uired in the subdocument( sa)e and close it and return to the master document window. -elect &ools 9 2pdate 9 :inks from the 0enu bar( or clic+ and hold on the 2pdate icon in the !a)igator and mo)e the cursor to :inks and release the button. *ll the edits in the master document will now show. 7ithin the master document( na)igate to the page of the subdocument on which you inserted the cross9reference field. You should now see the teCt of the cross9reference appear in the spot where you inserted it. Gf it does not wor+( sa)e the master document( close it( and open it again( updating the lin+s.
)igure 3=% )ield contents visible This techni@ue also wor+s if you open a subdocument directly in step 2 %that is( not from within the master document' and insert a cross9reference field.
3($
Gn a master document( you can toggle between the regular and master )iews by clic+ing on the &oggle icon at the upper left. Gn the master )iew( the !a)igator lists the subdocuments and teCt sections( as shown on the right hand side of 5igure 3D<. The use of the !a)igator in a master document is co)ered in more detail later in this chapter %see T-tep <. Gnsert the subdocuments into the master documentU on page 3E3 and TCross9referencing between subdocumentsU on page 3EE'.
)igure 3=& +he Davigator for a te-t document 4left5 and for a master document 4right5
3(*
)igure 3=' ,-porting a master document to an Open Document +e-t 4.odt5 file 3' Close the master document and open the new .odt file( updating all lin+s. >' To brea+ the lin+s and remo)e the write protect( go to Format 9 $ections( select the first item in the Section list( then press Shift9clic7 on the last item in the list in order to select all the items in the list. .eselect both the :ink in the Lin7 section and Protected in the Write protection section. A' Clic+ ;6. <' Gf you wish to eliminate some or all of the sections to ha)e a plain teCt document( select the sections you wish to remo)e( and clic+ Cemove. The contents of those sections remain in the documentV only the section mar+ers are remo)ed. Clic+ ;6.
3(:
3(3
ntroduction to fields
5ields are eCtremely useful features of 7riter. They are used for a )ariety of purposesV for eCample( data that changes %such as the current date or the total number of pages' or might change %the name of a product or boo+ under de)elopment'( user9defined numbering se@uences( automatic cross9references( and conditional content %words or paragraphs that are )isible or printed in some conditions but not others'. GndeC entries are also fields. This chapter describes some common uses of fields. * full discussion of fields and their use is beyond the scope of this boo+. #ower users can find more details in the application 6elp.
5ields ha)e a gray bac+ground when )iewed on screen( unless you ha)e deselected the Field shadings option or changed the color of field shadings on the /ppearance page of the &ools 9 ;ptions 9 :ibre;ffice dialog. This gray bac+ground does not show when you print the file to hard copy or #.5. To turn field shadings on or off @uic+ly( choose =iew 9 Field $hadings or press 8trl9)(.
&ip
3(&
0etadata to assist in classifying( sorting( storing( and retrie)ing documents. -ome of this
metadata is eCported to the closest e@ui)alent in 6T0$ and #.5V some fields ha)e no e@ui)alent and are not eCported.
Gnformation that changes. You can store data for use in fields in your documentV for
eCample( the title of the document( contact information for a proJect participant( or the name of a product might change during the course of a proJect. This dialog can be used in a template( where the field names can ser)e as reminders to writers of information they need to include. $ater in this chapter( we will see how to use this information in fields. You can return to this dialog at any time and change the information you entered. 7hen you do so( all of the references to that information will change where)er they appear in the document. 5or eCample( on the Description page %5igure >00' you might need to change the contents of the +itle field from the draft title to the production title.
)igure #$$ +he Description page of the documentUs Properties dialog To open the #roperties dialog( choose File 9 Properties. "se the 8ustom Properties page %5igure >01' to store information that does not fit into the fields supplied on the other pages of this dialog. 7hen the Custom #roperties page is first opened in a new document( it may be blan+. %Gf the new document is based on a template( this page may contain fields.' Clic+ Add to insert a row of boCes into which you can enter your custom properties.
The Dame boC includes a drop9down list of typical choicesV scroll down to see all the
choices. Gf none of the choices meet your needs( you can type a new name into the boC.
Gn the +ype column( you can choose from teCt( dateLtime( date( number( duration( or yes/no
for each field. You cannot create new types.
Gn the ?alue column( type or select what you want to appear in the document where this
field is used. Choices may be limited to specific data types depending on the selection in the Type columnV for eCample( if the Type selection is .ate( the Palue for that property is limited to a date.
To remo)e a custom property( clic+ the button at the end of the row. &ip
To change the format of the .ate )alue( go to &ools 9 ;ptions 9 :anguage $ettings 9 :anguages and change the $ocale setting. /e carefull This change affects all open documents( not Just the current one.
3('
)igure #$* 8ustom Properties page@ showing drop"down lists of names and types
3((
)igure #$: 2nserting a Date <odified field using the Doc2nformation page of the )ields dialog
)igure #$3 2nserting a )ile name field using the Document page of the )ields dialog -ome of these items are pic+ed up from the 0ser Data page of the &ools 9 ;ptions 9 :ibre;ffice dialog %co)ered in Chapter 2( -etting up 7riter'( so ma+e sure the information on that page is correct.
*lthough these fields are often used to hold information that changes( you can ma+e the content unchangeable by selecting the Fi'ed content option %)isible in 5igure >02( lower right' when inserting the field. Gf necessary( you can come bac+ to this dialog later and deselect this option to ma+e the field )ariable again.
&ip
3(=
)igure #$# 8reating a new /uto+e-t entry !ow whene)er you want to insert this field at the cursor position( type the shortcut( and then press )3.
3=$
)igure #$% Defining a number range variable >' Clic+ nsert. The name of the )ariable %$tep' now appears in the Selection list( and a number field %showing 1' appears at the insertion point in your document. The 5ields dialog remains open( so you may need to mo)e it out of the way to see the field in the document. A' Gf you clic+ se)eral more times on the nsert button in the 5ields dialog( the numbers #, %, )( and so on will appear in the document. !ow you may want to change the -tep se@uence to a different number( forwards from the current )alue( or bac+wards to a pre)ious )alue( so you can use the same se@uence name more than once in your document %for eCample( to begin each set of instructions'. To do that( you need to insert a new field of the same name( while instructing $ibre=ffice to force the )alue to the new choice. 1' =pen the 5ields dialog to the ?ariables page. 0a+e sure the )ariable name $tep appears in the Dame boC. 2' Gn the ?alue boC( type 1 %we will illustrate a numbering restart here( but any number will wor+'( as shown in 5igure >0<. Clic+ nsert. 3' To continue with the normal se@uence %that is( to ha)e the neCt -tep )alue be #'( you need to delete the contents of the Palue boC after inserting at step 2.
3=*
&ip
3=:
&ip
-ome people use 7riterFs 6yperlin+ feature for cross9references( but it has the maJor disad)antage that the )isible teCt of the hyperlin+ does not change if you change the teCt of the item to which it lin+s. 5or that reason( you are ad)ised to use cross9references in most situations. The eCception is when you are creating a document to be sa)ed as 6T0$V cross9 references do not become hyperlin+s in an 6T0$ document.
The 8ross"references page of the 5ields dialog %5igure >0E' lists some items( such as headings( numbered paragraphs( and boo+mar+s. Gf figure captions( table captions( user9defined number range )ariables( and some other items ha)e been defined in a document( that type also appears in the list.
nserting cross.references
To insert a cross9reference to a heading( figure( or other item shown on the 8ross"references page& 1' Gn your document( place the cursor where you want the cross9reference to appear. 2' Gf the 5ields dialog is not open( choose nsert 9 Cross Ceference or press 8trl9):. =n the 8ross"references page %5igure >0E'( in the +ype list( clic+ the type of item you are referencing %for eCample( 6eading or 5igure'. 3' You can lea)e this page open while you insert many cross9references. >' Clic+ on the re@uired item in the Selection list( which shows both automatically created entries %for eCample 6eadings' as well as user9defined references %for eCample boo+mar+s'. A' Gn the 2nsert reference to list( choose the type of reference re@uired. The choices )ary with the item being referenced. 5or headings( usually you will choose Ceference %to insert the full teCt of the heading' or Page %to insert the number of the page the heading is on'.
3=3
5or figures( you will usually choose Category and >umber %to insert the word T5igureU and its number'( Ceference %to insert the word T5igureU with its number and the full teCt of the caption'( Page %to insert the number of the page the figure is on'( or >umbering %to insert only the figure number'. <' Clic+ nsert. 5or a full list of the reference formats a)ailable( and their use( consult the 6elp.
Available formats
5or all the types of reference( you can select one of the following formats&
#age& the page number of the target Chapter& the number of the chapter where the referenced target is located. 4eference& the full teCt set as reference. *bo)e//elow& Gnserts the words abo)e or below depending on the position of the field relati)e to the referenced target. using the formatting specified in the page style. This is )ery useful when putting a reference to a page in the front matter where roman numerals are usually employed.
*s #age -tyle& similar to #age( this inserts the page number where the reference is( but
Gf you select 6eadings or !umbered #aragraphs as type( the following two additional options become a)ailable&
!umber %no conteCt'& inserts only the number of the heading or of the numbered
paragraph. 5or eCample( if referencing a numbered item 2.>( it inserts >.
!umber %full conteCt'& inserts the full number including higher hierarchical le)els. 5or
eCample( if referencing a numbered item 2.>( the full numbering %2.>' is inserted. 5inally( for obJects inserted with captions such as a table or a figure( you can choose&
Category and !umber& inserts both the category and number of the referenced obJect %for
eCample( 5igure <'. This is generally the most used formatting for figures and tables.
Caption TeCt& inserts the full caption of the referenced obJect. 5or eCample( 5igure <& This is
an eCample figure.
!umbering& inserts the se@uential number of the referenced obJect( without the category
%for eCample( if referencing Table 2( the field will contain only the number 2'.
.sin boo&#ar&s
/oo+mar+s are listed in the !a)igator and can be accessed directly from there with a single mouse clic+. Gn 6T0$ documents( boo+mar+s are con)erted to anchors that you can Jump to using a hyperlin+. 1' -elect the teCt you want to boo+mar+. %You can also insert a boo+mar+ to a location without selecting teCt( by clic+ing in the re@uired place in the teCt.' Choose nsert 9 3ookmark.
3=#
2' =n the Gnsert /oo+mar+ dialog( the larger boC lists any pre)iously defined boo+mar+s. Type a name for this boo+mar+ in the top boC. Clic+ ;6.
"ettin references
1' Choose nsert 9 Cross reference or press 8trl9):. 2' =n the 8ross"references page of the 5ields dialog %5igure >0D'( select $et Ceference in the +ype list. The Selection list shows any references that ha)e been defined. You can lea)e this dialog open while you set many items as references.
)igure #$= Setting te-t to be used as a target for a cross"reference 3' Clic+ in the document and highlight the teCt of the first item to set as a target for a cross9 reference. Clic+ on the 5ields dialog. The teCt of the item will appear in the ?alue boC in the lower right. Gn the Dame boC( type some teCt by which you can identify this item. >' Clic+ nsert. The teCt you typed in the Dame boC now appears in the Selection list. A' 4epeat steps 3 and > as often as re@uired.
3=%
To insert a page number( document title( author( creation date and time( current date and
time( or total page count field( use .ocument #roperties %see page 3B<' or choose nsert 9 Fields 9 SitemT from the menu bar.
You can insert a cross9reference to a boo+mar+( heading( or other item from nsert 9
Fields 9 ;ther 9 Cross.references.
Gf you ha)e used .eading * for your chapter titles( you can use a .ocument field to insert
the current chapter title( so the header or footer contents change from one chapter to the neCt. -ee 5igure >10. %7riter calls chapter titles 8hapter names.' Gf you ha)e used outline numbering on your .eading *( you can choose whether to include these numbers in the field %8hapter number and name'. "se nsert 9 Fields 9 ;ther 9 4ocument.
)igure #*$ 2nserting the current chapter name and number into your document
You can insert cross9references to other heading le)els by specifying a )alue in the Level
boC in the lower right of the Document page of the 5ields dialog %5igure >10'. That is( $e)el 1 j 6eading 1( $e)el 2 j 6eading 2( and so on.
>ote
* cross9reference field in the header of a page pic+s up the first heading of that le)el on the page( and a field in the footer pic+s up the last heading of that le)el.
To include the chapter number with the page number( position the cursor Just before the
Page field you inserted. Choose nsert 9 Fields 9 ;ther. =n the Document page of the 5ields dialog( select Chapter in the +ype column and Chapter number without separator in the )ormat column. Clic+ nsert. o to the header or footer where you inserted this field( type the character you want to appear between the chapter number and the page numberQfor eCample( a period or a dash.
3=&
The table of contents will not automatically pic+ up these chapter numbers( so you will need to ma+e a change on the nde'es and &ables menu item( as described in Chapter 12( Creating Tables of Contents( GndeCes( and /ibliographies. You can add a page count to the footerQfor eCample T#age D of 12U. Type the word T#ageU and a space in front of the Page field. Type a space( the word TofU( and a space after the Page field. Then choose nsert 9 Fields 9 Page Count.
3='
3=(
(onditional text
7ith conditional teCt( you can ha)e two alternati)e teCts %a word( phrase( or sentence'. =ne teCt will be displayed and printed if the condition you specify is met( and the other will be displayed and printed if the condition is not met. You cannot include graphics or edit the teCt eCcept in the field dialog %not in the body of the document'. You also cannot format part of the teCt %for eCample( bolding one word but not the others'( but you can format the field to affect all of the field contents %for eCample( bolding all of the words'. You cannot include a cross9reference or other field in the teCt.
1idden text
7ith hidden teCt %a word( phrase( or sentence'( you ha)e only two choices& show or hide. Gf the condition you specify is met( the teCt is hiddenV if the condition is not met( the teCt is displayed. The disad)antages are the same as for conditional teCt& you cannot include graphics( edit the teCt in the body of the document( format part of the teCt( or include a field.
1idden sections
6idden sections are li+e hidden paragraphs( but they can include more than one paragraphQfor eCample( a heading plus one or more paragraphs. 6owe)er( a section cannot contain less than a paragraph( so you cannot use this method for single words or phrases. The contents of a hidden section beha)e Just li+e the contents of any other part of the document( but you can specify a condition under which the section is not displayed or printed. Gn addition( you can password protect a section.
"ser9defined )ariables #redefined $ibre=ffice )ariables( which use statistical )alues from the document properties "ser data .atabase field contentsQfor eCample from your address boo+
3==
You cannot use internal )ariables %for eCample( page number or chapter name' to formulate conditions. The eCamples in this chapter use user9defined )ariables.
Doc,nfor#ation fields
T"sing document properties to hold metadata and information that changesU on page 3B< described how to set up a custom document property. You can use that document property as the )ariable in your condition statement( or you can create another document property field specifically for conditions.
3' -elect $et variable in the +ype list and &e't in the )ormat list. Type a name for the )ariable in the Dame boC( and a )alue in the ?alue boC. G ha)e chosen Pro:ite for the name %to remind me that this )ariable is related to the two product )ersions'( and G set the )alue as :ite because G can remember TGf it is the $ite )ersion( then this teCt should be hidden.U >' -elect nvisible so the field does not show in the document. Clic+ nsert( then clic+ Close. A' * small gray mar+ should be )isible where you inserted the field. 7e will come bac+ to this field later.
/ecause the gray mar+ is so small( you may ha)e trouble finding it again( especially if you ha)e other fields in the document. You may prefer to lea)e the )ariable field )isible while you wor+( and change it to in)isible Just before you create final copy. *t any time( you can place the insertion point Just before the field and choose -dit 9 Fields or right9clic+ the field( and then clic+ Fields on the conteCt menu. =n the 3dit 5ields dialog %5igure >1<'( select or deselect the nvisible option.
&ip
(onditional text
5irst( let us set up some conditional teCt that will insert the words 1reat Product :ite into the $ite )ersion and 1reat Product Pro into the #ro )ersion of the manual. You would use this field whene)er you want to mention the name of the product. 1' #lace the cursor where you want one of these phrases to appear. %You can mo)e or delete it later( if you wish.' 2' =pen the 5ields dialog by clic+ing nsert 9 Fields 9 ;ther( select the )unctions page( and select Conditional te't in the +ype list. 3' *s shown in 5igure >13( type Pro:ite -E [:ite[ in the 8ondition boC( 1reat Product :ite in the +hen boC( and 1reat Product Pro in the ,lse boC.
>ote
These fields are case9sensiti)e( and @uotation mar+s are re@uired around a teCt )alue such as :ite.
>' Clic+ nsert to insert the field( then clic+ Close. You should see 1reat Product :ite in your teCt.
8hapter *# Wor7ing with )ields #$*
&ip
Gf you want to insert this field into your teCt in many places %as you probably would for a product name'( create an *utoTeCt entry for it. -ee T"sing *utoTeCt to insert often9used fieldsU on page 3D0 for instructions.
1idden text
You might use hidden teCt for words or short phrases that describe features of reat #roduct #ro that are not found in the $ite )ersion. You can reuse the same field in se)eral places in your documentQfor eCample( by copying and pasting it. To create a hidden teCt field& 1' Choose nsert 9 Fields 9 ;ther and select the )unctions page. 2' -elect 8idden te't in the +ype list( as shown in 5igure >1>. 3' Type Pro:ite -E [:ite[ in the 8ondition boC and type the re@uired teCt in the .idden te-t boC. 4emember( this is the teCt that is hidden if the condition is true. >' Clic+ nsert to create and insert the field.
Choose =iew 9 8idden Paragraphs from the menu bar( so it is chec+ed %shows all hidden
paragraphs'.
=n the &ools 9 ;ptions 9 :ibre;ffice !riter 9 Formatting Aids page( select the )ields
.idden paragraphs option %shows all hidden paragraphs'.
.ouble9clic+ in front of the )ariable that you used to define the condition for hiding the teCt(
and enter a different )alue for the )ariable %shows all hidden paragraphs'.
.ouble9clic+ in front of the hidden teCt field or the hidden paragraph field( and change the
condition statement %changes only the selected hidden paragraph'.
#$:
1idden sections
* conditional section is hidden if the condition is true. To create a conditional section& 1' -elect the teCt that you want to be included in the conditional section. %You can edit this teCt later( Just as you can edit any other teCt.' 2' Choose nsert 9 $ection. =n the Gnsert -ection dialog %5igure >1A'( select the Section tab( then select 8ide and enter the condition in the with 8ondition boC. You can also gi)e the section a name( if you wish %strongly recommended( so you can find it again easily if you ha)e se)eral sections in your document'. 3' Clic+ nsert to insert the section into your document. To show a hidden section so you can edit it& 1' Choose Format 9 $ections. 2' =n the 3dit -ections dialog %similar to the Gnsert -ection dialog'( select the section from the list. 3' .eselect 8ide( and then clic+ ;6. You can now edit the contents of the section. *fterwards( you can choose Format 9 $ections again and select 8ide to hide the section again. To show all the hidden sections so you can edit them( change the )alue of the )ariable to something that the conditions will not recogni2e. Gn our eCample( you could change the )alue to 1.
)igure #*% 8reating a section to be hidden when a specified condition is met To ma+e the hidden section a normal part of the document %that is( to remo)e the section mar+ers( but not the contents of the section'& 1' -how the hidden section( as described abo)e. 2' =n the 3dit -ections dialog( select the section from the list. 3' Clic+ Cemove. The contents of the section are now a normal part of the document.
#$3
>' Gf you ha)e set fields to update automatically( all of the conditional and hidden teCt that uses this )ariable as a condition will change.
&ip
Conditional teCt and hidden teCt can only be edited in the 3dit 5ields dialog.
&ip
#$#
)igure #*' 2nserting a placeholder field /ecause the VLogo1 field is a graphics placeholder( when you clic+ on the field in the document( the Gnsert picture dialog opens( prompting you to select a graphic %picture'. 7hen you select a picture and clic+ ;pen( the picture replaces the field in the document. -imilarly( clic+ing on a table placeholder field opens the Gnsert Table dialog( clic+ing on a frame placeholder field opens the 5rame dialog( and clic+ing on an obJect placeholder field opens the Gnsert =$3 =bJect dialog. The teCt placeholder field is different& you simply clic+ on it and type some teCt in the Placeholder boC( which replaces the field.
#$%
)igure #*( 2nserting an input field To edit the fieldFs reference( right9clic+ on the field and choose Fields from the conteCt menu. This opens the 3dit 5ields& 5unctions dialog.
)igure #*= ,diting an input field nput list *n input list is a teCt field that displays one item from a list. To insert an input list field into a document& 1' Choose nsert 9 Fields 9 ;therV on the )unctions page( choose nput list in the +ype list.
#$&
)igure #:$ Defining an input list field 2' Type the names of the list items in the tem boC on the upper right( clic+ing Add after each item. The items then appear in the tems on list boC. To change the order of the items( select an item and clic+ the /ove 2p or /ove 4own buttons. 3' Type the name of the list in the >ame field on the lower right. >' Clic+ nsert. To display the Choose Gtem dialog( clic+ the Gnput list field.
#$'
To add( edit( and remo)e items from this list( and change their order in the list( clic+ the -dit button in the Choose Gtem dialog. This displays the 3dit 5ields& 5unction dialog.
)igure #:: ,diting the items on an input list To @uic+ly edit all input fields and lists in a document( press 8trl9Shift9)=. The first input field or list in the document opens. Clic+ing ;6 or >e't mo)es to the neCt input field or list. *fter the last input field or list( clic+ing >e't or ;6 returns you to the document.
#$(
ntroduction to forms
This chapter co)ers the use of forms within 7riter documents. 0ost of the information here also applies to forms in other $ibre=ffice components( but there are some differences. The chapter presents information on using forms in four main sections& setting up a basic form( an eCample for creating a form( lin+ing a form to a data source( and finally some ad)anced techni@ues. $ibre=ffice forms co)er a lot of ground and not e)erything is included here. !otable omissions are using forms in 6T0$ documents and writing macros to lin+ to form controls.
To create a simple document for the recipient to complete( such as a @uestionnaire sent out
to a group of people who fill it in and return it.
To lin+ into a database or data source and allow the user to enter information. -omeone
ta+ing orders might enter the information into a database using a form.
To )iew information held in a database or data source. * librarian might call up information
about boo+s. "sing forms to access a database offers a fast and easy way to build up compleC graphical front ends. Your form can include not only the fields that lin+ up to the data source but also teCt( graphics( tables( drawings and other elements. * typical way to use a simple form is& 1' You design the form( then sa)e it when you are happy with it. 2' You send the form to others %for eCample( by email'. 3' They fill in the form( sa)e it and send it bac+ to you. >' You open the form and see what their answers are.
/y using a data source( or setting a form to update o)er the web( you can automatically gather data. 6owe)er( both of those are more compleC and you might prefer to +eep things simple.
&ip
#*$
Create a document
There is nothing special to be done when creating a document to use as a form. Create a new 7riter document with File 9 >ew 9 &e't document.
)igure #:3 +he )orm 8ontrol@ <ore 8ontrols and )orm Design +oolbars
#**
<' To stop inserting controls( clic+ on the $elect button on the 5orm Controls toolbar( or clic+ on any of the controls you ha)e Just inserted. The mouse pointer changes bac+ to its normal appearance.
&ip
6olding down Shift when creating a form control ma+es the control s@uare. Gf you press Shift when resi2ing an eCisting control( its proportions are +ept the same. 7hen you insert a group boC( list boC( or combo boC( a wi2ard is launched to guide you through the setup. Gf you prefer not to run the wi2ard( clic+ the !i5ards ;nF;ff button on the 5orm Controls toolbar.
>ote
Configure controls
*fter inserting the controls( you need to configure them to loo+ and beha)e as you want. 4ight9clic+ on a form control within your document and select Control from the conteCt menu to open the #roperties dialog boC for the selected control. .ouble9clic+ing on a form control also opens this dialog boC. The #roperties dialog boC has three pages& eneral( .ata( and 3)ents. 5or simple forms( only the eneral page is of any interest. =n this page you can set the loo+ and feel of the control. -ee TConfigure form controlsU on page >20 and T5orm control formatting optionsU on page >30 for more information( and the descriptions in the 6elp for details. Configuration for use with a database is discussed in TCreating a form for data entryU on page >2A. The fields on this dialog boC )ary with the type of control. 5or eCample&
-ome controls ha)e )isible labels( such as #ush /utton and =ption /utton. The label teCt
can be set.
The $ist /oC contains a list of options to choose from. -et these in the $ist entries boC.
!otice the scroll bar in this dialog boC. You can use the scroll bar or enlarge the dialog boC to see additional fields.
#*:
)igure #:# ,-ample of the Properties dialog bo- for a form control
#ush /utton
#*3
$ist /oC
$abel 5ield
Gmage Control
#*#
roup /oC
5orm
#*%
Change *nchor
*lignment
.isplay -nap to
rid rid
#*&
>ame is a teCt boC. $e' is two option buttons( male or female. Favourite shape is a list of options. All shapes you like is a series of chec+ boCes.
To add these controls& 1' -elect =iew 9 &oolbars 9 Form Controls to open the 5orm Control toolbar. 2' Gf the tools are not acti)e( clic+ the 4esign /ode ;nF;ff button to acti)ate them.
3' Clic+ the &e't 3o' button ( then clic+ in the document and( with the left mouse button held down( drag the shape of the !ame teCt boC to approCimately the si2e you want. >' 0a+e sure the !i5ards ;nF;ff button Controls button is on %shaded with a border'. Clic+ the /ore
A' =n the 0ore Controls toolbar( clic+ the 1roup 3o' button . .raw a group boC by the -eC& entry. The roup 3lement 7i2ard opens. a' =n the first page of the wi2ard( enter two names for the options fields& /ale and Female. Clic+ the 99 button after each entry. Clic+ >e't 99.
#*'
)igure #:& Specifying names for option fields b' =n the neCt page( select the option >o, one particular field is not going to be selected. Clic+ >e't 99.
)igure #:' Selecting a default field c' i)e a )alue to your fields. Typically( you would gi)e one field the )alue 1 and the other field the )alue 2. Gf there are more than 2 option fields( you would gi)e them )alues of 3( >( and so on. Clic+ >e't 99.
#*(
d'
You can either delete the caption or gi)e a caption to your delete the caption. Then clic+ Finish.
)igure #:= 8reate 8aption Option <' !ow create the list boC. =n the 5orm Controls toolbar( clic+ the !i5ards ;nF;ff button to turn wi2ards off. Clic+ the :ist 3o' button and draw a list boC by )avourite Shape in the document. This will Just be an empty pane for now. E' 5inally create four chec+ boCes by /ll shapes you li7e. Clic+ on the Check 3o' button and then draw out four chec+ boCes( side by side across the page. You should now ha)e a document loo+ing something li+e 5igure >30.
)igure #3* Properties dialog bo- for a list bo3' Clic+ on the first Chec+ /oC. The #roperties dialog boC stays open but changes to show the properties for the chec+ boC. >' Change the teCt in the Label teCt input boC from )(ec+ ;!8 to )ircle and press ,nter. The cursor mo)es to the Label )ield teCt input boC( and the label on the chec+ boC in the document changes immediately.
#:$
)igure #3: +op part of Properties dialog bo- for a chec7 boA' Clic+ on each of the other three chec+ boCes in turn. Change the teCt in the Label teCt input boC in the #roperties dialog boC to Triangle( -@uare( and #entagon in turn. <' Close the #roperties dialog boC. E' Turn design mode off and close the two Controls toolbars.
You ha)e now completed the form( which should loo+ something li+e 5igure >33.
#inishing to"ches
The form is complete( but you are free to ma+e further changes to the document. Gf you were sending this out to other people to complete( you would probably want to ma+e the document read9 only. The effect would be that users would be able to fill in the form but not to ma+e any other changes to the document. To ma+e the document read9only( select File 9 Properties( select the Security tab and enable the ;pen file read.only option.
>ote
Gf the document is read9only( anyone filling in the form will need to use File 9 $ave as to sa)e the document.
#:*
&ip
Creating a database
Chapter B( etting -tarted with /ase( in the Getting Started guide co)ers in more detail how to create a database. 6ere we gi)e a short guide to creating a )ery simple database with $ibre=ffice /ase. 1' -elect File 9 >ew 9 4atabase to start the .atabase 7i2ard.
)igure #3# Database Wi3ard 2' -elect Create a new database and clic+ >e't 99. 3' =n the neCt page( select Jes, register the database for me and ;pen the database for editing. 4egistering the database means that it can be accessed from other $ibre=ffice components such as 7riter and Calc. You need to do this if you want to lin+ forms into it. >' Clic+ Finish and sa)e your new database( gi)ing it a name. "nli+e creating other documents in $ibre=ffice( databases must be sa)ed when you first create them.
#::
*fter sa)ing the database( you should see the main /ase window %5igure >3A'( which contains three panels. The left9hand panel is .atabase( with icons for Tables( Hueries( 5orms and 4eports.
)igure #3% <ain Jase window The neCt step is to create a table. *gain( this is co)ered in more detail in Chapter B( etting -tarted with /ase( in the Getting Started guide. 6ere we are going to create a small table as an eCample. 1' Choose &ables in the left9hand column( then choose Create &able in 4esign =iew under Tas+s. 2' "se the Table .esign window to tell /ase which fields to create. 7e will ha)e three input data fields& !ame( *ddress( and Telephone. 3' =n the first line( enter under 5ield !ame( <*( and set the 5ield Type to <nteger 4<&T=>=$5. Gn the gray boC at the left of the line( right9clic+ and select Primary 6ey( bringing up a +ey icon in the boC. Gn the Field Properties at the bottom of the window is an Auto =alue optionV change this to ?es. =ptionally( type Pri"ar@ +e@ in the .escription column. -ee 5igure >3<.
-etting up the #rimary 8ey field with *uto Palue set to Jes is an important step. Gf this is not done( the form you create later will be much tric+ier to use and may generate errors for the user. Gt could e)en pre)ent the user from sa)ing the records in the form. 0a+e sure you get this step rightl
&ip
#:3
)igure #3& Setting a primary 7ey >' =n the neCt three lines( enter under 5ield !ame &a"e@ 7ddress and Telep(!ne. *ccept the default 5ield Type of TeCt \P*4C6*4] and lea)e .escription blan+.
)igure #3' Database table design A' -a)e the table %File 9 $ave'. You will be prompted to name it. The name can be anything you li+e. Clic+ ;6. <' 5inally( close the table design window to return to the main /ase window. Gf File 9 $ave is a)ailable( select it to sa)e the whole database.
#:#
3' Clic+ >e't and follow the instructions to select the database to register %the eCact process )aries between different types of data source'. >' Gn -tep 3& -a)e and proceed( chec+ that Jes, register the database for me is selected. .eselect ;pen the database for editingV you Just need to register it( not edit it through /ase.
#:%
A' Clic+ the &e't 3o' button . Clic+ in the document and( holding down the left mouse button( drag the mouse to create a teCt boC for the first form field %for eCample( !ame( if you are lin+ing to the database created abo)e'. <' Clic+ the &e't 3o' button again and drag the mouse to draw another field. *dditional fields( of any type( can be added in the same way %clic+ and drag'. -o far you ha)e followed the same steps used before when creating your first form. !ow you will lin+ the form with the data source you registered. 1' Clic+ the Form button in the Form Controls toolbar( or right9clic+ on any of the fields you inserted and select Form( to open the 5orm #roperties dialog boC. 2' Gn the Form Properties dialog boC( clic+ on the 4ata tab.
-et 4ata $ource to be the data source you registered. -et Content &ype to be Table. -et Content to be the name of the table you want to access. Close the dialog boC.
)igure #3= )orm properties@ connecting to a data source 3' 5or each form control in turn( clic+ on the control to select it %so small green boCes appear around it'( then launch the Properties dialog boC& either right9clic+ and select Control or clic+ on the Control button on the Form Controls toolbar. >' Gn the Properties dialog boC( clic+ on the 4ata tab %5igure >>0'. Gf you set up the form correctly( the 4ata Field option will contain a list of the different fields in the data source %for eCample( !ame( *ddress and Telephone'. -elect the field you want.
#:&
)igure ##$ )orm control properties@ Data tab A' 4epeat for each control in turn until e)ery control that should be assigned to a field has been assigned.
Gf you created a database in $ibre=ffice /ase and your #rimary 8ey field had Auto =alue set to Ges( that field does not need to be part of the form. Gf Auto =alue was set to Do( you will ha)e to include it and ha)e your users enter a uni@ue )alue into that field whene)er they ma+e a new entryQnot something that is recommended.
&ip
)igure ##* )orm Davigation toolbar 3' Gf there is eCisting data in the data source( use the control buttons on the 5orm !a)igation toolbar to loo+ at different records. You can amend data in a record by editing the )alues in the form. To submit the changes( press the ,nter +ey with the cursor in the last field. The record is sa)ed and the neCt record is displayed. >' Gf there is no data in the form( you can start entering information by typing into the fields of the form. To submit the new record( press the ,nter +ey with the cursor in the last field. A' =ther functions can be performed from the 5orm !a)igation toolbar( including deleting a record and adding a new record.
Gf a user tries to fill in the form and recei)es the error T*ttempt to insert null into a non9nullable columnU( then the form designer should go bac+ to the database and confirm that the #rimary 8ey field has the *uto Palue set to Yes. This error will pre)ent the form user from sa)ing the records.
&ip
#:'
)igure ##: 8ontrol properties@ ,vents tab To assign a macro to an e)ent& 1' Create the macro. -ee Chapter 13( etting -tarted with 0acros( in the Getting Started guide. 2' /e sure the form is in design mode. 4ight9clic+ on the form control( select Control and clic+ on the -vents tab. 3' Clic+ the browse button to bring up the Assign action dialog boC %5igure >>3'. >' Clic+ the /acro button and select the macro from the list in the 0acro -elector dialog boC. You return to the *ssign action dialog boC. 4epeat as needed( then clic+ ;6 to close the dialog boC. 0acros can also be assigned to e)ents relating to the form as a whole. To assign these( right9clic+ on a form control in the document( select Form and clic+ on the -vents tab.
#:(
Cead.only documents
6a)ing created your form( you want whoe)er is using it to be able to access the information stored in the database( or complete the form( without changing the layout. To do this( ma+e the document read9only by choosing File 9 Properties 9 $ecurity and selecting the ;pen file read.only option.
#:=
-et a label for the control in the Label boC %not to be confused with the boC called Label
)ield'. -ome form controls( such as push buttons and option buttons( ha)e )isible labels that can be set. =thers( such as teCt boCes( do not.
-et whether the form control will print out if the document is printed with the #rint option. "se the 5ont setting to set the font( typeface( and si2e for a fieldFs label or for teCt typed
into a field. This setting does not affect the si2e of chec+ boCes or option buttons.
5or a teCt boC( you can set the maCimum teCt length. This is )ery useful when adding
records into a database. 3)ery database teCt field has a maCimum length and( if the data entered is too long( $ibre=ffice displays an error message. /y setting the maCimum teCt length of the form control to be the same as that of the database field( this error can be a)oided.
You can set the default option for a form control. /y default( a control is blan+( or has e)ery
option unselected. You can set the control to start with a particular option or list item selected.
5or controls where a password is being entered( setting the #assword character %for
eCample to p' displays only that character( but sa)es what the user really types.
You can add additional information and help teCt for a form control. =ther formatting controls such as bac+ground color( 39. loo+( teCt formatting( scroll bars(
and borders allow you to further define how the control appears.
#3$
MForms
I5orms are a new type of web form( de)eloped by the 7orld 7ide 7eb Consortium %73C'. $ibre=ffice supports the I5orms 1.0 open standard for creating web forms with I0$. Gn $ibre=ffice( an I5orms document is a special type of 7riter document. I5orms use the same controls as the ordinary forms described in this chapter. *fter you create and sa)e an I5orms document( you can open the document( fill out the form( and submit the changes to a ser)er. * detailed discussion of I5orms is beyond the scope of this chapter( as it is related more to databases than word processing. * good tutorial introduction is ,. .a)id 3isenbergFs ;)orms and OpenDocument in OpenOffice.org( a)ailable from http&//opendocument.Cml.org/files/CformsKoooK0<K10K2A.pdf and from http&//boo+s.e)c9cit.info/CformsKoooK0<K0BK1A.odt. *nother good resource is Palden $onghurstWs 0sing ;)orms and the OpenDocument format in OpenOffice.org and StarOffice( http&//wi+i.ser)ices.openoffice.org/wi+i/.ocumentation/"singKI5orms
#3*
ntroduction
This chapter describes some common customi2ations that you may wish to do. You can customi2e menus( toolbars( and +eyboard shortcuts in $ibre=ffice( add new menus and toolbars( and assign macros to e)ents. 6owe)er( you cannot customi2e conteCt %right9clic+' menus. =ther customi2ations are made easy by eCtensions that you can install from the $ibre=ffice website or from other pro)iders.
Customi2ations to menus and toolbars can be sa)ed in a template. To do so( first sa)e them in a document and then sa)e the document as a template as described in Chapter 10( 7or+ing with Templates.
>ote
)igure ##%. +he <enus page of the 8ustomi3e dialog 3' Gn the Save 2n drop9down list( choose whether to sa)e this changed menu for the application %7riter' or for a selected document. >' Gn the section LibreOffice Writer <enus( select from the /enu drop9down list the menu that you want to customi2e. The list includes all the main menus as well as submenus( that is menus that are contained under another menu. 5or eCample( in addition to )ile( ,dit( ?iew(
#3#
and so on( there is )ile W Send and )ile W+emplates. The commands contained in the selected menu are shown in the central part of the dialog. A' To customi2e the selected menu( clic+ on the /enu or /odify buttons. You can also add commands to a menu by clic+ing on the Add button. These actions are described in the following sections. "se the up and down arrows neCt to the ,ntries list to mo)e the selected menu item to a different position. <' 7hen you ha)e finished ma+ing all your changes( clic+ ;6 to sa)e them.
arrow +eys to mo)e it up or down in the se@uence. -ubmenus are easily identified in the ,ntries list by a small blac+ triangle on the right hand side of the name. Custom menus( and supplied submenus( can be renamed by pressing the /enu button in the upper section of the page and selecting Cename. Gn addition to renaming( you can allocate a letter in a custom menuWs name( which will become underlined( to be used as a +eyboard shortcut( that allows you to select that menu when you press /ltL that letter. 3Cisting submenus can be edited to change the letter which is used to select them from the +eyboard once the menu is open. 1' -elect a custom menu or a submenu in the <enu drop9down list. 2' Clic+ the /enu button and select Cename. 3' *dd a tilde %q' in front of the letter that you want to use as an accelerator. 5or eCample( to select the $end submenu command by pressing S %after opening the 5ile menu using /lt9)'( enter A%end. This changes it from the default d.
Gt is possible to use a letter already in use in the menu list %for eCample( in the Gnsert menu( the letter v is used in ,nvelope and in <ovie and sound as an accelerator'. 6owe)er( you should use an unused letter if possible( to ma+e it simpler for the user to na)igate.
>ote
)igure ##' /dding a command to a menu =n the *dd Commands dialog( select a category and then the command( and clic+ Add. The dialog remains open( so you can select se)eral commands. 7hen you ha)e finished adding commands( clic+ Close. /ac+ on the Customi2e dialog( you can use the up and down arrow buttons to arrange the commands in your preferred se@uence.
#3& LibreOffice #.$ Writer Guide
&ip
You can also add a command to a menu by clic+ing on it and dragging to the 0enu list on the Customi2e dialog. Choose the menu you want to modify before dragging the command. Thus( you can also place the command in your preferred location. This procedure wor+s too when you add a command to a toolbar %see T*dding a command to a toolbarU on page >3B'.
Customi5ing toolbars
You can customi2e toolbars in se)eral ways( including choosing which icons are )isible and loc+ing the position of a doc+ed toolbar %as described in Chapter 1( Gntroducing 7riter'( and adding or deleting icons %commands' in the list of those a)ailable on a toolbar. You can also create new toolbars. This section describes how to create new toolbars and add or delete icons on eCisting ones.
=n the toolbar( right9clic+ in the toolbar and choose Customi5e &oolbar. Choose =iew > &oolbars > Customi5e from the menu bar. Choose &ools > Customi5e from the menu bar and go to the +oolbars page.
&ip
#3(
)igure #%$ Setting up LibreOffice for sending fa-es 3' -elect the faC dri)er from the Fa' list and clic+ ;6. >' 4ight9clic+ in the -tandard toolbar. Gn the drop9down menu( choose Customi5e &oolbar. The +oolbars page of the Customi2e dialog appears %5igure >>B'. Clic+ Add.
#3=
A' =n the *dd Commands dialog %5igure >A1'( select 4ocuments in the 8ategory list( then select $end 4efault Fa' in the 8ommands list. Clic+ Add. !ow you can see the new icon in the 8ommands list of the +oolbars page. <' Gn the 8ommands list( clic+ the up or down arrow button to position the new icon where you want it. Clic+ ;6 and then clic+ Close. Your toolbar now has a new icon to send the current document as a faC.
The new toolbar now appears on the list of toolbars in the Customi2e dialog. *fter creating a new toolbar( you need to add some commands to it( as described abo)e.
Caution
##$
To adapt shortcut +eys to your needs( use the Customi2e dialog( as described below. 1' Choose &ools 9 Customi5e 9 6eyboard. The Customi2e dialog opens. 2' To ha)e the shortcut +ey assignment a)ailable in all components of $ibre=ffice( select the :ibre;ffice button. 3' !eCt select the re@uired function from the 8ategory and )unction lists. >' !ow select the desired shortcut +ey in the Shortcut 7eys list at the top of the page and clic+ the /odify button on the right. The selection now appears in the Keys list on the lower right. A' Clic+ ;6 to accept the change. !ow the chosen shortcut +ey will eCecute the function chosen in step 3 abo)e whene)er it is pressed. 4epeat as re@uired.
*ll eCisting shortcut +eys for the currently selected )unction are listed in the Keys selection boC. Gf the Keys list is empty( it indicates that the chosen +ey combination is free for use. Gf it were not( and you wanted to reassign a shortcut +ey combination that is already in use( you must first delete the eCisting +ey. -hortcut +eys that are grayed9out in the listing on the Customi2e dialog( such as )* and )*$@ are not a)ailable for reassignment.
>ote
##*
>ote
5irst( you need to record a macro for inserting each type of dash. Then( you need to assign those macros to shortcut +ey combinations. 1' Choose &ools 9 /acros 9 Cecord /acro to start recording a macro. 2' * small window is displayed so you +now that $ibre=ffice is recording. %This window may loo+ slightly different on different operating systems.'
3' Choose nsert 9 $pecial Characters to open the -pecial Characters dialog. -croll down until you find the en9dash %"L2013' and em9dash %"L201>' characters. -elect one of them and clic+ ;6.
##:
)igure #%3 )ind and choose the en"dash >' Clic+ the $top Cecording button to stop recording( sa)e the macro( and display the $ibre=ffice /asic 0acros dialog %see 5igure >A>'. Type a descripti)e name for the new macro in the /acro name boC on the upper left.
)igure #%# Daming the new macro and storing it A' /e sure to open the library container named /y /acros. 5ind the library named $tandard under /y /acros. -elect /odule1 and clic+ $ave. <' 4epeat steps 1> to create other macros( for eCample to insert an em9dash. E' Choose &ools 9 Customi5e 9 6eyboard tab %5igure >AA'. Gn the Shortcut 7eys list( pic+ an unused combination %for eCample( 8trl9Shift9< for an em9dash'. Gn the 8ategory list( scroll down to :ibre;ffice /acros( clic+ the R sign %or small triangle( depending on your operating system'( then clic+ the R %or triangle' neCt to the $tandard library and choose /odule1. Gn the )unction list( choose -mdash and clic+ the /odify button on the upper right. The selected +ey combination now appears in the Keys list on the lower right( and -mdash appears neCt to 8trl9Shift9< in the Shortcut +eys list. B' 4epeat for the en9dash macro( selecting perhaps 8trl9Shift9D for the shortcut +ey and then clic+ ;6.
8hapter *& 8ustomi3ing Writer ##3
&ip
5or inserting en9 and em9dashes( and other special characters( you may find eCtensions such as Compose -pecial Characters useful. -ee T*dding functionality with eCtensionsU on page >>A.
###
nstalling e'tensions
3Ctensions can be installed in any of three ways. 1' .irectly from the p.oCt file in your systemWs file browser. 2' 5rom your web browser if it can be configured to open this file type from a web page hyperlin+. 3' .irectly from &ools 9 -'tension /anager by clic+ing Add. To install directly from a sa)ed p.oCt file on your system( double9clic+ the file. To install from a suitably enabled web browser( select the hyperlin+( and then select to =pen the file. Gn both cases( after the 3Ctension 0anager opens( a warning dialog opens for you to )erify the installation and then continue. The file is installed as a Tuser onlyT file in a multi9user system.
To install directly from 3Ctension 0anager& 1' Gn $ibre=ffice( select &ools 9 -'tension /anager from the menu bar. The option to )iew the eCtensions bundled with $ibre=ffice can be deselected to easier )iew those installations that ha)e been added by a user. 2' Gn the 3Ctension 0anager dialog %5igure >AB'( clic+ Add. 3' * file browser window opens. 5ind and select the eCtension you want to install and clic+ ;pen. >' "sers with administrator or root pri)ileges will see a dialog where they can choose to install eCtensions Rfor all usersR %shared' or Ronly for meR %user'. !ormal users without those pri)ileges can install( remo)e( or modify eCtensions only for their own use %user'.
)igure #%' Dialog showing the installation choices A' The eCtension begins installing. <' Gn all three cases( during the process you may be as+ed to accept a license agreement. 7hen the installation is complete( the eCtension is listed in the 3Ctension 0anager dialog.
To get eCtensions that are listed in the repository( you can open the 3Ctension 0anager and clic+ the 1et more e'tensions online lin+. You do not need to download them separately.
&ip
##&
ntroduction
You can use $ibre=ffice without re@uiring a pointing de)ice( such as a mouse or touchpad( by using its built9in +eyboard shortcuts. $ibre=ffice has a general set of +eyboard shortcuts( a)ailable in all components( and a component9 specific set directly related to the wor+ of that component. This appendiC lists the default set for 7riter. 5or general shortcuts( see *ppendiC * of the Getting Started guide. 5or help with $ibre=fficeFs +eyboard shortcuts( or using $ibre=ffice with a +eyboard only( search the $ibre=ffice 6elp using the TshortcutU or TaccessibilityU +eywords. Gn addition to using the built9in +eyboard shortcuts listed in this *ppendiC( you can define your own. -ee Chapter 1<( Customi2ing 7riter( for instructions.
-ome of the shortcuts listed here may not wor+ if your operating system uses the same shortcuts for other tas+s.
>ote
To get around this problem( assign different +eys to these shortcuts by reconfiguring either $ibre=ffice %see Chapter 1<' or your operating system %see system documentation'.
Mac equivalent
8ontrol9clic7 z %8ommand' ShiftLzL)% zL+
Effect
=pens conteCt menu "sed with other +eys =pens the !a)igator =pens the-tyles and 5ormatting window
/lt9VQ1
##(
"!ortcut ;eys
+esult
4epeatedly pressing )& switches the focus and circles through the following obJects&
)&
0enu bar 3)ery toolbar from top to bottom and from left to right 3)ery free window from left to right .ocument
-witches through obJects in the opposite direction. -witches the focus to the document. -witches to the 0enu bar and bac+. Closes an open menu.
#ress 8trl9,nter on an icon for creating a draw obJect. * draw obJect will be placed into the
middle of the )iew( with a predefined si2e.
#ress 8trl9,nter on the -election tool to select the first draw obJect in the document. Gf you
want to edit( si2e( or mo)e the selected draw obJect( first use 8trl9)& to mo)e the focus into the document. Gf a toolbar is longer than can be displayed on screen( it shows an icon at the right or lower edge. -elect the toolbar and press Page0p or PageDown to display the remaining icons.
To mo)e the cursor( press the +ey or +ey combination gi)en in the following table. To select the characters under the mo)ing cursor( additionally hold down the Shift +ey when
you mo)e the cursor.
##=
;ey
6ight@ left arrow 7eys 0p@ down arrow 7eys .ome ,nd Pg0p PgDn
%unction
0o)es the cursor one character to the left or to the right. 0o)es the cursor up or down one line. 0o)es the cursor to the beginning of the current line. 0o)es the cursor to the end of the current line. -crolls up one page. -croll down one page.
Controlling dialogs
7hen you open any dialog( one element %such as a button( an option field( an entry in a list boC( or a chec+boC' is highlighted or indicated by a dotted boC around the field or button name. This element is said to ha)e the focus on it. "!ortcut ;eys
,nter
+esult
*cti)ates the selected button. Gn most cases where no button is selected( ,nter is e@ui)alent to clic+ing ;6. Closes the dialog without sa)ing any changes made while it was open. Gn most cases( ,sc is e@ui)alent to clic+ing 8ancel. 7hen an open drop9down list is selected( ,sc closes the list. Toggles a chec+boC on or off. 0o)es the focus up and down a list. Gncreases or decreases the )alue of a )ariable. 0o)es the focus )ertically within a section of a dialog. 0o)es the focus hori2ontally within a section of a dialog. *d)ances the focus to the neCt section or element of a dialog. 4eturns the focus to the pre)ious section or element in a dialog. -hows items in a drop9down list.
,sc Spacebar 0p@ down arrow +eys 6ight@ left arrow +eys +ab Shift9+ab /lt9Down"arrow
/acros
"!ortcut ;eys
8trl9X %multiplication sign& on number pad only' Shift98trl9C
#%$
+esult
4uns a macro field. -tops a running macro.
LibreOffice #.$ Writer Guide
Effect
=pens a document. -a)es the current document. Creates a new document. =pens Templates and .ocuments dialog. =pens the #rint dialog. *cti)ates the 5ind toolbar. =pens the 5ind M 4eplace dialog. -earches for the last entered search term. Toggles the )iew between full9screen mode and normal mode. 4edraws the document )iew. 3nables or disables the selection cursor in read9only teCt. -tarts the $ibre=ffice 6elp. Gn the $ibre=ffice 6elp& Jumps to main help page.
=pens ConteCt 6elp. Turns on 3Ctended Tips for the currently selected command( icon or control. -ets focus in neCt subwindow %for eCample( document/data source )iew'. -ets focus in pre)ious subwindow. *cti)ates the first menu %5ile menu'. =pens the conteCt menu. Closes the current document %closes $ibre=ffice when the last open document is closed'. 3Cits application.
#%*
Effect
=pens 7riter 6elp at the 6ome page. #ressing )* again opens the home page of the acti)e tab. 3nables the eCtended help tips under the mouse pointer until the neCt clic+. =pens or closes the 5ormula /ar. =pens the 5ields dialog. .isplays tips for the currently selected command( icon( or control. Gnserts the *utoTeCt entry corresponding to the typed shortcut. =pens the *utoTeCt dialog( where you can edit an *utoTeCt entry or create a new entry from the selected teCt. =pens or closes the Piew .ata -ources window. -elects the neCt frame. =pens or closes the !a)igator. =pens the !a)igator with cursor in page number field. -tarts the spelling and grammar chec+er. =pens the Thesaurus. Turns 3Ctension -election mode on or off. Turns field shadings on or off. Turns 0ultiple -election mode on or off. Turns /loc+ -election mode on or off. "pdates fields. -hows or hides field names. Calculates Table. =pens a dialog for editing input fields and lists. -ee T=pening menus and menu itemsT on page >>B for details. .isplays or hides non9printing characters. =pens or closes the -tyles and 5ormatting window. Creates a new style from a selection. "pdates a style.
#%:
"!ortcut &eys
)*: 8trl9)*: Shift9)*: 8trl9Shift9)*:
Effect
Turns paragraph numbering on or off. Gnserts or edits a table. Turns bullets on or off. Turns numbering/bullets off.
Effect
-elects all content in a document( unless the cursor is in a table %see T-hortcut +eys for tablesU on page >AA'. .ouble underlines selected teCt or teCt typed afterward. #ress again to turn off. Centers the paragraph. =pens the 5ind toolbar. =pens the 5ind and 4eplace dialog. ,ustifies the paragraph. *ligns the paragraph to the left. *lign the paragraph to the right. 4emo)es direct formatting from the selected teCt or obJects %as in Format 9 Clear 4irect Formatting'. .ecreases the si2e of the selected teCt. Gncreases the si2e of the selected teCt. -ubscripts selected teCt or teCt typed afterward. #ress again to turn off. -uperscripts selected teCt or teCt typed afterward. #ress again to turn off. 4edoes last action. Calculates the selected teCt and copies the result to the clipboard. Gnserts a conditional hyphen. Gnserts a non9brea+ing hyphen %not used for hyphenation'. -tops applying direct character formats whilst typing( from the cursor point onward. Gnserts a no9width optional line brea+.
#%3
"!ortcut ;eys
8trl9Shift9Space Shift9,nter 8trl9,nter 8trl9Shift9,nter /lt9,nter /lt9,nter /rrow Left Shift9/rrow Left 8trl9/rrow Left 8trl9Shift9/rrow Left /rrow 6ight Shift9/rrow 6ight 8trl9/rrow 6ight 8trl9Shift9/rrow 6ight /rrow 0p Shift9/rrow 0p /rrow Down Shift9/rrow Down .ome Shift9.ome ,nd Shift9,nd 8trl9.ome 8trl9Shift9.ome 8trl9,nd 8trl9Shift9,nd 8trl9Page0p 8trl9PageDown 2nsert
Effect
Gnserts a non9brea+ing space %not used for hyphenation and not eCpanded if teCt is Justified'. Gnserts a line brea+ without paragraph change. Gnserts a page brea+. Gnserts a column brea+ in multi9column teCts. Gnserts a new paragraph without numbering. Gnserts a new paragraph directly before or after a section or a table. 0o)es cursor to left. 0o)es cursor with selection to the left. oes to beginning of word. -elects to the left word by word. 0o)es cursor to right. 0o)es cursor with selection to the right. oes to start of neCt word. -elects to the right word by word. 0o)es up one line. -elects lines in an upwards direction. 0o)es cursor down one line. -elects lines in a downward direction. oes to beginning of line. oes and selects to the beginning of a line. oes to end of line. oes and selects to end of line. oes to start of document. oes and selects teCt to start of document. oes to end of document. oes and selects teCt to end of document. -witches cursor between teCt and header. -witches cursor between teCt and footer. Turns Gnsert mode on or off.
#%#
"!ortcut ;eys
Page0p Shift9Page0p PageDown Shift9PageDown 8trl9Del 8trl9Jac7space 8trl9Shift9Del 8trl9Shift9Jac7space 8trl9+ab 8trl9Shift9+ab /lt9W 8trl9double"clic7 or 8trl9Shift9)*$
Effect
0o)es up one screen page. 0o)es up one screen page with selection. 0o)es down one screen page. 0o)es down one screen page with selection. .eletes teCt to end of word. .eletes teCt to beginning of word. .eletes teCt to end of sentence. .eletes teCt to beginning of sentence. "ses neCt suggestion with automatic word completion. "se pre)ious suggestion with automatic word completion. Gn the spelling chec+er dialog& Calls bac+ the original un+nown word into the teCt boC. .oc+s or un9doc+s the !a)igator( -tyles and 5ormatting window( or other windows.
Effect
Gf the acti)e cell is empty( 8trl9/ selects the whole tableV otherwise( it selects the contents of the acti)e cell. #ress 8trl9/ a second time to select the entire table. Gf the acti)e cell is empty( 8trl9.ome mo)es the cursor to the beginning of the table. #ress 8trl9.ome again to mo)e the cursor to the beginning of document. Gf the acti)e cell is not empty( 8trl9.ome mo)es the cursor to the beginning of the acti)e cell. * second press of 8trl9.ome mo)es the cursor to the beginning of the current table. * third press mo)es the cursor to the beginning of the document.
8trl9.ome
8trl9,nd
Gf the acti)e cell is empty( 8trl9,nd mo)es the cursor to the end of the table. #ress 8trl9,nd again to mo)e the cursor to the end of document. Gf the acti)e cell is not empty( 8trl9,nd mo)es the cursor to the end of the acti)e cell. * second press of 8trl9,nd mo)es the cursor to the end of the current table. * third press mo)es the cursor to the end of the document.
8trl9+ab
Gnserts a tab stop %only in tables'. .epending on the 7indow 0anager in use( /lt9+ab may be used instead.
#%%
"!ortcut ;eys
8trl9Shift9/rrow 0p 8trl9Shift9/rrow Down /lt9/rrow 7eys /lt9Shift9/rrow 7eys 8trl9/lt9Shift9/rrow 7eys /lt92nsert /lt9Del
Effect
,umps to start of table. ,umps to end of table. Gncreases or decreases the si2e of the column or row on the right or bottom cell edge. Gncreases or decreases the si2e of the column or row on the left or top cell edge. $i+e /lt( but modifies only the acti)e cell. #ro)ides 3 seconds in Gnsert mode( during which time pressing an arrow +ey inserts a row or column( or 8trl9/rrow Key inserts a cell. #ro)ides 3 seconds in .elete mode( during which time pressing an arrow +ey deletes a row or column( or 8trl9/rrow Key merges the acti)e cell with the neighboring cell. 4emo)es cell protection from all selected tables. Gf no table is selected( then cell protection is remo)ed from all of the tables in the document. Gf nothing is selected( the contents of the neCt cell are deleted. Gf cells are selected( the whole row%s' of the selection are deleted. Gf all rows are selected completely or partially( the entire table is deleted.
8trl9Shift9+
8trl9Shift9Del
Effect
*pplies TeCt /ody paragraph style. *pplies 6eading 1 paragraph style. *pplies 6eading 2 paragraph style. *pplies 6eading 3 paragraph style. *pplies 6eading > paragraph style. *pplies 6eading A paragraph style. 0o)es the acti)e paragraph or selected paragraphs up one paragraph. 0o)es the acti)e paragraph or selected paragraphs down one paragraph. 7hen the cursor is at the beginning of the heading teCt( mo)es a heading in format .eading ; %I j 1D' down one le)el in the outline. .oes not affect the applied paragraph style.
#%&
"!ortcut ;eys
Shift9+ab
Effect
7hen the cursor is at the beginning of the heading teCt( mo)es a heading in format .eading ; %I j 210' up one le)el in the outline. .oes not affect the applied paragraph style. *t the start of a heading& Gnserts a tab stop. .epending on the 7indow 0anager in use( /lt9+ab may be used instead.
8trl9+ab
$hortcut keys for moving and resi5ing frames, graphics, and obDects
"!ortcut ;eys
,sc
Effect
Cursor is inside a teCt frame and no teCt is selected& ,sc selects the teCt frame. TeCt frame is selected& ,sc clears the cursor from the teCt frame.
): or ,nter or any +ey that produces a character on screen /lt9/rrow Keys /lt98trl9/rrow Keys /lt98trl9Shift9 /rrow Keys 8trl9+ab
Gf a teCt frame is selected& positions the cursor to the end of the teCt in the teCt frame. Gf you press any +ey that produces a character on screen( and the document is in edit mode( the character is appended to the teCt. 0o)es the selected obJect. 4esi2es an obJect by mo)ing the lower right corner. 4esi2es an obJect by mo)ing the top left corner. -elects the anchor of an obJect %in 3dit #oints mode'.
+esult
0o)es between areas. 0o)es between areas %bac+wards'
#%'
+esult
0o)es the selection up. 0o)es the selection down. =pens the #roperties dialog. =pens a conteCt menu. 4efreshes the selected theme. =pens the 3nter Title dialog. .eletes the selected theme. Gnserts a new theme.
+esult
,umps to the first entry. ,umps to the last entry. -elects the neCt -elects the neCt -elects the neCt -elects the neCt allery element on the left. allery element on the right. allery element abo)e. allery element below.
-croll up one screen. -croll down one screen. Gnserts the selected obJect as a lin+ed obJect into the current document. Gnserts a copy of the selected obJect into the current document. =pens the -nter &itle dialog. -witches between themes )iew and obJect )iew. -witches between themes )iew and obJect )iew. -witches between themes )iew and obJect )iew. -witches bac+ to main o)er)iew.
#%(
+esult
Toggles row selection( eCcept when the row is in edit mode. Toggles row selection. -elects the current column. 0o)es pointer to the first row. 0o)es pointer to the last row.
+esult
Gnserts a .rawing =bJect.
-elects a .rawing =bJect. -elects the neCt .rawing =bJect. -elects the pre)ious .rawing =bJect. -elects the first .rawing =bJect. -elects the last .rawing =bJect. 3nds .rawing =bJect selection. 3Cit 6andle -election 0ode and return to =bJect -election 0ode. 0o)e the selected point %the snap9to9grid functions are temporarily disabled( but end points still snap to each other'. 0o)es the selected .rawing =bJect one piCel %in -election 0ode'. 4e9si2es a .rawing =bJect %in 6andle -election 0ode'. 4otates a .rawing =bJect %in 4otation 0ode'. =pens the properties dialog for a .rawing =bJect. *cti)ates the #oint -election mode for the selected drawing obJect.
/lt90p!Down!Left!6ight /rrow
#%=
"!ortcut &eys
Spacebar
+esult
-elect a point of a drawing obJect %in #oint -election mode' / Cancel selection. The selected point blin+s once per second.
Shift9Spacebar 8trl9+ab
-elect an additional point in #oint -election mode. -elect the neCt point of the drawing obJect %#oint -election mode'. Gn 4otation mode( the center of rotation can also be selected.
-elect the pre)ious point of the drawing obJect %#oint -election mode'. * new drawing obJect with default si2e is placed in the center of the current )iew. *cti)ates the first drawing obJect in the document. $ea)e the #oint -election mode. The drawing obJect is selected afterwards. 3dit a point of a drawing obJect %#oint 3dit mode'.
Gf a drawing obJect is selected( switches to edit mode and places the cursor at the end of the teCt in the drawing obJect. * printable character is inserted. The position of the obJectWs center is fiCed. The ratio of the obJectWs width to height is fiCed.
/lt +ey while creating or scaling a graphic obJect Shift +ey while creating or scaling a graphic obJect
#&$
nde'
A
accessibility features >>B address boo+ 30E address data source 30< align cells in table 2D0 aligning graphics 2A2 alphabetic indeC adding indeC entries 3>> columns 3A0 creating 3>> anchoring frames 123 antialiasing screen font >3 appearance options A0 arranging graphics 2A1 *sian languages <> *ssign action dialog %form' >2D *utoCaption <1( 2AE *utoCorrect <A( ED( D> *utofit 2E3 autoformat table 2D1 automatic caption <1( 2BA automatic sa)ing 2D *utoTeCt D< *utoTeCt dialog boC 3D0 *utoTeCt for entering fields 3D0 undoing 1B3 Citation 0odify 3AD citations 3AB clipboard >> closing a document 32 closing 7riter 32 color options >< columns changing the number 11D defining 11E distributing teCt e)enly 11D formatting 11B newspaper9style 11D separator lines 11B comments 100 comparing documents DD( 102 compatibility options <0 compleC teCt layout languages <> conditional content 3DB( 3DD conditional teCt 3DD( >01 con)ert colors to grayscale AD counting words 10E create document from template 2D> cross9reference 1>< cross9references between documents 3EE in headers or footers 3D< inserting references 3D3 o)er)iew 10>( 3D2 preparing headings as targets 3EE setting references 3EB( 3DA Ctrl9clic+ re@uired to follow hyperlin+s >B customi2ing +eyboard shortcuts >>0 menus >3> toolbars >3E cutting and copying teCt <D
3
/ase main window >23 bibliographic database adding entries 3AE columns 3AA creating 3A> fields 3A< filter 3AA bibliography creating 3A> creating database 3A> editing 3<> 3diting a reference 3AD master document 3E> paragraph style 3<3 references 3AB boo+ pre)iew 1AB boo+let printing 1AA boo+mar+s 10>( 3D3( 3D> brochure printing 1AA bulleted list B0 /ullets and !umbering toolbar B0
4
dashes E> data source accessing eCisting >2> accessing using a form >22 definition 30< database access permissions >2D creating >22 Table .esign window >23 .atabase 7i2ard >22( >2A default file format A2 default template 2DD dictionaries <3 different first page 113 digital rights management %.40' 1<< digital signature 1E1
C
Caption dialog 2AB captions 2AE change case 10E change trac+ing options <0 character formatting EB character styles
2nde-
#&*
direct cursor AE .ocGnformation field >00 doc+ing/floating windows 20 document closing 32 create from template 2D> sa)ing 2D sa)ing as a 0icrosoft 7ord 2D document status option >1 document )iews 2A .ocumentation 11 double9sided printing AD drag and drop 23E .rawing =bJect #roperties toolbar 2>B drawing obJects grouping 2>D properties 2>B .rawing toolbar 2>B drawing tools 2>E dupleC printer AD
e9mail options <2 e9mailing 0ail 0erge 7i2ard 1<B se)eral recipients 1<B 7riter document as attachment 1<E edit document properties before sa)ing A1 3dit 5ields dialog boC >0> en and em dashes E> endnotes B3( 132 en)elope formatting address bloc+s 1AD 0ail 0erge dialog 321 mail merge from database 1AB printing 1AB en)elope printing 1AB 3#- images in #.5 1<3 eCport directly as #.5 1<2( 1<E eCporting to #.5 1<2 eCtensions >>A
F
faC icon( adding to toolbar >3D faC sending 1<2 5aC 7i2ard 2D< 5.5 1<3 features 1B field names( show/hide 3DE field shadings on/off 3DE fields automatic updating >0> *utoTeCt entry 3D2 *utoTeCt for entering 3D0 boo+mar+ 10>( 3D> boo+mar+s 3D3 con)erting into teCt 3DB cross9reference 10>( 3D2
.ocGnformation >00 document properties 3BB document title 3D< entering 3B< fiCed content 3BD( 3DE gray bac+ground on screen 3B< hidden teCt >02 in headers and footers 3D< +eyboard shortcuts 3DE number range )ariable 3D0 page count 3DE page number 3B<( 3D< placeholder >0> updating 3DE user9defined )ariable 3D2( >00 5ields dialog boC Cross9references tab 3D3( 3DA .ocGnformation tab 3BD .ocument page 3BD .ocument tab 3D< 5unctions tab& conditional teCt >01 5unctions tab& hidden teCt >02 5unctions tab& placeholder field >0A open using +eyboard 3DE 4eferences tab 3ED file locations >A file sharing options >E 5ill 5ormat mode 1EA finding and replacing teCt E0 floating toolbars 1D( 20 font family AE font history >3 font options >< font pre)iew >3 font replacements >< font si2e( relati)e 211 fonts( default AE footnote formatting B> footnote or endnote mar+er B3 footnotes B3( 131 form accessing data sources >22 adding form controls >1E configuring controls >12 configuring form controls >20 control formatting options >30 creating >11 customi2ation( ad)anced >2B data entry form creation >2A database access permissions >2D design mode >11 entering data >2E eCample of creating a form >1E form controls reference >13 form properties >2< 5orm #roperties dialog >2< inserting form controls >12 lin+ing macro to a control >2B read9only >2D
LibreOffice #.$ Writer Guide
#&:
toolbars >11 when to use >10 I5orms >31 >11 5orm Controls toolbar >11 5orm .esign toolbar >11( >1A form letter creating with wi2ard 321 5orm #roperties dialog >2< 5ormatting *ids options A< formatting( finding and replacing E2 frame anchoring 123 border 122 creating 121 lin+ing 123 mo)ing( resi2ing( and changing attributes 121 5rame dialog 122( 12>
1
allery creating a new theme 2<3 deleting images 2<2 deleting obJects 2<2 6ide/-how button 2>1 location 2<3 opening 2>0 general options >0 general options for 7riter AA graphics adding captions 2AE adding from file 23E alignment 2A0 arrangement 2A0 lin+ing 23B modifying 2>1 positioning 2A0 resi2ing 2>A wrapping teCt around 2A2 grid inter)als AE
icon si2e and style >2 icons in menus >3 image map 2<0 images adding from file 237 lin+ing 23B resi2ing 2>A scanned 2>0 wrapping teCt around 2A2 indent distance AA indents EE indeC capitali2ing entries 3>B creating 3>> customi2ing 3>< +ey 3><( 3>B sorting entries 3>B indeC entries 3>> customi2ing 3><( 3>B editing 3A1 GndeC $in+ character style 3>0 Gnsert /oo+mar+ dialog 3EB( 3DA Gnsert GndeC 3ntry dialog 3>< Gnsert GndeC/Table dialog 33< Gnsert #icture dialog 23B Gnsert -ection dialog 12B Gnsert -ection dialog boC >03 Gnternational -upport 11
6
+eyboard shortcuts assigning >>0( >>B customi2ing >>1 loading from a file >>A resetting to default )alues >>A sa)ing to a file >>> select nonconsecuti)e items <B +eyboard shortcuts for fields 3DE
8
headers and footers 13A( 3D< 6elp >1 6elp *gent >1 6elp system 10 hidden paragraphs 3DD hidden section 130 hidden sections 3DD hidden teCt 3DD( >02 6ide/-how button 2>1 6T0$ compatibility A> 6T0$ documents AE hyperlin+s editing 10< inserting 10> hyphenation D3 manual D>
:
label printing 1<0 labels printing 1<0 landscape page in portrait document 11A landscape pages 11> language settings <3 $ibre$ogo 2<> licensing of $ibre=ffice 1> line numbering DB lines B0 lin+ed styles 20A lin+ing 103 lin+ing frames 123 load/sa)e options A0 loading styles 1EE locale settings <3 logical eCpressions 3DD
#&3
2nde-
/
macro lin+ing to a form control >2B macros assigning to e)ents >>A mail merge *dJust $ayout dialog 32B Create -alutation dialog 32E edit sa)ed file 31E en)elopes 321 0ail 0erge dialog 312( 321 0atch 5ields dialog 32A !ew *ddress /loc+ dialog 32A o)er)iew 30< personali2e documents 330 sa)e( print or send 330 -elect *ddress /loc+ dialog 32> -elect *ddress $ist dialog 323 0ail 0erge dialog 312( 321 mail merge e9mail options <2 0ail 0erge 7i2ard e9mailing 7riter document 1<B mailing labels 313 marginal notes 12A margins( changing 11< master document anchoring pictures to page 3B2 bibliography 3E> changing styles 3E< combining se)eral documents 3<B creating 3<E creating one file 3B1 cross9referencing between subdocuments 3EE editing 3E< editing subdocuments 3EE eCporting to .odt file 3B1 indeC 3E> !a)igator 3B0 no eCisting documents 3E0 planning 3E0 splitting one document 3<E styles 3<<( 3E0 subdocument creation 3E1 subdocument inclusion 3E3 table of contents 3E> template 3E1 title page 3E2 0atch 5ields dialog 32A measurement unit EB memory options >2 menus 1D adding commands >3< creating >3A customi2ing >3> modifying >3A modifying entries >3E merge cells in table 2D0 merging and splitting cells in table 2EA
#&#
merging documents 102 0icrosoft =ffice file con)ersion A> 0icrosoft 7ord <0 middle mouse button function >> 0ore %5orm' Controls toolbar >11( >1> mouse positioning >>
>
name and initials of user >0 !a)igator in master document 3B0 in normal document 33 nested tables 2<D !ew *ddress /loc+ dialog 32A newsletter layout 111 non9brea+ing hyphen E> non9brea+ing spaces E> !umber 5ormat dialog 12E number range )ariable 3D0 number recognition AD( 12E( 2B0 numbered lists B0 numbering pages 13D numbering pages by chapter 1>2 numbering se@uence( defining 3D0
;
=ffice *ssistant >1 =pen -ource Gnitiati)e %=-G' 1> =pen/-a)e dialogs >1 =rganiser page 20> organi2ing templates 301 orientation of page 11> o)erwrite mode 10< =IT files 2DB
P
page brea+( manual 112 page count in header or footer 3DE page count( problem 1>< page layout choosing best method 110 different first page 113 headers and footers 13A landscape page 11> landscape page in portrait document 11A margins( changing 11< newsletter 111 orientation 11> portrait headers on landscape pages 13E sna+ing columns 111 using columns 11E using frames 120 using sections 12E using styles 112 using tables 12A page number automatic 13D numbering by chapter 1>2
odd and e)en 1>> restarting 1>> restarting( problems 1>A page numbers 3B< page styles 112 paragraph formatting EA spacing at tops of pages <1 paragraph ends A< paragraph mar+ers 120 paragraph styles *lignment page 20D bac+ground and borders 21< conditional 21< drop cap 21A 5ont options 211 Gndents M -pacing 20E neCt style 1D2 =utline M !umbering 21A outline le)els 1DA #osition page 212 4otating teCt 213 TeCt flow 20D password protection 30 password9protect #.5 1<< pasting teCt <D path options >A #.5 blan+ page eCport 1<> digital rights management %.40' 1<< embed standard fonts 1<> encrypt 1<< 3#- %3ncapsulated #ost-cript' images 1<3 eCport documents to 1<2 image compression and resolution 1<2 initial )iew selection 1<> pages to eCport 1<2 password9protect 1<< security settings 1<< tagged 1<3 user interface settings 1<> #.5 =ptions dialog 1<2 personal data( remo)ing 1E1 #ersonali2ation >D personas >D pictures adding 2<1 adding from file 237 lin+ing 23B resi2ing 2>A transparency 2>3 wrapping teCt around 2A2 placeholder field >0> pre)iew of fonts >3 print file directly 1A2 print options >>( AB printer metrics <0 printer settings A1 printer warnings >>
2nde-
printing blac+ and white on color printer 1AE boo+let 1AA brochure 1AA choosing what to print 1A2 en)elopes 1AB grayscale on color printer 1AE labels 1<0 multiple pages per sheet 1A3 page orientation 1A3 pre)iewing 1AE selecting what to print 1AA 1AE #roperties dialog 3BE( >12 protecting a document DD
E
Huic+starter enabling >2 7indows 2<
C
read9only forms >2D recording changes DD redlines DD redo 3E 4egister9true 20B regular eCpressions E0 reJecting changes 100 relati)e font si2e 211 remo)ing personal data 1E1 replacement table %font' >< re)ision mar+s DD rulers 22( EE rulers( changing margins 11<
$
-a)e 2D scaling factor >2 scanner 2>0 screen font antialiasing >3 searching in ,apanese <> section boundaries A0 conditional >03 creating 12B deleting 13> editing the format 133 hidden >03 hiding 130 lin+ing 12D lin+s( updating 13> naming 12B password9protecting 12D sa)ing 132 uses of 12B write9protecting 12D security 30
#&%
security options >E -elect *ddress /loc+ dialog 32> -elect *ddress $ist dialog 323( 32> selecting teCt <B selection clipboard >> send document as e9mail 1<B shortcut +eys >>B sideheads 12A si2e optimi2ation A2 sna+ing columns 111 snap to grid AE sorting data in a table 2D1 spacing at tops of pages <1 spacing between paragraphs and tables <0 special characters E3 spelling B< spelling options <> split cells in table 2D0 spreadsheet functions in table 2B2 -tyle dialog 1BB styles assigning to shortcut +eys >>1 creating by drag and drop 1EB loading from template or document 1EE neCt style 1D2 relati)e font si2e 211 tab stops 21> updating from selection 1E< -tyles and 5ormatting window 1EA styles filters 6ide 1EB subdocuments 3<E( 3E0( 3E1 sum cells in table 2D1 superordinate obJect settings 2ED support 10 system font for user interface >3
&
tab stops AA( EE( 21> table allow to brea+ across pages 2ED autoformat 2D1 automatic caption 2BA bac+ground colors and graphics 2EE borders 2EA boundaries A0( 2EB caption 2B> heading 2<D lin+ing graphic file 2EB merging and splitting 2EA nested table 2<D number recognition 2B0 page layout using 12A page or column brea+ 2ED properties 2<B resi2ing rows and columns 2E2 rows 2E> sort cells 2D1
spacing at tops of pages <1 spreadsheet functions 2B2 sum cells 2D1 teCt flow 2ED Table .esign window >23 Table 5ormat dialog boC 12E TeCt 5low tab 11A Table menu and toolbar 2BD table of contents adding elements 33D bac+ground 3>1 changing number of le)els included 33< character styles 33D columns 3>1 creating 33> creating from additional styles 33E creating from an outline 33E creating from indeC mar+s 33E customi2ing 33A deleting 3>> editing 3>3 formating entries 33E graphic in bac+ground 1>B Gnternet $in+ character style 3>0 paragraph style 3>0 protecting against manual changes 33< scope 33E Tab parameters 3>0 Tab position relati)e to #aragraph -tyle indent 3>0 updating 3>3 table options AD tear9off toolbars 1D template create document from 2E( 2D> creating from document 2DA creating using wi2ard 2D< deleting 302 description 2D> editing 2DE eCporting 303 folders 301 importing 303 mo)ing 302 setting a default 2DD update document styles from 2DE teCt boundaries A0 teCt flow in tables 2ED teCt si2e in user interface >2 teCt wrapping 2A2 theme deleting 2<3 theme( allery 2<2 themes % allery' 2<3 thesaurus D1 toolbars 1D adding commands >3B choosing icons for commands >3B creating >>0
LibreOffice #.$ Writer Guide
#&&
!
wildcards E0 wi2ard *ddress .ata -ource 30< 0ail 0erge 321 word completion DA word count 10E wor+space 1B wrap off 2A3 wrap through 2A< wrapping teCt around graphics 2A2
2
undo 3E update fields and charts automatically AA update lin+s when loading AA updating fields 3DE "4$ 4ecognition 10> "ser .ata options >0 "ser guides 11 user9defined )ariable field 3D2 user9specific settings A1
M
I5orms >31 I0$ A2
=
)ariables 3DD )iew options >2 Piew options for 7riter A<
J
year %two digits' >1
2nde-
#&'