itextsharp pdf to xml c# : Creating bookmarks pdf software application dll windows html azure web forms docu78147-part1683

WorkingwithProles
BuildingandmodifyingproleswithProle
Editor
TheProfileEditorassistswitheditingorbuildingnewprofiles.Neworexistingprofiles
canbecustomizedbyeditingdefaultvaluesandaddingorremovingformats.Userscan
selectmultipleprofilestocreatechainedorparallelprofilesthatautomateaseriesof
transformations.BothuserandsystemprofilescanbehandledwiththeProfileEditor.
Youcanalsoaddorremoveprofiles,toandfromtheoriginalselection,rearrangethe
orderofprofiles,andconfigurethedesiredbehaviorforaprofilewiththeProfileEditor.
Note:Multi-languagesupportisnotavailablewithProfileEditorforVersion6.5.See
AdvancedDocumentTransformationServicesReleaseNotesforfurtherinformation.
Thissectioncontainsthefollowingprocedures:
• Editingaprofile,page71
• Buildinganewprofile,page72
• Buildingachainprofile,page74
• Buildingaparallelprofile,page76
ThefollowingproceduredescribeshowtoeditaprofileinarepositoryusingtheProfile
Editor
Editingaprole
Thefollowingproceduredescribeshowtoeditaprofiletoupdateorcustomizeit.
Toeditaprole:
1. LogintoDigitalAssetManager(DAM)astheAdministrator.
2. FromtheDAMbrowsertree,selectAdministration>CTS>Profilesnode.
3. Thelistofpublicprofilesappearsbydefault(Showpublic).Inthedropdownmenu,
inthetoprighthandcornerofthepane,selectShowpublicandsystemtochange
theviewtoallprofiles.Alistofprofilesappears.
4. Selectaprofilefromthelistthatyouwouldliketoupdate.
5. SelectTools>EditProfile(orselecttheprofile,right-click,andselectEdit).
TheInfotabdisplays.
6. OntheInfotab,editthename,label,anddescriptionoftheprofile,ifrequired.
• ClickWebtopEnabled,ifrequired.
• ClickBrowsetoeditthefolderdestination,ifrequired.
EMCDocumentumAdvancedDocumentTransformationServicesVersion6.5AdministrationGuide
71
Creating bookmarks pdf - add, remove, update PDF bookmarks in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Empower Your C# Project with Rapid PDF Internal Navigation Via Bookmark and Outline
add bookmark pdf; bookmark template pdf
Creating bookmarks pdf - VB.NET PDF bookmark library: add, remove, update PDF bookmarks in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Empower Your VB.NET Project with Rapid PDF Internal Navigation Via Bookmark and Outline
pdf bookmark editor; copy pdf bookmarks to another pdf
WorkingwithProles
• ClickSystemifyouwishtohidetheprofile,ifrequired.
ClickNext.TheFormatstabdisplays.
7. TheFormatstabcontainsalltheformatssupportedbyAdvancedDocument
TransformationServicestogeneratedefaultrenditionsforthatprofile.
Selecttheprofile’snewsourceandtargetformatfromthelistprovided.
• Ifrequired,clickAddtoincludeadditionalsourceandtargetformatsfromthe
FormatSelector.
• SelectnewsourceandtargetfromtheSourceFormatandTargetFormatlist
boxes. ClickOK.
• ToremoveaformatfromtheFormatstab,clickRemove.ClickOK.
ClickNext.TheParameterstabappearslistingtheavailableparametersforthe
editedprofile.
8. Selecttheparameter(s)desired.
• ClickConfigure,toconfiguretheprofileparameter,ifrequired.
• Enterthefieldvalues.ClickOK.TheParameterstabrefreshes.
• Selecttheeditedparameter.
ClickNext.TheSummaryscreenappears.
9. TheSummaryscreenconfirmstheelementsthatwereselectedanddefinedinthe
previousscreens.
ClickFinishtovalidateandsavethenewprofile.
10. TheProfilespageisdisplayed.VerifythattheeditedprofileappearsontheProfiles
page.
11. AllprofilechangesrequirethatyoustopandrestarttheContentTransformation
Servicesservice(seeStartingandstoppingAdvancedDocumentTransformation
Services,page51)ontheAdvancedDocumentTransformationServiceshost.
Buildinganewprole
Thefollowingproceduredescribeshowtobuildanewprofileusinganexistingprofile.
Tobuildanewprole:
1. LogintoDigitalAssetManager(DAM)astheAdministrator.
2. FromtheDAMbrowsertree,selectAdministration>CTS>Profilesnode.
3. Thelistofpublicprofilesappearsbydefault(Showpublic).Inthedropdownmenu,
inthetoprighthandcornerofthepane,selectShowpublicandsystemtochange
theviewtoallprofiles.Alistofprofilesappears.
72
EMCDocumentumAdvancedDocumentTransformationServicesVersion6.5AdministrationGuide
C# Create PDF Library SDK to convert PDF from other file formats
Gratis control for creating PDF from multiple image formats such as tiff, jpg, png Create and save editable PDF with a blank page, bookmarks, links, signatures
adding bookmarks to pdf reader; how to bookmark a pdf in reader
VB.NET Create PDF Library SDK to convert PDF from other file
Gratis control for creating PDF from multiple image formats such as tiff, jpg, png Create and save editable PDF with a blank page, bookmarks, links, signatures
edit pdf bookmarks; export excel to pdf with bookmarks
WorkingwithProles
4. Fromthelist,selecttheexistingprofilewithwhichyouwillbuildthenewprofile.
SelectTools->BuildProfile.
TheInfotabwilldisplay.
5. OntheInfotab,editthename,label,anddescriptionoftheprofile,ifrequired.
• ClickWebtopEnabled,ifrequired.
• ClickBrowsetoeditthefolderdestination,ifrequired.
• ClickSystemifyouwishtohidetheprofile,ifrequired.
ClickNext.TheFormatstabappears.
6. TheFormatstabcontainsalltheformatssupportedbyAdvancedDocument
TransformationServicestogeneratedefaultrenditionsforthatprofile.
Selecttheprofile’snewsourceandtargetformatfromthelistprovided.
• Ifrequired,clickAddtoincludeadditionalsourceandtargetformatsfromthe
FormatSelector.
• SelectnewsourceandtargetsfromtheSourceFormatandTargetFormatlist
boxes. ClickOK.
• ToremoveaformatfromtheFormatstab,clickRemove.ClickOK.
ClickNext.TheParameterstabappears.
7. TheParameterstabliststheavailableparametersfortheeditedprofile.Selectthe
parameter(s)desired.
• ClickConfigure,toconfiguretheprofileparameter,ifrequired.
• Enterthefieldvalues.
• ClickOK.TheParameterstabrefreshes.
• Selecttheadjustedparameter.
ClickNext.TheSummaryscreenappears.
8. TheSummaryscreenconfirmstheelementsthatwereselectedanddefinedinthe
previousscreens.
ClickFinishtovalidateandsavethenewprofile.
9. TheProfilespageisdisplayed.VerifythatthenewprofileappearsontheProfiles
page.
10. AllprofilechangesrequirethatyoustopandrestarttheContentTransformation
Servicesservice(seeStartingandstoppingAdvancedDocumentTransformation
Services,page51)ontheAdvancedDocumentTransformationServiceshost.
EMCDocumentumAdvancedDocumentTransformationServicesVersion6.5AdministrationGuide
73
XDoc.Word for .NET, Advanced .NET Word Processing Features
Viewing, editing, converting, processing, creating, annotating and zooming & rotation; Outlines, bookmarks, & thumbnail Create Word from PDF; Create Word from
how to bookmark a pdf file; adding bookmarks to pdf document
How to C#: Basic SDK Concept of XDoc.PDF for .NET
annotation features can be integrated into your C# project, such as annotation creating, deleting, modifying This class describes bookmarks in a PDF document
create bookmarks in pdf reader; create bookmark pdf
WorkingwithProles
Buildingachainprole
Chainingprofilesinvokeeachprofilewithintheminstages.Transformationsalsooccur
oneatatime,onetransformationisrequiredforthenexttransformation.Theresultofa
chainingprofilewouldbetheoutputofthelastprofileinthechain.Achainedprofile
createsoneoutputfile.
Thefollowingproceduredescribeshowtocreateachainedtransformationaccordingto
yourspecificrequirements.
Tobuildachainprole:
1. LogintoDigitalAssetManager(DAM)astheAdministrator.
2. FromtheDAMbrowsertree,selectAdministration>CTS>Profilesnode.
3. Thelistofpublicprofilesappearsbydefault(Showpublic).Inthedropdownmenu,
inthetoprighthandcornerofthepane,selectShowpublicandsystemtochange
theviewtoallprofiles.Alistofprofilesappears.
4. Fromthelist,selecttheprofileswithwhichyouwillbuildthenewprofile.Select
Tools->BuildProfile>Chain.
5. TheInfotabwilldisplay.
• Enterthegenericname,label,anddescriptionofthenewprofile.
• ClickWebtopEnabled,ifrequired.
• ClickBrowsetoeditthefolderdestination,ifrequired.
• ClickSystemifyouwishtohidetheprofile,ifrequired.
ClickNext.TheInnerProfiles—Selectiontabdisplays.
6. TheInnerProfile—Selectionpanewilldisplay.Thistaballowsuserstoadd,
remove,rearrangethedesiredinnerprofiles.
• Selecttheinnerprofile(s)thatyourequirefromtheAvailableProfilesdropdown
list.Usethedirectionalarrow,tomovetheselection(s)totheSelectedProfiles
listbox.Therightlistshowsthenewproduct(s)added.OR
• Selecttheinnerprofile(s)fromtheSelectedProfileslist.Usethedirectional
arrow,tomovetheselection(s)totheAvailableProfileslists.Therightlistshows
thenewproduct(s)added.
• UsetheupanddowndirectionalarrowtorearrangetheSelectedProfileslistto
createthedesiredsequenceinthechainprofile.
ClickNext.TheInnerProfile—Detailspanedisplays.
7. TheInnerProfile—Detailspanedetailstheprofilesselectedforthechainprofile.To
configureapath:
• Selectapath
74
EMCDocumentumAdvancedDocumentTransformationServicesVersion6.5AdministrationGuide
VB.NET PDF: Basic SDK Concept of XDoc.PDF
features can be integrated into your VB.NET project, such as annotation creating, deleting, modifying This class describes bookmarks in a PDF document.
adding bookmarks to a pdf; how to create bookmark in pdf automatically
PDF Image Viewer| What is PDF
such as text extraction, hyperlinks, bookmarks and metadata as version among a suite of PDF-based standards to develop specifications for creating, viewing, and
bookmarks in pdf files; create bookmark pdf file
WorkingwithProles
• SelectConfiguretoconfigureaninnerprofilepath,ifrequired.
• Selectthedesiredoutputformatfromthelistbox.
• Waitoncompletionisdisabledforchainedprofiles.
• ClickOK.
• RepeatStep7foreachpathyouwouldliketoconfigure.
ClickNext.TheFormatstabdisplays.
8. TheFormatstabcontainsalltheformatssupportedbyAdvancedDocument
TransformationServicestogeneratedefaultrenditionsforthatprofile.Selectthe
profile’snewsourceandtargetformatfromthelistprovided.
• clickAddtoedittheformat,ifrequired.TheFormatSelectorscreenappears.
• SelectanadditionalsourceandtargetpairfromtheSourceFormatandTarget
Formatlistboxes.
• ClickOK.TheFormatsPagedisplays.
• ToremoveaformatfromtheFormatstab,selecttheSourceandTargetpair,
andclickRemove.
ClickNext.TheParameterstabappears.listingtheavailableparametersforthe
chainprofile.
9. TheParameterstabappearsliststheavailableparametersforthechainprofile.
• Toconfigureaparameter,selecttheprofileandparameterlabel.
• ClickConfigure.TheConfigurepanedisplays.
• ClickDefaultSettingstoselectdefaultvaluesfromtheDefaultValueslistbox.
• SelectHiddentohidetheprofile.
• ClickOK.TheParametertabrefresheswiththenewinformation.
• RepeatStep9untilyouhaveconfiguredalltheprofilepathsthatyourequire.
ClickNext.
10. TheSummarypageisdisplayed.Thisscreenconfirmstheelementsofthechained
profile.
ClickFinishtovalidateandsavethenewprofile.
11. TheProfilespageisdisplayed.VerifythatthenewprofileappearsontheProfiles
page.
12. AllprofilechangesrequirethatyoustopandrestarttheContentTransformation
Servicesservice(seeStartingandstoppingAdvancedDocumentTransformation
Services,page51)ontheAdvancedDocumentTransformationServiceshost.
EMCDocumentumAdvancedDocumentTransformationServicesVersion6.5AdministrationGuide
75
How to C#: Basic SDK Concept of XDoc.PowerPoint
Conversely, conversion from PDF to PowerPoint (.PPTX C# project, such as annotation creating, deleting, modifying This class describes bookmarks in a PowerPoint
create pdf bookmarks online; convert word pdf bookmarks
How to C#: Basic SDK Concept of XDoc.Word
Conversely, conversion from PDF to Word (.docx) is C# project, such as annotation creating, deleting, modifying This class describes bookmarks in a Word document
create bookmark pdf file; how to bookmark a page in pdf document
WorkingwithProles
Buildingaparallelprole
Thefollowingproceduredescribeshowtocreateaparalleltransformationaccordingto
yourspecificrequirements.
Parallelprofilesspecifyalistofprofilesthatareexecutedoneafteranotheroratthesame
time.Foreachprofileintheparallelprofile,youcanspecifywhetherthenextprofile
shouldwaitonthesuccessfulcompletionoftheprevioustask.Ifthereisnospecification,
profilescanbeexecutedassoonthetasksthreadsareavailabletoprocessthem.Each
profiledoesnothavetobecompletebeforethenextprofilestarts.Theresultofparallel
profilesisoneoutputfileforeachprofilewithintheparallelprofile.
Tobuildaparallelprole:
1. LogintoDigitalAssetManager(DAM)astheAdministrator.
2. FromtheDAMbrowsertree,selectAdministration>CTS>Profilesnode.
3. Thelistofpublicprofilesappearsbydefault(Showpublic).Inthedropdownmenu,
inthetoprighthandcornerofthepane,selectShowpublicandsystemtochange
theviewtoallprofiles.Alistofprofilesappears.
4. Fromthelist,selecttheprofileswithwhichyouwillbuildthenewprofile.Select
Tools->BuildProfile>Parallel.
TheInfotabwilldisplay.
• Enterthegenericname,label,anddescriptionofthenewprofile.
• ClickWebtopEnabled,ifrequired.
• ClickBrowsetoeditthefolderdestination,ifrequired.
• ClickSystemifyouwishtohidetheprofile,ifrequired.
ClickNext.TheInnerProfiles—Selectiontabdisplays.
5. TheInnerProfile—Selectionpanewilldisplay.Thistaballowsuserstoadd,
remove,rearrangethedesiredinnerprofiles.
• Selecttheinnerprofile(s)thatyourequirefromtheAvailableProfilesdropdown
list.Usethedirectionalarrow,tomovetheselection(s)totheSelectedProfiles
listbox.Therightlistshowsthenewproduct(s)added.OR
• Selecttheinnerprofile(s)fromtheSelectedProfileslist.Usethedirectional
arrow,tomovetheselection(s)totheAvailableProfileslists.Therightlistshows
thenewproduct(s)added.
• UsetheupanddowndirectionalarrowtorearrangetheSelectedProfileslistto
createthedesiredsequenceinthechainprofile.
ClickNext.TheInnerProfile—Detailspanedisplays.
6. TheInnerProfile—Detailspanedetailstheprofilesselectedfortheparallelprofile.
Toconfigureapath:
76
EMCDocumentumAdvancedDocumentTransformationServicesVersion6.5AdministrationGuide
How to C#: Basic SDK Concept of XDoc.Excel
Conversely, conversion from PDF to Excel (.XLSX) is also C# project, such as annotation creating, deleting, modifying This class describes bookmarks in a Excel
creating bookmarks in pdf documents; bookmark page in pdf
WorkingwithProles
• Selectapath
• SelectConfiguretoconfigureaninnerprofilepath,ifrequired.
• Selectthedesiredoutputformatfromthelistbox.
• ClickOK.
• Repeatforeachpathyouwouldliketoconfigure.
ClickNext.TheFormatstabdisplays.
7. TheFormatstabcontainsalltheformatssupportedbyAdvancedDocument
TransformationServicestogeneratedefaultrenditionsforthatprofile.Selectthe
profile’snewsourceandtargetformatfromthelistprovided.
• clickAddtoedittheformat,ifrequired.TheFormatSelectorscreenappears.
• SelectanadditionalsourceandtargetpairfromtheSourceFormatandTarget
Formatlistboxes.
• ClickOK.TheFormatsPagedisplays.
• ToremoveaformatfromtheFormatstab,selecttheSourceandTargetpair,
andclickRemove.
ClickNext.TheParameterstabappears.listingtheavailableparametersforthe
chainprofile.
8. TheParameterstabappearsliststheavailableparametersforthechainprofile.
• Toconfigureaparameter,selecttheprofileandparameterlabel.
• ClickConfigure.TheConfigurepanedisplays.
• ClickDefaultSettingstoselectdefaultvaluesfromtheDefaultValueslistbox.
• SelectHiddentohidetheprofile.
• ClickOK.TheParametertabrefresheswiththenewinformation.
• Repeatstep8untilyouhaveconfiguredalltheprofilepathsthatyourequire.
ClickNext.
9. TheSummarypageisdisplayed.Thisscreenconfirmstheelementsoftheparallel
profile.
ClickFinishtovalidateandsavethenewprofile.
10. TheProfilespageisdisplayed.VerifythatthenewprofileappearsontheProfiles
page.
11. AllprofilechangesrequirethatyoustopandrestarttheContentTransformation
Servicesservice(seeStartingandstoppingAdvancedDocumentTransformation
Services,page51)ontheAdvancedDocumentTransformationServiceshost.
EMCDocumentumAdvancedDocumentTransformationServicesVersion6.5AdministrationGuide
77
WorkingwithProles
Addingnewformatstoprolesmanually
YoucanaddnewformatstoyourprofilesmanuallywithouttheProfileEditor.For
example,youcanaddadifferentMicrosoftPowerPointformattotheprofilesifitisnot
alreadyconfigured.However,youmustensurethattherelevantplug-incanhandlethe
formatyouareadding.ConsulttheContentTransformationServicesProfileModification
Guidefordetailedinformationaboutplug-incapabilities,andtheprofilesthatare
handledbytheplug-ins.
Addingnewformatstoprofilesisatwo-stepprocedure:
1. CreatetheformatinDocumentumAdministratororinDQL.
SeeUsingDQLinprofiles,page83formoreinformationaboutDocumentQuery
Language(DQL).
Note:Theformatneedstoberich-mediaenabledonlyiffilesofthisformatarebeing
processedonimport.Otherwise,theformatshouldnotberich-mediaenabled.
2. AddtheformattoTransformationServices.
Toaddyournewformat,followtheproceduresinthissection.
TocreateanewformatusingDocumentumAdministrator:
1. Intheleft-handpane,clickFormats.
2. ClickFile>New>Format.
3. Enterthefollowinginformation:
Name
Description
DefaultFileExtension
MacintoshCreator
MacintoshType
CanBeIndexed
RichMediaEnabled
AssetClass
4. ClickOKtosavethenewformat.
TocreateanewformatusingDQL:
1. LogontoaDQLeditorandrunthefollowingDQLstatements:
1. CREATE "dm_format" OBJECT SET "name"='<Enter format name>',
SET "description" = 'A Custom tiff format for
testing',
SET "can_index" = 0,
SET "topic_transform" = 0,
78
EMCDocumentumAdvancedDocumentTransformationServicesVersion6.5AdministrationGuide
WorkingwithProles
SET "mac_creator" = '<Enter value>',
SET "dos_extension" = '<Enter value>',
SET "is_hidden" = 0,
SET "mime_type" = '<Enter value>',
SET "icon_index" = 0,
SET "richmedia_enabled" = 1,
SET "asset_class" = 'Image'
2. UPDATE dm_format OBJECT SET mac_type = '<Enter value>'
WHERE name='<Enter value>'
Note: Iffilesofthisformatarenotbeingprocessedonimport,thevaluefor
"richmedia_enabled”shouldbesetto0.
Nowthatyouhavecreatedthenewformat,yournextstepistoenteradefaultstorage
locationfortheformat. FollowthenextproceduretoaddtheformattoTransformation
Services.
ToaddtheformattoTransformationServices:
1. CheckouttherelevantprofilefromtheSystemProfilesorProfilesfolderinthe
repository.
Note: Dependingonyourscenario,choosewhethersystemand/oruserprofiles
requiremodification. Considerthefollowing:
• Iffileshavingthisformatalreadyexistintherepository,youmayneedtomodify
userprofilesonly.
• Iffileshavingthisformatwillbeimportedtotherepository,modifytheregister
profiletoaccepttheformat. Othersystemprofiles(suchasthumbnailor
storyboardprofiles)mayneedtobemodified,aswell.
2. Addthenewformattothe<Formats>section,followingthepropersyntaxforthe
profile.
Forexample,thepropersyntaxfordocument_to_pdf.xmlis:
<Format source="<new format name>" target="pdf"/>
3. Savetheprofile.
4. Checkinthemodifiedprofiles.
Note:Tocheckintheprofiles,youmustexporttheProfileSchema.dtdtothesame
folderfromwhichyoucheckedouttheprofiles. TheProfileSchema.dtdisalso
locatedintheSystem/MediaServer/SystemProfilesfolder.
5. StoptheCTSservice.
6. MaptheCTSformattotherepositoryformat:
a. Open%CTS_HOME%\config\FormatMapperService.xmlfile.
b. AddanewFormatMapperentrytotheCTSCustomConfigsection:
CTSFormat="<Plug-in format>" DocumentumFormat="<new format
name>"/>
EMCDocumentumAdvancedDocumentTransformationServicesVersion6.5AdministrationGuide
79
WorkingwithProles
c. Savethefile.
7. Restarttherepository.
8. StarttheCTSWindowsservice.
9. ChecktheCTSlogtoensureallprofilesareloaded.
AdvancedDocumentTransformationServiceswillnowhandlethenewformat.
Conguring legacy custom plug-ins manually
YoucancustomizeAdvancedDocumentTransformationServicestoautomaterenditions
fromsourcedocumentformatsthatitdoesnotsupportdirectlywithpreviousversions
ofAdvancedDocumentTransformationServices.
Thefollowingsectionexplainshowtoconfigureacustomtransformationplug-into
workwithAdvancedDocumentTransformationServices.Threeproceduresarerequired
whencustomizingAdvancedDocumentTransformationServicesforlegacyplug-ins:
• Modifyingplug-infiles,page80
• Creatingnewformats,page81
• Addingnewformatstoprofiles,page82
Modifying plug-in les
Theplug-inDLLsandCTSconfigurationfilesmustbemodifiedtoacceptthecustom
plug-in.
Tomodifythecongurationlesforthecustomplug-in:
1. Copytheplug-inDLLstotheSystem32directory.
2. RegistertheDLLsbyrunningregsvr32.exe.
3. CopythedependentDLLstotheSystem32directory.
4. OpentheCTSPluginService.xmlfile(locatedat%CTS_HOME%\config)andadd
thefollowingtag:
<CTSPlugin DELEGATE_CLASS="com.documentum.cts.plugin.custom.OLECustom
Plugin"CONFIGFILE="C:\PROGRAM FILES\DOCUMENTUM\CTS\config\
custom\custom.xml"/>
5. Addtheplug-innameandprocessnameofthecustomplug-intothecustom.xml
file,locatedatC:\ProgramFiles\Documentum\CTS\config\custom.
80
EMCDocumentumAdvancedDocumentTransformationServicesVersion6.5AdministrationGuide
Documents you may be interested
Documents you may be interested