Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
徐少华
midjourney-proxy
Commits
491ede85
Commit
491ede85
authored
Jun 29, 2021
by
田超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixbug/fixword' into 'master'
bug: [none] fixword See merge request rays/pcloud-common-parent!213
parents
c8b68e59
79aa169e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
WordUtils.java
...src/main/java/com/pcloud/common/utils/word/WordUtils.java
+4
-0
No files found.
pcloud-common/src/main/java/com/pcloud/common/utils/word/WordUtils.java
View file @
491ede85
...
@@ -131,6 +131,10 @@ public class WordUtils {
...
@@ -131,6 +131,10 @@ public class WordUtils {
width
=
Math
.
round
(
width
*
rate
);
width
=
Math
.
round
(
width
*
rate
);
height
=
Math
.
round
(
height
*
rate
);
height
=
Math
.
round
(
height
*
rate
);
document
=
new
Document
(
new
Rectangle
(
width
,
height
));
document
=
new
Document
(
new
Rectangle
(
width
,
height
));
Integer
A4Width
=
210
;
if
(!
A4Width
.
equals
(
width
))
{
document
.
setMargins
(
2
,
2
,
2
,
2
);
}
rtfWriter2
=
RtfWriter2
.
getInstance
(
document
,
os
);
rtfWriter2
=
RtfWriter2
.
getInstance
(
document
,
os
);
document
.
open
();
document
.
open
();
// 添加内容添加PDF实例中
// 添加内容添加PDF实例中
...
...
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