'Table Of Contents' header not wrap into second line in assembler service

Avatar

Avatar

Wells_Sri

Avatar

Wells_Sri

Wells_Sri

09-03-2021

Please find my ddx below for assembler service to generate 'Table Of Contents', The header section of the TOC not wrapping into second line. Please find screenshot. any help ?

 

"<?xml version="1.0" encoding="UTF-8"?> <DDX xmlns="http://ns.adobe.com/DDX/1.0/"> <PDF result="out.pdf"> <TableOfContents includeInTOC="true" bookmarkTitle="_SourceTitle" toc-margin-top="70pt"> <PageSize width="612pt" height="792pt"/> <Header><Left><StyledText><p font-family="Verdana" font-size="28pt" text-align="left">Wells Fargo Merchant Services Terms and Conditions</p></StyledText></Left></Header> <TableOfContentsEntryPattern> <StyledText> <p font-family="Verdana" font-size="9pt"> <_BookmarkTitle/><leader leader-pattern="dotted"/> <_BookmarkPageCitation/></p> </StyledText> </TableOfContentsEntryPattern> </TableOfContents> <PDF source="sourceDoc"> <NoForms/> <NoXFA/> </PDF> </PDF> <StyleProfile name="headerStyle"> <Header> <Left> <StyledText> <p>_SourceTitle</p> </StyledText> </Left> </Header> 
</StyleProfile> <DocumentInformation result='info.xml' source='out.pdf'/> </DDX>"

 

 

Capture.JPG

assembler service Table of contents

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Kosta_Prokopiu1

Employee

Avatar

Kosta_Prokopiu1

Employee

Kosta_Prokopiu1
Employee

09-03-2021

There is no auto-wrap here. What you can do is split the line by a line feed and set the xml:space option to "preserve".

 

<DDX xmlns="http://ns.adobe.com/DDX/1.0/" xmlns:xml="http://www.w3.org/XML/1998/namespace" >
<PDF result="out.pdf">
<TableOfContents includeInTOC="true" bookmarkTitle="_SourceTitle" toc-margin-top="70pt">
<PageSize width="612pt" height="792pt"/>
<Header>
<Left>
<StyledText xml:space="preserve">
<p font-family="Verdana" font-size="28pt" text-align="left">Wells Fargo Merchant Services
Terms and Conditions</p>
</StyledText>
</Left>
</Header>
<TableOfContentsEntryPattern>
<StyledText>
<p font-family="Verdana" font-size="9pt">
<_BookmarkTitle/>
<leader leader-pattern="dotted"/>
<_BookmarkPageCitation/>
</p>
</StyledText>
</TableOfContentsEntryPattern>
</TableOfContents>
<PDF source="sourceDoc">
<NoForms/>
<NoXFA/>
</PDF>
</PDF>
<StyleProfile name="headerStyle">
<Header>
<Left>
<StyledText>
<p>_SourceTitle</p>
</StyledText>
</Left>
</Header>
</StyleProfile>
<DocumentInformation result="info.xml" source="out.pdf"/>
<?ddx-source-hint name="sourceDoc"?>
</DDX>

Answers (0)