Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 1
Level 1
Wells_Sri
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Wells_Sri
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
Wells_Sri
Level 1

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
Establish
Employee
Kosta_Prokopiu1
Employee

Likes

148 likes

Total Posts

337 posts

Correct Reply

96 solutions
Top badges earned
Establish
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Establish
Employee
Kosta_Prokopiu1
Employee

Likes

148 likes

Total Posts

337 posts

Correct Reply

96 solutions
Top badges earned
Establish
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
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)