
Here I talk about who am I and what you can expect from this course. Also pay attention, this course is not completed yet, I will add more resources and lectures over time. Don't worry It will be always with enough material for you to make something from zero to the end!
After this you will be able to:
Create a PDF file with reportlab
Set PDF title
Create a reportlab Table
Understand how to configure Table widths and heights
Apply basic styles to a Table
Structure the code for the final PDF
After this you will be able to:
Add background color to a Table cell
Center text horizontally and vertically in a Table cell
Change text color
Colors from Hexadecimal code
After this you will be able to:
Add images to PDF Table cell
Adjust image size to be proportional
Center image horizontally and vertically in a Table cell
Do a trick to put text over an image in a Table cell
After this you will be able to:
Create inner tables
Add a border below a Table cell
Select multiple Table cells
Increase Table cell text font size
After this you will be able to:
Create Paragraphs
Add style to a Paragraph
Increase font size of a Paragraph
Add space between Paragraphs
After this you will be able to:
Add a list of Paragraphs to a Table cell
Do basic Paragraph style using HTML like tags, i.e., bold, italic and underline
Change Paragraph text color with a ParagraphStyle object
Change Paragraph text color with HTML like tags
After this you will be able to:
Know the advantages of a Paragraph vs literal string in a Table cell
Load data from a txt file to a Table
After this you will be able to:
Change font name of a Paragraph using ParagraphStyle object
Load data from a csv file to a Table
Know the difference between csv and xlsx files
Alternate background color of Table rows
Palms Hotel managers liked a lot our previous job! So they asked us to make a shadow effect to a specific text!
Palms Hotel managers asked us to add a text in Arabic!!! You will learn how to register a True Type Font aka ttf!
Palms Hotel managers asked us to change the font used in two paragraphs. The new font have several ttf files, for normal, bold, italic and bold italic!! You will learn how to register a font family and take advantage of it in a Paragraph.
Here you will learn how to draw:
a rectangle;
a triangle;
a star.
For that you will use the ReportLab classes: Drawing, Polygon, Group and Rect.
Here I decided to answer some frequent asked questions, you will see how to:
Create a New Page;
Get the Page Number;
Set the Page in Landscape;
Add Outlines to your document;
Protect it with Password;
Encrypt your PDF.
In this lecture you will learn how to:
Configure Visual Studio Code for Debugging;
Basics of how Debug works;
Find specific ReportLab Code;
Use PowerShell to search for files that contains a specific string;
And the most important one! How to think.
In this lecture you will learn how to:
Refactor the existing code to extract a simple and useful interface;
Install Django;
See Django version;
Create a Django Project;
Create a Django Application (very simple "Hello World");
Create an HTML form and submit data to a Django View;
Adapt ReportLab code to run in Django;
Make Django View return a PDF document (that will be downloaded).
Here you will learn:
How to install ReportLab
Set the Document Title
Draw a string directly in the Canvas: drawString and drawCentredString
Change text fonts
Change text color
How to load a True Type Font - ttf
How to draw a line in the Canvas
Draw an Image directly on the Canvas
Here you will learn:
How to use SimpleDocTemplate
How to create a simple ReportLab Table
Set the background color of a table row
Set alternated background color
How to center the text horizontally
Change the font name and font size
Add bottom padding
Add outer border
Add Line Before and Line Above to table cells
Here you will learn:
How to structure the elements using tables inside tables
How to add images to a table cell
Align horizontally the text to center and to the left
Align vertically the text to the center
Change text font name
Change top padding and bottom padding
Here you will learn:
How to create Vertical Bar Chars
How to create Pie Charts
How to create a Line Chart
How to create a Line Chart with Markers
Add charts to ReportLab Drawings
Use ReportLab String object
Here you'll be able to download 3 example projects.
On those projects you will find "how to"'s for:
Register and use True Type Fonts
Draw lines, rectangles, circles and ellipses in the canvas
Load Images
Rotate Images
Rotate Paragraphs
Create ReportLab Tables
Draw a 3D Horizontal Line Chart
Draw a Water Mark
Add new Pages
Add Internal Links to Paragraph (anchors)
Add external Links to Paragraph (hyperlink)
Justify Paragraph text
Paragraph Styles: bold, underline, italic, strike, superscript, subscript, etc
AcroForms (Acrobat Forms): Text Fields, Choices (Drop Down Lists), Radio Buttons and Check Boxes
Append JavaScript to PDF Files
Read values from AcroForms and show a pop-up using JavaScript
Create document of size A4 in Landscape
This course is a hands on, is very practical, is the result of my previous works for clients of mine and also videos that I made for my youtube channel. I will propose several PDF documents, I will try to make them look professional and I will teach you on how to make them step by step in detail. Every PDF takes me like 2 months to prepare, to structure in a way you can digest and practice what you learned several times, be patient because I will update this course frequently!
You will learn:
How to change text font size;
Change text color;
Use True Type Fonts;
How to load images;
Create tables;
Create paragraphs;
Make watermarks;
Rotate text;
Rotate images;
Protect your PDF files with passwords;
Prevent people from printing your PDF files;
Insert radio buttons;
Insert check boxes;
Insert drop down lists;
Insert text fields;
Add javascript to your PDF documents;
Export PDF files within a Django App;
and more!
You will not only learn about ReportLab! Also you will learn how to think, how to structure your code, how make your code pretty and easy for everyone to understand your work, because at the end of the day these skills are the ones that make companies want you!
Hope you enjoy my work, I will give my best to make you a winner :)