Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
张文彪
/
employmentBusinessPc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f8fed674
authored
Dec 17, 2025
by
zwb
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改简历生成html文件添加字体参数
parent
fa8137f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/utils/FileProcessor.java
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/utils/FileProcessor.java
View file @
f8fed674
...
@@ -45,17 +45,8 @@ public class FileProcessor {
...
@@ -45,17 +45,8 @@ public class FileProcessor {
String
line
;
String
line
;
while
((
line
=
reader
.
readLine
())
!=
null
)
{
while
((
line
=
reader
.
readLine
())
!=
null
)
{
// 替换字符串
// 替换字符串
String
replacedLine
=
line
;
String
replaceLine
=
line
.
replace
(
oldData
,
newData
).
replace
(
oldFontSize
,
newFontSize
).
replace
(
oldLineHeight
,
newLineHeight
);
if
(
line
.
contains
(
oldData
))
{
writer
.
write
(
replaceLine
);
replacedLine
=
line
.
replace
(
oldData
,
newData
);
}
if
(
line
.
contains
(
oldFontSize
))
{
replacedLine
=
line
.
replace
(
oldFontSize
,
newFontSize
);
}
if
(
line
.
contains
(
oldLineHeight
))
{
replacedLine
=
line
.
replace
(
oldLineHeight
,
newLineHeight
);
}
writer
.
write
(
replacedLine
);
writer
.
newLine
();
// 写入换行符
writer
.
newLine
();
// 写入换行符
}
}
System
.
out
.
println
(
"文件处理完成,已生成新的HTML文件:"
+
targetFilePath
);
System
.
out
.
println
(
"文件处理完成,已生成新的HTML文件:"
+
targetFilePath
);
...
...
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