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
cefafbc7
Commit
cefafbc7
authored
Apr 08, 2021
by
peema_phongam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DHAS print PDF
parent
e9fab2c2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
183 additions
and
112 deletions
+183
-112
ApplicantPrint_DHAS.jsp
hrAppWeb.war/RECRUIT/ApplicantPrint_DHAS.jsp
+92
-56
CandidatePrint_DHAS.jsp
hrAppWeb.war/RECRUIT/CandidatePrint_DHAS.jsp
+91
-56
No files found.
hrAppWeb.war/RECRUIT/ApplicantPrint_DHAS.jsp
View file @
cefafbc7
...
...
@@ -734,22 +734,22 @@
setPaddingBottom
(
4
.
5f
);
detail
.
addCell
(
getCellData
("ผู้ผลิต
และผู้แทนจำหน่าย
เครื่องเขียน
กระดาษ
วัสดุอุปกรณ์สำนักงาน
และช่างเขียน",
font14B
,
"
NO
",
"
LEFT
",
"
TOP
",
3
,
0
));
detail
.
addCell
(
getCellData
("สำนักงานสุรวงศ์",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
เลขที่
210
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ถ.สุรวงศ์
บางรัก
กรุงเทพฯ
10500
โทร.
0-2
237-0500
โทรสาร
0-2236-970
3
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
เลขที่
202
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ถ.สุรวงศ์
บางรัก
กรุงเทพฯ
10500
โทร.
0-2
668-012
3
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("โรงงานนวนคร",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("เลขที่
101
/
27
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("นิคมอุตสาหกรรม
นวนคร
โครงการ
1
ต.คลองหนึ่ง
อ.คลองหลวง
จ.ปทุมธานี
12120
โทร.
0-2
529-4747
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
เลขที่
101
/
27
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("นิคมอุตสาหกรรม
นวนคร
โครงการ
1
ต.คลองหนึ่ง
อ.คลองหลวง
จ.ปทุมธานี
12120
โทร.
0-2
668-0123
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("โรงงานโรจนะ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
เลขที่
21
/
11
หมูที่
9
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("สวนอุตสาหกรรมโรจนะ
ต.านหาม
อ.อุทัย
จ.พระนครศรีอยุธยา
13210
โทร.
0
35-746-500-18
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
เลขที่
21
/
11
ม.
9
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("สวนอุตสาหกรรมโรจนะ
ต.านหาม
อ.อุทัย
จ.พระนครศรีอยุธยา
13210
โทร.
0
-2668-0123
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
DC2
(โรงงาน
2
เดิม)",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("เลขที่
60
/
67
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("นิคมอุตสาหกรรม
นวนคร
โครงการ
2
ต.คลองหนึ่ง
อ.คลองหลวง
จ.ปทุมธานี
12120
โทร.
0-2
529-1732
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
เลขที่
60
/
67
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("นิคมอุตสาหกรรม
นวนคร
โครงการ
2
ต.คลองหนึ่ง
อ.คลองหลวง
จ.ปทุมธานี
12120
โทร.
0-2
668-0123
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ศูนย์คลังสินค้าและบริการ
เลขที่
94
หมู่ที่
15
ต.บางพลีใหญ่
อ.บางพลี
จ.สมุทรปราการ
10540
โทร.
0-2750-1540
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
3
,
0
));
detail
.
addCell
(
getCellData
("ศูนย์คลังสินค้าและบริการ
เลขที่
94
ม.
15
ต.บางพลีใหญ่
อ.บางพลี
จ.สมุทรปราการ
10540
โทร.
0-2668-0123
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
3
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
10
.
0f
,
90
.
0f
};
...
...
@@ -768,7 +768,7 @@
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
20
.
0f
,
15
.
0f
,
15
.
0f
,
12
.
0f
,
12
.
0f
,
7
.
0f
,
5
.
0f
,
26
.
25f
};
sizeColumn =
new
float
[]{
20
.
0f
,
25
.
0f
,
15
.
0f
,
15
.
0f
,
12
.
0f
,
7
.
0f
,
5
.
0f
,
26
.
25f
};
detail =
new
PdfPTable
(
8
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
...
...
@@ -781,23 +781,18 @@
//
IMAGE
img =
Image.getInstance(getImagePath("RECRUIT_UPLOAD-dir","PICTURE/",simmapplicantwithgson.mapplicantPersonal.imgname,"DEFAULTPERSON.jpg"));
cellDetail =
new
PdfPCell
(
img
,
false
);
img
.
scaleAbsolute
(
90f
,
10
0f
);
img
.
scaleAbsolute
(
90f
,
9
0f
);
cellDetail
.
setHorizontalAlignment
(
Element
.
ALIGN_CENTER
);
cellDetail
.
setVerticalAlignment
(
Element
.
ALIGN_MIDDLE
);
cellDetail
.
setColspan
(
1
);
cellDetail
.
setRowspan
(
7
);
cellDetail
.
setRowspan
(
4
);
detail
.
addCell
(
cellDetail
);
detail
.
addCell
(
getCellData
("
1
."+
screen
.
getString
("
MJOBCODE
",
"
TDESC
"),
font14N
,
"",
"
LEFT
",
"
TOP
",
4
,
0
));
detail
.
addCell
(
getCellData
(
DFO
.
format
(
Integer
.
valueOf
(
screen
.
getString
("
SALARY_EXPECT
").
replaceAll
(",",
""))).
toString
()+"
บาท",
font14N
,
"",
"
RIGHT
",
"
TOP
",
3
,
0
));
detail
.
addCell
(
getCellData
("
",
font14N
,
"",
"
LEFT
",
"
TOP
",
4
,
0
));
detail
.
addCell
(
getCellData
("
",
font14N
,
"",
"
RIGHT
",
"
TOP
",
3
,
0
));
detail
.
addCell
(
getCellData
("ประวัติส่วนตัว",
font14N
,
"",
"
CENTER
",
"
TOP
",
7
,
0
,
false
,
true
));
setPaddingTop
(
2
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
2
.
5f
);
detail
.
addCell
(
getCellData
("ประวัติส่วนตัว",
font14B
,
"",
"
CENTER
",
"
TOP
",
7
,
0
,
false
,
true
));
String
prefix =
simmapplicantwithgson.mapplicantPersonal.prefixid;
Chunk
Chu4 =
new
Chunk
("ชื่อ
-
สกุล
(",
font12N
);
...
...
@@ -822,10 +817,19 @@
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mapplicantPersonal
.
fname
.
tha
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ชื่อกลาง",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
..........
",
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
-
",
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("นามสกุล",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mapplicantPersonal
.
lname
.
tha
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
2
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mapplicantPersonal
.
lname
.
tha
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
3
,
0
));
document
.
add
(
detail
);
sizeColumn =
new
float
[]{
20
.
0f
,
25
.
0f
,
15
.
0f
,
15
.
0f
,
12
.
0f
,
7
.
0f
,
5
.
0f
,
26
.
25f
};
detail =
new
PdfPTable
(
8
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
Chu4 =
new
Chunk
("
Name
(",
font12N
);
Chu0 =
new
Chunk
("/",
font12N
);
Chu1 =
new
Chunk
("
Mr
.",
font12N
);
...
...
@@ -847,10 +851,10 @@
content
.
add
(
Chu3
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mapplicantPersonal
.
fname
.
eng
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
M
IDDLENAME
",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
..........
",
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
S
URNAME
",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mapplicantPersonal
.
lname
.
eng
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
2
,
0
));
detail
.
addCell
(
getCellData
("
M
iddle
name
",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
-
",
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
S
urname
",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mapplicantPersonal
.
lname
.
eng
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
3
,
0
));
setPaddingTop
(
0
.
0f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
...
...
@@ -858,6 +862,18 @@
detail
.
addCell
(
getCellData
("
",
font14N
,
"
NO
",
"
CENTER
",
"
TOP
",
5
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
100
.
0f
};
detail =
new
PdfPTable
(
1
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
0
.
0f
);
setPaddingBottom
(
0
.
0f
);
detail
.
addCell
(
getCellData
("
",
font
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
20
.
0f
,
20
.
0f
,
20
.
0f
,
20
.
0f
,
20
.
0f
};
detail =
new
PdfPTable
(
5
);
...
...
@@ -1257,12 +1273,12 @@
detail.addCell(getCellData(educationbackground.get("gpaL015").toString(), font12N, "", "CENTER", "TOP", 0, 0,true,false));
// แสดงเฉพาะ จบที่สูงที่สุดก่อน
detail.addCell(getCellData("ปวช. / ปวส.", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
...
", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
...
", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
...
", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
...
", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
...
", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
...
", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("ม.6", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData(educationbackground.get("nameM6").toString(), font12N, "", "CENTER", "TOP", 0, 0,true,false));
...
...
@@ -1291,13 +1307,13 @@
setPaddingBottom(0.5f);
detail.addCell(getCellData("ปัจจุบัน", font14B, "NO", "LEFT", "TOP", 0, 0));
detail.addCell(getCellData("กำลังศึกษาระดับวุฒิ", font12N, "NO", "LEFT", "TOP", 0, 0));
detail.addCell(getCellData("
...", font12N, "NO
", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("สถาบัน", font12N, "NO", "LEFT", "TOP", 0, 0));
detail.addCell(getCellData("
...", font12N, "NO
", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("สาขา", font12N, "NO", "LEFT", "TOP", 0, 0));
detail.addCell(getCellData("
...", font12N, "NO
", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("ปีที่เข้า", font12N, "NO", "LEFT", "TOP", 0, 0));
detail.addCell(getCellData("
...", font12N, "NO
", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "TOP", 0, 0));
setPaddingTop(0.5f);
detail.addCell(getCellData(" ", font12N, "R_BOTTOM", "CENTER", "TOP", 9, 0));
document.add(detail);
...
...
@@ -1656,7 +1672,7 @@
detail
.
addCell
(
getCellData
("บริษัท",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
companyname_job
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
2
,
0
));
detail
.
addCell
(
getCellData
("ที่อยู่",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("
...",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
4
,
0
));
detail
.
addCell
(
getCellData
("
",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
4
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
phoneJob
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("ลักษณะธุรกิจ",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
...
...
@@ -1664,11 +1680,13 @@
detail
.
addCell
(
getCellData
("ตำแหน่งเริ่มต้น",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
description
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("ตำแหน่งสุดท้าย",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("...",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("เริ่ม
"+
jobexp
.
get
("
start
"+
num
).
toString
(),
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("ถึง
"+
jobexp
.
get
("
end
"+
num
).
toString
(),
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("เริ่ม",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
start
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("ถึง",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
end
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("เงินเดือนเริ่มต้น
",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
salary
"+
num
)
+
"
บาท",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
2
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
salary
"+
num
)
+
"
บาท",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("เงินเดือนสุดท้าย
",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
endingsalary
"+
num
)
+
"
บาท",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
2
,
0
));
...
...
@@ -1692,46 +1710,61 @@
detail
.
addCell
(
getCellData
("อธิบายลักษณะงานที่เคยทำผ่านมา
/
ลักษณะงานที่ทำได้",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
,
false
,
true
));
for
(
int
num=
0;num
<
9
;
num
++
){
detail
.
addCell
(
getCellData
(
String
.
valueOf
(
num
+
1
)
+
local
,
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
(
String
.
valueOf
(
num
+
1
)
+
local
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
}
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
40
.
0f
,
20
.
0f
,
20
.
0f
,
20
.
0f
};
detail =
new
PdfPTable
(
4
);
sizeColumn =
new
float
[]{
100
.
0f
};
detail =
new
PdfPTable
(
1
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
0
.
0f
);
setPaddingBottom
(
0
.
0f
);
detail
.
addCell
(
getCellData
("
",
font
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
39
.
5f
,
0
.
5f
,
20
.
0f
,
20
.
0f
,
20
.
0f
};
detail =
new
PdfPTable
(
5
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
3
.
5f
);
detail
.
addCell
(
getCellData
("ประวัติการฝึกอบรม",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
,
false
,
true
));
detail
.
addCell
(
getCellData
("ประวัติการฝึกอบรม",
font14B
,
"
R_TLB
",
"
CENTER
",
"
MIDDLE
",
0
,
0
,
false
,
true
));
detail
.
addCell
(
getCellData
("",
font14B
,
"
R_TB
",
"
CENTER
",
"
MIDDLE
",
0
,
0
,
false
,
true
));
detail
.
addCell
(
getCellData
("สถาบันที่จัดฝึกอบรม",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
,
false
,
true
));
detail
.
addCell
(
getCellData
("ปี
พ.ศ.",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
,
false
,
true
));
detail
.
addCell
(
getCellData
("ระยะเวลา",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
,
false
,
true
));
for
(
int
num=
0;num
<
5
;
num
++
){
detail
.
addCell
(
getCellData
(
String
.
valueOf
(
num
+
1
)+".
"
+
trainingHM
.
get
("
name
"+
num
).
toString
(),
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
String
.
valueOf
(
num
+
1
)+".
"
+
trainingHM
.
get
("
name
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("",
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
trainingHM
.
get
("
by
"+
num
).
toString
(),
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
trainingHM
.
get
("
year
"+
num
).
toString
(),
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
trainingHM
.
get
("
countday
"+
num
).
toString
(),
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
}
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
40
.
0
f
,
20
.
0f
,
20
.
0f
,
20
.
0f
};
detail =
new
PdfPTable
(
4
);
sizeColumn =
new
float
[]{
39
.
5f
,
0
.
5
f
,
20
.
0f
,
20
.
0f
,
20
.
0f
};
detail =
new
PdfPTable
(
5
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("บุคคลที่อ้างอิง
(ให้ระบุบุคคลที่ไม่ใช่ญาติพี่น้อง
หรือนายจ้างเดิม
ซึ่งสามารถสอบถามและให้คำรับรองได้)",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
4
,
0
,
false
,
true
));
detail
.
addCell
(
getCellData
("ชื่อ
-
สกุล",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("บุคคลที่อ้างอิง
(ให้ระบุบุคคลที่ไม่ใช่ญาติพี่น้อง
หรือนายจ้างเดิม
ซึ่งสามารถสอบถามและให้คำรับรองได้)",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
5
,
0
,
false
,
true
));
detail
.
addCell
(
getCellData
("ชื่อ
-
สกุล",
font14B
,
"
R_TLB
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("",
font14B
,
"
R_TB
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("ความสัมพันธ์",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("อาชีพ",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("ที่ติดต่อ
/
โทรศัพท์",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
for
(
int
num=
0;num
<
4
;
num
++
){
detail
.
addCell
(
getCellData
(
String
.
valueOf
(
num
+
1
)
+
"
"
+
personreference
.
get
("
name
"+
num
).
toString
(),
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
(
String
.
valueOf
(
num
+
1
)
+
"
"
+
personreference
.
get
("
name
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("",
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
personreference
.
get
("
relations
"+
num
).
toString
(),
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
(
personreference
.
get
("
jobtitle
"+
num
).
toString
(),
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
(
personreference
.
get
("
address
"+
num
).
toString
()
+
"
/
"
+
personreference
.
get
("
phone
"+
num
).
toString
(),
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
...
...
@@ -1739,7 +1772,7 @@
document
.
add
(
detail
);
//
---------------
new
line
-----------------
String
visiononjob =
simmapplicantwithgson.mapplicantOther.visiononjob
;
String
visiononjob =
chk.chkNullString(simmapplicantwithgson.mapplicantOther.visiononjob,"
")
;
sizeColumn =
new
float
[]{
100
.
0f
};
detail =
new
PdfPTable
(
1
);
detail
.
setWidthPercentage
(
100
);
...
...
@@ -1752,9 +1785,12 @@
content
.
add
(
new
Chunk
("ข้อมูลเพิ่มเติม
",
font14B
));
content
.
add
(
new
Chunk
("ให้ผู้สมัครงานกรอกเพื่อให้บริษัทฯ
รู้จักท่านดียิ่งขึ้น
รวมถึงการแสดงความสามารถอื่น
ๆ
ที่จะก่อให้เกิดประโยชน์ต่อการสมัครงานครั้งนี้
อาทิ",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
R_TOP
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
("ความสำเร็จที่ผ่านมา
หรือลักษณะงานหรือลักษณะงาน
ความรู้หรือความสามารถพิเศษที่เกี่ยวข้องกับงาน
ซึ่งท่านถนัดและสนใจมากที่สุด",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("ความสำเร็จที่ผ่านมา
หรือลักษณะงานหรือลักษณะงาน
ความรู้หรือความสามารถพิเศษที่เกี่ยวข้องกับงาน
ซึ่งท่านถนัดและสนใจมากที่สุด",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
for
(
int
num=
0;num
<
1
;
num
++
){
detail
.
addCell
(
getCellData
(
visiononjob
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
(
visiononjob
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
}
for
(
int
num=
0;num
<
3
;
num
++
){
detail
.
addCell
(
getCellData
("
",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
}
document
.
add
(
detail
);
...
...
@@ -1907,10 +1943,10 @@
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("
...", font12N, "NO
", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("ครั้ง / ปี", font12N, "NO", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("โดยไปที่ประเทศ", font12N, "NO", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("
...", font12N, "NO
", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "MIDDLE", 0, 0));
document.add(detail);
// --------------- new line -----------------
...
...
@@ -1932,7 +1968,7 @@
content.add(new Chunk(" มี",font12N));
detail.addCell(getCellData2( content, "NO", "LEFT", "MIDDLE", 1, 1) );
detail.addCell(getCellData("คดีเพ่ง / อาญา เรื่อง", font12N, "NO", "LEFT", "MIDDLE", 0, 0));
detail.addCell(getCellData("
...", font12N, "NO
", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "MIDDLE", 0, 0));
document.add(detail);
// --------------- new line -----------------
...
...
@@ -1957,7 +1993,7 @@
detail.addCell(getCellData2( content, "NO", "LEFT", "MIDDLE", 1, 1) );
detail.addCell(getCellData(policecapture, font12N, "R_BOTTOM_DOT", "LEFT", "TOP", 0, 0,true,false));
detail.addCell(getCellData("โทษที่ได้รับ", font12N, "NO", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("
...", font12N, "NO
", "CENTER", "TOP", 0, 0,true,false));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "TOP", 0, 0,true,false));
document.add(detail);
// --------------- new line -----------------
...
...
hrAppWeb.war/RECRUIT/CandidatePrint_DHAS.jsp
View file @
cefafbc7
...
...
@@ -735,22 +735,22 @@
setPaddingBottom
(
4
.
5f
);
detail
.
addCell
(
getCellData
("ผู้ผลิต
และผู้แทนจำหน่าย
เครื่องเขียน
กระดาษ
วัสดุอุปกรณ์สำนักงาน
และช่างเขียน",
font14B
,
"
NO
",
"
LEFT
",
"
TOP
",
3
,
0
));
detail
.
addCell
(
getCellData
("สำนักงานสุรวงศ์",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
เลขที่
210
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ถ.สุรวงศ์
บางรัก
กรุงเทพฯ
10500
โทร.
0-2
237-0500
โทรสาร
0-2236-970
3
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
เลขที่
202
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ถ.สุรวงศ์
บางรัก
กรุงเทพฯ
10500
โทร.
0-2
668-012
3
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("โรงงานนวนคร",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("เลขที่
101
/
27
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("นิคมอุตสาหกรรม
นวนคร
โครงการ
1
ต.คลองหนึ่ง
อ.คลองหลวง
จ.ปทุมธานี
12120
โทร.
0-2
529-4747
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
เลขที่
101
/
27
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("นิคมอุตสาหกรรม
นวนคร
โครงการ
1
ต.คลองหนึ่ง
อ.คลองหลวง
จ.ปทุมธานี
12120
โทร.
0-2
668-0123
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("โรงงานโรจนะ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
เลขที่
21
/
11
หมูที่
9
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("สวนอุตสาหกรรมโรจนะ
ต.านหาม
อ.อุทัย
จ.พระนครศรีอยุธยา
13210
โทร.
0
35-746-500-18
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
เลขที่
21
/
11
ม.
9
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("สวนอุตสาหกรรมโรจนะ
ต.านหาม
อ.อุทัย
จ.พระนครศรีอยุธยา
13210
โทร.
0
-2668-0123
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
DC2
(โรงงาน
2
เดิม)",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("เลขที่
60
/
67
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("นิคมอุตสาหกรรม
นวนคร
โครงการ
2
ต.คลองหนึ่ง
อ.คลองหลวง
จ.ปทุมธานี
12120
โทร.
0-2
529-1732
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
เลขที่
60
/
67
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("นิคมอุตสาหกรรม
นวนคร
โครงการ
2
ต.คลองหนึ่ง
อ.คลองหลวง
จ.ปทุมธานี
12120
โทร.
0-2
668-0123
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ศูนย์คลังสินค้าและบริการ
เลขที่
94
หมู่ที่
15
ต.บางพลีใหญ่
อ.บางพลี
จ.สมุทรปราการ
10540
โทร.
0-2750-1540
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
3
,
0
));
detail
.
addCell
(
getCellData
("ศูนย์คลังสินค้าและบริการ
เลขที่
94
ม.
15
ต.บางพลีใหญ่
อ.บางพลี
จ.สมุทรปราการ
10540
โทร.
0-2668-0123
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
3
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
10
.
0f
,
90
.
0f
};
...
...
@@ -769,7 +769,7 @@
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
20
.
0f
,
15
.
0f
,
15
.
0f
,
12
.
0f
,
12
.
0f
,
7
.
0f
,
5
.
0f
,
26
.
25f
};
sizeColumn =
new
float
[]{
20
.
0f
,
25
.
0f
,
15
.
0f
,
15
.
0f
,
12
.
0f
,
7
.
0f
,
5
.
0f
,
26
.
25f
};
detail =
new
PdfPTable
(
8
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
...
...
@@ -782,23 +782,18 @@
//
IMAGE
img =
Image.getInstance(getImagePath("RECRUIT_UPLOAD-dir","PICTURE/",simmcandidatewithgson.mcandidatePersonal.imgname,"DEFAULTPERSON.jpg"));
cellDetail =
new
PdfPCell
(
img
,
false
);
img
.
scaleAbsolute
(
90f
,
10
0f
);
img
.
scaleAbsolute
(
90f
,
9
0f
);
cellDetail
.
setHorizontalAlignment
(
Element
.
ALIGN_CENTER
);
cellDetail
.
setVerticalAlignment
(
Element
.
ALIGN_MIDDLE
);
cellDetail
.
setColspan
(
1
);
cellDetail
.
setRowspan
(
7
);
cellDetail
.
setRowspan
(
4
);
detail
.
addCell
(
cellDetail
);
detail
.
addCell
(
getCellData
("
1
."+
screen
.
getString
("
MJOBCODE
",
"
TDESC
"),
font14N
,
"",
"
LEFT
",
"
TOP
",
4
,
0
));
detail
.
addCell
(
getCellData
(
DFO
.
format
(
Integer
.
valueOf
(
screen
.
getString
("
SALARY_EXPECT
").
replaceAll
(",",
""))).
toString
()+"
บาท",
font14N
,
"",
"
RIGHT
",
"
TOP
",
3
,
0
));
detail
.
addCell
(
getCellData
("
",
font14N
,
"",
"
LEFT
",
"
TOP
",
4
,
0
));
detail
.
addCell
(
getCellData
("
",
font14N
,
"",
"
RIGHT
",
"
TOP
",
3
,
0
));
detail
.
addCell
(
getCellData
("ประวัติส่วนตัว",
font14N
,
"",
"
CENTER
",
"
TOP
",
7
,
0
,
false
,
true
));
setPaddingTop
(
2
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
2
.
5f
);
detail
.
addCell
(
getCellData
("ประวัติส่วนตัว",
font14B
,
"",
"
CENTER
",
"
TOP
",
7
,
0
,
false
,
true
));
String
prefix =
simmcandidatewithgson.mcandidatePersonal.prefixid;
Chunk
Chu4 =
new
Chunk
("ชื่อ
-
สกุล
(",
font12N
);
...
...
@@ -823,10 +818,19 @@
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
(
simmcandidatewithgson
.
mcandidatePersonal
.
fname
.
tha
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ชื่อกลาง",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
..........
",
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
-
",
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("นามสกุล",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmcandidatewithgson
.
mcandidatePersonal
.
lname
.
tha
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
2
,
0
));
detail
.
addCell
(
getCellData
(
simmcandidatewithgson
.
mcandidatePersonal
.
lname
.
tha
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
3
,
0
));
document
.
add
(
detail
);
sizeColumn =
new
float
[]{
20
.
0f
,
25
.
0f
,
15
.
0f
,
15
.
0f
,
12
.
0f
,
7
.
0f
,
5
.
0f
,
26
.
25f
};
detail =
new
PdfPTable
(
8
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
Chu4 =
new
Chunk
("
Name
(",
font12N
);
Chu0 =
new
Chunk
("/",
font12N
);
Chu1 =
new
Chunk
("
Mr
.",
font12N
);
...
...
@@ -848,10 +852,10 @@
content
.
add
(
Chu3
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
(
simmcandidatewithgson
.
mcandidatePersonal
.
fname
.
eng
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
M
IDDLENAME
",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
..........
",
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
S
URNAME
",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmcandidatewithgson
.
mcandidatePersonal
.
lname
.
eng
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
2
,
0
));
detail
.
addCell
(
getCellData
("
M
iddle
name
",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
-
",
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
S
urname
",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmcandidatewithgson
.
mcandidatePersonal
.
lname
.
eng
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
3
,
0
));
setPaddingTop
(
0
.
0f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
...
...
@@ -860,6 +864,17 @@
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
100
.
0f
};
detail =
new
PdfPTable
(
1
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
0
.
0f
);
setPaddingBottom
(
0
.
0f
);
detail
.
addCell
(
getCellData
("
",
font
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
20
.
0f
,
20
.
0f
,
20
.
0f
,
20
.
0f
,
20
.
0f
};
detail =
new
PdfPTable
(
5
);
detail
.
setWidthPercentage
(
100
);
...
...
@@ -1258,12 +1273,12 @@
detail.addCell(getCellData(educationbackground.get("gpaL015").toString(), font12N, "", "CENTER", "TOP", 0, 0,true,false));
// แสดงเฉพาะ จบที่สูงที่สุดก่อน
detail.addCell(getCellData("ปวช. / ปวส.", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
...
", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
...
", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
...
", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
...
", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
...
", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
...
", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("ม.6", font12N, "", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData(educationbackground.get("nameM6").toString(), font12N, "", "CENTER", "TOP", 0, 0,true,false));
...
...
@@ -1292,13 +1307,13 @@
setPaddingBottom(0.5f);
detail.addCell(getCellData("ปัจจุบัน", font14B, "NO", "LEFT", "TOP", 0, 0));
detail.addCell(getCellData("กำลังศึกษาระดับวุฒิ", font12N, "NO", "LEFT", "TOP", 0, 0));
detail.addCell(getCellData("
...", font12N, "NO
", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("สถาบัน", font12N, "NO", "LEFT", "TOP", 0, 0));
detail.addCell(getCellData("
...", font12N, "NO
", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("สาขา", font12N, "NO", "LEFT", "TOP", 0, 0));
detail.addCell(getCellData("
...", font12N, "NO
", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("ปีที่เข้า", font12N, "NO", "LEFT", "TOP", 0, 0));
detail.addCell(getCellData("
...", font12N, "NO
", "CENTER", "TOP", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "TOP", 0, 0));
setPaddingTop(0.5f);
detail.addCell(getCellData(" ", font12N, "R_BOTTOM", "CENTER", "TOP", 9, 0));
document.add(detail);
...
...
@@ -1657,7 +1672,7 @@
detail
.
addCell
(
getCellData
("บริษัท",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
companyname_job
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
2
,
0
));
detail
.
addCell
(
getCellData
("ที่อยู่",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("
...",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
4
,
0
));
detail
.
addCell
(
getCellData
("
",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
4
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
phoneJob
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("ลักษณะธุรกิจ",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
...
...
@@ -1665,11 +1680,13 @@
detail
.
addCell
(
getCellData
("ตำแหน่งเริ่มต้น",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
description
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("ตำแหน่งสุดท้าย",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("...",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("เริ่ม
"+
jobexp
.
get
("
start
"+
num
).
toString
(),
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("ถึง
"+
jobexp
.
get
("
end
"+
num
).
toString
(),
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("เริ่ม",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
start
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("ถึง",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
end
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("เงินเดือนเริ่มต้น
",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
salary
"+
num
)
+
"
บาท",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
2
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
salary
"+
num
)
+
"
บาท",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("เงินเดือนสุดท้าย
",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
endingsalary
"+
num
)
+
"
บาท",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
2
,
0
));
...
...
@@ -1693,46 +1710,61 @@
detail
.
addCell
(
getCellData
("อธิบายลักษณะงานที่เคยทำผ่านมา
/
ลักษณะงานที่ทำได้",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
,
false
,
true
));
for
(
int
num=
0;num
<
9
;
num
++
){
detail
.
addCell
(
getCellData
(
String
.
valueOf
(
num
+
1
)
+
local
,
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
(
String
.
valueOf
(
num
+
1
)
+
local
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
}
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
40
.
0f
,
20
.
0f
,
20
.
0f
,
20
.
0f
};
detail =
new
PdfPTable
(
4
);
sizeColumn =
new
float
[]{
100
.
0f
};
detail =
new
PdfPTable
(
1
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
0
.
0f
);
setPaddingBottom
(
0
.
0f
);
detail
.
addCell
(
getCellData
("
",
font
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
39
.
5f
,
0
.
5f
,
20
.
0f
,
20
.
0f
,
20
.
0f
};
detail =
new
PdfPTable
(
5
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
3
.
5f
);
detail
.
addCell
(
getCellData
("ประวัติการฝึกอบรม",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
,
false
,
true
));
detail
.
addCell
(
getCellData
("ประวัติการฝึกอบรม",
font14B
,
"
R_TLB
",
"
CENTER
",
"
MIDDLE
",
0
,
0
,
false
,
true
));
detail
.
addCell
(
getCellData
("",
font14B
,
"
R_TB
",
"
CENTER
",
"
MIDDLE
",
0
,
0
,
false
,
true
));
detail
.
addCell
(
getCellData
("สถาบันที่จัดฝึกอบรม",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
,
false
,
true
));
detail
.
addCell
(
getCellData
("ปี
พ.ศ.",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
,
false
,
true
));
detail
.
addCell
(
getCellData
("ระยะเวลา",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
,
false
,
true
));
for
(
int
num=
0;num
<
5
;
num
++
){
detail
.
addCell
(
getCellData
(
String
.
valueOf
(
num
+
1
)+".
"
+
trainingHM
.
get
("
name
"+
num
).
toString
(),
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
String
.
valueOf
(
num
+
1
)+".
"
+
trainingHM
.
get
("
name
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("",
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
trainingHM
.
get
("
by
"+
num
).
toString
(),
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
trainingHM
.
get
("
year
"+
num
).
toString
(),
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
trainingHM
.
get
("
countday
"+
num
).
toString
(),
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
}
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
40
.
0
f
,
20
.
0f
,
20
.
0f
,
20
.
0f
};
detail =
new
PdfPTable
(
4
);
sizeColumn =
new
float
[]{
39
.
5f
,
0
.
5
f
,
20
.
0f
,
20
.
0f
,
20
.
0f
};
detail =
new
PdfPTable
(
5
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("บุคคลที่อ้างอิง
(ให้ระบุบุคคลที่ไม่ใช่ญาติพี่น้อง
หรือนายจ้างเดิม
ซึ่งสามารถสอบถามและให้คำรับรองได้)",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
4
,
0
,
false
,
true
));
detail
.
addCell
(
getCellData
("ชื่อ
-
สกุล",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("บุคคลที่อ้างอิง
(ให้ระบุบุคคลที่ไม่ใช่ญาติพี่น้อง
หรือนายจ้างเดิม
ซึ่งสามารถสอบถามและให้คำรับรองได้)",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
5
,
0
,
false
,
true
));
detail
.
addCell
(
getCellData
("ชื่อ
-
สกุล",
font14B
,
"
R_TLB
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("",
font14B
,
"
R_TB
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("ความสัมพันธ์",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("อาชีพ",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("ที่ติดต่อ
/
โทรศัพท์",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
for
(
int
num=
0;num
<
4
;
num
++
){
detail
.
addCell
(
getCellData
(
String
.
valueOf
(
num
+
1
)
+
"
"
+
personreference
.
get
("
name
"+
num
).
toString
(),
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
(
String
.
valueOf
(
num
+
1
)
+
"
"
+
personreference
.
get
("
name
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("",
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
personreference
.
get
("
relations
"+
num
).
toString
(),
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
(
personreference
.
get
("
jobtitle
"+
num
).
toString
(),
font12N
,
"
R_RIGHT
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
(
personreference
.
get
("
address
"+
num
).
toString
()
+
"
/
"
+
personreference
.
get
("
phone
"+
num
).
toString
(),
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
...
...
@@ -1740,7 +1772,7 @@
document
.
add
(
detail
);
//
---------------
new
line
-----------------
String
visiononjob =
simmcandidatewithgson.mcandidateOther.visiononjob
;
String
visiononjob =
chk.chkNullString(simmcandidatewithgson.mcandidateOther.visiononjob,"
")
;
sizeColumn =
new
float
[]{
100
.
0f
};
detail =
new
PdfPTable
(
1
);
detail
.
setWidthPercentage
(
100
);
...
...
@@ -1752,10 +1784,13 @@
content =
new
Phrase
();
content
.
add
(
new
Chunk
("ข้อมูลเพิ่มเติม
",
font14B
));
content
.
add
(
new
Chunk
("ให้ผู้สมัครงานกรอกเพื่อให้บริษัทฯ
รู้จักท่านดียิ่งขึ้น
รวมถึงการแสดงความสามารถอื่น
ๆ
ที่จะก่อให้เกิดประโยชน์ต่อการสมัครงานครั้งนี้
อาทิ",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData2
(
content
,
"
R_TOP
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
("ความสำเร็จที่ผ่านมา
หรือลักษณะงานหรือลักษณะงาน
ความรู้หรือความสามารถพิเศษที่เกี่ยวข้องกับงาน
ซึ่งท่านถนัดและสนใจมากที่สุด",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
for
(
int
num=
0;num
<
1
;
num
++
){
detail
.
addCell
(
getCellData
(
visiononjob
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
(
visiononjob
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
}
for
(
int
num=
0;num
<
3
;
num
++
){
detail
.
addCell
(
getCellData
("
",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
}
document
.
add
(
detail
);
...
...
@@ -1907,10 +1942,10 @@
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("
...", font12N, "NO
", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("ครั้ง / ปี", font12N, "NO", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("โดยไปที่ประเทศ", font12N, "NO", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("
...", font12N, "NO
", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "MIDDLE", 0, 0));
document.add(detail);
// --------------- new line -----------------
...
...
@@ -1932,7 +1967,7 @@
content.add(new Chunk(" มี",font12N));
detail.addCell(getCellData2( content, "NO", "LEFT", "MIDDLE", 1, 1) );
detail.addCell(getCellData("คดีเพ่ง / อาญา เรื่อง", font12N, "NO", "LEFT", "MIDDLE", 0, 0));
detail.addCell(getCellData("
...", font12N, "NO
", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "MIDDLE", 0, 0));
document.add(detail);
// --------------- new line -----------------
...
...
@@ -1957,7 +1992,7 @@
detail.addCell(getCellData2( content, "NO", "LEFT", "MIDDLE", 1, 1) );
detail.addCell(getCellData(policecapture, font12N, "R_BOTTOM_DOT", "LEFT", "MIDDLE", 0, 0));
detail.addCell(getCellData("โทษที่ได้รับ", font12N, "NO", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("
...", font12N, "NO
", "CENTER", "MIDDLE", 0, 0));
detail.addCell(getCellData("
", font12N, "R_BOTTOM_DOT
", "CENTER", "MIDDLE", 0, 0));
document.add(detail);
// --------------- new line -----------------
...
...
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