Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
alx_java2b_20250412
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Patryk Czarnik
alx_java2b_20250412
Commits
dc5176dc
Commit
dc5176dc
authored
May 24, 2025
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Próba naprawienia błędów z XML i PDF
parent
ae50d112
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
pom.xml
PC26-RestSerwer/pom.xml
+6
-1
sklep-fo.xsl
PC26-RestSerwer/src/main/webapp/WEB-INF/sklep-fo.xsl
+6
-1
No files found.
PC26-RestSerwer/pom.xml
View file @
dc5176dc
...
@@ -35,7 +35,12 @@
...
@@ -35,7 +35,12 @@
<groupId>
org.apache.xmlgraphics
</groupId>
<groupId>
org.apache.xmlgraphics
</groupId>
<artifactId>
fop
</artifactId>
<artifactId>
fop
</artifactId>
<version>
2.11
</version>
<version>
2.11
</version>
<exclusions>
<exclusion>
<groupId>
xml-apis
</groupId>
<artifactId>
xml-apis
</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependency>
</dependencies>
</dependencies>
...
...
PC26-RestSerwer/src/main/webapp/WEB-INF/sklep-fo.xsl
View file @
dc5176dc
...
@@ -24,8 +24,13 @@
...
@@ -24,8 +24,13 @@
</fo:root>
</fo:root>
</xsl:template>
</xsl:template>
<xsl:template
match=
"products"
>
<fo:block
font-weight=
"bold"
font-size=
"14pt"
>
Lista produktów (
<xsl:value-of
select=
"count(product)"
/>
elementów)
</fo:block>
</xsl:template>
<xsl:template
match=
"product"
>
<xsl:template
match=
"product"
>
<fo:block-container
space-before.minimum=
"0.5em"
<fo:block-container
id=
"product_{@id}"
space-before.minimum=
"0.5em"
page-break-inside=
"avoid"
>
page-break-inside=
"avoid"
>
<fo:block>
<fo:block>
<xsl:text>
Produkt nr
</xsl:text>
<xsl:text>
Produkt nr
</xsl:text>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment