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
2c70a060
Commit
2c70a060
authored
Nov 30, 2020
by
Thitichaipun Wutthisak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#9569 สร้าง เอกสารสมัครงาน ของเมนู รายชื่อผู้ฝากประวัติ (คืบหน้า 60%)
parent
c73f32a8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
620 additions
and
134 deletions
+620
-134
DropResume.jsp
hrAppWeb.war/RECRUIT/DropResume.jsp
+6
-1
DropResumePrintDHAS.jsp
hrAppWeb.war/RECRUIT/DropResumePrintDHAS.jsp
+614
-133
UTBean.jar
hrAppWeb.war/WEB-INF/lib/UTBean.jar
+0
-0
No files found.
hrAppWeb.war/RECRUIT/DropResume.jsp
View file @
2c70a060
...
@@ -180,10 +180,15 @@
...
@@ -180,10 +180,15 @@
<md-tooltip
md-direction=
"bottom"
><swaplang
code=
"SW000123"
>
Delete
</swaplang></md-tooltip>
<md-tooltip
md-direction=
"bottom"
><swaplang
code=
"SW000123"
>
Delete
</swaplang></md-tooltip>
<i
class=
"fa fa-ban"
></i>
<i
class=
"fa fa-ban"
></i>
</md-button>
</md-button>
<md-button
class=
"md-raised md-icon-button"
ng-if=
"app.jobid != ''"
ng-click=
'openPrint(app.email,"<%=up.get("dbname")%>",app.jobid)'
aria-label=
"Print"
>
<
%
--
<
md-button
class=
"md-raised md-icon-button"
ng-if=
"app.jobid != ''"
ng-click=
'openPrint(app.email,"<%=up.get("dbname")%>",app.jobid)'
aria-label=
"Print"
>
<md-tooltip
md-direction=
"bottom"
><swaplang
code=
"SW013265"
>
Print
</swaplang></md-tooltip>
<i
class=
"fa fa-print"
></i>
</md-button>
--%>
<md-button
class=
"md-raised md-icon-button"
ng-click=
'openPrint(app.email,"<%=up.get("dbname")%>",app.jobid)'
aria-label=
"Print"
>
<md-tooltip
md-direction=
"bottom"
><swaplang
code=
"SW013265"
>
Print
</swaplang></md-tooltip>
<md-tooltip
md-direction=
"bottom"
><swaplang
code=
"SW013265"
>
Print
</swaplang></md-tooltip>
<i
class=
"fa fa-print"
></i>
<i
class=
"fa fa-print"
></i>
</md-button>
</md-button>
</md-card-actions>
</md-card-actions>
</md-card>
</md-card>
</div>
</div>
...
...
hrAppWeb.war/RECRUIT/DropResumePrintDHAS.jsp
View file @
2c70a060
...
@@ -112,6 +112,7 @@ Not found data
...
@@ -112,6 +112,7 @@ Not found data
}
}
//----------------------------END mprefix------------------------------------
//----------------------------END mprefix------------------------------------
DecimalFormat DFO = new DecimalFormat("#,###,###.##");
//----------------------------SET DATA Family------------------------------------
//----------------------------SET DATA Family------------------------------------
MyHashMap familybackground = new MyHashMap();
MyHashMap familybackground = new MyHashMap();
String[] masterrelations = {"01", "02", "03" ,"99"};
String[] masterrelations = {"01", "02", "03" ,"99"};
...
@@ -241,7 +242,7 @@ Not found data
...
@@ -241,7 +242,7 @@ Not found data
//----------------------------END OTHER-----------------------------------------
//----------------------------END OTHER-----------------------------------------
//----------------------------SETDATA EDUCATION------------------------------------
//----------------------------SETDATA EDUCATION------------------------------------
MyHashMap educationbackground = new MyHashMap();
MyHashMap educationbackground = new MyHashMap();
String[] masterdegree = {"
001", "006", "007", "004
", "005"};
String[] masterdegree = {"
L015", "L016", "L017", "L006
", "005"};
String degreeDesc = "";
String degreeDesc = "";
for (String degreekey : masterdegree) {
for (String degreekey : masterdegree) {
...
@@ -251,6 +252,7 @@ Not found data
...
@@ -251,6 +252,7 @@ Not found data
educationbackground.put("to" + degreekey, "");
educationbackground.put("to" + degreekey, "");
educationbackground.put("degree" + degreekey, "");
educationbackground.put("degree" + degreekey, "");
educationbackground.put("major" + degreekey, "");
educationbackground.put("major" + degreekey, "");
educationbackground.put("fac" + degreekey, "");
educationbackground.put("gpa" + degreekey, "");
educationbackground.put("gpa" + degreekey, "");
}
}
DbInquiry inqdegree = new InitialInquiry(screen.getUProfile()).getDbInquiry("mdegree");
DbInquiry inqdegree = new InitialInquiry(screen.getUProfile()).getDbInquiry("mdegree");
...
@@ -270,10 +272,15 @@ Not found data
...
@@ -270,10 +272,15 @@ Not found data
educationbackground.put("to" + education.degreetype, education.yearend);
educationbackground.put("to" + education.degreetype, education.yearend);
educationbackground.put("degree" + education.degreetype, degreeDesc);
educationbackground.put("degree" + education.degreetype, degreeDesc);
if (education.major.majorlist == null) {
if (education.major.majorlist == null) {
educationbackground.put("major" + education.degreetype,
""
);
educationbackground.put("major" + education.degreetype,
education.major.searchtext
);
} else {
} else {
educationbackground.put("major" + education.degreetype, education.major.majorlist.name.tha);
educationbackground.put("major" + education.degreetype, education.major.majorlist.name.tha);
}
}
if (education.fac.searchtext == null) {
educationbackground.put("fac" + education.degreetype, education.fac.facultylist.faculty_tha);
} else {
educationbackground.put("fac" + education.degreetype, education.fac.facultylist.faculty_tha);
}
educationbackground.put("gpa" + education.degreetype, education.gpa);
educationbackground.put("gpa" + education.degreetype, education.gpa);
}
}
...
@@ -283,6 +290,7 @@ Not found data
...
@@ -283,6 +290,7 @@ Not found data
if (!simmapplicantwithgson.mdrop_resumeContact.home.moo.equalsIgnoreCase("-")) {
if (!simmapplicantwithgson.mdrop_resumeContact.home.moo.equalsIgnoreCase("-")) {
sb.append(" หมู่ " + simmapplicantwithgson.mdrop_resumeContact.home.moo);
sb.append(" หมู่ " + simmapplicantwithgson.mdrop_resumeContact.home.moo);
}
}
sb.append("เลขที่ " + simmapplicantwithgson.mdrop_resumeContact.home.addr);
sb.append(" ต. " + simmapplicantwithgson.mdrop_resumeContact.home.district);
sb.append(" ต. " + simmapplicantwithgson.mdrop_resumeContact.home.district);
sb.append(" อ. " + simmapplicantwithgson.mdrop_resumeContact.home.zipcode.disname.tha);
sb.append(" อ. " + simmapplicantwithgson.mdrop_resumeContact.home.zipcode.disname.tha);
sb.append(" จ. " + simmapplicantwithgson.mdrop_resumeContact.home.zipcode.proname.tha);
sb.append(" จ. " + simmapplicantwithgson.mdrop_resumeContact.home.zipcode.proname.tha);
...
@@ -290,14 +298,15 @@ Not found data
...
@@ -290,14 +298,15 @@ Not found data
StringBuilder sc = new StringBuilder();
StringBuilder sc = new StringBuilder();
sc.append(simmapplicantwithgson.mdrop_resumeContact.current.addr);
sc.append(simmapplicantwithgson.mdrop_resumeContact.current.addr);
if (!simmapplicantwithgson.mdrop_resumeContact.
home
.moo.equalsIgnoreCase("-")) {
if (!simmapplicantwithgson.mdrop_resumeContact.
current
.moo.equalsIgnoreCase("-")) {
sc.append(" หมู่ " + simmapplicantwithgson.mdrop_resumeContact.
home
.moo);
sc.append(" หมู่ " + simmapplicantwithgson.mdrop_resumeContact.
current
.moo);
}
}
sc.append(" ถนน " + simmapplicantwithgson.mdrop_resumeContact.home.road);
sc.append(" เลขที่ " + simmapplicantwithgson.mdrop_resumeContact.current.addr);
sc.append(" ต. " + simmapplicantwithgson.mdrop_resumeContact.home.district);
sc.append(" ถนน " + simmapplicantwithgson.mdrop_resumeContact.current.road);
sc.append(" อ. " + simmapplicantwithgson.mdrop_resumeContact.home.zipcode.disname.tha);
sc.append(" ต. " + simmapplicantwithgson.mdrop_resumeContact.current.district);
sc.append(" จ. " + simmapplicantwithgson.mdrop_resumeContact.home.zipcode.proname.tha);
sc.append(" อ. " + simmapplicantwithgson.mdrop_resumeContact.current.zipcode.disname.tha);
sc.append(" " + simmapplicantwithgson.mdrop_resumeContact.home.zipcode.zipid);
sc.append(" จ. " + simmapplicantwithgson.mdrop_resumeContact.current.zipcode.proname.tha);
sc.append(" " + simmapplicantwithgson.mdrop_resumeContact.current.zipcode.zipid);
//----------------------------END CONTACT------------------------------------
//----------------------------END CONTACT------------------------------------
//----------------------------SETDATA JOPEXP------------------------------------
//----------------------------SETDATA JOPEXP------------------------------------
...
@@ -309,8 +318,10 @@ Not found data
...
@@ -309,8 +318,10 @@ Not found data
jobexp
.
put
("
start
"
+
jobexpkey
,
"");
jobexp
.
put
("
start
"
+
jobexpkey
,
"");
jobexp
.
put
("
end
"
+
jobexpkey
,
"");
jobexp
.
put
("
end
"
+
jobexpkey
,
"");
jobexp
.
put
("
title
"
+
jobexpkey
,
"");
jobexp
.
put
("
title
"
+
jobexpkey
,
"");
jobexp
.
put
("
natureBusiness
"
+
jobexpkey
,
"");
jobexp
.
put
("
description
"
+
jobexpkey
,
"");
jobexp
.
put
("
description
"
+
jobexpkey
,
"");
jobexp
.
put
("
salary
"
+
jobexpkey
,
"");
jobexp
.
put
("
salary
"
+
jobexpkey
,
"");
jobexp
.
put
("
endingsalary
"
+
jobexpkey
,
"");
jobexp
.
put
("
reason
"
+
jobexpkey
,
"");
jobexp
.
put
("
reason
"
+
jobexpkey
,
"");
jobexp
.
put
("
addr
"
+
jobexpkey
,
"");
jobexp
.
put
("
addr
"
+
jobexpkey
,
"");
jobexp
.
put
("
village
"
+
jobexpkey
,
"");
jobexp
.
put
("
village
"
+
jobexpkey
,
"");
...
@@ -329,8 +340,10 @@ Not found data
...
@@ -329,8 +340,10 @@ Not found data
jobexp
.
put
("
start
"
+
roundjobexp
,
new
CscCalendar
(
job
.
start
.
toString
().
substring
(
0
,
10
)).
getDDMMYYYY
());
jobexp
.
put
("
start
"
+
roundjobexp
,
new
CscCalendar
(
job
.
start
.
toString
().
substring
(
0
,
10
)).
getDDMMYYYY
());
jobexp
.
put
("
end
"
+
roundjobexp
,
new
CscCalendar
(
job
.
end
.
toString
().
substring
(
0
,
10
)).
getDDMMYYYY
());
jobexp
.
put
("
end
"
+
roundjobexp
,
new
CscCalendar
(
job
.
end
.
toString
().
substring
(
0
,
10
)).
getDDMMYYYY
());
jobexp
.
put
("
title
"
+
roundjobexp
,
job
.
title
);
jobexp
.
put
("
title
"
+
roundjobexp
,
job
.
title
);
jobexp
.
put
("
natureBusiness
"
+
roundjobexp
,
job
.
natureBusiness
);
jobexp
.
put
("
description
"
+
roundjobexp
,
job
.
description
);
jobexp
.
put
("
description
"
+
roundjobexp
,
job
.
description
);
jobexp
.
put
("
salary
"
+
roundjobexp
,
job
.
salary
);
jobexp
.
put
("
salary
"
+
roundjobexp
,
job
.
endingsalary
.
equals
("")?"
-
"
:
DFO
.
format
(
Integer
.
valueOf
(
job
.
salary
.
toString
().
replaceAll
(",",""))));
jobexp
.
put
("
endingsalary
"
+
roundjobexp
,
job
.
endingsalary
.
equals
("")?"
-
"
:
DFO
.
format
(
Integer
.
valueOf
(
job
.
endingsalary
.
toString
().
replaceAll
(",",""))));
jobexp
.
put
("
reason
"
+
roundjobexp
,
job
.
reason
);
jobexp
.
put
("
reason
"
+
roundjobexp
,
job
.
reason
);
jobexp
.
put
("
addr
"
+
roundjobexp
,
job
.
addr
);
jobexp
.
put
("
addr
"
+
roundjobexp
,
job
.
addr
);
jobexp
.
put
("
village
"
+
roundjobexp
,
job
.
village
);
jobexp
.
put
("
village
"
+
roundjobexp
,
job
.
village
);
...
@@ -413,16 +426,16 @@ Not found data
...
@@ -413,16 +426,16 @@ Not found data
DbInquiry
inqskilllevel =
new
InitialInquiry
(
screen
.
getUProfile
()).
getDbInquiry
("
mskilllevel
");
DbInquiry
inqskilllevel =
new
InitialInquiry
(
screen
.
getUProfile
()).
getDbInquiry
("
mskilllevel
");
inqskilllevel
.
refresh
();
inqskilllevel
.
refresh
();
while
(
inqskilllevel
.
next
())
{
while
(
inqskilllevel
.
next
())
{
masterskilllevel
.
put
(
inqskilllevel
.
getString
("
skilllevelid
"),
inqskilllevel
.
getString
("
tdesc
"));
masterskilllevel
.
put
(
inqskilllevel
.
getString
("
skilllevelid
"),
inqskilllevel
.
getString
("
skilllevelid
"));
}
}
DbInquiry
inqlangskill =
new
InitialInquiry
(
screen
.
getUProfile
()).
getDbInquiry
("
mlanguage
");
//
DbInquiry
inqlangskill =
new
InitialInquiry
(
screen
.
getUProfile
()).
getDbInquiry
("
mlanguage
");
for
(
Mdrop_resumeSkill
.
Langskill
langskill
:
simmapplicantwithgson
.
mdrop_resumeSkill
.
langskill
)
{
for
(
Mdrop_resumeSkill
.
Langskill
langskill
:
simmapplicantwithgson
.
mdrop_resumeSkill
.
langskill
)
{
inqlangskill
.
setFilter
("
languageid =
'"+langskill.name+"'
");
//
inqlangskill
.
setFilter
("
languageid =
'"+langskill.name+"'
");
inqlangskill
.
refresh
();
//
inqlangskill
.
refresh
();
while
(
inqlangskill
.
next
())
{
/*
while
(
inqlangskill
.
next
())
{
skillnameDesc =
inqlangskill.getString("tdesc");
skillnameDesc =
inqlangskill.getString("tdesc");
}
}
*/
hmlangskill
.
put
("
skillname
"+
langskillloop
,
skillnameDesc
);
hmlangskill
.
put
("
skillname
"+
langskillloop
,
langskill
.
langskilllist
.
name
.
tha
);
hmlangskill
.
put
("
reading
"+
langskillloop
,
masterskilllevel
.
get
(
langskill
.
skill
.
reading
));
hmlangskill
.
put
("
reading
"+
langskillloop
,
masterskilllevel
.
get
(
langskill
.
skill
.
reading
));
hmlangskill
.
put
("
write
"+
langskillloop
,
masterskilllevel
.
get
(
langskill
.
skill
.
write
));
hmlangskill
.
put
("
write
"+
langskillloop
,
masterskilllevel
.
get
(
langskill
.
skill
.
write
));
hmlangskill
.
put
("
speak
"+
langskillloop
,
masterskilllevel
.
get
(
langskill
.
skill
.
speak
));
hmlangskill
.
put
("
speak
"+
langskillloop
,
masterskilllevel
.
get
(
langskill
.
skill
.
speak
));
...
@@ -494,7 +507,7 @@ Not found data
...
@@ -494,7 +507,7 @@ Not found data
setPaddingRight
(
0
.
0f
);
setPaddingRight
(
0
.
0f
);
detail
.
addCell
(
getCellData
("
P
R-710-007
/
Revision
No
.
:
01
",
font12N
,
"
NO
",
"
RIGHT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
F
R-710-007
/
Revision
No
.
:
01
",
font12N
,
"
NO
",
"
RIGHT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
Effective
Date
:
12
/
05
/
09
",
font12N
,
"
NO
",
"
RIGHT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
Effective
Date
:
12
/
05
/
09
",
font12N
,
"
NO
",
"
RIGHT
",
"
TOP
",
0
,
0
));
setPaddingTop
(
30
.
5f
);
setPaddingTop
(
30
.
5f
);
...
@@ -551,32 +564,38 @@ Not found data
...
@@ -551,32 +564,38 @@ Not found data
document
.
add
(
detail
);
document
.
add
(
detail
);
//
---------------
new
line
-----------------
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
2
0
.
0f
,
20
.
0f
,
20
.
0f
,
20
.
0f
,
20
.
0
f
};
sizeColumn =
new
float
[]{
2
5
.
0f
,
30
.
0f
,
15
.
0f
,
15
.
0f
,
20
.
0f
,
26
.
25
f
};
detail =
new
PdfPTable
(
5
);
detail =
new
PdfPTable
(
6
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("ตำแหน่งที่สมัคร",
font14
N
,
"",
"
CENTER
",
"
MIDDLE
",
2
,
0
));
detail
.
addCell
(
getCellData
("ตำแหน่งที่สมัคร",
font14
B
,
"",
"
CENTER
",
"
MIDDLE
",
3
,
0
));
detail
.
addCell
(
getCellData
("เงินเดือนที่ต้องการ",
font14
N
,
"",
"
CENTER
",
"
TOP
",
2
,
0
));
detail
.
addCell
(
getCellData
("เงินเดือนที่ต้องการ",
font14
B
,
"",
"
CENTER
",
"
TOP
",
2
,
0
));
//
IMAGE
//
IMAGE
img =
Image.getInstance(getImagePath("RECRUIT_UPLOAD-dir","PICTURE/",simmapplicantwithgson.mdrop_resumePersonal.imgname,"DEFAULTPERSON.jpg"));
img =
Image.getInstance(getImagePath("RECRUIT_UPLOAD-dir","PICTURE/",simmapplicantwithgson.mdrop_resumePersonal.imgname,"DEFAULTPERSON.jpg"));
cellDetail =
new
PdfPCell
(
img
,
false
);
cellDetail =
new
PdfPCell
(
img
,
false
);
img
.
scaleAbsolute
(
90f
,
100f
);
img
.
scaleAbsolute
(
90f
,
100f
);
cellDetail
.
setHorizontalAlignment
(
Element
.
ALIGN_CENTER
);
cellDetail
.
setHorizontalAlignment
(
Element
.
ALIGN_CENTER
);
cellDetail
.
setVerticalAlignment
(
Element
.
ALIGN_MIDDLE
);
cellDetail
.
setVerticalAlignment
(
Element
.
ALIGN_MIDDLE
);
cellDetail
.
setColspan
(
3
);
cellDetail
.
setColspan
(
1
);
cellDetail
.
setRowspan
(
7
);
cellDetail
.
setRowspan
(
7
);
detail
.
addCell
(
cellDetail
);
detail
.
addCell
(
cellDetail
);
detail
.
addCell
(
getCellData
("
1
.",
font14N
,
"",
"
LEFT
",
"
TOP
",
2
,
0
));
detail
.
addCell
(
getCellData
("
1
."+
screen
.
getString
("
MJOBCODE
",
"
TDESC
"),
font14N
,
"",
"
LEFT
",
"
TOP
",
3
,
0
));
detail
.
addCell
(
getCellData
(
DFO
.
format
(
Integer
.
valueOf
(
screen
.
getString
("
SALARY_EXPECT
"))).
toString
()+"
บาท",
font14N
,
"",
"
RIGHT
",
"
TOP
",
2
,
0
));
detail
.
addCell
(
getCellData
("
2
.",
font14N
,
"",
"
LEFT
",
"
TOP
",
3
,
0
));
detail
.
addCell
(
getCellData
("บาท",
font14N
,
"",
"
RIGHT
",
"
TOP
",
2
,
0
));
detail
.
addCell
(
getCellData
("บาท",
font14N
,
"",
"
RIGHT
",
"
TOP
",
2
,
0
));
detail
.
addCell
(
getCellData
("ประวัติส่วนตัว",
font14N
,
"",
"
CENTER
",
"
TOP
",
4
,
0
));
detail
.
addCell
(
getCellData
("ประวัติส่วนตัว",
font14N
,
"",
"
CENTER
",
"
TOP
",
5
,
0
));
String
prefix =
simmapplicantwithgson.mdrop_resumePersonal.prefixid;
setPaddingTop
(
2
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
2
.
5f
);
String
prefix =
simmapplicantwithgson.mdrop_resumePersonal.prefixid;
Chunk
Chu4 =
new
Chunk
("ชื่อ
-
สกุล
(",
font12N
);
Chunk
Chu4 =
new
Chunk
("ชื่อ
-
สกุล
(",
font12N
);
Chunk
Chu0 =
new
Chunk
("/",
font12N
);
Chunk
Chu0 =
new
Chunk
("/",
font12N
);
Chunk
Chu1 =
new
Chunk
("นาย",
font12N
);
Chunk
Chu1 =
new
Chunk
("นาย",
font12N
);
...
@@ -584,11 +603,9 @@ Not found data
...
@@ -584,11 +603,9 @@ Not found data
Chunk
Chu3 =
new
Chunk
("น.ส.)",
font12N
);
Chunk
Chu3 =
new
Chunk
("น.ส.)",
font12N
);
if
(
prefix
.
equalsIgnoreCase
("
01
")){
if
(
prefix
.
equalsIgnoreCase
("
01
")){
Chu1
.
setUnderline
(
0
.
1f
,
-2f
);
Chu1
.
setUnderline
(
0
.
1f
,
-2f
);
}
}
else
if
(
prefix
.
equalsIgnoreCase
("
02
")){
else
if
(
prefix
.
equalsIgnoreCase
("
02
")){
Chu2
.
setUnderline
(
0
.
1f
,
-2f
);
Chu2
.
setUnderline
(
0
.
1f
,
-2f
);
}
}
else
if
(
prefix
.
equalsIgnoreCase
("
03
")){
else
if
(
prefix
.
equalsIgnoreCase
("
03
")){
Chu3
.
setUnderline
(
0
.
1f
,
-2f
);
Chu3
.
setUnderline
(
0
.
1f
,
-2f
);
}
}
content =
new
Phrase
();
content =
new
Phrase
();
...
@@ -599,10 +616,9 @@ Not found data
...
@@ -599,10 +616,9 @@ Not found data
content
.
add
(
Chu0
);
content
.
add
(
Chu0
);
content
.
add
(
Chu3
);
content
.
add
(
Chu3
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
fname
.
tha
,
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
fname
.
tha
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("นามสกุล",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("นามสกุล",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
lname
.
tha
,
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
lname
.
tha
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
2
,
0
));
Chu4 =
new
Chunk
("
Name
(",
font12N
);
Chu4 =
new
Chunk
("
Name
(",
font12N
);
Chu0 =
new
Chunk
("/",
font12N
);
Chu0 =
new
Chunk
("/",
font12N
);
...
@@ -611,11 +627,9 @@ Not found data
...
@@ -611,11 +627,9 @@ Not found data
Chu3 =
new
Chunk
("
Ms
.)",
font12N
);
Chu3 =
new
Chunk
("
Ms
.)",
font12N
);
if
(
prefix
.
equalsIgnoreCase
("
01
")){
if
(
prefix
.
equalsIgnoreCase
("
01
")){
Chu1
.
setUnderline
(
0
.
1f
,
-2f
);
Chu1
.
setUnderline
(
0
.
1f
,
-2f
);
}
}
else
if
(
prefix
.
equalsIgnoreCase
("
02
")){
else
if
(
prefix
.
equalsIgnoreCase
("
02
")){
Chu2
.
setUnderline
(
0
.
1f
,
-2f
);
Chu2
.
setUnderline
(
0
.
1f
,
-2f
);
}
}
else
if
(
prefix
.
equalsIgnoreCase
("
03
")){
else
if
(
prefix
.
equalsIgnoreCase
("
03
")){
Chu3
.
setUnderline
(
0
.
1f
,
-2f
);
Chu3
.
setUnderline
(
0
.
1f
,
-2f
);
}
}
content =
new
Phrase
();
content =
new
Phrase
();
...
@@ -625,11 +639,15 @@ Not found data
...
@@ -625,11 +639,15 @@ Not found data
content
.
add
(
Chu2
);
content
.
add
(
Chu2
);
content
.
add
(
Chu0
);
content
.
add
(
Chu0
);
content
.
add
(
Chu3
);
content
.
add
(
Chu3
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
fname
.
eng
,
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
fname
.
eng
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
SURNAME
",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
SURNAME
",
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
lname
.
eng
,
font14N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
lname
.
eng
,
font14N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
2
,
0
));
setPaddingTop
(
0
.
0f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
0
.
0f
);
detail
.
addCell
(
getCellData
("
",
font14N
,
"
NO
",
"
CENTER
",
"
TOP
",
5
,
0
));
document
.
add
(
detail
);
document
.
add
(
detail
);
//
---------------
new
line
-----------------
//
---------------
new
line
-----------------
...
@@ -641,11 +659,11 @@ Not found data
...
@@ -641,11 +659,11 @@ Not found data
setPaddingLeft
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
3
.
5f
);
setPaddingBottom
(
3
.
5f
);
detail
.
addCell
(
getCellData
("วัน
/เดือน/ปีที่เกิด",
font14N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("วัน
/
เดือน
/
ปีที่เกิด",
font14B
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("อายุ",
font14
N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("อายุ",
font14
B
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("สัญชาติ",
font14
N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("สัญชาติ",
font14
B
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ส่วนสูง",
font14
N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ส่วนสูง",
font14
B
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("น้ำหนัก",
font14
N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("น้ำหนัก",
font14
B
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
new
CscCalendar
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
birthdate
.
substring
(
0
,
10
)).
getThaiDDMMYYYY
().
replaceAll
("
-
","/"),
font14N
,
"",
"
CENTER
",
"
TOP
",
1
,
1
,
true
,
false
));
detail
.
addCell
(
getCellData
(
new
CscCalendar
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
birthdate
.
substring
(
0
,
10
)).
getThaiDDMMYYYY
().
replaceAll
("
-
","/"),
font14N
,
"",
"
CENTER
",
"
TOP
",
1
,
1
,
true
,
false
));
detail
.
addCell
(
getCellData
(
age_memployee
.
substring
(
0
,
2
),
font14N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
age_memployee
.
substring
(
0
,
2
),
font14N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
...
@@ -665,13 +683,14 @@ Not found data
...
@@ -665,13 +683,14 @@ Not found data
setPaddingRight
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
0
.
5f
);
setPaddingBottom
(
0
.
5f
);
detail
.
addCell
(
getCellData
("บัตรประจำตัวประชาชนเลขที่",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("บัตรประจำตัวประชาชนเลขที่",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"...",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
identification
.
idenNumber
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("วันที่ออกบัตร",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("วันที่ออกบัตร",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"../../..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
new
CscCalendar
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
identification
.
pinstart
.
substring
(
0
,
10
)).
getDDMMYYYY
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("วันที่หมดอายุ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("วันที่หมดอายุ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"../../..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
new
CscCalendar
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
identification
.
pinend
.
substring
(
0
,
10
)).
getDDMMYYYY
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
document
.
add
(
detail
);
document
.
add
(
detail
);
//
---------------
new
line
-----------------
//
---------------
new
line
-----------------
String
military_status =
simmapplicantwithgson.mdrop_resumePersonal.military.status;
sizeColumn =
new
float
[]{
13
.
0f
,
5
.
0f
,
17
.
0f
,
2
.
0f
,
10
.
0f
,
2
.
0f
,
12
.
0f
,
2
.
0f
,
10
.
0f
};
sizeColumn =
new
float
[]{
13
.
0f
,
5
.
0f
,
17
.
0f
,
2
.
0f
,
10
.
0f
,
2
.
0f
,
12
.
0f
,
2
.
0f
,
10
.
0f
};
detail =
new
PdfPTable
(
9
);
detail =
new
PdfPTable
(
9
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidthPercentage
(
100
);
...
@@ -681,16 +700,17 @@ Not found data
...
@@ -681,16 +700,17 @@ Not found data
setPaddingRight
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
0
.
5f
);
setPaddingBottom
(
0
.
5f
);
detail
.
addCell
(
getCellData
("เลขประจำตัวผู้เสียภาษี",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("เลขประจำตัวผู้เสียภาษี",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
...",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("(เฉพาะเพศชาย)
สถานภาพทางทหาร",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("(เฉพาะเพศชาย)
สถานภาพทางทหาร",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"[]",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
military_status
.
equalsIgnoreCase
("
1
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ผ่านการเกณฑ์ทหาร",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ผ่านการเกณฑ์ทหาร",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"[]",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
military_status
.
equalsIgnoreCase
("
2
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ยังไม่ผ่านการเกณฑ์ทหาร",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ยังไม่ผ่านการเกณฑ์ทหาร",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"[]",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
military_status
.
equalsIgnoreCase
("
3
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ได้รับการยกเว้น
/
รด.",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ได้รับการยกเว้น
/
รด.",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
document
.
add
(
detail
);
document
.
add
(
detail
);
//
---------------
new
line
-----------------
//
---------------
new
line
-----------------
String
sso_hospital =
simmapplicantwithgson.mdrop_resumePersonal.sso.hospital;
sizeColumn =
new
float
[]{
20
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
};
sizeColumn =
new
float
[]{
20
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
};
detail =
new
PdfPTable
(
6
);
detail =
new
PdfPTable
(
6
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidthPercentage
(
100
);
...
@@ -700,11 +720,11 @@ Not found data
...
@@ -700,11 +720,11 @@ Not found data
setPaddingRight
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
0
.
5f
);
setPaddingBottom
(
0
.
5f
);
detail
.
addCell
(
getCellData
("ชื่อโรงพยาบาลที่ระบุในบัตรรับรองสิทธิ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ชื่อโรงพยาบาลที่ระบุในบัตรรับรองสิทธิ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"...",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
sso_hospital
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("วันที่ออกบัตร",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("วันที่ออกบัตร",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"../../..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
new
CscCalendar
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
sso
.
pinstart
.
substring
(
0
,
10
)).
getThaiDDMMYYYY
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("วันที่หมดอายุ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("วันที่หมดอายุ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"../../..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
new
CscCalendar
(
simmapplicantwithgson
.
mdrop_resumePersonal
.
sso
.
pinend
.
substring
(
0
,
10
)).
getThaiDDMMYYYY
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
6
,
0
));
detail
.
addCell
(
getCellData
("
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
6
,
0
));
setPaddingBottom
(
0
.
5f
);
setPaddingBottom
(
0
.
5f
);
document
.
add
(
detail
);
document
.
add
(
detail
);
...
@@ -720,7 +740,7 @@ Not found data
...
@@ -720,7 +740,7 @@ Not found data
detail
.
addCell
(
getCellData
("การติดต่อกับผู้สมัครงาน",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("การติดต่อกับผู้สมัครงาน",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
document
.
add
(
detail
);
//
---------------
new
line
-----------------
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
20
.
0f
,
10
.
0f
,
10
.
0f
,
1
0
.
0f
};
sizeColumn =
new
float
[]{
15
.
0f
,
35
.
0f
,
10
.
0f
,
4
0
.
0f
};
detail =
new
PdfPTable
(
4
);
detail =
new
PdfPTable
(
4
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
detail
.
setWidths
(
sizeColumn
);
...
@@ -729,15 +749,16 @@ Not found data
...
@@ -729,15 +749,16 @@ Not found data
setPaddingRight
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
0
.
5f
);
setPaddingBottom
(
0
.
5f
);
detail
.
addCell
(
getCellData
("ที่อยู่ปัจจุบัน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("ที่อยู่ปัจจุบัน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
sb
.
toString
(),
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
3
,
0
));
detail
.
addCell
(
getCellData
(
sb
.
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
3
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์บ้าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์บ้าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
"...",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumeContact
.
current
.
number
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์มือถือ",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์มือถือ",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
"...",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumeContact
.
phone
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("ที่อยู่ตามทะเบียนบ้าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("ที่อยู่ตามทะเบียนบ้าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
sc
.
toString
(),
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
3
,
0
));
detail
.
addCell
(
getCellData
(
sc
.
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
3
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("...",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
3
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumeContact
.
home
.
number
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
3
,
0
));
detail
.
addCell
(
getCellData
("
",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
4
,
0
));
setPaddingBottom
(
0
.
5f
);
setPaddingBottom
(
0
.
5f
);
document
.
add
(
detail
);
document
.
add
(
detail
);
...
@@ -753,7 +774,8 @@ Not found data
...
@@ -753,7 +774,8 @@ Not found data
detail
.
addCell
(
getCellData
("บุคคลที่บริษัทฯ
สามารถติดต่อ
กรณีฉุกเฉิน",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("บุคคลที่บริษัทฯ
สามารถติดต่อ
กรณีฉุกเฉิน",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
document
.
add
(
detail
);
//
---------------
new
line
-----------------
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
20
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
};
String
emergencyContact =
simmapplicantwithgson.mdrop_resumeContact.emergencyContact.address;
sizeColumn =
new
float
[]{
10
.
0f
,
20
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
};
detail =
new
PdfPTable
(
8
);
detail =
new
PdfPTable
(
8
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
detail
.
setWidths
(
sizeColumn
);
...
@@ -762,26 +784,26 @@ Not found data
...
@@ -762,26 +784,26 @@ Not found data
setPaddingRight
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
0
.
5f
);
setPaddingBottom
(
0
.
5f
);
detail
.
addCell
(
getCellData
("
1
.ชื่อ
-
สกุล",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
1
.ชื่อ
-
สกุล",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"...",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumeContact
.
emergencyContact
.
name
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ความสัมพันธ์",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ความสัมพันธ์",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"../../..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumeContact
.
emergencyContact
.
relations
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("อาชีพ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("อาชีพ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("../../..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("../../..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"../../..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumeContact
.
emergencyContact
.
phone
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ที่อยู่/ติดต่อ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ที่อยู่/ติดต่อ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"../../..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
7
,
0
));
detail
.
addCell
(
getCellData
(
simmapplicantwithgson
.
mdrop_resumeContact
.
emergencyContact
.
address
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
7
,
0
));
detail
.
addCell
(
getCellData
("
2
.ชื่อ
-
สกุล",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("
2
.ชื่อ
-
สกุล",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("...",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("...",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ความสัมพันธ์",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ความสัมพันธ์",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("../../..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("../../..",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("อาชีพ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("อาชีพ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("../../..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("../../..",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("../../..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("../../..",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ที่อยู่/ติดต่อ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ที่อยู่/ติดต่อ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("../../..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
7
,
0
));
detail
.
addCell
(
getCellData
("../../..",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
7
,
0
));
setPaddingBottom
(
0
.
5f
);
setPaddingBottom
(
0
.
5f
);
document
.
add
(
detail
);
document
.
add
(
detail
);
...
@@ -827,18 +849,18 @@ Not found data
...
@@ -827,18 +849,18 @@ Not found data
detail
.
addCell
(
getCellData
("โทรศัพท์",
font12B
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์",
font12B
,
"",
"
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
(
familybackground
.
get
("
prefix01
").
toString
()+"
"+
familybackground
.
get
("
fname01
").
toString
()
+
"
"
+
familybackground
.
get
("
lname01
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
familybackground
.
get
("
age01
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
familybackground
.
get
("
occupation01
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
familybackground
.
get
("
workplace01
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
familybackground
.
get
("
phone01
").
toString
()
,
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
(
familybackground
.
get
("
prefix02
").
toString
()+"
"+
familybackground
.
get
("
fname02
").
toString
()
+
"
"
+
familybackground
.
get
("
lname02
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
familybackground
.
get
("
age02
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
familybackground
.
get
("
occupation02
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
familybackground
.
get
("
workplace02
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
familybackground
.
get
("
phone02
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
for
(
int
num=
1;num<6;num++){
for
(
int
num=
1;num<6;num++){
detail
.
addCell
(
getCellData
("[]พี่
[]น้อง",
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("[]พี่
[]น้อง",
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
...
@@ -896,7 +918,7 @@ Not found data
...
@@ -896,7 +918,7 @@ Not found data
document
.
add
(
detail
);
document
.
add
(
detail
);
//
---------------
new
line
-----------------
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
20
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
};
sizeColumn =
new
float
[]{
10
.
0f
,
20
.
0f
,
5
.
0f
,
3
.
0f
,
5
.
0f
,
15
.
0f
};
detail =
new
PdfPTable
(
6
);
detail =
new
PdfPTable
(
6
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
detail
.
setWidths
(
sizeColumn
);
...
@@ -905,15 +927,15 @@ Not found data
...
@@ -905,15 +927,15 @@ Not found data
setPaddingRight
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
0
.
5f
);
setPaddingBottom
(
0
.
5f
);
detail
.
addCell
(
getCellData
("ชื่อสามี
/
ภรรยา",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ชื่อสามี
/
ภรรยา",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"...",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
familybackground
.
get
("
prefix03
").
toString
()+"
"+
familybackground
.
get
("
fname03
").
toString
()
+
"
"
+
familybackground
.
get
("
lname03
").
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("อายุ",
font12N
,
"
NO
",
"
LEF
T
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("อายุ",
font12N
,
"
NO
",
"
RIGH
T
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
familybackground
.
get
("
age03
").
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ปี
อาชีพ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ปี
อาชีพ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"../../..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
familybackground
.
get
("
occupation03
").
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("สถานที่ทำงาน
/
ที่ติดต่อ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("สถานที่ทำงาน
/
ที่ติดต่อ",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"...",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
3
,
0
));
detail
.
addCell
(
getCellData
(
familybackground
.
get
("
workplace03
").
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
3
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
familybackground
.
get
("
phone03
").
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
TOP
",
0
,
0
));
setPaddingBottom
(
0
.
5f
);
setPaddingBottom
(
0
.
5f
);
document
.
add
(
detail
);
document
.
add
(
detail
);
//
---------------
new
line
-----------------
//
---------------
new
line
-----------------
...
@@ -943,10 +965,11 @@ Not found data
...
@@ -943,10 +965,11 @@ Not found data
setPaddingLeft
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("ประวัติการศึกษา",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("
",
font12N
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("ประวัติการศึกษา",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
document
.
add
(
detail
);
//
---------------
new
line
-----------------
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
10
.
0f
,
15
.
0f
,
10
.
0f
,
10
.
0f
,
15
.
0f
,
10
.
0f
,
10
.
0f
};
sizeColumn =
new
float
[]{
8
.
0f
,
15
.
0f
,
8
.
0f
,
8
.
0f
,
15
.
0f
,
20
.
0f
,
5
.
0f
};
detail =
new
PdfPTable
(
7
);
detail =
new
PdfPTable
(
7
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
detail
.
setWidths
(
sizeColumn
);
...
@@ -971,19 +994,19 @@ Not found data
...
@@ -971,19 +994,19 @@ Not found data
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
(
educationbackground
.
get
("
nameL016
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
educationbackground
.
get
("
fromL016
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
educationbackground
.
get
("
toL016
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
educationbackground
.
get
("
facL016
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
educationbackground
.
get
("
majorL016
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
educationbackground
.
get
("
gpaL016
").
toString
()
,
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
(
educationbackground
.
get
("
nameL015
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
educationbackground
.
get
("
fromL015
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
educationbackground
.
get
("
toL015
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
educationbackground
.
get
("
facL015
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
educationbackground
.
get
("
majorL015
").
toString
()
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
"..."
,
font12N
,
"",
"
CENTER
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
educationbackground
.
get
("
gpaL015
").
toString
()
,
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
));
...
@@ -1156,6 +1179,11 @@ Not found data
...
@@ -1156,6 +1179,11 @@ Not found data
document
.
add
(
detail
);
document
.
add
(
detail
);
//
---------------
new
line
-----------------
//
---------------
new
line
-----------------
Boolean
car_driving =
simmapplicantwithgson.mdrop_resumeSkill.vehicle.car.driving;
Boolean
car_own =
simmapplicantwithgson.mdrop_resumeSkill.vehicle.car.own;
Boolean
motorcycle_driving =
simmapplicantwithgson.mdrop_resumeSkill.vehicle.motorcycle.driving;
Boolean
motorcycle_own =
simmapplicantwithgson.mdrop_resumeSkill.vehicle.motorcycle.own;
sizeColumn =
new
float
[]{
20
.
0f
,
20
.
0f
,
20
.
0f
,
20
.
0f
,
20
.
0f
};
sizeColumn =
new
float
[]{
20
.
0f
,
20
.
0f
,
20
.
0f
,
20
.
0f
,
20
.
0f
};
detail =
new
PdfPTable
(
5
);
detail =
new
PdfPTable
(
5
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidthPercentage
(
100
);
...
@@ -1165,52 +1193,51 @@ Not found data
...
@@ -1165,52 +1193,51 @@ Not found data
setPaddingRight
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("รถยนต์",
font14B
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("รถยนต์",
font14B
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
Chu0 =
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu0 =
new
Chunk
(
car_driving
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu1 =
new
Chunk
("
ขับได้",
font12N
);
Chu1 =
new
Chunk
("
ขับได้",
font12N
);
content =
new
Phrase
();
content =
new
Phrase
();
content
.
add
(
Chu0
);
content
.
add
(
Chu0
);
content
.
add
(
Chu1
);
content
.
add
(
Chu1
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
Chu0 =
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu0 =
new
Chunk
(
!
car_driving
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu1 =
new
Chunk
("
ขับไม่ได้",
font12N
);
Chu1 =
new
Chunk
("
ขับไม่ได้",
font12N
);
content =
new
Phrase
();
content =
new
Phrase
();
content
.
add
(
Chu0
);
content
.
add
(
Chu0
);
content
.
add
(
Chu1
);
content
.
add
(
Chu1
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
Chu0 =
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu0 =
new
Chunk
(
car_own
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu1 =
new
Chunk
("
มีรถ",
font12N
);
Chu1 =
new
Chunk
("
มีรถ",
font12N
);
content =
new
Phrase
();
content =
new
Phrase
();
content
.
add
(
Chu0
);
content
.
add
(
Chu0
);
content
.
add
(
Chu1
);
content
.
add
(
Chu1
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
Chu0 =
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu0 =
new
Chunk
(
!
car_own
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu1 =
new
Chunk
("
ไม่มีรถ",
font12N
);
Chu1 =
new
Chunk
("
ไม่มีรถ",
font12N
);
content =
new
Phrase
();
content =
new
Phrase
();
content
.
add
(
Chu0
);
content
.
add
(
Chu0
);
content
.
add
(
Chu1
);
content
.
add
(
Chu1
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
document
.
add
(
detail
);
detail
.
addCell
(
getCellData
("รถจักรยานยนต์",
font14B
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
("รถจักรยานยนต์",
font14B
,
"
NO
",
"
LEFT
",
"
TOP
",
0
,
0
));
Chu0 =
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu0 =
new
Chunk
(
motorcycle_driving
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu1 =
new
Chunk
("
ขับได้",
font12N
);
Chu1 =
new
Chunk
("
ขับได้",
font12N
);
content =
new
Phrase
();
content =
new
Phrase
();
content
.
add
(
Chu0
);
content
.
add
(
Chu0
);
content
.
add
(
Chu1
);
content
.
add
(
Chu1
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
Chu0 =
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu0 =
new
Chunk
(
!
motorcycle_driving
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu1 =
new
Chunk
("
ขับไม่ได้",
font12N
);
Chu1 =
new
Chunk
("
ขับไม่ได้",
font12N
);
content =
new
Phrase
();
content =
new
Phrase
();
content
.
add
(
Chu0
);
content
.
add
(
Chu0
);
content
.
add
(
Chu1
);
content
.
add
(
Chu1
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
Chu0 =
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu0 =
new
Chunk
(
motorcycle_own
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu1 =
new
Chunk
("
มีรถ",
font12N
);
Chu1 =
new
Chunk
("
มีรถ",
font12N
);
content =
new
Phrase
();
content =
new
Phrase
();
content
.
add
(
Chu0
);
content
.
add
(
Chu0
);
content
.
add
(
Chu1
);
content
.
add
(
Chu1
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
Chu0 =
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu0 =
new
Chunk
(
!
motorcycle_own
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
);
Chu1 =
new
Chunk
("
ไม่มีรถ",
font12N
);
Chu1 =
new
Chunk
("
ไม่มีรถ",
font12N
);
content =
new
Phrase
();
content =
new
Phrase
();
content
.
add
(
Chu0
);
content
.
add
(
Chu0
);
...
@@ -1220,7 +1247,7 @@ Not found data
...
@@ -1220,7 +1247,7 @@ Not found data
//
---------------
new
line
-----------------
//
---------------
new
line
-----------------
String
[]
level =
{"
ดีมาก
",
"
ดี
",
"
ปานกลาง
",
"
พอใช้"};
String
[]
level =
{"
ดีมาก
",
"
ดี
",
"
ปานกลาง
",
"
พอใช้"};
String
[]
langSkill =
{"ภาษาอังกฤษ",
"ภาษาจีนกลาง",
"...",
"..."
};
String
[]
langSkill =
{"ภาษาอังกฤษ",
"ภาษาจีนกลาง",
String
.
valueOf
(
hmlangskill
.
get
("
skillname2
")),
String
.
valueOf
(
hmlangskill
.
get
("
skillname3
"))
};
sizeColumn =
new
float
[]{
15
.
0f
,
30
.
0f
,
30
.
0f
,
30
.
0f
};
sizeColumn =
new
float
[]{
15
.
0f
,
30
.
0f
,
30
.
0f
,
30
.
0f
};
detail =
new
PdfPTable
(
4
);
detail =
new
PdfPTable
(
4
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidthPercentage
(
100
);
...
@@ -1238,35 +1265,35 @@ Not found data
...
@@ -1238,35 +1265,35 @@ Not found data
detail
.
addCell
(
getCellData
(
langSkill
[
num
],
font14B
,
"",
"
LEFT
",
"
TOP
",
0
,
0
));
detail
.
addCell
(
getCellData
(
langSkill
[
num
],
font14B
,
"",
"
LEFT
",
"
TOP
",
0
,
0
));
content =
new
Phrase
();
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
hmlangskill
.
get
("
speak
"+
num
).
toString
().
equalsIgnoreCase
("
1
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
level
[
0
],
font12N
));
content
.
add
(
new
Chunk
(
level
[
0
],
font12N
));
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
hmlangskill
.
get
("
speak
"+
num
).
toString
().
equalsIgnoreCase
("
2
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
level
[
1
],
font12N
));
content
.
add
(
new
Chunk
(
level
[
1
],
font12N
));
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
hmlangskill
.
get
("
speak
"+
num
).
toString
().
equalsIgnoreCase
("
3
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
level
[
2
],
font12N
));
content
.
add
(
new
Chunk
(
level
[
2
],
font12N
));
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
hmlangskill
.
get
("
speak
"+
num
).
toString
().
equalsIgnoreCase
("
4
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
level
[
3
],
font12N
));
content
.
add
(
new
Chunk
(
level
[
3
],
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData2
(
content
,
"",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
hmlangskill
.
get
("
reading
"+
num
).
toString
().
equalsIgnoreCase
("
1
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
level
[
0
],
font12N
));
content
.
add
(
new
Chunk
(
level
[
0
],
font12N
));
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
hmlangskill
.
get
("
reading
"+
num
).
toString
().
equalsIgnoreCase
("
2
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
level
[
1
],
font12N
));
content
.
add
(
new
Chunk
(
level
[
1
],
font12N
));
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
hmlangskill
.
get
("
reading
"+
num
).
toString
().
equalsIgnoreCase
("
3
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
level
[
2
],
font12N
));
content
.
add
(
new
Chunk
(
level
[
2
],
font12N
));
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
hmlangskill
.
get
("
reading
"+
num
).
toString
().
equalsIgnoreCase
("
4
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
level
[
3
],
font12N
));
content
.
add
(
new
Chunk
(
level
[
3
],
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData2
(
content
,
"",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
hmlangskill
.
get
("
write
"+
num
).
toString
().
equalsIgnoreCase
("
1
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
level
[
0
],
font12N
));
content
.
add
(
new
Chunk
(
level
[
0
],
font12N
));
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
hmlangskill
.
get
("
write
"+
num
).
toString
().
equalsIgnoreCase
("
2
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
level
[
1
],
font12N
));
content
.
add
(
new
Chunk
(
level
[
1
],
font12N
));
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
hmlangskill
.
get
("
write
"+
num
).
toString
().
equalsIgnoreCase
("
3
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
level
[
2
],
font12N
));
content
.
add
(
new
Chunk
(
level
[
2
],
font12N
));
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
hmlangskill
.
get
("
write
"+
num
).
toString
().
equalsIgnoreCase
("
4
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
(
level
[
3
],
font12N
));
content
.
add
(
new
Chunk
(
level
[
3
],
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData2
(
content
,
"",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
}
}
...
@@ -1274,22 +1301,39 @@ Not found data
...
@@ -1274,22 +1301,39 @@ Not found data
//
PAGE
3
//
PAGE
3
document
.
newPage
();
document
.
newPage
();
//
---------------
new
line
-----------------
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
100
.
0f
};
sizeColumn =
new
float
[]{
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
10
.
0f
,
1
0
.
0f
};
detail =
new
PdfPTable
(
1
);
detail =
new
PdfPTable
(
8
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
2
.
5f
);
setPaddingTop
(
2
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
5
.
5f
);
setPaddingBottom
(
5
.
5f
);
detail
.
addCell
(
getCellData
("ประวัติการทำงาน
(ให้ระบุที่ทำงานแห่งแรกถึงที่ทำงานปัจจุบันตามลำดับ)",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("ประวัติการทำงาน
(ให้ระบุที่ทำงานแห่งแรกถึงที่ทำงานปัจจุบันตามลำดับ)",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
8
,
0
));
setPaddingTop
(
0
.
5f
);
setPaddingTop
(
0
.
5f
);
setPaddingBottom
(
2
.
5f
);
setPaddingBottom
(
2
.
5f
);
for
(
int
num=
0;num
<
3
;
num
++
){
for
(
int
num=
0;num
<
3
;
num
++
){
detail
.
addCell
(
getCellData
("บริษัท",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("บริษัท",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("โทรศัพท์",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
companyname_job
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("เริ่ม",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("ที่อยู่",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("สาเหตุที่ลาออก",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("...",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
5
,
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
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
natureBusiness
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
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
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
salary
"+
num
)
+
"
บาท",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
2
,
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
));
detail
.
addCell
(
getCellData
("สาเหตุที่ลาออก",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
(
jobexp
.
get
("
reason
"+
num
).
toString
(),
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
7
,
0
));
}
}
document
.
add
(
detail
);
document
.
add
(
detail
);
...
@@ -1365,8 +1409,439 @@ Not found data
...
@@ -1365,8 +1409,439 @@ Not found data
content
.
add
(
new
Chunk
("ให้ผู้สมัครงานกรอกเพื่อให้บริษัทฯ
รู้จักท่านดียิ่งขึ้น
รวมถึงการแสดงความสามารถอื่น
ๆ
ที่จะก่อให้เกิดประโยชน์ต่อการสมัครงานครั้งนี้
อาทิ",
font12N
));
content
.
add
(
new
Chunk
("ให้ผู้สมัครงานกรอกเพื่อให้บริษัทฯ
รู้จักท่านดียิ่งขึ้น
รวมถึงการแสดงความสามารถอื่น
ๆ
ที่จะก่อให้เกิดประโยชน์ต่อการสมัครงานครั้งนี้
อาทิ",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
("ความสำเร็จที่ผ่านมา
หรือลักษณะงานหรือลักษณะงาน
ความรู้หรือความสามารถพิเศษที่เกี่ยวข้องกับงาน
ซึ่งท่านถนัดและสนใจมากที่สุด",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("ความสำเร็จที่ผ่านมา
หรือลักษณะงานหรือลักษณะงาน
ความรู้หรือความสามารถพิเศษที่เกี่ยวข้องกับงาน
ซึ่งท่านถนัดและสนใจมากที่สุด",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
for
(
int
num=
0;num
<
6
;
num
++
){
detail
.
addCell
(
getCellData
("...........",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
}
document
.
add
(
detail
);
document
.
add
(
detail
);
//
PAGE
4
document
.
newPage
();
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
100
.
0f
};
detail =
new
PdfPTable
(
1
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("ประวัติทั่วไป",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
20
.
0f
,
5
.
0f
,
5
.
0f
,
7
.
0f
,
5
.
0f
,
10
.
0f
,
15
.
0f
};
detail =
new
PdfPTable
(
7
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("การเป็นพนักงานของบริษัทฯนี้ท่าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ไม่เคย",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
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
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
("...",
font12N
));
content
.
add
(
new
Chunk
("เดือนปี",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
("การรู้จักพนักงานของบริษัทฯนี้ท่าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ไม่รู้",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
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
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("...",
font12N
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("การเป็นสมาชิกของชมรม
/
สหภาพ
/
สโมสรท่าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ไม่เคย",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
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
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("...",
font12N
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------shiftwork
Boolean
shiftwork =
simmapplicantwithgson.mdrop_resumeOther.shiftwork;
Boolean
overtime_status =
simmapplicantwithgson.mdrop_resumeOther.overtime.status;
String
overtime =
simmapplicantwithgson.mdrop_resumeOther.overtime.explain;
//
Boolean
ordination =
simmapplicantwithgson.mdrop_resumeOther.overtime.ordination;
sizeColumn =
new
float
[]{
10
.
0f
,
5
.
0f
,
5
.
0f
,
15
.
0f
,
5
.
0f
,
5
.
0f
,
5
.
0f
,
10
.
0f
};
detail =
new
PdfPTable
(
8
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("การทำงานเป็นกะ
ท่าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
shiftwork
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ทำได้",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(!
shiftwork
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ทำไม่ได้",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
("การทำงานล่วงเวลาลักษณะงานท่าน",
font12N
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
overtime_status
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ทำได้",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(!
overtime_status
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
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
(
overtime
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("การอุปสมบท
ท่าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(!
shiftwork
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ยัง",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
shiftwork
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
อุปสมบทแล้ว",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
6
,
1
)
);
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
17
.
0f
,
5
.
0f
,
5
.
0f
,
4
.
0f
,
5
.
0f
,
5
.
0f
,
10
.
0f
,
12
.
5f
};
detail =
new
PdfPTable
(
8
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("การไปประกอบพิธีฮัจย์ในต่างประเทศ
ท่าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ไม่ไป",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
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
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("โดยไปที่ประเทศ",
font12N
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("...",
font12N
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
35
.
0f
,
8
.
0f
,
8
.
0f
,
15
.
0f
,
30
.
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
("การถูกฟ้องร้อง
/
อยู่ในระหว่างพิจารณาคดีของศาล
ท่าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ไม่มี",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
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
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
15
.
0f
,
8
.
0f
,
8
.
0f
,
20
.
0f
,
10
.
0f
,
30
.
0f
};
detail =
new
PdfPTable
(
6
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("ต้องโทษคดีอาญา
ท่าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ไม่เคย",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
เคย
คดี",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
("...",
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
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
Boolean
drinkalcohol =
simmapplicantwithgson.mdrop_resumeOther.drinkalcohol;
Boolean
smoking =
simmapplicantwithgson.mdrop_resumeOther.smoking.status;
sizeColumn =
new
float
[]{
15
.
0f
,
8
.
0f
,
8
.
0f
,
20
.
0f
,
10
.
0f
,
30
.
0f
};
detail =
new
PdfPTable
(
6
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("การดื่มสุรา
ท่าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(!
drinkalcohol
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ไม่ดื่ม",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
drinkalcohol
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ดื่ม",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
("การสูบบุหรี่
ท่าน",
font12N
,
"
NO
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(!
smoking
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ไม่สูบ",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
smoking
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
สูบ",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
document
.
add
(
detail
);
//
---------------
new
line
-----------------
Boolean
health_status =
simmapplicantwithgson.mdrop_resumeOther.health.status;
String
health =
simmapplicantwithgson.mdrop_resumeOther.health.explain;
sizeColumn =
new
float
[]{
15
.
0f
,
8
.
0f
,
8
.
0f
,
20
.
0f
,
10
.
0f
,
30
.
0f
};
detail =
new
PdfPTable
(
6
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("โรคประจำตัว
ท่าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(!
health_status
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ไม่มี",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
health_status
?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
มี
โรค",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
(
health
,
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
3
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
20
.
0f
,
8
.
0f
,
14
.
0f
,
14
.
0f
,
20
.
0f
,
10
.
0f
,
10
.
0f
};
detail =
new
PdfPTable
(
7
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("ขณะนี้ท่านตั้งครรภ์อยู่หรือไม่",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ไม่ใช่",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ใช่
อายุครรภ์",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
("...",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("เดือน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
3
,
0
));
detail
.
addCell
(
getCellData
("การเจ็บป่วยหนัก
/
อุบัติเหตุ
ท่าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ไม่เคย",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
เคย
โรค
/
อุบัติเหตุ",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
("...",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
2
,
0
));
detail
.
addCell
(
getCellData
("เมื่อปี
พ.ศ.",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
detail
.
addCell
(
getCellData
("...",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
35
.
0f
,
10
.
0f
,
60
.
0f
};
detail =
new
PdfPTable
(
3
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("การค้ำประกันการทำงาน
(บุคคล
และ/หรือเงินสด)",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ไม่ได้",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ได้",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
25
.
0f
,
20
.
0f
,
15
.
0f
,
15
.
0f
,
30
.
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
("ท่าตั้งใจจะทำงานกับบริษัทฯที่
",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
สำนักงานสุรวงศ์",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
โรงงาน
1
",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
โรงงาน
2
",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
content =
new
Phrase
();
content
.
add
(
new
Chunk
(
personal_status
.
equalsIgnoreCase
("
S
")?
AwesomeIcons
.
ICON_CHECK:AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
));
content
.
add
(
new
Chunk
("
ศูนย์คลังสินค้าและบริการ",
font12N
));
detail
.
addCell
(
getCellData2
(
content
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
1
,
1
)
);
detail
.
addCell
(
getCellData
("กรณีบริษัทฯ
ตกลงรับท่านเข้าทำงาน
ท่านพร้อมที่จะเริ่มงานได้ภายใน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
2
,
0
));
detail
.
addCell
(
getCellData
("...",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("วัน
/
เดือน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
2
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
100
.
0f
};
detail =
new
PdfPTable
(
1
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("
",
font12N
,
"
R_TOP
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("
ข้าพเจ้าขอรับรองว่าข้อความและรายละเอียดต่าง
ๆ
ที่ได้ให้ไว้ข้างต้นนี้เป็นความจริงทุกประการ
และข้าพเจ้าขอยืนยันว่าข้าพเจ้ายินดีให้ทางบริษัทฯ
ตรวจ",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("สอบข้อความต่าง
ๆ
ได้
และถ้าหากตรวจสอบพบว่าข้อความใดเป็นเท็จก็ให้ทางบริษัทฯ
ถือเป็นสาเหตุการบอกยกเลิกการว่าจ้างข้าพเจ้าได้ทันทีโดยไม่ต้องจ่ายค่าชดเชย",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("ใด
ๆ
ทั้งสิ้น
รวมถึงในกรณีที่ข้าพเจ้าได้สร้างสรรค์งานอันมีลิขสิทธ์ประเภทใด
ๆ
ขึ้นในฐานะลูกจ้างประเภททดลองงานก็ดี
และ
/
หรือในฐานะพนักงาน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("ประจำซึ่งได้รับการบรรจุแล้วก็ดี
ให้ถือว่าลิขสิทธ์ในงานที่ได้สร้างสรรค์ขึ้นทั้งหมดเป็นของบริษัทฯ
ซึ่งเป็นนายจ้างทั้งสิ้น
ทั้งนี้ไม่ว่าข้าพเจ้าจะพ้นสภาพการเป็น",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("ลูกจ้างประเภททดลองงาน
หรือพนักงานประจำของบริษัทฯ
ไปแล้วหรือไม่ก็ตาม",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
50
.
0f
,
50
.
0f
};
detail =
new
PdfPTable
(
2
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("ลงชื่อ",
font12N
,
"
NO
",
"
RIGHT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("....",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
50
.
0f
,
50
.
0f
};
detail =
new
PdfPTable
(
2
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("ลงชื่อ",
font12N
,
"
NO
",
"
RIGHT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("....",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
5
.
0f
,
5
.
0f
,
6
.
0f
,
15
.
0f
,
6
.
0f
,
8
.
0f
,
12
.
0f
,
40
.
0f
,
6
.
0f
};
detail =
new
PdfPTable
(
9
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
1
.
5f
);
detail
.
addCell
(
getCellData
("วันที่",
font12N
,
"
NO
",
"
LEFT
",
"
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
,
"
R_BOTTOM_DOT
",
"
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
",
"
RIGHT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("",
font12N
,
"
R_BOTTOM_DOT
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
(")",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("
",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
9
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
100
.
0f
};
detail =
new
PdfPTable
(
1
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
6
.
5f
);
detail
.
addCell
(
getCellData
("สำหรับเจ้าหน้าที่เท่านั้น",
font14B
,
"",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
5
.
0f
,
6
.
0f
,
6
.
0f
,
6
.
0f
,
75
.
0f
};
detail =
new
PdfPTable
(
5
);
detail
.
setWidthPercentage
(
100
);
detail
.
setWidths
(
sizeColumn
);
setPaddingTop
(
3
.
5f
);
setPaddingLeft
(
3
.
5f
);
setPaddingRight
(
3
.
5f
);
setPaddingBottom
(
1
.
5f
);
detail
.
addCell
(
getCellData
(
AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("รูปถ่าย",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("
",
font12N
,
"
R_BOTTOM_DOT
",
"
CENTER
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("ใบ",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
2
,
0
));
detail
.
addCell
(
getCellData
(
AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("สำเนาบัตรประชน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
4
,
0
));
detail
.
addCell
(
getCellData
(
AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("สำเนาทะเบียนบ้าน",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
4
,
0
));
detail
.
addCell
(
getCellData
(
AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("สำเนาหลักฐานการศึกษา",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
4
,
0
));
detail
.
addCell
(
getCellData
(
AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("สำเนาหลักฐานทางราชการทหาร",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
4
,
0
));
detail
.
addCell
(
getCellData
(
AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("สำเนาใบผ่านงาน
(ถ้ามี)",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
4
,
0
));
detail
.
addCell
(
getCellData
(
AwesomeIcons
.
ICON_CHECK_EMPTY
,
fontAwesome
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
detail
.
addCell
(
getCellData
("เอกสารอื่น
ๆ
ประกอบ
(ถ้ามี)",
font12N
,
"
NO
",
"
LEFT
",
"
MIDDLE
",
3
,
0
));
detail
.
addCell
(
getCellData
("
",
font12N
,
"
R_BOTTOM_DOT
",
"
LEFT
",
"
MIDDLE
",
0
,
0
));
document
.
add
(
detail
);
/*
//
---------------
new
line
-----------------
/*
//
---------------
new
line
-----------------
sizeColumn =
new
float
[]{
44
.
0f
,
35
.
0f
,
21
.
0f
};
sizeColumn =
new
float
[]{
44
.
0f
,
35
.
0f
,
21
.
0f
};
...
@@ -3153,7 +3628,9 @@ Not found data
...
@@ -3153,7 +3628,9 @@ Not found data
PdfPCell
cellDetail =
new
PdfPCell
(
new
Phrase
(
text
,
font
));
PdfPCell
cellDetail =
new
PdfPCell
(
new
Phrase
(
text
,
font
));
cellDetail
.
setNoWrap
(
false
);
cellDetail
.
setNoWrap
(
false
);
//
cellDetail
.
setNoWrap
(
true
);
//
cellDetail
.
setNoWrap
(
true
);
LineDash
solid =
new
SolidLine
();
LineDash
dotted =
new
DottedLine
();
LineDash
dashed =
new
DashedLine
();
if
(
horalign
.
equalsIgnoreCase
("
LEFT
"))
{
if
(
horalign
.
equalsIgnoreCase
("
LEFT
"))
{
cellDetail
.
setHorizontalAlignment
(
Element
.
ALIGN_LEFT
);
cellDetail
.
setHorizontalAlignment
(
Element
.
ALIGN_LEFT
);
}
else
if
(
horalign
.
equalsIgnoreCase
("
CENTER
"))
{
}
else
if
(
horalign
.
equalsIgnoreCase
("
CENTER
"))
{
...
@@ -3234,6 +3711,10 @@ Not found data
...
@@ -3234,6 +3711,10 @@ Not found data
else if(noborder.equalsIgnoreCase("R_LEFT")){
else if(noborder.equalsIgnoreCase("R_LEFT")){
cellDetail.setBorder(Rectangle.LEFT);
cellDetail.setBorder(Rectangle.LEFT);
}
}
else if(noborder.equalsIgnoreCase("R_BOTTOM_DOT")){
cellDetail.setBorder(PdfPCell.NO_BORDER);
cellDetail.setCellEvent(new CustomBorder(null, null, null, dotted));
}
else{
else{
}
}
...
...
hrAppWeb.war/WEB-INF/lib/UTBean.jar
View file @
2c70a060
No preview for this file type
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