53
ConfigurationandAdministrationTasksandTips
<InnerProfile path="/System/Media a Server/System m Profiles/
document_to_pdf" waitOnCompletion="true" " useTargetFormat="true">
<InnerTokenMapping LocalProfileToken="pdf" InnerProfileToken=
"doc_token_targetFormat" Literal="true"/>
<InnerTokenMapping LocalProfileToken="PDFVersion15"
InnerProfileToken="doc_token_pdfVersion" Literal="true"/>
<InnerTokenMapping LocalProfileToken="Automatic" InnerProfileToken
="doc_token_usePrinterMetrics" Literal="true"/>
<InnerTokenMapping LocalProfileToken="600" InnerProfileToken=
"doc_token_resolution" Literal="true"/>
<InnerTokenMapping LocalProfileToken="Yes" InnerProfileToken=
"doc_token_optimize" Literal="true"/>
<InnerTokenMapping LocalProfileToken="Yes" InnerProfileToken=
"doc_token_enableBookMarks" Literal="true"/>
<InnerTokenMapping LocalProfileToken="DocumentContent"
InnerProfileToken="doc_token_PrintType" Literal="true"/>
<InnerTokenMapping LocalProfileToken="false" " InnerProfileToken
="overwrite_rendition" Literal="true"/>
<InnerTokenMapping LocalProfileToken="legacy" " InnerProfileToken=
"transformation_type" Literal="true"/>
<!security settings>
<InnerTokenMapping LocalProfileToken="No" InnerProfileToken=
"doc_token_enableSecurity" Literal="true"/>
<InnerTokenMapping LocalProfileToken="40bit" " InnerProfileToken=
"doc_token_encryptionMode" Literal="true"/>
<InnerTokenMapping LocalProfileToken="Disabled" InnerProfileToken=
"doc_token_changesAllowed" Literal="true"/>
<InnerTokenMapping LocalProfileToken="Disabled" InnerProfileToken=
"doc_token_enableAccess" Literal="true"/>
<InnerTokenMapping LocalProfileToken="Disabled" InnerProfileToken=
"doc_token_docAssembly" Literal="true"/>
<InnerTokenMapping LocalProfileToken="Disabled" InnerProfileToken=
"doc_token_formFieldFilling" Literal="true"/>
<InnerTokenMapping LocalProfileToken="Disabled" InnerProfileToken=
"doc_token_printing" Literal="true"/>
<InnerTokenMapping LocalProfileToken="Disabled" InnerProfileToken=
"doc_token_allowCopy" Literal="true"/>
<InnerTokenMapping LocalProfileToken=" " " " InnerProfileToken=
"doc_token_secOpass" Literal="true"/>
<InnerTokenMapping LocalProfileToken=" " " " InnerProfileToken=
"doc_token_secCpass" Literal="true"/>
</InnerProfile>
5. Savethefile.
6. Checkthefileintotherepository.
7. RestartContentTransformationServices.
Registeringformatstoenablethumbnailsandstoryboards
Afterrich-mediaenablingtheformats,modifythesystemprofiles,register.xmland
register_legacy.xmltoactivatethethumbnailandstoryboardrenditioncreationonimportof
MSOfficeandimageformats.
Note:Thisprocedureisapplicableonlyifregister_legacy.xmlistargetedinregister.xmlprofile.
92
EMCDocumentumContentTransformationServicesTransformationSuiteVersion7.2AdministrationGuide
44
ConfigurationandAdministrationTasksandTips
Toregistertheformats:
1. Intherepository,navigatetoSystem/MediaServer/SystemProfilesandcheckoutthefollowing
files: register.xmlandregister_legacy.xml.
2. Openregister.xmlandregister_legacy.xmlinanXMLortexteditor.
3. Changeoraddthefollowingtaginboththeregister.xmlandregister_legacy.xmlfiles:
<Format source="<sample>" target="<sample>"/>
to
<Format source="<Add source format t here>" target="<Add d target format
here>"/>
Forexample,toenablethumbnailsandstoryboardsforMicrosoftWorddocuments,yourtag
wouldlooklikethefollowing:
<Format source="msw8" target="msw8"/>
Toenablethumbnailsandstoryboardsforimageformats,yourtagwilllooklikethefollowing:
<Format source="gif" target="gif"/>
Note:Sourceandtargetformatsarethesameintheregisterprofile.Thisisbecauseprocessing
doesnotstartfromthisprofile;thesourceispassedtothenextprofile.
4. NavigatetoSystem/MediaServer/SystemProfilesandcheckoutthedocument_registration.
xmlfile.
5. Addthefollowingimageformats,ifyourequirethumbnailsforimages:jpeg,gif,png,tiff,
photoshop6,photoshop7,photoshop8,cr2,crw,wmf,andbmp.
Forexample:
<Format source="gif" target="pdf"/>
ForMicrosoftOfficeformats,ensurethatthedocument_registration.xmlfilecontains
tagssimilartothefollowing:
Format source="msw8" " target="pdf"/>
6. Addthefollowingtagstothe<ProfileSequence>sectionoftheregister_legacy.xmlfile:
<!--This extracts s properties s for office formats. Add d if f required-->
<InnerProfile path="/System/Media a Server/System m Profiles/
document_extract_props" waitOnCompletion="true" useTargetFormat=
"true">
</InnerProfile>
<!--This will generate thumbnail, proxy and storyboards for
all document t & & image formats-->
<InnerProfile path="/System/Media Server/System m Profiles/
document_registration" waitOnCompletion="true" " useTargetFormat="true">
<InnerTokenMapping LocalProfileToken="pdf" " InnerProfileToken=
"doc_token_targetFormat" Literal="true"/>
</InnerProfile>
7. Savethefiles.
8. Checkthefilesbackintotherepository.
9. RestartContentTransformationServices.
EMCDocumentumContentTransformationServicesTransformationSuiteVersion7.2AdministrationGuide
93
44
ConfigurationandAdministrationTasksandTips
Customizingprintingandrenditionoutput
Variousprintingandrenditionprocessescanbeconfiguredinthelegacyprofiles.Bydefault,these
processesaredisabled. Youcanmodifytheprofilesto:
• SavethePDFtext(PDT)file
• StorePDFmetadata
• Configurelegacytransformationstoreplacepreviousrenditions,insteadofstoringmultiple
renditions
Theseconfigurationproceduresaredescribedinthissection.
SavingPDFTextfiles
ThePDFTextrenditionofadocumentisthetextfileusedspecificallyforterm-hithighlighting.By
default,PDFTextfilesarenotsavedtotherepository.TostorethePDFTextrenditionofadocument
intherepository,modifythelegacy_to_pdfprofile.
TosavePDFTextrenditionsintherepository:
1. LogintotheContentTransformationServicesconfiguredrepositoryasanadministratoruser.
2. NavigatetoSystem\MediaServer\SystemProfiles\.
3. Checkoutthelegacy_to_pdfprofile.
Note: Ifthisfileisnotimmediatelyvisible,selectShowAllObjectsandVersionsfromthe
Showlistbox.
4. Openthelegacy_to_pdffilefromthecheckoutfolderonthelocalmachine.
5. Uncommentthefollowingsection:
<!-- uncomment t the below section n to o enable the storing of pdf f text t files s -->
<!--
<InnerProfile path="/System/Media a Server/System m Profiles/
transformToText" waitOnCompletion="false" " useTargetFormat="true">
<InnerTokenMapping LocalProfileToken="pdftext" InnerProfileToken=
"target_format" Literal="true"/>
<InnerTokenMapping LocalProfileToken="pdf" " InnerProfileToken=
"source_format" Literal="true"/>
<InnerTokenMapping LocalProfileToken="True" " InnerProfileToken=
"doc_token_storePDTRendition" Literal="true"/>
<InnerTokenMapping LocalProfileToken="1" InnerProfileToken=
"target_page_modifier" Literal="true"/>
<InnerTokenMapping LocalProfileToken="false" " InnerProfileToken=
"overwrite_rendition" Literal="true"/>
<InnerTokenMapping LocalProfileToken="legacy" " InnerProfileToken=
"transformation_type" Literal="true"/>
</InnerProfile>
-->
6. Saveandclosethefile.
7. Checkinthemodifiedprofiletotherepository.
PDFtextrenditionsofdocumentsarenowstoredintherepository.
94
EMCDocumentumContentTransformationServicesTransformationSuiteVersion7.2AdministrationGuide
43
ConfigurationandAdministrationTasksandTips
StoringPDFmetadata
ThestoringofPDFmetadataisalsoconfiguredinthelegacy_to_pdfprofile. Bydefault,PDF
metadataisnotstored.
TostorePDFmetadataintherepository:
1. LogintotheContentTransformationServicesconfiguredrepositoryasanadministratoruser.
2. NavigatetoSystem\MediaServer\SystemProfiles\.
3. Checkoutthelegacy_to_pdfprofile.
Note:Ifthisfileisnotimmediatelyvisible,selectShowAllObjectsandVersionsfromthe
Showlistbox.
4. Openthelegacy_to_pdffilefromthecheckoutfolderonthelocalmachine.
5. Uncommentthefollowingsection:
<!-- uncomment the e below section n to o enable e the e storing g of pdf metadata-->
<!--
<InnerProfile path="/System/Media Server/System m Profiles/
embedMetadataToContent_adts" waitOnCompletion="false" " useTargetFormat="true">
<InnerTokenMapping LocalProfileToken="pdf" InnerProfileToken=
"target_format" Literal="true"/>
<InnerTokenMapping LocalProfileToken="pdf" InnerProfileToken=
"source_format" Literal="true"/>
<InnerTokenMapping LocalProfileToken="True" " InnerProfileToken=
"doc_token_embedMetadata" Literal="true"/>
<InnerTokenMapping LocalProfileToken="embed_metadata"
InnerProfileToken="target_page_modifier" Literal="true"/>
<InnerTokenMapping LocalProfileToken="false" " InnerProfileToken=
"overwrite_rendition" Literal="true"/
<InnerTokenMapping LocalProfileToken="legacy" " InnerProfileToken=
"transformation_type" Literal="true"/>
</InnerProfile>
-->
6. Saveandclosethefile.
7. Checkinthemodifiedprofiletotherepository.
PDFmetadataofdocumentsisnowstoredintherepository.
Configuringforrenditionreplacement
Bydefault,ContentTransformationServicesallowsformultiplePDFandHTMLrenditionsfromthe
samesourcefile.Inotherwords,eachtimeausertransformsafile,anadditionalrenditioniscreated
andstored.Ifyouwouldpreferthatsubsequentrenditionsreplacepreviousrenditionsofasource
document,thiscanbeconfiguredusingthefollowingprocedure.
Tooverwriteexistingrenditionswhentransformingfiles:
1. Logintoanapplicableapplication(suchasDigitalAssetManager)asanadministratoruser.
2. NavigatetoSystem\MediaServer\SystemProfiles.
EMCDocumentumContentTransformationServicesTransformationSuiteVersion7.2AdministrationGuide
95
VB.NET PDF: Basic SDK Concept of XDoc.PDF you may easily create, load, combine, and split PDF file(s), and add, create, insert, delete, re-order This class describes bookmarks in a PDF document.
bookmarks in pdf from word; adding bookmarks in pdf
38
ConfigurationandAdministrationTasksandTips
3. Checkoutthefollowingprofiles:
• legacy_to_html
• legacy_to_pdf
Note:Ifthesefilesarenotimmediatelyvisible,selectShowAllObjectsandVersionsfromthe
Showlistbox.
4. Openthelegacy_to_html.xmlfilefromthecheckoutfolderonthelocalmachine.
5. Locatethefollowingtagwithinthe<InnerProfile>section:
<InnerTokenMapping LocalProfileToken="false"
InnerProfileToken="overwrite_rendition" Literal="true"/>
andchangeitto:
<InnerTokenMapping LocalProfileToken="true"
InnerProfileToken="overwrite_rendition" Literal="true"/>
6. Saveandclosethefile.
7. Openthelegacy_to_html.xmlfilefromthecheckoutfolderonthelocalmachine.
8. RepeatStep5.
9. Saveandclosethefile.
10. Checkinthetwofiles.
ContentTransformationServiceswillnowstoreonlyonePDForHTMLrenditionforeachsourcefile.
ToreplicatethisbehaviorwhentheResetRenditionsoptionisapplied,modifytheregister.xml
fileinthesameway.
Configuringchangetracking
Bydefault,ContentTransformationServicesdoesnotpasschangetrackingtooutputPDFs.However,
changetrackingcanbeenabledbyconfiguringthelegacy_to_pdfprofile.
Toenablechangetracking:
1. Intherepository,browsetoSystem/MediaServer/SystemProfilesandcheckout
legacy_to_pdf.xml.
2. Openthefileinatexteditor.
3. Changethisline:
<InnerTokenMapping LocalProfileToken="DocumentContent"
InnerProfileToken="doc_token_PrintType" Literal="true"/>
to:
<InnerTokenMapping LocalProfileToken="DocumentWithMarkup"
InnerProfileToken="doc_token_PrintType" Literal="true"/>
4. Savethefile.
5. Checkinthefiletotherepository.
96
EMCDocumentumContentTransformationServicesTransformationSuiteVersion7.2AdministrationGuide
39
ConfigurationandAdministrationTasksandTips
Transferringdocumentattributes
Adocument’sattributesareitsdescriptivecharacteristics,suchasname,title,author,creation
date,objectID,orsubject. Youcansetthevaluesforsomeattributes.Otherattributes,suchasthe
document’screationdate,aresetbythesystem.
ContentTransformationServicesletsyoutransfertheseattributestoadocument’sPDFrendition(but
nottoadocument’sHTMLrendition).Usetheattributesforidentificationortrackingpurposesafter
thePDFdocumentisexportedfromtherepositorywherethesourcedocumentresides.
Note:Someattributes,likerepositoryID,maynotbevisiblewhenviewedthroughDocumentInfo
inAdobeExchange.
Youcanalsotransferattributeinformationtocustomplug-ins,wheretheplug-inneedstoknow
certaininformationaboutadocument(suchastype,author,orsourcetype).
Forexample,writeaplug-inthatlooksforcertainattributesidentifyingadocumentasaStandard
OperatingProcedure(SOP).Ifthoseattributesarefound,theplug-inprintsaspecialcoverpage,or
addsorsubtractscontext-sensitiveinformationbeforethedocumentisrenderedintoPostScript
format.
TransferringdocumentattributestoPDFandembeddingmetadata
Totransferattributes,edittheappropriatecommand-linefilesofContentTransformationServices.
Thefollowingcommand-linefilesareresponsiblefortransferringtheattributesfromthesource
documenttothePDFrendition:
• embedMetadataToContent_adts.xml(usedbythetransformationprofilesforembeddingthe
metadata)
DefinetheattributemappingforPDFrenditionsunderthe<PDF_DOC_INFO>tagofthese
command-linefiles. Thesyntaxis:
value = = object_alias.attribute[repeating_spec]
Anexamplewouldappearasfollows:
<PDF_DOC_INFO>
...
...
<MetadataMapper name="DCTMobjectTitle" value="title"
token="doc_metadata_dctmTitle"/>
...
...
</PDF_DOC_INFO>
Theattributetokenisusedinternallybytheservercode,andhastobenamedwiththeprefix
doc_metadata_. Forexample:
token=" doc_metadata_dctmTitle”
EMCDocumentumContentTransformationServicesTransformationSuiteVersion7.2AdministrationGuide
97
47
ConfigurationandAdministrationTasksandTips
Table5. Attributemappingarguments
Argument
Description
key
Keycanbeanexistingattributeorauser-defined
attribute. Examples: author,subject,title,
producer.
object_alias
Whenomittedorspecifiedaso,theobject_alias
indicatesthatthefollowingattributeisthatofa
sysobjectoroneofitssubtypes(thedocument
beingrendered).Othervalidobject_aliasesare:
• d(repositoryconfigobject)
• s(serverconfigobject)
• q(attributesfromspecialruntime-computed
items)
EMCDocumentumContentServerAdministration
andConfigurationGuideprovidesmore
informationaboutconfigurationobjects.
attribute
Inthecaseofo,s,anddobjectaliases,attribute
dynamicallymapstheattribute. Inthecase
oftheqobject,theonlycurrentlyavailable
attributesaresentby,login_ticket,andusername.
value
Forrepeatingattributes,valuedefinesthe
repeatingattributeseparator(forexample,a
commaoraslash).Ifnoseparatorisdefined,and
theattributeisrepeating,ContentServermaps
onlythefirstattributeintheseries[element0].
Herearesomeexamplesofattributemappingsyntax.
Thefirstexampleshowsanattributewheretheobjectalias(o)isimplied:
<MetadataMapper name="Subject" " value="subject"
token="doc_metadata_subject"/>
Thefollowingexampleshowsanattributemappedwithspecifiedobjectalias:
<MetadataMapper name="DCTMSourceContentType" value="o.a_content_type"
token="doc_token_sourceContentType"/>
Thefollowingexampleshowsacomma-separatedlistofkeywordsfromsysobject:
<MetadataMapper name="Keywords" value="keywords[,]"
token="doc_metadata_keywords"/>
Thefollowingexampleshowsalistofauthors,separatedby//(twoforwardslashes):
<MetadataMapper name="Author" " value="authors[//]"
token="doc_metadata_author"/>
Note:RestartContentTransformationServicesforthechangesinthecommandlinefilestotakeeffect.
98
EMCDocumentumContentTransformationServicesTransformationSuiteVersion7.2AdministrationGuide
31
ConfigurationandAdministrationTasksandTips
ViewingtheattributesinthePDFrendition
ToseethetransferredattributesforaPDFrendition,chooseDocumentPropertiesinAdobeAcrobat.
ConfiguringHTMLrenditionsinfluidlayout
TheHTMLrenditionsofaMicrosoftWordfilebydefaultareinfixedlayout.TotransformMicrosoft
WordfiletoHTMLfilewithfluidlayout,performthefollowing:
1. Logintoanapplicableapplication(suchasDigitalAssetManager)asanadministratoruser.
2. OpentheSystem\Media Server\System Profilesfolder.
3. Checkoutthelegacy_to_htmlprofile.
Note:Ifthisfileisnotimmediatelyvisible,selectShowAllObjectsandVersionsfromthe
Showlistbox.
4. Openthelegacy_to_html.xmlfilefromthecheckoutfolderonthelocalmachine.
5. Setfluid_word_to_html_layouttotrue.
6. Saveandclosethefile.
7. Checkinthefile.
Configuration tasks specific to Media
TransformationServices
Thissectioncontainsproceduresforthefollowingimage-basedconfigurationtasksthatare
performedwithMediaTransformationServices.
• ConfiguringthePowerPoint2plug-in,page99
• ManagingPowerPointregistration,page101
• Selectingacolorspace,page103
• GeneratingthebackgroundcolorforthumbnailsfromtransparentPDFfiles,page104
• ImprovingthequalityofJPEGimagefilesconvertedfromSVGformat,page105
• ConfiguringtheImage3plug-in,page105
ConfiguringthePowerPoint2plug-in
TheMicrosoftOffice-basedPowerPoint2plug-inhasbeenreintroducedinthisreleaseofContent
TransformationServicesbecauseofbetterstabilityandreduceddataloss,whichwasseenin
PowerPointtransformationsinContentTransformationServices6.7.xproducts.
EMCDocumentumContentTransformationServicesTransformationSuiteVersion7.2AdministrationGuide
99
44
ConfigurationandAdministrationTasksandTips
ThePowerPoint1andPowerPoint2plug-insarebundledalongwithMediaTransformationServices.
OnlythePowerPoint1plug-inisturnedonbydefault. TousethePowerPoint2plug-in,addthe
followingintheCTSPluginService.xmlfile:
<CTSPlugin DELEGATE_CLASS="com.documentum.cts.plugin.powerpoint2.PowerPointPlugin"
CONFIGFILE="%CTS_HOME%\PowerPoint2\PowerPoint2.xml"/>
TheconfigurationfilesforthePowerPoint1andPowerPoint2plug-insarelocatedinthe
%CTS_HOME%\config\powerpoint1and%CTS_HOME%\config\powerpoint2foldersonthe
MediaTransformationServicesserverrespectively.
AlltheOOTBMediaTransformationServicesprofilesandsystemprofileswillrefertothe
PowerPoint1plug-inonly.Hence,PowerPointregistration,assembly,conversions,slidegeneration,
propertyextractionandstoryboardingishandledbythePowerPoint1plug-inOOTB.Tousethe
PowerPoint2plug-ininstead,dothefollowing:
1. Checkoutthecorrespondingprofile(s)orsystemprofile(s).
2. ChangethemptypeattributeofCommandFilePathelement(forexample,extraction).
Change
<CommandFilePath mptype="POWERPOINT1">
/System/Media Server/Command d Line Files/ppt_extract_props.xml
</CommandFilePath>
To
<CommandFilePath mptype="POWERPOINT2">
/System/Media Server/Command d Line Files/ppt_extract_props.xml
</CommandFilePath>
3. Checkintheprofileintotherepository.
Note: ThenameandcontentofthecommandlinefilesarethesameforthePowerPoint1and
PowerPoint2plug-ins.Hence,changingtheplug-innameinprofilesorsystemprofilesisadequate.
ThefollowingOOTBprofilesorsystemprofilescanbeswitchedtouseeitherofthetwoplug-ins:
• ppt_conversion
• powerpointDefaultStoryboard
• powerpointRegistration
• powerpointRegistrationStoryboard
• powerpointStoryboard
• ppt_assembler
• ppt_extract_props
• ppt_slide_generator
• thumbnail
• thumbnail_ppt
• autoGenPreviewProxy
• autoGenProxy
Note: ForthePowerPoint2plug-intowork,ensurethatyouhaveinstalledMicrosoftPowerPoint
2007SP3(32-bit)ontheMediaTransformationServicesserverthatisinstalledonWindowsServer
2008R2SP1(64-bit)operatingsystem.
100
EMCDocumentumContentTransformationServicesTransformationSuiteVersion7.2AdministrationGuide
Documents you may be interested
Documents you may be interested