bullet points update
This commit is contained in:
@ -67,7 +67,7 @@ const experiences = [
|
||||
company: {
|
||||
name: "Soundmouse",
|
||||
},
|
||||
},
|
||||
}
|
||||
];
|
||||
|
||||
const education = [
|
||||
@ -96,7 +96,7 @@ const education = [
|
||||
endDate: {
|
||||
year: 2012,
|
||||
},
|
||||
},
|
||||
}
|
||||
];
|
||||
|
||||
const skills = [
|
||||
@ -111,14 +111,14 @@ const skills = [
|
||||
},
|
||||
{
|
||||
name: "NodeJS",
|
||||
},
|
||||
}
|
||||
];
|
||||
|
||||
const achievements = [
|
||||
{
|
||||
issuer: "Oracle",
|
||||
name: "Oracle Certified Expert",
|
||||
},
|
||||
}
|
||||
];
|
||||
|
||||
class DocumentCreator {
|
||||
@ -135,7 +135,7 @@ class DocumentCreator {
|
||||
|
||||
for (const education of educations) {
|
||||
document.addParagraph(
|
||||
this.createInstitutionHeader(education.schoolName, `${education.startDate.year} - ${education.endDate.year}`),
|
||||
this.createInstitutionHeader(education.schoolName, `${education.startDate.year} - ${education.endDate.year}`)
|
||||
);
|
||||
document.addParagraph(this.createRoleText(`${education.fieldOfStudy} - ${education.degree}`));
|
||||
|
||||
@ -151,8 +151,8 @@ class DocumentCreator {
|
||||
document.addParagraph(
|
||||
this.createInstitutionHeader(
|
||||
position.company.name,
|
||||
this.createPositionDateText(position.startDate, position.endDate, position.isCurrent),
|
||||
),
|
||||
this.createPositionDateText(position.startDate, position.endDate, position.isCurrent)
|
||||
)
|
||||
);
|
||||
document.addParagraph(this.createRoleText(position.title));
|
||||
|
||||
@ -182,14 +182,14 @@ class DocumentCreator {
|
||||
|
||||
document.addParagraph(
|
||||
new docx.Paragraph(
|
||||
"Dr. Dean Mohamedally Director of Postgraduate Studies Department of Computer Science, University College London Malet Place, Bloomsbury, London WC1E d.mohamedally@ucl.ac.uk",
|
||||
),
|
||||
"Dr. Dean Mohamedally Director of Postgraduate Studies Department of Computer Science, University College London Malet Place, Bloomsbury, London WC1E d.mohamedally@ucl.ac.uk"
|
||||
)
|
||||
);
|
||||
document.addParagraph(new docx.Paragraph("More references upon request"));
|
||||
document.addParagraph(
|
||||
new docx.Paragraph(
|
||||
"This CV was generated in real-time based on my Linked-In profile from my personal website www.dolan.bio.",
|
||||
).center(),
|
||||
"This CV was generated in real-time based on my Linked-In profile from my personal website www.dolan.bio."
|
||||
).center()
|
||||
);
|
||||
return document;
|
||||
}
|
||||
|
@ -29,6 +29,16 @@ doc.addParagraph(subP);
|
||||
doc.addParagraph(secondSubP);
|
||||
doc.addParagraph(subSubP);
|
||||
|
||||
var bullet1 = new docx.Paragraph("Hey you").bullet();
|
||||
var bullet2 = new docx.Paragraph("What's up fam").bullet(1);
|
||||
var bullet3 = new docx.Paragraph("Hello World 2").bullet(2);
|
||||
var bullet4 = new docx.Paragraph("Yeah boi").bullet(3);
|
||||
|
||||
doc.addParagraph(bullet1);
|
||||
doc.addParagraph(bullet2);
|
||||
doc.addParagraph(bullet3);
|
||||
doc.addParagraph(bullet4);
|
||||
|
||||
var exporter = new docx.LocalPacker(doc);
|
||||
exporter.pack('My Document');
|
||||
|
||||
|
Reference in New Issue
Block a user