c# document to pdf : Add hyperlink to pdf application control tool html web page winforms online user_guide2_draft10-part551

Chapter3:ManagingTextDocumentsWithWriter
OpentheShowDrawFunctionsfloatingtoolbarontheStandardtoolbar.
OntheDrawFunctionstoolbar,clickontheTexticon.Themousepointer
changestoa'+'whichindicatesthatatextframemaydefinedandopened.
Openupatextframe,releasethemousebuttonandtypeinanytext.
Clickontheedgeofthetextframe.NowseetheDrawObjectBar,which
containstheObjectRotationModeicon.appears.Clickonit.
Now,ifoneclicksononeofthehandlesinthecornersofthetextframeand
dragthemouse,thewholetextframeturnswiththetext.
FromthecontextmenuoftheTextFrame,ausercanstartthePositionandSizedialogueby
selectingtheRotationtab.Thisallowsthepreciseangleofrotationtobedefined
numerically.
DefiningBorders
Bordersofpages,paragraphs,tablesandotherobjectscanbedefinedintwoplaces:
ChooseFormat>(objectname)>Borderswhere<objectname>ispageor
paragraph.
Intables,usetheBordersfloatingtoolbarontheobjectbar.
ChooseFormatfromthemenubar,Borderstabpage
Tosetaborder,selectFormat>Page>BordersorFormat>Paragraph>Borderswhich
opensthefollowingdialogue:
OpenOffice.orgUserGuidefor2.x
67
Add hyperlink to pdf - 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
accessible links in pdf; adding a link to a pdf
Add hyperlink to pdf - 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
pdf link; clickable pdf links
Chapter3:ManagingTextDocumentsWithWriter
OntheleftofthedialoguepanelistheLinearrangementgroup.Noticethatthefourouter
edgesoftheUser­definedareaaremarkedwithsmallangles.Toeditanoutermargin,clickin
theappropriatepositionbetweenthesmallangles.Abovethisareaarefourpredefined
Defaultborderswhichmayalsobeused.
Inbothcases,theselectedborderelementswillbeindicatedbyblacktriangles.Nownow
choosealinestyleoracolour,itwillbeappliedtotheselectedpartoftheborder.
Note:Ifanemptylineisselectedinthepreview,thatistosay,if,oneofthethreeconditions“Line”,“GrayLine”
and“NoLine”,Thecondition“NoLine”appears,Thismeansthattherelevantpartoftheborderwillbedeleted.
ClickingrepeatedlyonanelementintheBordersdialogueswitchesbetweenthree
alternativemodes:
Theelementisdisplayedasaline
ClickingOKwillapplytheformattotheelement.
Theelementisdisplayedasathick
blackline
IfOKisclicked,theobjectremainsunchanged.
Theelementisnotdisplayed
ClickingOKdeletestheelement.
OpenOffice.orgUserGuidefor2.x
68
VB.NET Create PDF from Word Library to convert docx, doc to PDF in
Change Word hyperlink to PDF hyperlink and bookmark. VB.NET Demo Code for Converting Word to PDF. Add necessary references: RasterEdge.Imaging.Basic.dll.
add links to pdf file; active links in pdf
VB.NET Create PDF from Excel Library to convert xlsx, xls to PDF
Change Excel hyperlink to PDF hyperlink and bookmark. VB.NET Demo Code for Converting Excel to PDF. Add necessary references: RasterEdge.Imaging.Basic.dll.
pdf hyperlinks; pdf link open in new window
Chapter3:ManagingTextDocumentsWithWriter
UsetheBordersfloatingtoolbarwithTables
Supposethefollowingtableborderisrequiredforadocument:
Berlin
NewYork
London
Country
Germany
USA
GreatBritain
River
Spree
Hudson
Thames
Population
>3MillionCitizens
>7MillionCitizens
>6MillionCitizens
1. Placethecursoratthepositioninthedocumentwherethetableistobeinserted.
2. ChooseInsert>TabletoopentheInsertTabledialogue,andinsertatableofthe
requiredsize,e.g.4columnsand3rows.
3. SelectthewholetablebypressingCtrl­Atwice,thenclicktheBordersicononthe
objectbar.Onthefloatingtoolbarclicktheiconattopleft,whichmeans“NoBorder”.
OpenOffice.orgUserGuidefor2.x
69
How to C#: Basic SDK Concept of XDoc.PDF for .NET
You may add PDF document protection functionality into your C# program. Hyperlink Edit. XDoc.PDF for .NET allows C# developers to edit hyperlink of PDF document
adding hyperlinks to pdf files; add url pdf
VB.NET PDF: Basic SDK Concept of XDoc.PDF
You may add PDF document protection functionality into your VB.NET program. Hyperlink Edit. XDoc.PDF for .NET allows VB.NET developers to edit hyperlink of PDF
change link in pdf; add links to pdf in preview
Chapter3:ManagingTextDocumentsWithWriter
4. Now,withthemouse,selectthewholeofthefirstrow,openthecontextmenuandchoose
TabletoopentheTableFormatdialogue.
5. OpentheBorderstabpage.
6. Inthelinefieldselecttherequiredlinethickness,e.g.2.50pt.
7. FirstselectfullborderingfromtheDefaults
8. InthelargeLinearrangementfield,clickonceintheareabetweenthetwotopangles
(seeillustration)toremovethetoplineandthenonOK.
8. NowselectthesecondrowofthetableandagainopentheTableFormatdialogueby
choosingTableinthecontextmenu.
9. UnderLinearrangement,clicktheareasbetweenthetwobottomangles(see
illustration)toremovethebottomlinebetweentherowsandthenonOK.
9. NowselectthethirdrowofthetableandagainopentheTableFormatdialogueby
choosingTableinthecontextmenu.
10.UnderLinearrangement,clicktheareasbetweenthetwotopangles(seeillustration)to
removethetoplinebetweentherowsandthenonOK.
10.IntheStylefieldselecttherequiredlinethicknessandclickOK.
11.Nowthetableisfinished.
OpenOffice.orgUserGuidefor2.x
70
C# Create PDF from Word Library to convert docx, doc to PDF in C#.
Change Word hyperlink to PDF hyperlink and bookmark. C#.NET Sample Code: Convert Word to PDF in C#.NET Project. Add necessary references:
add email link to pdf; adding links to pdf in preview
.NET PDF Document Viewing, Annotation, Conversion & Processing
Extract hyperlink inside PDF. PDF Write. Insert text, text box into PDF. Edit, delete text from PDF. Insert images into PDF. Edit, remove images from PDF. Add,
pdf reader link; c# read pdf from url
Chapter3:ManagingTextDocumentsWithWriter
SuperscriptsandSubscripts
Usershavethefollowingoptionsforsuperscriptingorsubscriptingtext:
1. UsethekeyboardshortcutsCtrl+Shift+PandCtrl+Shift+B.
2. ChooseFormat>Character>Position.
3. UsetheTextObjecttoolbarSuperscript/Subscriptbuttons.Ifthesebuttonsarenotvisible
inthetoolbar,exposethemusingthemethoddescribedunderChangingtheVisibilityof
ButtonsonToolbars.
1. Makingtextsuperscript/subscriptwhiletyping
Supposeonewantstotype1m²(superscript2):
1. Typethecharacter“m”.
2. PressCtrl+Shift+ P. Ctrl+Shift+Pisthekeyboardshortcutforsuperscripttext.
3. Typethe2.
4. Pressthekeyboardshortcut,Ctrl+Shift+P,againtodisablesuperscripting.
Note:Attheendofaparagraph,aneasierwaytodisablesuperscriptingistopressthe
rightarrowkeyonce.
5. Continueenteringthetext.
SupposethatenteringH2Owithasubscript2iswanted:
1. TypetheH.
2. PressCtrl+Shift+B.Ctrl+Shift+Bisthekeyboardshortcutforsubscripttext,
Ctrl+Shift+Pforsuperscripttext.
3. Typethe2.
4. Pressthekeyboardshortcutagain.
Thereisaneveneasierwaywhenthecursorisattheendofaparagraph:Presstheright
arrowkeyonce.
5. TypetheO.
OpenOffice.orgUserGuidefor2.x
71
VB.NET Create PDF from PowerPoint Library to convert pptx, ppt to
Export PowerPoint hyperlink to PDF. VB.NET Demo Code for Converting PowerPoint to PDF. Add necessary references: RasterEdge.Imaging.Basic.dll.
adding hyperlinks to pdf documents; add links pdf document
C# Create PDF from PowerPoint Library to convert pptx, ppt to PDF
Export PowerPoint hyperlink to PDF in .NET console application. C#.NET Demo Code: Convert PowerPoint to PDF in C#.NET Application. Add necessary references:
add hyperlink in pdf; add links to pdf in acrobat
Chapter3:ManagingTextDocumentsWithWriter
Applyingsubscripts/superscriptsretrospectively
Let'ssaythatwhileproofingtext,thetextH2Oneedstoalteredtoincludeasubscripted“2”
giving(H
2
O).Todoso,useeitherthekeyshortcutmethod,describedabove,orusethis
methodmethodviathemenucommand:
1. Highlightthecharacterthatshouldbeinsubscript/superscript.Forexample,selectthe2.
2. ChooseFormat>Character.ThisopenstheCharacterdialogue.
3. ClickthePositiontab.
4. SelectSubscriptandclickOK.
The2nowappearsinsubscript.
WritinginUppercaseorLowercase
Writerhasthefollowingmethodsforre­formattingtextinuppercaseorlowercase.
Todisplayinuppercase:HighlightthetextandchooseFormat>Character>Font
Effectstab,andunderEffectsselectCapitals.
Displayinginlowercase:HighlightthetextandchooseFormat>Character>Font
Effectstab,andunderEffectsselectLowercase.
Convertingtouppercase:Highlighttext,thenchooseFormat>Case/Characters>
Uppercaseorright­clickandmakethesameselectionformthepopupmenu.
Convertingtolowercase:Highlighttext,thenchooseFormat>Case/Characters>
Lowercaseorright­clickandmakethesameselectionfromthepopupmenu.
MovingTextSectionsinDocuments
1. Selectthetextthattobemoved.
2. Placethemousepointerintheselectedtext,thenpressthemousebuttonandkeepit
pressed.
3. Dragthemouseuntilasymbolappearsnexttothepointer,indicatingthattheselectedarea
willbemoved.Inaddition,agraytextcursormoveswiththemousepointer,indicating
wheretheselectionistobeinserted.
MousePointerShape
Meaning
Moving
Copying
Creatingalink
OpenOffice.orgUserGuidefor2.x
72
Chapter3:ManagingTextDocumentsWithWriter
Tocopythetext,ratherthanmove,it,pressCtrlwhileperformingtheactionsdescribed
above.Asshown,theactionisindicatedbyaplussignnexttothemousepointer.Onecan
pressandreleasetheCtrlkeyasoftenasneeded theactionappliestothecondition
prevailingatthetimethemousebuttonwasreleased.
ResettingFontAttributesWhileTyping
Usersmayapplydirectformattingwhiletypingtextandlaterdecidetoresetallformatting
andcontinueenteringtextusingthedefaultformat.Textisenteredusingdirectcharacter
formatting,toresettheformattingtodefault,presstherightarrowkeyoncewhichcausesthe
priortexttoreverttothedefaultParagraphStyle.Now,continueenteringtextattheendof
thecurrentparagraph.
ExampleprocedureforresettingFontAttributes
Supposeonewantstotypethewords“bolditalic”,andsetthelasttwowordsto
bolditalicwhiletyping.FirsttypeEnterthisin,thenclickontheBoldand
ItaliciconsontheObjectBarfollowedbyenteringbolditalic.Tocontinue
withnormalsetting,,simplypresstherightarrowkeyonceandfinishtheparagraph.
Thisissimplerthanclickingonthetwoiconsagain.
QuickFormattingUsingtheAdjacentParagraphFormat
Whentherearetwoconsecutiveparagraphswithdifferentparagraphformatsthatshouldbe
formattedthesameway,doitquicklywiththefollowingmethod:
a) Deletetheparagraphmarkbetweentwoparagraphs.
b) PressEnter.
BothparagraphsnowhavethesameformatwiththesameStyle.
Note:toseeparagraphmarks,enableView>NonprintingCharacters
Deleteparagraphmarksinthefollowingtwoways:
1. Gotheendofthefirstparagraphandpressthe
Delete(Del)
key.Thisactionmergesthesecondparagraph
intothefirst(knownas”deletingtotheright”).Toturnthetextbackintotwoparagraphs,Pressthe
Enter
key
twiceandthesecondparagraphhasthesameformatasthefirst.
2. Gotothebeginningofthesecondparagraphandpress
Backspace
(usuallyabovethe
Enter
key).the
secondparagraphmergeswiththefirstparagraphbutkeepsitsformat(knownas“deletingtotheleft”).
Pressing
Enter
createstwoparagraphsbutbothhavetheformatofthesecondparagraph.
UsingSections
SectionsinOpenOffice.orgWritertextdocumentsisolateblocksoftextforspecialpurposes.
OneexampleoftheiruseinWriterisinpreparingcompletedocumentsusingMaster
documents.Anotherisinpreparingcontractsfromasetoffixedcodicils.
ThefollowingarethewaysthatsectionscanbeincorporatedinaWriterdocument:
Sectionsoftextthathaveadifferentnumberofcolumnsthanthemastertext.
Sectionsprotectedfromfurtherediting.
Sectionsthatareonlytobeshownundercertaincircumstancesorhidden.
OpenOffice.orgUserGuidefor2.x
73
Chapter3:ManagingTextDocumentsWithWriter
Sectionsthataretobeinsertedintoadocumentasfilesorpartsoffiles.
SectionsthatcanbeincorporatedintoothertextdocumentsviaDDE
Asectionmustconsistofatleastoneparagraph.Whenselectedtextisdefinedasasection,it
automaticallyendswithaparagraphbreak.
Anothertextdocumentmaybeinsertedasasectionwithinatextdocument.Asectionfrom
anothertextdocumentcanalsobeinsertedasasection.Sectionscanbelinked,withina
singledocument,tootherlocations.Toinsertanewparagraphimmediatelybeforeoraftera
section,placethecursorattheverybeginningorendofthesectionandpressAlt+Enter.
OpenOffice.orgUserGuidefor2.x
74
Chapter3:ManagingTextDocumentsWithWriter
SectionsandColumns
Multicolumnsection:Asectioncancontainothersections.Thisfeatureallowstheuser,
forexample,tocreateatwo­columnsectiononapageoftext,andthencreateathree­
columnsectionwithinthatsection.
Multicolumnpage:Thepageformat(Format>Page>Columns),whichalwaysappliesto
allpageswiththecurrentPageStyle,isindependentofthesections.
Multicolumnframe:Framescontainingcolumnsoftextmaybeinserted.Thesecanbe
movedfreelyaroundthepage(fromToolstoolbar,long­clicktoopenInsertfloatingtoolbar,
clickInsertframeicon).Fortheseframes,forexample,onecanselectthatthetextinthe
framebepositionedacertaindistancefromtheedgeoftheframe(ChooseFormat>Frame
>Wrap).
InsertingSections
1. Placethecursoratthepointtoinsertthenewsection,orselectthetextthatistoforma
newsection.
2. ChooseInsert>Section.Inthedialogue,defineothersettingsforthesection.
3. ClickInsert.
Otherdocumentsorsectionsfromotherdocumentscanbeinserted.Inthiscase,Linksmust
bechecked.Enterafilenameinthetextbox,orclick“...”tosearchforafile.Selecta
namedsectionofthedocumentintheSectionpull­downlist.
Whenopeningadocumentthatcontainslinkedsections,apopupaskstheusertoupdate
thesesections.Iftheanswerisyes,thecurrentversionsofthelinkedsectionswillbe
updated.
UnderWindows®,theDDEmethodcanbeusedtokeepinsertedsectionsuptodatewiththe
currentstatusoftheoriginalfiles.SectionscanalsobeusedasfilesinHTMLdocuments.
TheinsertedsectionsareautomaticallyupdatedwhenOpenOffice.orgloadstherelevant
HTMLdocumentagain.Webbrowsersshowthecontentofthesectionsasatthetimethe
contentwassavedasanHTMLdocument.
EditingSections
EditthesectionsinthetextdocumentbychoosingFormat>Sections.Thisdialogueallows
theusertoprotectsections,unprotectsections,revealhiddensections,changetheconditions
andremovesections;thatisturnthembackintonormaltext.
OpenOffice.orgUserGuidefor2.x
75
Chapter3:ManagingTextDocumentsWithWriter
FormattingTextWithandWithoutStyles
Plaintextcanbetooblandunlessoneappliesvisualeffectstoit,suchasgivingoverall
structuretothetext,emphasizingindividualwords,quotationsorreferencesorbreakingup
solidareasoftext.Thustheusershouldconsidergivingspecialformattingtosectionsoftext.
DirectFormattingorFormattingWithStyles
WhenworkingwithWriter,choosebetweendirectformattingandformattingwithStyles.to
applytextattributessuchasbold,italics,fonttypeandfontsize.
Applydirectformatbydirectlysettingacertainattribute(s)totheselectedtextarea.For
example,clickingtheBoldicononthetextobjectbardirectlyappliestheboldformattoa
selectedtextareaortosubsequentcharactersatthecursorwhiletyping.Directformattingis
moreappropriateforonetimeuse.If,forexample,tomakeawordbold,justpositionthe
cursorinthewordandclicktheBoldicon.Thisworksquicklyandintuitively.
Styles,ontheotherhand,applyattributestotextinanindirectmanner.AStyleisalabelled
collectionofdefaultsettingsthatformattext.Indirectformatting,withthehelpofStyles,is
muchpreferablewhenformattinglengthydocumentsinauniformfashion.Stylesdorequire
someadvancepreparation.FirstcreatetheStyle,thenapplytheStyletothetext.Bothtasks
arebestdoneusingtheStylesandFormattingwindow.
Bywayofexample,let'sassumethateachoftheheadingsisformattedwitha24point
Helveticafontbutthisnowneedstobechangedinalltheheadingstoa20pointTimes
fontandinbold.Doingthismanuallyrequirestimeandpatience;however,hadtheformat
beendefinedasaStyle,saywiththename“Head1”,thatwasappliedtotheheadingsinthe
document,onecouldsimplymodifythe“Head1”Style,andallheadingswouldbe
automaticallychangedtomatchthenewsettings.
OpenOffice.orgUserGuidefor2.x
76
Documents you may be interested
Documents you may be interested