Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
V
volunteer_service
Project
Project
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
licc
volunteer_service
Commits
4736fdb5
Commit
4736fdb5
authored
Feb 03, 2021
by
liaoanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PC端我的方案导出功能-pdfUtil工具类
parent
260d22b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
PdfUtil.java
...ce/src/main/java/cn/wisenergy/service/common/PdfUtil.java
+1
-0
No files found.
wisenergy-service/src/main/java/cn/wisenergy/service/common/PdfUtil.java
View file @
4736fdb5
...
@@ -48,6 +48,7 @@ public class PdfUtil implements Serializable {
...
@@ -48,6 +48,7 @@ public class PdfUtil implements Serializable {
// 生成PDF文件
// 生成PDF文件
public
void
generatePDF
(
Document
document
,
List
<
Volunteer
>
list
)
throws
Exception
{
public
void
generatePDF
(
Document
document
,
List
<
Volunteer
>
list
)
throws
Exception
{
// 表格
// 表格
PdfPTable
table
=
createTable
(
new
float
[]
{
40
,
80
,
80
,
80
,
80
,
80
,
80
,
80
,
40
,
40
,
40
});
PdfPTable
table
=
createTable
(
new
float
[]
{
40
,
80
,
80
,
80
,
80
,
80
,
80
,
80
,
40
,
40
,
40
});
table
.
addCell
(
createCell
(
"普通类"
,
headfont
,
Element
.
ALIGN_CENTER
,
11
,
false
));
table
.
addCell
(
createCell
(
"普通类"
,
headfont
,
Element
.
ALIGN_CENTER
,
11
,
false
));
...
...
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