how to retrieve pdf file from database using c# : How to add bookmarks on pdf software Library project winforms .net azure UWP ds80cli27-part1775

cl-dump.pl
[-h
host
][-p
port
][-D
bindDn
]-w
bindPassword
|-P
bindCert
[-r
replicaRoots
][-o
outputFile
][-c][-v]
cl-dump.pl
-i
changelogFile
[-o
outputFile
][-c]
Options.
Withoutthe
-i
option,thescriptmustberunwhentheDirectoryServerisrunningfroma
locationfromwhichtheserver'schangelogdirectoryisaccessible.
Option
Description
-c
DumpsandinterpretsCSNonly.Thisoption
canbeusedwithorwithoutthe
-i
option.
-DbindDn
SpecifiestheDirectoryServer'sbindDN.
Defaultsto
cn=Directory Manager
ifthe
optionisomitted.
-hhost
SpecifiestheDirectoryServer'shost.Defaults
totheserverwherethescriptisrunning.
-ichangelogFile
Specifiesthepathtothechangelogfile.If
thereisachangelogfileandifcertain
changesinthatfilearebase-64encoded,use
thisoptiontodecodethatchangelog.
-ooutputFile
Specifiesthepath,includingthefilename,for
thefinalresult.DefaultstoSTDOUTif
omitted.
-pport
SpecifiestheDirectoryServer'sport.The
defaultvalueis
389
.
-PbindCert
Specifiesthepath,includingthefilename,to
thecertificatedatabasethatcontainsthe
certificateusedforbinding.
-rreplicaRoots
Specifiesthereplica-rootswhosechangelog
todump.Whenspecifyingmultipleroots,use
commastoseparateroots.Iftheoptionis
omitted,allthereplicarootswillbedumped.
-v
Printstheversionofthescript.
-wbindPassword
SpecifiesthepasswordforthebindDN.
Table7.19.cl-dump.plcommandoptions
4.3.db2bak.pl(CreatesaBackupofaDatabase)
Createsabackupofthedatabase.
db2bak.pl(CreatesaBackupofaDatabase)
261
How to add bookmarks on 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
split pdf by bookmark; create pdf bookmarks
How to add bookmarks on 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
create bookmark pdf; create pdf bookmarks from word
Syntax.
db2bak.pl
[-v]-D
rootdn
-w
password
[-a
dirName
]
Options.
Thescript
db2bak.pl
createsanentryinthedirectorythatlaunchesthisdynamictask.The
entryisgeneratedbaseduponthevaluesprovidedforeachoption.Currently,theonlypossible
databasetypeis
ldbm
.
Option
Description
-adirName
Thedirectorywherethebackupfileswillbe
stored.The
/var/lib/dirsrv/slapd-instance_name/bak
directoryisusedbydefault.Thebackupfileis
namedaccordingtotheyear-month-day-hour
format(YYYY_MM_DD_hhmmss).
-Drootdn
TheuserDNwith
root
permissions,suchas
DirectoryManager.ThedefaultistheDNof
theDirectoryManager,whichisreadfromthe
nsslapd-root
attributeunder
cn=config
.
-t
Thedatabasetype.Currently,theonly
possibledatabasetypeis
ldbm
.
-v
Verbosemode.
-wpassword
ThepasswordassociatedwiththeuserDN.
Table7.20.db2bak.plOptions
4.4.db2index.pl(CreatesandGeneratesIndexes)
Createsandgeneratesthenewsetofindexestobemaintainedfollowingthemodificationof
indexingentriesinthe
cn=config
configurationfile.
Syntax.
db2index.pl
[-v]-D
rootdn
{-w
password
-j
filename
}[-n
backendInstance
][-t
attributeName{:indextypes(:mathingrules)}
][-T
vlvAttributeName
]
Options.
Thescript
db2index.pl
createsanentryinthedirectorythatlaunchesthisdynamictask.The
entryisgeneratedbaseduponthevaluesprovidedforeachoption.
Chapter7.Command-LineScripts
262
C# PDF File Compress Library: Compress reduce PDF size in C#.net
Bookmarks. Comments, forms and multimedia. Flatten visible layers. C#.NET DLLs: Compress PDF Document. Add necessary references: RasterEdge.Imaging.Basic.dll.
create bookmarks in pdf from excel; pdf reader with bookmarks
VB.NET PDF File Compress Library: Compress reduce PDF size in vb.
document file. Remove bookmarks, annotations, watermark, page labels and article threads from PDF while compressing. Also a preview
excel print to pdf with bookmarks; acrobat split pdf bookmark
Option
Description
-Drootdn
GivestheuserDNwith
root
permissions,
suchasDirectoryManager.
-jfilename
Thenameofthefilecontainingthepassword.
-nbackendInstance
Givestheinstancetobeindexed.Ifthe
instanceisnotspecified,thescriptreindexes
allinstances.
-tattributeName{:indextypes(:mathingrules)}
Givesthenameoftheattributetobeindexed.
Ifomitted,alltheindexesdefinedforthe
specifiedinstancearegenerated.Optionally,
thiscanincludetheindextype(
eq
,
pres
,
sub
,
approx
)andamatchingruleOID.
-TvlvAttributeName
GivesthenamesoftheVLVattributestobe
reindexed.ThenameistheVLVindex
object'scommonnamein
cn=config
.
-v
Verbosemode.
-wpassword
Givesthepasswordassociatedwiththeuser
DN.
Table7.21.db2index.plOptions
4.5.db2ldif.pl(ExportsDatabaseContentstoLDIF)
ExportsthecontentsofthedatabasetoLDIF.Thisscriptcreatesanentryinthedirectorythat
launchesthisdynamictask.Theentryisgeneratedbaseduponthevaluesprovidedforeach
option.Ellipsesindicatethatmultipleoccurrencesareallowed.
Syntax.
db2ldif.pl
[-v]-D
rootdn
-w
password
[-n
backendInstance
|-s
includeSuffix
]-x
excludeSuffix
[-a
outputFile
][-N][-r][-C][-u][-U][-m][-o][-1][M]
Options.
Torunthisscript,theservermustberunning,andeitherthe
-n
or
-s
optionisrequired.
Option
Description
-1
Deletes,forreasonsofbackward
compatibility,thefirstlineoftheLDIFfilethat
givestheversionoftheLDIFstandard.
-aoutputFile
GivesthefilenameoftheoutputLDIFfile.
-C
Usesonlythemaindatabasefile.
db2ldif.pl(ExportsDatabaseContentsto
263
VB.NET PDF File Split Library: Split, seperate PDF into multiple
Add necessary references: The following VB.NET codes explain how to split a PDF file into multiple ones by PDF bookmarks or outlines.
excel hyperlink to pdf bookmark; bookmarks pdf files
C# PDF File Split Library: Split, seperate PDF into multiple files
Add necessary references: RasterEdge.Imaging.Basic.dll. The following C# codes explain how to split a PDF file into multiple ones by PDF bookmarks or outlines.
add bookmarks to pdf preview; editing bookmarks in pdf
Option
Description
-Drootdn
GivestheuserDNwith
root
permissions,
suchasDirectoryManager.
-m
Setsminimalbase-64encoding.
-M
SetstheoutputLDIFisstoredinmultiplefiles.
-nbackendInstance
Givestheinstancetobeexported.
-N
Suppressesprintingsequentialnumbers.
-o
SetstheoutputLDIFtobestoredinonefile
bydefaultwitheachinstancestoredin
instance_filename.
-r
Exportsareplica.
-s
includeSuffix
-u
RequeststhattheuniqueIDisnotexported.
-U
RequeststhattheoutputLDIFisnotfolded.
-v
Verbosemode.
-wpassword
Givesthepasswordassociatedwiththeuser
DN.
-xexcludeSuffix
Givessuffixestobeexcluded.
Table7.22.db2ldif.plOptions
4.6.ldif2db.pl(Import)
Torunthisscript,theservermustberunning.Thescriptcreatesanentryinthedirectorythat
launchesthisdynamictask.Theentryisgeneratedbaseduponthevaluesprovidedforeach
option.Ellipsesindicatethatmultipleoccurrencesareallowed.
Syntax.
ldif2db.pl
[-v]-D
rootdn
-w
password
[-n
backendInstance
|-s
includeSuffix
]-x
excludeSuffix
[-O][-c][-g
string
][-G
namespaceId
]-i
filename
Options.
Option
Description
-c
Mergeschunksize.
-Drootdn
SpecifiestheuserDNwith
root
permissions,
suchasDirectoryManager.
-gstring
GeneratesauniqueID.Type
none
forno
Chapter7.Command-LineScripts
264
.NET PDF SDK - Description of All PDF Processing Control Feastures
Full page navigation, zooming & rotation; Outlines, bookmarks, & thumbnail display; PDF Text Write & Extract. Insert and add text to any page of PDF document with
creating bookmarks pdf; add bookmarks to pdf online
XDoc.Word for .NET, Advanced .NET Word Processing Features
page navigation, zooming & rotation; Outlines, bookmarks, & thumbnail Convert Word to PDF; Convert Word to HTML5; Convert Add and insert a blank page or multiple
copy bookmarks from one pdf to another; excel pdf bookmarks
Option
Description
uniqueIDtobegeneratedand
deterministic
forthegenerateduniqueID
tobename-based.Bydefault,atime-based
uniqueIDisgenerated.
Whenusingthe
deterministic
generationto
haveaname-baseduniqueID,itisalso
possibletospecifythenamespaceforthe
servertouse,asfollows:
-g deterministic namespaceId
namespaceIdisastringofcharactersinthe
format
00-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx
.
UsethisoptiontoimportthesameLDIFfile
intotwodifferentDirectoryServersandthe
contentsofbothdirectoriesshouldhavethe
samesetofuniqueIDs.IfuniqueIDsalready
existintheLDIFfilebeingimported,thenthe
existingIDsareimportedtotheserver,
regardlessoftheoptionsspecified.
-GnamespaceId
GeneratesanamespaceIDasaname-based
uniqueID.Thisisthesameasspecifyingthe
-g deterministic
option.
-ifilename
SpecifiesthefilenameoftheinputLDIFfiles.
Whenmultiplefilesareimported,theyare
importedintheordertheyarespecifiedonthe
commandline.
-nbackendInstance
Specifiestheinstancetobeimported.
-O
Requeststhatonlythecoredbiscreated
withoutattributeindexes.
-sincludeSuffix
Specifiesthesuffixestobeincludedor
specifiesthesubtreestobeincludedif
-n
has
beenused.
-v
Specifiesverbosemode.
-wpassword
Specifiesthepasswordassociatedwiththe
userDN.
-xexcludeSuffix
Specifiesthesuffixestobeexcluded.
Table7.23.ldif2db.plOptions
LDIF)
265
C# PDF Convert to HTML SDK: Convert PDF to html files in C#.net
converter toolkit SDK, preserves all the original anchors, links, bookmarks and font to Use C#.NET Demo Code to Convert PDF Document to Add necessary references
how to add bookmarks to a pdf; how to bookmark a pdf document
XDoc.PowerPoint for .NET, All Mature Features Introductions
navigation, zooming & rotation; Outlines, bookmarks, & thumbnail Convert PowerPoint to PDF; Convert PowerPoint to HTML5; Add a blank page or multiple pages to
bookmarks pdf documents; creating bookmarks in pdf documents
4.7.logconv.pl(LogConverter)
AnalyzestheaccesslogsofaDirectoryServertoextractusagestatisticsandcountthe
occurrencesofsignificantevents.Itiscompatiblewithlogformatsfrompreviousreleasesof
DirectoryServer.Forinformationonaccesslogs,seeChapter5,AccessLogandConnection
CodeReference.
Thetoolwillextractthefollowinginformationfromaccesslogs:
• Numberofrestarts
• Totalnumberofconnections
• Totaloperationsrequested
• Totalresultsreturned
• Resultstorequestsratio
• Numberofsearches
• Numberofmodifications
• Numberofadds
• Numberofdeletes
• NumberofmodifiedRDNs
• Persistentsearches
• Internaloperations(withverboselogs)
• Entryoperations(withverboselogs)
• Extendedoperations
• Abandonedrequests
• Smartreferralsreceived(verboselogs)
• VLV(virtuallistview)operations
• VLVunindexedsearches
• Server-sidesortingoperations
• SSLconnections
• Performanceloweringoperations:
• Entiredatabasesearches
• Unindexedsearches(detailsoptional)
• FDs(filedescriptors)taken
• FDsreturned
• HighestFDtaken
• Disruptions:
• Brokenpipes
• Connectionsresetbypeer
• Unavailableresources(anddetail)
• Totalbindsandtypesofbinds
• Mostfrequentoccurrencelists(optional)
• Errorandreturncodes
• Failedlogins
• Connectioncodes
• ClientIPaddressesandconnectioncodes
• BindDNs
• BaseDNsforsearching
• Searchfilters
• Etimes(elapsedoperationtime)
• Longestetimes
• Nentries(numberofentriesinresult)
• LargestNentries
• Extendedoperations
• Mostrequestedattributes
• Recommendations(optional)
Table7.24.InformationExtractedfromAccessLogs
The
logconv.pl
tooldisplaystwotypesofstatisticsusefulformonitoringandoptimizing
directoryusage:
• Simplecountsofeventssuchasthetotalnumberofbindsandthetotalnumberofsearches
provideoverallusageinformation.Thisisthebasicinformationthatthetoolwillalwaysprint.
• ListsofthemostfrequentlyoccurringparametersinLDAPrequestsprovideinsightintohow
thedirectoryinformationisbeingaccessed.Forexample,listsofthetoptenbindDNs,base
DNs,filterstrings,andattributesreturnedcanhelpadministratorsoptimizethedirectoryforits
Chapter7.Command-LineScripts
266
users.Theselistsareoptionalbecausetheyarecomputationintensive:specifyonlythe
command-lineoptionsrequired(seeOptions).
Someinformationthatisextractedbythe
logconv.pl
scriptisavailableonlyinlogsfrom
currentreleasesofDirectoryServer;thecorrespondingvalueswillbezerowhenanalyzinglogs
fromolderversions.Inaddition,someinformationwillonlybepresentinthelogsifverbose
loggingisenabledintheDirectoryServer.Formoreinformation,seeSection3.1.2,
“nsslapd-accesslog-level” .
Thefollowingissueswillaffecttheoutputandperformanceofthistool:
• Somedataextractedfromlogsdependonconnectionandoperationnumbersthatarereset
andnolongeruniqueafteraserverrestarts.Therefore,toobtainthemostaccuratecounts,
thelogstobeanalyzedshouldnotspantherestartoftheDirectoryServer.
• DuetochangesinaccesslogformatincurrentreleasesofDirectoryServerthataffected
operationnumbers,thetoolwillbemoreaccuratelogsfromcurrentversionswhenprocessing
largeamountsofaccesslogs.
• Forperformancereasons,itisnotrecommendedtorunmorethanonegigabyteofaccess
logsthroughthescriptatanyonetime.
Syntax.
logconv.pl
[-S][-E][-d][-X][-v][-h][-s][-V][-y][-p][-efcibaltnxgjuh]
accessLog
Options.
Table7.25,“logconv.plOptions” describesthe
logconv.pl
command-lineoptions.
Option
Description
-dmgrDN
Specifiesthedistinguishedname(DN)ofthe
DirectoryMangerinthelogsbeinganalyzed.
Thisallowsthetooltocollectstatisticsforthis
specialuser.ThemgrDNparametershould
begivenindoublequotes(
""
)fortheshell.
Whenthisparameterisomitted,
logconv.pl
willusethedefaultmanagerDNofthe
DirectoryServer,
"cn=Directory Manager"
.
-EendTimestamp
Specifiestheendtimestamp;thetimestamp
mustfollowtheexactformatasspecifiedin
theaccesslog.
-h
Displaystheusagehelptextthatbriefly
describesalloptions.
-p
ListsopenconnectionIDstatistics,which
logconv.pl(LogConverter)
267
Option
Description
indicatestheFDsthatarenotyetclosed.
-snumber
Specifiesthenumberofitemsineachofthe
listoptionsbelow.Thedefaultis
20
whenthis
parameterisomitted.Forexample,
-s 10 0 -i
willlistthetenclientmachinesthataccessthe
DirectoryServermostoften.Thisparameter
willapplytoallliststhatareenabled,andit
willhavenoeffectifnonearedisplayed.
-SstartTimestamp
Specifiesthestarttimestamp;thetimestamp
mustfollowtheexactformatasspecifiedin
theaccesslog.
-v
Displaystheversionnumberofthe
logconv.pl
script.
-V
Enablesverboseoutput.Withthisoption,
logconv.pl
willcomputeanddisplayallof
theoptionallistsdescribedinTable7.26,
“logconv.plOptionstoDisplayOccurrences”
-XipAddress
SpecifiestheIPaddressofaclienttoexclude
fromthestatistics.Thisclientwillnotappear
inlistsofIPaddresses(the
i
flag),andthe
connectioncodesitgenerateswillnotbe
talliedinthetotalconnections(default
statistic)norintheconnectioncodedetails
(the
c
flag).Forexample,anadministrator
maywanttheservertoignoretheeffectofa
loadbalancerthatconnectstotheDirectory
Serveratregularintervals.Thisoptionmaybe
repeatedtoexcludemultipleIPaddresses.
-y
Listsconnectionlatencydetails,which
indicatestheoverallconnectionlatency.
accessLog
Thenameofafilethatcontainstheaccess
logoftheDirectoryServer.Wildcardscanbe
usedinthefilename.Itisalsopossibleto
specifymultiplefilenames.However,the
statisticsarecomputedoverthesetofall
logs,soalllogsshouldpertaintothesame
DirectoryServer.Thetoolignoresanyfilewith
thename
access.rotationinfo
.
Table7.25.logconv.plOptions
Chapter7.Command-LineScripts
268
Table7.26,“logconv.plOptionstoDisplayOccurrences” describestheoptionsthatenablethe
optionallistsofoccurrences.Specifyonlythoserequired;specifyingalargenumberofoptions
canproduceexcessiveoutputandaffectexecutionspeed.Theseparameterscanbespecified
inanynumberandinanyorder,buttheymustallbegiventogetherasasingleoptiononthe
commandline,suchas
-abcefg
.
Thelistsarealwaysoutputintheorderinwhichtheyappearinthefollowingtable,regardlessof
theorderinwhichtheyaregivenonthecommandline.
Option
Description
e
Liststhemostfrequenterrorandreturn
codes.
f
ListsthebindDNswiththemostfailedlogins
(invalidpassword).
c
Liststhenumberofoccurrencesforeachtype
ofconnectioncode.
i
ListstheIPaddressesandconnectioncodes
oftheclientswiththemostconnections,
whichdetectsclientsthatmaybetryingto
compromisesecurity.
b
ListsthemostfrequentlyusedbindDNs.
a
ListsthemostfrequentbaseDNswhen
performingoperations.
l
Liststhemostfrequentlyusedfilterstringsfor
searches.
t
Liststhelongestandmostfrequent
etime
s
(elapsedoperationtime).
n
Liststhelargestandmostfrequent
nentries
(entriesperresult).
x
ListsthenumberandOIDofallextended
operations.
r
Liststhenamesofthemostrequested
attributes.
g
Liststhedetailsofallabandonedoperations.
j
Givesrecommendationsbasedondata
collectedfromthelogfile.
u
Givesoperationdetailsaboutunindexed
searches.
Table7.26.logconv.plOptionstoDisplayOccurrences
ns-accountstatus.pl(EstablishesAccount
269
4.8.ns-accountstatus.pl(EstablishesAccountStatus)
Providesaccountstatusinformationtoestablishwhetheranentryorgroupofentriesis
inactivated.
Syntax.
ns-accountstatus.pl
[-D
rootdn
]-w
password
[-p
port
][-h
host
]-I
DN
Options.
Option
Description
-Drootdn
SpecifiestheDirectoryServeruserDNwith
root
permissions,suchasDirectory
Manager.
-hhost
SpecifiesthehostnameoftheDirectory
Server.Thedefaultvalueisthefullhostname
ofthemachinewhereDirectoryServeris
installed.
-IDN
SpecifiestheentryDNorroleDNwhose
statusisrequired.
-pport
SpecifiestheDirectoryServer'sport.The
defaultvalueistheLDAPportofDirectory
Serverspecifiedatinstallationtime.
-wpassword
Specifiesthepasswordassociatedwiththe
userDN.
Table7.27.ns-accountstatus.plOptions
4.9.ns-activate.pl(ActivatesanEntryorGroupofEntries)
Activatesanentryorgroupofentries.
Syntax.
ns-activate.pl
[-D
rootdn
]-w
password
[-p
port
][-h
host
]-I
DN
Options.
Option
Description
-Drootdn
SpecifiestheDirectoryServeruserDNwith
root
permissions,suchasDirectory
Chapter7.Command-LineScripts
270
Documents you may be interested
Documents you may be interested