Chapter3:ManagingTextDocumentsWithWriter
5. Witheachdialogue,selectthefeaturesneeded.
6. ClickCreatetoaddthisdocumenttothetemplatesandtoopenaWritersessionto
completethebody.
7. Ifthebodytextwillbeusedinthefuture,useFile>Template>Saveandoverwritethe
initialinstanceofthetemplate.
Havingdonethis,thistemplatemaybeusedforotherformletters:
1. SelectTools>MailMergeWizardtostarttheprocessofcreatingaformdocument
basedonthetemplatejustcreated.Theletterbasedonthistemplatewillbedisplayedand
alreadycontainthefieldsfortheaddress,date,sender,etcetera.
2. ChooseFromatemplateintheMailMergedialogue.
3. PressF4toopenthedatasourceforthecurrentdocument.
4. Selecttherecordsnecessaryforuseintheformletterbyclickingtherowheadersatthe
leftinthedatasourceview.PresstheShiftkeyand/ortheCtrlkeytomakea
selection.Toprintaformletterforalltherecordsinthetable,clicktheemptyfieldabove
therowheaderstoselectallrecords.
5. Edittosuitpersonalrequirements.
6. Savethedocument.
7. NowclicktheMailMergeiconontheTableDatatoolbaratthetopofthedatasource
view.TheFormLetterdialogueappears,wheretwochoicesareoffered,tosaveasfile(s)
orprint.Onecanalsochoosetoprintselectedrecords,allrecordsoraparticularrange.If
printingarange,forexample,records1to5,ensurethatthenumbersfollowtheorder
displayedinthedatasourceview.
Tosortorfilterrecordsinthedatasourceview,byclicktherespectiveiconsonthedatabase
bar.Forexample,tosortallrecordsaccordingtopostalcode,placethecursorinthePOSTAL
CODE(ZIP)fieldofanyrecordandclickSortAscending.Nowtheformletterisallreadyto
go!
Note:Ifacompletelynewdocumentcontainingthenecessaryformletterfieldsisbeingcreated,usedraganddrop
todoso:Openthetextdocumentandpress
F4
toshowthedesireddatabasetable.Pointtoacolumnheaderand,
holdingdownthemousebutton,dragitintothedocument.Thefieldforinsertingthisitemfromthisdatabasetable
isautomaticallyplacedinthedocument.
CreatingandPrintingLabelsandBusinessCards
DesigningBusinessCardsviadialogue
ChooseFile>New>BusinessCardstoopenadialoguewithseveraltabsthathelpdesign
thelookofbusinesscards.Thesearegenerallyfairlysimple,whichmayormaynotbewhat
iswanted.
OpenOffice.orgUserGuidefor2.x
177
Pdf link open in new window - insert, remove PDF links in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Free C# example code is offered for users to edit PDF document hyperlink (url), like inserting and deleting
pdf edit hyperlink; add url link to pdf
Pdf link open in new window - VB.NET PDF url edit library: insert, remove PDF links in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Help to Insert a Hyperlink to Specified PDF Document Page
add a link to a pdf file; change link in pdf file
Chapter3:ManagingTextDocumentsWithWriter
DesigningLabelsandBusinessCards
UsingFile>New>Labelsfordesigningbusinesscards,asbusinesscardsmayberegarded
asasimplified,specialkindoflabel,isoftenthebestmethod.Likelabels,allbusinesscards
arethesameand,aslabels,canbefilledwithdifferentcontents,graphics,dataobtainedfrom
adatabase,ortheycanbemarkedwithserialnumbers.
1. SelectFile>New>LabelstoopentheLabelsdialogue.
2. OntheLabelstab,underFormat,definethelabelformat.
Writercontainsmanyformatsofcommerciallyavailablesheetsforlabels,badges,
businesscardsetc.User­definedformatscanalsobeadded.
3. OntheLabelstab,underInscription,choosewhattowriteonthelabels.
Thisofteninvolvesdatabasefields,sothatthelabelscanbeprintedwithvaryingcontent,
whensending“FormLetters”forexample.Butitisequallypossibletohavethesame
textprintedoneverylabel.
Usethepull­downliststoselectthedatabaseandtablefromwhichthedatafieldsare
obtained.Clickonthebigarrowtotransfertheselecteddatafieldintotheinscriptionarea.
PressEntertoinsertalinebreak.Enteringspacesandanyotherfixedtextisalso
possible.
UsingtheFormattab,definecustomlabelformats,notcoveredbythepredefined
formats.Tobeabletodothis,thelabeltypeontheLabelstabmustbesetto“Use r­
defined”.OntheOptionstab,specifywhetheralllabelsoronlycertainonesaretobe
created.
4. EnableSynchronizecontentscheckboxontheOptionstab.Ifthisischecked,onlyone
(thetopleftlabel)hastobeenteredandeditedwhiletheremainderwillberepeated
identically
5. UponclickingNewDocument,asmallwindowopenswiththeSynchronizeLabels
button.Enterthefirstlabel.WhentheSynchronizeLabelsbuttonisclicked,thecurrent
individuallabeliscopiedtoalltheotherlabelsonthesheet.
6. ClickonNewDocumenttocreateanewdocumentwiththesettingsthathavebeen
entered.
7. Printthenewdocument.
PrintingLabelsWithSerialNumbers
Printinglotteryticketsorentryticketswithserialnumbersonthemisquiteeasy.Thisishow
todoit:
1. SelectFile>New>Labels.ThisopenstheLabelsdialogue.
2. OntheLabelstab,underFormat,selecttheformatinwhichtoprint.
3. Tickets,labeltagsorrollsareavailablefromspecialistsuppliersandareoftenmadefrom
stiffpaperwithtear­offperforations,orasself­adhesivelabelsonabackingmaterial.
OpenOffice.orgUserGuidefor2.x
178
C# PDF: PDF Document Viewer & Reader SDK for Windows Forms
Please note that, there will be a pop-up window "cannot open your file" if your loaded Please click the following link to see more C# PDF imaging project
clickable links in pdf files; adding hyperlinks to a pdf
VB.NET Image: VB Code to Download and Save Image from Web URL
to download image from website link more easily. reImage, "c:/reimage.png", New PNGEncoder()) End powerful & profession imaging controls, PDF document, image
add hyperlink to pdf in; add email link to pdf
Chapter3:ManagingTextDocumentsWithWriter
4. Todefineacustomformat,selecttheFormattab.
5. CheckSynchronizecontents.
6. ClickonNewDocument.
7. Anewdocumentisnowcreated,dividedupaswanted.onlythetopleftlabelneedstobe
editedand,whensatisfied,“pressSynchronizelabelstomakealllabelsappearthesame.
ThisbuttonisonlyvisibleifSynchronizecontentsischeckedontheOptionstab.
8. Enterthedesiredtextinthetopleftlabelandformatthecontents.
9. Serialnumberingcanbeappliedbyinsertingafield.
10.Placethecursoratthepointwherethenumbershouldappear.
11.PressCtrl+F2orchooseInsert>Fields>Other.
a) IntheFieldsdialogue,gototheVariablestab.
b) SelectthetypeSetvariable,ifitisnotalreadymarked.
c) IntheNamebox,enteranameforthecountingvariable,forexampleNumber.
d) Toincrementthevariablefromonelabeltothenextby1,enterthefollowingformula
intheValuetextbox:Number+1.
e) ClickInsert,thenclosetheFieldsdialogue.
12.ClickSynchronizeLabels.
13.Nowsaveandprintthefinisheddocument.
PrintingAddressLabels
Whenprintingaddressstickersforformlettersthatdonotfitinwindowenvelopes,dothe
following:
1. SelectFile>New>LabelstoopentheLabelsdialogue.
OpenOffice.orgUserGuidefor2.x
179
C# PDF Convert to Jpeg SDK: Convert PDF to JPEG images in C#.net
Open source codes can be added to C# class. String inputFilePath = Program.RootPath + "\\" 1.pdf"; PDFDocument doc = new PDFDocument(inputFilePath
convert a word document to pdf with hyperlinks; add hyperlink pdf
C# PDF Convert to HTML SDK: Convert PDF to html files in C#.net
is trying to display a PDF document file inside a browser window. PDFDocument pdf = new PDFDocument(@"C:\input.pdf"); pdf.ConvertToVectorImages(ContextType.HTML
add hyperlink to pdf in preview; adding a link to a pdf in preview
Chapter3:ManagingTextDocumentsWithWriter
2. Selecttheformatofthelabelsheetsthatwillbeprintedfromthedropdownmenu.
RemembertocheckSynchronizecontentsontheOptionstab.
3. ClickonNewDocumenttoclosethedialogue.
4. Whenthelabeldocumentopen,invokethedatasourceviewbypressingtheF4key.
5. ClicktheTackiconattheedgeofthedatasourceviewtoavoidhavingitcoverthefirst
label.
6. Inthedatasourceview,selecttheaddressdatasourcetable.
7. DragthedatafieldsneededfortheAddressindividuallyintothetopleftlabel.For
example,clickonthecolumnheaderNAMEand,keepingthemousebuttondepressed,
dragitintothelabel.Thisinsertsafield.
8. Putthefieldsinordertocompletetheaddressinthefirstlabelattopleft.
9. Placethecursoratthelasttextposition(afterthelastfield)inthefirstlabel.
10.OpentheFieldsdialoguebypressingtheshortcutkeysCtrl+F2.
11.ChoosetheDatabasetab.
a) SelectthetypeNextrecord,
b) ClickonInsert
c) ClickClose.
12.NowsynchronizethelabelsbyclickingtheSynchronizebuttoninthesmallwindow.
13.Inthedatasourceview,selecttherecordsthatwillprintedonthelabels,byclickingon
therowheaderstotheleft.UsetheShiftorCtrlkeyintheusualwaytoselectseveral
recordsatthesametime.
14.OntheTableDatatoolbar,click
­theDatainFieldsicon.
15.Nowsaveand/orprintthelabeldocument.
Afterthelastlabelonthepage,thecommandNextRecordiseffectedautomatically.Therefore,donotinsertthe
commandmanuallyafterthelastlabelonapage.
AvoidingBlankParagraphs
Sometimefieldsinaformlettercanbeemptyandablanklineisprinted.Forexample,there
isafieldnamedCOMPANYthatshouldappearintherecipientfield,butforsomerecords
thisfieldisempty.Topreventtheseemptyfieldsfrombeingincludeddothefollowing:
1. PlacethecursorinthetextdocumentbeforetheformletterfieldCOMPANY.
2. ChooseInsert>Fields>OthertoopentheFieldsdialogue.
3. OntheFunctionstabselectthetypeHiddenParagraph.
OpenOffice.orgUserGuidefor2.x
180
VB.NET Word: VB.NET Code to Draw and Write Text and Graphics on
fileName, New WordDecoder()) 'use WordDecoder open a wordfile Dim Word document function, please link to Word & profession imaging controls, PDF document, tiff
convert doc to pdf with hyperlinks; add link to pdf
C# TIFF: C#.NET TIFF Document Viewer, View & Display TIFF Using C#
TIFF Mobile Viewer in most mobile browsers; Open, load & Free to convert TIFF document to PDF document for management Please link to get more detailed tutorials
add links to pdf in preview; add a link to a pdf in preview
Chapter3:ManagingTextDocumentsWithWriter
4. IntheConditionfield,enterthefollowingtext(withoutquotationmarks):
not(Company)
NowtheCOMPANYlinewillnotbeprinted,andtherestofthelineswillbemovedupward
iftheCOMPANYdatabasefieldisempty.
OpenOffice.orgUserGuidefor2.x
181
Chapter3:ManagingTextDocumentsWithWriter
Newsletters
Inthissection,learnhowtocreateanewsletter/newspaperasatextdocument.Thisisuseful
forcreatingnewslettersforacompanyorclub,orincelebrationofaspecialevent.Currently
OpenOffice.orgdoesnothavearesidentnewslettertemplatebutthereisaniceonethat
worksavailablefromhttp://
ooextras.sourceforge.net
/
andthisisoneusedinthissection.
Toinstallthetemplateafterdownloading,dothefollowing:
1. OpenthetemplateinOpenOffice.orgWriter.
2. SelectFile>Templates>Save
3. Choosewheretosavethetemplate.Defaultisprobablybestasnospecialpermissionsare
needed.
4. Namethetemplate
5. ClickOK
Voila,thereisnownewslettertemplatereadyforuse.
OpenOffice.orgUserGuidefor2.x
182
Chapter3:ManagingTextDocumentsWithWriter
CreatingaNewsletterFromaTemplate
IntheFilemenuchooseNew>TemplatesandDocuments.Locateanddouble­clicktoopen
theNewspaperTemplate.
Thedocumentcontainsseveralusefulelementsthatcouldbeofgooduseofinanewsletter.It
contains,forexample,anautomaticpagenumberingsystemandafieldwiththefixeddate.
Onecannowentertextandpositiongraphicobjects.
Modifytheexistingheadingasneededandinsertanygraphics.
Afewothertextshighlightedingrayarevariables,whichmodifiable.
Whenthedocumentiscompleted,saveandprintit.
Editthetemplate(File>Templates>Edit)foranypersonalizationandlayoutchanges.
CreatingPageStyles
Whereapagemustincludenotonlytextbutalsoseverallargergraphics,createaseparate
PageStyleforthispurpose.
1.
OpentheStylesandFormattingwindowandclickthePageStylesicon.
2. Fromthecontextmenu,selectthecommandNewtoopenthePageStylesdialogue.
3. InthetabOrganize,assignadescriptiveNamefortheStyle.
4. Next,clickthePagetabanddefinethepageformatandmargins.
5. CheckRegister­trueandchoosethereferenceParagraphStyleTextBody.
Note:Iftheregister­trueoptionisactivate,thebaselinesofallparagraphswiththeTextBodyStylewillbeexactly
alignedsothattheyareatthesamepositionineachcolumnandoneachpageinrelationtothepage.Withdouble­
sideprinting,thebaselinesoftheregister­trueparagraphwillhavethesameposition.NormallyusetheParagraph
Styleusedtocreatetheactualtext.TodefineanotherParagraphStyleasregister­true,calluptheproperties
dialogueofthatParagraphStyle.Callitup,forexample,intheStylesandFormattingwindowviathecontextmenu
ofthatparticularParagraphStyle,selecttheModifycommand.OntheIndentsandSpacingtab,inthefieldunder
Register­true,selectActivate.
EditingHeaders
Toeditaheader,clickintheheaderfieldinthedocument.Withthecontextmenu(Page),
activatethePageStylesdialogue.SelecttheHeaderstabandclickOptions.IntheBorders/
Backgrounddialogue,chooseabackgroundcolourandclickOK,thenconfirmthefollowing
dialogueaswell.
EditingColumns
Tochangethenumberofcolumnsorcreateadividinglinebetweencolumns,activatethe
PageStylesdialogueviathePagecontextmenu.
ClickontheColumnstab.ChangethenumberofcolumnsinthespinboxAmount,and
modifythedistancebetweenthecolumnsinthespinboxSpacing.Makesurethatthe
AutomaticWidthfieldisselected.
OpenOffice.orgUserGuidefor2.x
183
Chapter3:ManagingTextDocumentsWithWriter
Tocreateadividingline,selectanarrowlinefromtheLinelistboxunderSeparator,setthe
Heightto75%,anddefinethepositionasCentered.Finally,clickOKtoclosethedialogue.
Toplaceheadingsorsubheadingsthataremorethanacolumnwideintoamulti­columntext,
tryputtingtheminatextframe.Thetextframecanthebefreelyscaledandpositionedonthe
page.InsertaframeusingtheInsertFrameiconontheInsertfloatingtoolbar.Textframes
canmayalsohaveborders,butthisisnotalwaysnecessary.
EditingParagraphStyles
1. ClicktheParagraphStylesiconintheStylesandFormattingwindowandselectthe
paragraphstyletobemodified.
2. SelecttheModifycommandfromthecontextmenu,calluptheParagraphStyles
dialogue.Inthisdialogue,thereareseveraltabswithvarioussettingsandoptions.
Experimentwithfonteffects,forexampledropcaps.Clicktherespectivetabandselect
ShowDropCaps.DropcapsmayevenbeassignedaStyleintheCharacterStyleslistbox
underContents.
OpenOffice.orgUserGuidefor2.x
184
Chapter3:ManagingTextDocumentsWithWriter
Note:Newslettersornewspapersrequireavarietyofmainheadings,subheadings,andtextwrapstomakeiteasier
toread.IntheParagraphStylesdialogueoftheStylesandFormattingwindowcontextmenu,itwouldthusbea
goodideatocreateseveralappropriateparagraphstyles(gototheStylesandFormattingwindow>contextmenu
>clickNew...).
WorkingwithFrames
Aframepositionedoveroneormorecolumnscangivethenewspaperalesscrowded,more
interestingappearance.Suchaframecancontaintext,graphics,orevenachart.
ClicktheInserticonontheToolstoolbarandfromthefloatingtoolbar,selecttheInsert
framemanuallyicon.Themousepointerchangestoasmallcrossthatisdraggedtoopena
frameandpositionitoveroneormorecolumnsinthedocument.
FormattingaFrame
Putthecursorintheframe(deselecttheframefirst,thenclickinsideit)andenteranytextor
graphics.Theappearanceandpropertiesoftheframecan,ofcourse,bemodifiedatanytime.
Selecttheframebyclickingit,callupthecontextmenuandclickFrame....Adialoguewith
severaltabswillappearwhichallows,forexample,onetoapplyacolouredshadowtothe
frameviatheBorderstab.
AnchoringFrames
IntheFramedialogue,clicktheTypetabandselectthetypeofanchorundertheheading
Anchorto.Iftheframeistoalwaysremainonthesamepage—whichisimportantfora
tableofcontents,forexample,—selectPage.Fortheframetoflowwiththetext,e.g.,for
smallsymbolswhichalwaysappearinthemarginaccompanyingacertainwordinthetext,
selectToCharacter.Or,inflowingtext,theframeshouldmovewiththetextasacharacter,
selectAsCharacter.SelectParagraphtoanchoraframetoaspecificparagraph,.
Thetypeofanchorcanalsobespecifiedfromthecontextmenu.Alternatively,clickthe
ChangeAnchoriconintheObjectbartoquicklychangetheanchor.
DefiningaFrameWrap
OpentheFramedialogue(contextmenu>Frame)todefinetheframewrapandclickthe
Wraptab.Selectthedesiredwrapstyle,andunderSpacing,definethespacingbetweenthe
frameandtext.Finally,selecttheoptionFirstParagraph.
OpenOffice.orgUserGuidefor2.x
185
Chapter3:ManagingTextDocumentsWithWriter
TheFirstParagraphfield(orthemenucommandinthecontextmenu)ensuresthatwhena
graphicispositionedbetweentwoparagraphs,onlythefirstparagraphwrapsaroundthe
picture.
DefiningaWrapRegion
Note:Asonefollowsthisprocedure,ibutcannotfindaniconinatoolbartowhichthedescriptionrefers,check
theVisibleButtonsmenuforthetoolbar.
Makinganewslettermoreattractivewithobjectsorgraphicsisdoneeasilybyhavingthetext
flowaroundanobject.SimplydrawapolygonusingthePolygoniconintheDraw
Functionstoolbar.PlacethepolygonoverthetextandassignthetexttheWrap>Contour
withitscontextmenu.
Awrapcontourto3Dobjectscanalsobedefined.Createa3DobjectwithOpenOffice.org
Draw,copyittotheclipboardandpasteitintothetextdocument.Openthecontextmenuof
theinsertedobjectandchooseWrap>Contour.Inthecontextmenuofanobjectwitha
wrapcontouristheWrap>EditContourcommand.ThiscommandcallstheContour
Editorfromwhichmanuallyre­editingtheautomaticcontourispossible.Refertothe
instructionsinHelp.
LinkingFramesandFacilitatingTextFlow
Ifthetextshouldbecontinuedinthesamemannerasinanewspaper,i.e.fromaframeon
page1to,say,aframeonpage4,andwherethetextflowfromframetoframemustbe
doneautomatically,uselinkedframes.
1. Createtwo(ormore)framesbyopeningtheInsertfloatingtoolbar,clickingInsert
Frame.
2. Selectthefirstframe(clicktheborderoftheframe).
3. ClicktheLinkFrames
iconontheFrametoolbar.
4. Now,clickthesecondframe.
5. Toentertextinthelinkedframes,positionthecursorinthefirstframeandtypein
textorinsertitfromtheclipboard.
Note:Ifcertaintextfromadocumentistoflowinlinkedframes,firstputthetextcursorinthefirstframe
(firstclickthenormaltexttocanceltheframeselectionandthenclicktheframe).
6. Nowdecideifthetextshouldbeacopyintheframeorifitshouldkeepalinktothe
originaldocument(inthiscaseitwouldalwaysreturntotheactualstandofthe
originaldocument).Ifthetextisonlytobecopied,choosethecommandmenuInsert
>File.
OpenOffice.orgUserGuidefor2.x
186
Documents you may be interested
Documents you may be interested