-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GFORMS-3069 - Production/Accessibility PDF issue- org.xml.sax.SAXPars… (
- Loading branch information
1 parent
810d5f4
commit 1e239b7
Showing
12 changed files
with
89 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 9 additions & 14 deletions
23
app/uk/gov/hmrc/gform/views/summary/pdf/addToListSummaryItemBody.scala.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
@import play.twirl.api.XmlFormat | ||
|
||
@(boldText: String, normalText: XmlFormat.Appendable) | ||
<fo:block role="Div"> | ||
<fo:inline role="P" | ||
font-size="11px" | ||
font-family="arial-bold" | ||
font-weight="bold" | ||
line-height="11pt"> | ||
@boldText | ||
<fo:inline font-size="11px" | ||
font-family="arial" | ||
font-weight="normal" | ||
line-height="11pt"> | ||
@normalText | ||
</fo:inline> | ||
<fo:inline font-size="11px" | ||
font-family="arial-bold" | ||
font-weight="bold" | ||
line-height="11pt">@boldText | ||
<fo:inline font-size="11px" | ||
font-family="arial" | ||
font-weight="normal" | ||
line-height="11pt">@normalText | ||
</fo:inline> | ||
</fo:block> | ||
</fo:inline> |
33 changes: 33 additions & 0 deletions
33
app/uk/gov/hmrc/gform/views/summary/pdf/bookmarkTree.scala.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
@import uk.gov.hmrc.gform.pdf.model.PDFModel._ | ||
|
||
@(formName: Option[String], summaryDatas: List[SummaryData]) | ||
<fo:bookmark-tree> | ||
<fo:bookmark internal-destination="title"> | ||
@formName.map{ title => | ||
<fo:bookmark-title>@title</fo:bookmark-title> | ||
} | ||
@for(summaryData <- summaryDatas) { | ||
@summaryData match { | ||
case p: PageData => { | ||
@for(title <- p.title) { | ||
<fo:bookmark internal-destination="@{p.id}"> | ||
<fo:bookmark-title>@{title}</fo:bookmark-title> | ||
</fo:bookmark> | ||
} | ||
} | ||
case AddToListData(title, _, pageGroups, id) => { | ||
@if(title.nonEmpty) { | ||
<fo:bookmark internal-destination="@{id}"> | ||
<fo:bookmark-title>@{title}</fo:bookmark-title> | ||
@for(pageGroup <- pageGroups) { | ||
<fo:bookmark internal-destination="@{pageGroup.id}"> | ||
<fo:bookmark-title>@{title}</fo:bookmark-title> | ||
</fo:bookmark> | ||
} | ||
</fo:bookmark> | ||
} | ||
} | ||
} | ||
} | ||
</fo:bookmark> | ||
</fo:bookmark-tree> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
app/uk/gov/hmrc/gform/views/summary/pdf/unescapeXml.scala.xml
This file was deleted.
Oops, something went wrong.