Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DHAS
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
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
Thitichaipun Wutthisak
DHAS
Commits
e2309bd5
Commit
e2309bd5
authored
Feb 15, 2021
by
peema_phongam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
candidate print border
parent
17c3b6dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
7 deletions
+39
-7
CandidatePrint_DHAS.jsp
hrAppWeb.war/RECRUIT/CandidatePrint_DHAS.jsp
+39
-7
No files found.
hrAppWeb.war/RECRUIT/CandidatePrint_DHAS.jsp
View file @
e2309bd5
...
...
@@ -679,7 +679,15 @@
detailHeader
.
addCell
(
getCellData
("
NO
PIC
",
font12N
,
"",
"
CENTER
",
"
MIDDLE
",
1
,
5
));
}
document
.
add
(
imglogo
);
//
---------------
new
line
-----------------
Rectangle
rect=
new
Rectangle
(
575
,
780
,
20
,
20
);
//
you
can
resize
rectangle
rect
.
enableBorderSide
(
1
);
rect
.
enableBorderSide
(
2
);
rect
.
enableBorderSide
(
4
);
rect
.
enableBorderSide
(
8
);
rect
.
setBorderColor
(
BaseColor
.
BLACK
);
rect
.
setBorderWidth
(
1
);
document
.
add
(
rect
);
//
---------------
new
line
-----------------
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
100
.
0f
};
PdfPTable
detail =
new
PdfPTable
(
1
);
...
...
@@ -1000,6 +1008,14 @@
//
PAGE
2
document
.
newPage
();
rect=
new
Rectangle
(
575
,
800
,
20
,
41
);
//
you
can
resize
rectangle
rect
.
enableBorderSide
(
1
);
rect
.
enableBorderSide
(
2
);
rect
.
enableBorderSide
(
4
);
rect
.
enableBorderSide
(
8
);
rect
.
setBorderColor
(
BaseColor
.
BLACK
);
rect
.
setBorderWidth
(
1
);
document
.
add
(
rect
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
100
.
0f
};
detail =
new
PdfPTable
(
1
);
...
...
@@ -1607,6 +1623,14 @@
document
.
add
(
detail
);
//
PAGE
3
document
.
newPage
();
rect=
new
Rectangle
(
575
,
800
,
20
,
41
);
//
you
can
resize
rectangle
rect
.
enableBorderSide
(
1
);
rect
.
enableBorderSide
(
2
);
rect
.
enableBorderSide
(
4
);
rect
.
enableBorderSide
(
8
);
rect
.
setBorderColor
(
BaseColor
.
BLACK
);
rect
.
setBorderWidth
(
1
);
document
.
add
(
rect
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
10
.
0f
,
12
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
};
detail =
new
PdfPTable
(
8
);
...
...
@@ -1727,6 +1751,14 @@
//
PAGE
4
document
.
newPage
();
rect=
new
Rectangle
(
575
,
800
,
20
,
120
);
//
you
can
resize
rectangle
rect
.
enableBorderSide
(
1
);
rect
.
enableBorderSide
(
2
);
rect
.
enableBorderSide
(
4
);
rect
.
enableBorderSide
(
8
);
rect
.
setBorderColor
(
BaseColor
.
BLACK
);
rect
.
setBorderWidth
(
1
);
document
.
add
(
rect
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
100
.
0f
};
detail =
new
PdfPTable
(
1
);
...
...
@@ -1764,9 +1796,9 @@
content
.
add
(
new
Chunk
("
เคย",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
("ตำแหน่ง",
font12N
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
(
applyStatus
?
applyPosition:
"",
font12N
,
"
R_BOTTOM_DOT
",
"
CENTER
",
"
TOP
",
0
,
0
,
true
,
false
))
)
;
detail
.
addCell
(
getCellData
(
applyStatus
?
applyPosition:
"",
font12N
,
"
R_BOTTOM_DOT
",
"
CENTER
",
"
TOP
",
0
,
0
,
true
,
false
));
detail
.
addCell
(
getCellData
("ระยะเวลา",
font12N
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
(
applyStatus
?
applyYear:
"",
font12N
,
"
R_BOTTOM_DOT
",
"
CENTER
",
"
TOP
",
0
,
0
,
true
,
false
))
)
;
detail
.
addCell
(
getCellData
(
applyStatus
?
applyYear:
"",
font12N
,
"
R_BOTTOM_DOT
",
"
CENTER
",
"
TOP
",
0
,
0
,
true
,
false
));
detail
.
addCell
(
getCellData
("
เดือน
/
ปี",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("การรู้จักพนักงานของบริษัทฯนี้ท่าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
...
...
@@ -1779,9 +1811,9 @@
content.add(new Chunk(" รู้",font12N));
detail.addCell(getCellData2( content, "NO", "LEFT", "MIDDLE", 1, 1) );
detail.addCell(getCellData("ชื่อ-สกุล", font12N, "NO", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData(companyReference.getString("fullname0"), font12N, "R_BOTTOM_DOT", "CENTER", "TOP", 0, 0,true,false))
)
;
detail.addCell(getCellData(companyReference.getString("fullname0"), font12N, "R_BOTTOM_DOT", "CENTER", "TOP", 0, 0,true,false));
detail.addCell(getCellData("ตำแหน่ง", font12N, "NO", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData(companyReference.getString("position0"), font12N, "R_BOTTOM_DOT", "CENTER", "TOP", 2, 0,true,false))
)
;
detail.addCell(getCellData(companyReference.getString("position0"), font12N, "R_BOTTOM_DOT", "CENTER", "TOP", 2, 0,true,false));
detail.addCell(getCellData("การเป็นสมาชิกของชมรม / สหภาพ / สโมสรท่าน", font12N, "NO", "LEFT", "MIDDLE", 0, 0));
content = new Phrase();
...
...
@@ -1793,9 +1825,9 @@
content.add(new Chunk(" เคย",font12N));
detail.addCell(getCellData2( content, "NO", "LEFT", "MIDDLE", 1, 1) );
detail.addCell(getCellData("ชื่อสถาบัน", font12N, "NO", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData(tradeStatus?tradeName:"", font12N, "R_BOTTOM_DOT", "CENTER", "TOP", 0, 0,true,false))
)
;
detail.addCell(getCellData(tradeStatus?tradeName:"", font12N, "R_BOTTOM_DOT", "CENTER", "TOP", 0, 0,true,false));
detail.addCell(getCellData("ตำแหน่ง", font12N, "NO", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData(tradeStatus?tradeRole:"", font12N, "R_BOTTOM_DOT", "CENTER", "TOP", 2, 0,true,false))
)
;
detail.addCell(getCellData(tradeStatus?tradeRole:"", font12N, "R_BOTTOM_DOT", "CENTER", "TOP", 2, 0,true,false));
document.add(detail);
// --------------- new line -----------------shiftwork
...
...
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