40
Chapter3:ManagingTextDocumentsWithWriter
Whenoneormoresubdocumentsarechangedaftercreatinganindex,the
indexesinthemasterdocumentshouldalsobeupdated.Todothis,clicktheicon
Update(asshowntotheleft)ontheNavigatorformasterdocumentsandselect
theentriestobeupdatedfromthesubmenu.Likewise,referencesworkina
MasterDocumentanditssubdocuments,inthesamemannerainsubdocuments
themselves“whenthesearedefinedinthedocumentsinvolved.Forexample,if
figuresinasubdocumentarenumberedfrom“Figure1”to“Figure10”,
figuresinthenextsubdocumentcannumberedstartingat“Figure11).
AMasterdocument,togetherwithallitsparts,canbesavedasacombinedOpenOffice.org
Writerdocument.Todoso,dothefollowing:
1. IntheNavigator,clicktheToggleicon.
2. IntheNavigatorlist,doubleclick"Sections".
3. RightclickasectionnameandchooseEdit.
4. SelectallofthesectionsintheSectionlist,andthenclickRemove.
5. ClickOK.
6. ChoosethecommandFile>Export.andselectthenormalOpenOffice.orgWritertext
formatinthelistboxFiletype.
Printingamasterdocumentwithallsubdocuments,texts,andindexesisthesameasprinting
anyotherOpenOffice.orgdocument.SimplyusetheprintdirecticonontheStandardtoolbar
orviaFile>Printdialogue.
Tocheckifalinkexistsforasinglesubdocumentorallsubdocuments,positionthemouse
pointerintheNavigatoronthecorrespondingentry.Thepathinformationfortheoriginal
documentappearsinasmallpopupwindow.Shouldthefileisnolongerbefoundatthe
originalpath,awarningFilenotfoundisshownalongwiththeoriginalpathandtheentryis
displayedinredintheNavigator.
Warning:Graphicsinsertedinasubdocumentandanchored"topage"willnot
bedisplayedinthemasterdocumenteventhoughthegraphicalwaysappears
correctlyinthesubdocument.Accordingtotheclosingentryonissue50669,this
isexpectedbehaviour.Toquote:
“It'salimitationoftheOpenOffice.orgmasterdocumentconcept.Itisnot
possibletousereferencetoacertain"page"definedinasubdocumentbecause
themasterdocumentreorganizesthepageflow,pagenumberandreferencesto
collatealldocumentstogether.Thisway,theabsolutereferencetoapageXina
subdocislostinthemasterdoc.Thegraphiclosesitsanchorreferenceand
simplydisappears.”
WORKAROUNDToavoidthisproblemdothefollowing:
a) Settheanchorto"ToCharacter"or"ToParagraph"and
OpenOffice.orgUserGuidefor2.x
134