Digital Documentation using LibreOffice Writer (Advanced)
Class 10 | CBSE IT (Code 402) | Part B – Unit 1 | Session 2026–27
Introduction
LibreOffice Writer is a free, open-source word processing application that is part of the LibreOffice suite. In Part B – Unit 1 (Digital Documentation using LibreOffice Writer – Advanced), you will learn advanced features similar to MS Word but in a free and accessible platform. This includes styles, templates, mail merge, table of contents, track changes, macros, and advanced formatting tools.
These skills are essential for creating professional documents, project reports, certificates, and assignments using free software—especially useful for schools with limited budgets or for students who prefer open-source tools.
💡 Note: LibreOffice Writer is completely free to download and use on Windows, macOS, and Linux. Download from: www.libreoffice.org
1. Getting Started with LibreOffice Writer
What is LibreOffice Writer?
LibreOffice Writer is a powerful word processor that allows you to create, edit, format, and print text documents. It is similar to MS Word but is free, open-source, and compatible with multiple file formats (including .docx, .doc, .odt, .pdf, .rtf).
Key Features of LibreOffice Writer:
Free and Open-Source – No cost, no license fees.
Cross-Platform – Works on Windows, macOS, Linux.
File Compatibility – Opens and saves MS Word (.docx, .doc), PDF, HTML, and more.
Advanced Formatting – Styles, templates, tables of contents, indexes.
Mail Merge – Create bulk personalized documents.
Track Changes – Collaborative editing with revision tracking.
Export to PDF – Direct PDF export with customizable options.
Extensions – Add extra features through the extension repository.
Privacy-Focused – No cloud dependency; all processing is local.
LibreOffice Writer Interface:
The Writer interface consists of:
Menu Bar – File, Edit, View, Insert, Format, Styles, Table, Tools, Window, Help.
Standard Toolbar – New, Open, Save, Print, Cut, Copy, Paste, Undo, Redo.
Formatting Toolbar – Font, size, bold, italic, underline, alignment, bullets, numbering.
Ruler – Adjust margins, indents, and tab stops.
Document Area – Main workspace for typing and editing.
Sidebar (optional) – Access to Properties, Styles, Gallery, Navigator, Pages.
Status Bar – Page number, word count, language, zoom level.
Opening LibreOffice Writer:
Windows: Start Menu → LibreOffice → LibreOffice Writer.
macOS: Applications → LibreOffice → Writer.
Linux: Applications → Office → LibreOffice Writer.
Keyboard Shortcut: If pinned, use custom shortcut or launch from terminal (
libreoffice --writer).
Creating a New Document:
Method 1: File → New → Text Document (or press Ctrl+N).
Method 2: Click the New icon on the Standard Toolbar.
Method 3: From the LibreOffice Start Center, click Writer Document.
Saving Documents:
Save: File → Save (or Ctrl+S).
Save As: File → Save As (or F12).
Default Format: .odt (OpenDocument Text).
Save as MS Word: Choose "Word 2007–365 (.docx)" in "Save as type."
Save as PDF: File → Export As → Export as PDF (or Ctrl+Shift+E).
📌 Tip: Always save your work frequently. LibreOffice has auto-recovery, but manual saves are safer.
2. Styles in LibreOffice Writer
What are Styles?
Styles are predefined sets of formatting attributes (font, size, color, spacing, alignment, etc.) that you can apply to text, paragraphs, pages, or frames. Using styles ensures consistency, efficiency, and professional formatting throughout your document.
Types of Styles in Writer:
1. Paragraph Styles
Apply to entire paragraphs.
Control: Font, size, alignment, indentation, line spacing, borders, shading, bullets/numbering.
Examples: Default Paragraph Style, Heading 1, Heading 2, Text Body, Title, Subtitle.
2. Character Styles
Apply to selected text within a paragraph.
Control: Font type, size, color, bold, italic, underline, effects.
Examples: Emphasis, Strong Emphasis, Source Text, Quotation.
3. Page Styles
Apply to entire pages.
Control: Page size, margins, headers, footers, background, borders, columns.
Examples: Default Page Style, First Page, Right Page, Left Page, Envelope.
4. Frame Styles
Apply to frames (text boxes, images with text wrap).
Control: Border, background, padding, text wrap, positioning.
Examples: Frame, Watermark, Graphics.
5. List Styles
Control appearance of bulleted or numbered lists.
Define bullet symbols, numbering format, indentation levels.
Examples: List 1–5, Numbering 1–5.
Accessing and Managing Styles:
Method 1: Styles Sidebar
Press F11 or go to Styles → Manage Styles (or click the Styles icon in the Sidebar).
The Styles deck opens with five categories (Paragraph, Character, Frame, Page, List).
Double-click a style to apply it to selected text or the current paragraph.
Method 2: Styles Menu
Go to Format → Styles or use the Styles menu.
Choose the style category and select a style.
Method 3: Apply Styles via Toolbar
Some styles (like Heading 1, Heading 2) appear in the Formatting Toolbar dropdown.
Applying Styles:
Select the text or place the cursor in the paragraph.
Open the Styles deck (F11).
Double-click the desired style (e.g., Heading 1, Text Body).
The formatting is applied instantly.
Modifying Styles:
Open the Styles deck (F11).
Right-click the style you want to modify.
Select Modify.
Change formatting options (font, size, spacing, etc.).
Click OK.
All text using that style updates automatically.
Creating a New Style:
Format a paragraph or text with your desired settings.
Open the Styles deck (F11).
Click the New Style from Selection icon (first icon at the top of the Styles deck).
Name your style (e.g., "My Custom Heading").
Click OK.
Your new style appears in the list and can be applied anytime.
Benefits of Using Styles:
Consistency – Uniform formatting across the document.
Time-Saving – Apply complex formatting with one click.
Easy Updates – Change a style once; all instances update automatically.
Navigation – Use Navigator to jump between headings.
Table of Contents – Automatically generate from heading styles.
Professional Look – Documents appear polished and well-organized.
🎨 Exam Tip: Understand the difference between Paragraph Styles (entire paragraph) and Character Styles (selected text only).
3. Templates in LibreOffice Writer
What is a Template?
A Template is a pre-designed document that serves as a starting point for creating new documents. Templates include pre-set formatting, layouts, styles, headers, footers, and sometimes content, saving you time and effort.
Examples of Templates:
Resumes/CVs – Professional layouts for job applications.
Letters – Formal, informal, business letter formats.
Reports – School project reports, business reports.
Certificates – Award, participation, completion certificates.
Brochures and Flyers – Promotional materials for events.
Calendars, Invoices, Agendas, Memos – Ready-to-use formats.
Benefits of Using Templates:
Time-Saving – No need to design from scratch.
Professional Design – Created by experts; looks polished.
Consistency – Ensures uniform formatting across documents.
Customizable – Edit text, images, colors to match your needs.
Reusable – Use the same template for multiple documents.
Using Built-in Templates:
Method 1: From Start Center
Open LibreOffice.
In the Start Center, click Templates (or press Ctrl+Shift+N).
Browse categories (Business, Personal, Education, etc.).
Select a template to preview.
Click Open to create a new document based on that template.
Edit and save as a new document.
Method 2: From Writer
Open LibreOffice Writer.
Go to File → New → Templates (or Ctrl+Shift+N).
Browse and select a template.
Click Open.
Customize and save.
Downloading More Templates:
Visit the official template repository: templates.libreoffice.org
Download templates in .ott (Writer Template) format.
Install: File → Templates → Import Template → Select downloaded file.
Creating Your Own Template:
Step 1: Design the Document
Open LibreOffice Writer.
Create a document with your desired layout, styles, headers, footers, and content.
Remove any specific text you don't want to reuse (keep placeholders like [Your Name], [Date]).
Step 2: Save as Template
Go to File → Templates → Save as Template (or Shift+Ctrl+S).
In the dialog box:
Name: Enter a name (e.g., "School_Project_Report").
Category: Choose existing (e.g., "My Templates") or create new.
Default Template (optional): Check if you want this as the default for new documents.
Click Save.
Step 3: Use Your Template
Go to File → New → Templates (or Ctrl+Shift+N).
Select your template from the category.
Click Open.
Edit and save as a regular document.
Setting a Default Template:
Go to File → Templates → Manage Templates (or Ctrl+Shift+N).
Navigate to your template's category.
Right-click the template.
Select Set as Default Template.
Now, every time you create a new document (Ctrl+N), it will use this template.
Resetting Default Template:
Go to File → Templates → Manage Templates.
Right-click any template.
Select Reset Default Template → Choose "Text Document" (LibreOffice's standard blank document).
📄 Pro Tip: Create templates for frequently used documents (lab reports, assignment submissions, letters) to save time throughout the year.
4. Mail Merge in LibreOffice Writer
What is Mail Merge?
Mail Merge is a powerful feature that allows you to create multiple personalized documents (letters, labels, envelopes, emails) by combining a main document (template) with a data source (list of names, addresses, or other details).
When to Use Mail Merge?
Sending personalized letters to many recipients (e.g., invitation letters, circulars).
Creating certificates with different names for multiple students.
Printing address labels or envelopes for a mailing list.
Sending bulk emails with personalized greetings.
Generating mark sheets, fee receipts, or ID cards for many people.
Key Components of Mail Merge:
1. Main Document
The template that contains the fixed content (same for all recipients).
Includes merge fields (placeholders) for variable data (e.g., «First_Name», «Address»).
Example: A certificate template with "This is to certify that «First_Name» «Last_Name» has completed..."
2. Data Source
A file (usually a spreadsheet like LibreOffice Calc, CSV, or database) containing recipient information.
Each column represents a field (e.g., First_Name, Last_Name, City, Class).
Each row represents a record (one recipient).
Example:
3. Merge Fields
Placeholders in the main document that pull data from the data source.
Appear as «Field_Name» (e.g., «First_Name», «City»).
Writer replaces these fields with actual data during the merge.
Types of Mail Merge Output:
Letters – Personalized form letters for each recipient.
Envelopes – Addressed envelopes for mailing.
Labels – Address labels for packages or files.
Emails – Personalized email messages (requires email client setup).
Step-by-Step Procedure for Mail Merge:
Step 1: Prepare the Data Source
Open LibreOffice Calc (spreadsheet application).
Create a table with column headers (e.g., First_Name, Last_Name, Class, Address, City).
Enter recipient data in rows below the headers.
Save the file (e.g., "Student_List.ods" or "Student_List.csv").
Close Calc.
Step 2: Create the Main Document
Open LibreOffice Writer.
Create or open your template document (e.g., certificate, letter).
Write the fixed content (e.g., letter body, certificate text).
Leave placeholders where personalized data will go.
Step 3: Start Mail Merge Wizard
Go to Tools → Mail Merge Wizard (or use the Mail Merge toolbar if visible).
The Mail Merge Wizard dialog opens with 6 steps.
Step 4: Select Document Type
Choose: Letter (most common), Email, Fax, or Document.
Click Next.
Step 5: Select Starting Document
Choose: Use current document (if you already have the template open).
Or: Select a template or existing document.
Click Next.
Step 6: Insert Address Block
Choose: This document shall contain an address block (for letters/envelopes).
Or: No address block (for certificates or other documents).
If using address block:
Click Select Address List → Add → Browse and select your Calc/CSV file.
Match fields (e.g., First_Name → First Name, Last_Name → Last Name).
Click OK.
Click Next.
Step 7: Create Salutation (Optional)
Choose: Personalized salutation (e.g., "Dear Mr. Kumar,").
Or: No salutation.
Click Next.
Step 8: Adjust Document Layout
Preview how the merged document will look.
Use arrow buttons (◀ ▶) to cycle through recipient records.
Check that all fields display correctly.
Click Next.
Step 9: Edit Individual Documents (Optional)
Choose: Edit individual document to create a new file with all merged documents for review.
Or: Print directly or Save as separate documents.
Click Next.
Step 10: Save, Print, or Send
Save: Save the merged document(s) for later use.
Print: Send directly to the printer.
Send as Email: If using email merge (requires email client configuration).
Click Finish.
Alternative Method: Mail Merge Toolbar
Go to View → Toolbars → Mail Merge to show the toolbar.
Click Data Source → Select your Calc/CSV file.
Click Insert Field → Choose merge fields to place in the document.
Click View Merged Data to preview.
Click Merge to Document, Merge to Printer, or Merge to Email.
Example: Creating Certificates for Students
Scenario: You need to create participation certificates for 50 students.
Steps:
Data Source: Calc file with columns: First_Name, Last_Name, Class, School, Date.
Main Document: Certificate template with text:
"This is to certify that «First_Name» «Last_Name» of Class «Class» from «School» has participated in the event held on «Date»."Mail Merge: Follow the Mail Merge Wizard steps above to merge and print 50 unique certificates.
✉️ Exam Tip: Mail merge is a frequently asked practical and theory question. Practice creating a simple mail merge with 3–5 records using Calc as the data source.
Common Mail Merge Errors and Solutions:
⚠️ Important: Always save your main document and data source before starting mail merge.
5. Table of Contents (ToC)
What is a Table of Contents?
A Table of Contents (ToC) is an organized list of headings and subheadings in your document, showing their page numbers. It helps readers navigate long documents like project reports, theses, or manuals.
Prerequisites for Creating a ToC:
Apply Heading Styles (Heading 1, Heading 2, Heading 3, etc.) to all headings in your document.
Ensure page numbers are inserted (Insert → Page Number or Header/Footer).
Steps to Insert a Table of Contents:
Step 1: Apply Heading Styles
Select each heading in your document.
Open the Styles deck (F11).
Double-click the appropriate heading style (Heading 1 for main chapters, Heading 2 for sections, etc.).
Step 2: Place Cursor for ToC
Position the cursor where you want the ToC to appear (usually at the beginning, after the title page).
Step 3: Insert Table of Contents
Go to Insert → Table of Contents and Index → Table of Contents, Index or Bibliography.
In the dialog box:
Title: Enter a title (e.g., "Table of Contents").
Protected against manual changes: Check this to prevent accidental editing.
Evaluate up to level: Choose how many heading levels to include (e.g., 3 for Heading 1, 2, 3).
Customize appearance (fonts, tabs, alignment) if needed.
Click OK.
Step 4: Update Table of Contents
If you add, remove, or modify headings:
Right-click anywhere in the ToC.
Select Update Index.
The ToC refreshes with new headings and page numbers.
Customizing the ToC:
Change Appearance: Right-click ToC → Edit Index → Modify styles, fonts, tabs.
Add Hyperlinks: In the ToC dialog, check "Create from outline" and enable hyperlinks.
Exclude Levels: Adjust "Evaluate up to level" to show only certain heading levels.
📑 Tip: Always use heading styles—manual formatting won't appear in the ToC.
6. Index and Bibliography
Index
What is an Index?
An Index is an alphabetical list of topics with page numbers, usually at the end of a book or report.
How to Create an Index:
Step 1: Mark Index Entries
Select a word or phrase you want to index.
Go to Insert → Table of Contents and Index → Entry.
In the dialog:
Main Entry: The primary topic (auto-filled from selection).
1st Level, 2nd Level: For subentries (optional).
Cross-reference: Link to another entry (optional).
Click Insert.
Repeat for all terms you want to index.
Step 2: Insert the Index
Place the cursor where you want the index (usually at the end of the document).
Go to Insert → Table of Contents and Index → Table of Contents, Index or Bibliography.
In the dialog:
Select Index tab.
Choose formatting options (columns, sorting, style).
Click OK.
Step 3: Update Index
If you add or remove entries: Right-click the index → Update Index.
Bibliography
What is a Bibliography?
A Bibliography is a list of sources (books, articles, websites) cited in your document.
How to Create a Bibliography:
Step 1: Insert Bibliography Entries
Place the cursor where you want to cite a source.
Go to Insert → Table of Contents and Index → Bibliography Entry.
In the dialog:
Select a source from the database (or add new via Tools → Bibliography Database).
Choose formatting style (author/year, number, etc.).
Click Insert.
Step 2: Manage Bibliography Database
Go to Tools → Bibliography Database.
Add new sources with details (author, title, year, publisher, URL).
Edit or delete existing entries.
Close the database.
Step 3: Insert Bibliography List
Place the cursor where you want the bibliography (usually at the end).
Go to Insert → Table of Contents and Index → Bibliography.
Choose formatting options (sorting, style).
Click OK.
📚 Useful for: Project reports, research papers, and assignments requiring proper referencing.
7. Track Changes and Comments
Track Changes
What is Track Changes?
Track Changes is a feature that records all edits (additions, deletions, formatting changes) made to a document. It's useful for collaboration, reviewing, and proofreading.
How to Turn On Track Changes:
Go to Edit → Track Changes → Record (or press Ctrl+Shift+R).
All subsequent edits are highlighted:
Additions: Underlined in color.
Deletions: Strikethrough in color.
Formatting changes: Noted in the margin or with colored text.
Viewing Changes:
Go to Edit → Track Changes → Show to toggle visibility.
Use Edit → Track Changes → Manage to see a list of all changes with author names and timestamps.
Accept or Reject Changes:
Go to Edit → Track Changes → Manage.
In the dialog, review each change.
Click Accept or Reject for individual changes.
Or use Accept All / Reject All buttons.
Navigate Between Changes:
Use Edit → Track Changes → Next Change or Previous Change to move through edits.
Comments
What are Comments?
Comments are notes or suggestions added to specific parts of a document without changing the content. They're useful for feedback, questions, or explanations.
How to Add a Comment:
Select the text or place the cursor.
Go to Insert → Comment (or press Ctrl+Alt+C).
Type your comment in the comment box that appears in the margin.
The comment is linked to the selected text with a colored highlight.
Edit or Delete Comments:
Right-click a comment → Edit Comment or Delete Comment.
To delete all: Edit → Track Changes → Delete All Comments.
Reply to Comments:
Click inside a comment box and type to add a reply (creates a threaded conversation).
📝 Use Case: Teachers can use Track Changes and Comments to review student assignments and provide feedback.
8. Advanced Formatting Tools
8.1 Headers, Footers, and Page Numbers
Headers and Footers
Header: Text or graphics that appear at the top of every page.
Footer: Text or graphics that appear at the bottom of every page.
Common uses: Document title, chapter name, logo, date, page numbers.
How to Add/Edit Headers and Footers:
Go to Insert → Header and Footer → Header (or Footer).
Choose the page style (usually "Default Page Style").
Type your content (e.g., "Class 10 IT Project Report").
Use the Header and Footer toolbar for options:
Page Number, Date, Time, Fields.
Different on First Page: Check to exclude header/footer from the first page.
Click outside the header/footer area to return to the document.
Page Numbers
Automatically number all pages in your document.
How to Insert Page Numbers:
Go to Insert → Page Number.
Choose position (header or footer).
Select alignment (left, center, right).
To format (e.g., start from a specific number):
Right-click the page number → Fields → Page Number.
Or: Insert → Field → Page Number → Customize.
Advanced Page Numbering:
Different First Page: Insert → Header/Footer → Enable "Different on First Page."
Restart Numbering: Place cursor → Insert → Section → Set page number in section options.
📄 Exam Tip: Know how to insert page numbers and exclude the first page (common in project reports).
8.2 Section Breaks and Columns
Section Breaks
What are Section Breaks?
Section Breaks divide a document into separate sections, allowing different formatting (e.g., page orientation, columns, headers/footers) in each section.
Types of Section Breaks:
Insert → Section → Create a new section with custom settings.
Control: Columns, background, headers/footers, page numbering, protection.
When to Use Section Breaks:
Different page orientation in one document (e.g., portrait for text, landscape for a wide table).
Different headers/footers for chapters.
Changing from single-column to multi-column layout.
Restarting page numbering in a new section.
How to Insert a Section:
Place cursor where you want the section.
Go to Insert → Section.
In the dialog:
Name: Give the section a name.
Columns: Set number of columns.
Background: Add color or image.
Write Protection: Prevent editing (optional).
Hide: Hide section on screen or print (optional).
Click Insert.
Delete a Section:
Go to Insert → Section → Select section → Click Remove.
Columns
What are Columns?
Columns divide text into vertical sections, like in newspapers or magazines. Useful for newsletters, brochures, or compact layouts.
How to Create Columns:
Select the text (or place cursor for the entire document).
Go to Format → Columns.
Set:
Number of columns (1–6).
Width and spacing for each column.
Line between columns (optional).
Click OK.
Adjust Column Breaks:
To force text to the next column: Insert → Formatting Break → Column Break (or Ctrl+Shift+Enter).
8.3 Watermarks
What is a Watermark?
A Watermark is a faint text or image that appears behind the main content on every page. Common uses: "DRAFT," "CONFIDENTIAL," company logos.
How to Add a Watermark:
Go to Format → Watermark.
In the dialog:
Text: Enter text (e.g., "Sample," "DRAFT").
Font: Choose font, size, color.
Angle: Set diagonal or horizontal.
Transparency: Adjust to make it faint.
For Picture Watermark:
Click Select Graphic → Choose an image file.
Adjust scaling and transparency.
Click OK to apply.
Remove Watermark:
Go to Format → Watermark → Clear text or image → Click OK.
8.4 Frames and Text Boxes
What are Frames?
Frames are containers for text, images, or other objects that can be positioned anywhere on the page with custom text wrap.
How to Insert a Frame:
Go to Insert → Frame.
In the dialog:
Name: Give the frame a name.
Size: Set width and height.
Position: Choose anchor (to page, paragraph, or character).
Wrap: Set text wrap options (None, Page Wrap, Optimal, Through).
Background: Add color or image.
Border: Add borders if needed.
Click OK.
Type or paste content inside the frame.
Resize and Move Frames:
Click the frame to select it.
Drag edges to resize.
Drag the frame to reposition.
Text Boxes (Simpler Alternative):
Go to Insert → Text Box.
Click and drag on the page to create a box.
Type inside the box.
Format using the Text Box toolbar.
8.5 Tables
What are Tables?
Tables organize data in rows and columns. Useful for schedules, comparisons, forms, and structured content.
How to Insert a Table:
Place cursor where you want the table.
Go to Table → Insert Table (or click the Table icon on the Standard Toolbar).
Set:
Name: Optional table name.
Columns and Rows.
Heading rows (if needed).
Border, AutoFormat (optional).
Click OK.
Quick Table Insertion:
Click the Table icon on the toolbar → Drag to select rows and columns → Click to insert.
Table Formatting:
Select Table: Click inside → Table → Select → Table.
Insert/Delete Rows/Columns: Table → Insert or Delete.
Merge/Split Cells: Table → Merge Cells or Split Cells.
AutoFormat: Table → AutoFormat Styles for pre-designed styles.
Table Properties: Right-click → Table Properties for advanced settings (borders, background, text flow).
📊 Tip: Use tables for structured data, but avoid overusing them for simple layouts.
8.6 Images and Graphics
Inserting Images:
Place cursor where you want the image.
Go to Insert → Image → From File.
Browse and select the image → Click Open.
Image Formatting:
Resize: Click image → Drag corners (hold Shift to maintain aspect ratio).
Wrap Text: Right-click image → Wrap → Choose (None, Page Wrap, Optimal, Through).
Position: Right-click → Position and Size for precise control.
Crop: Image → Crop to remove unwanted parts.
Effects: Image → Filter for brightness, contrast, transparency, etc.
Captions for Images:
Right-click the image → Insert Caption.
Enter caption text (e.g., "Figure 1: System Architecture").
Choose position (above or below).
Click OK.
8.7 Hyperlinks and Bookmarks
Hyperlinks
What is a Hyperlink?
A Hyperlink is a clickable link that takes you to another location in the same document, a different document, a website, or an email address.
How to Insert a Hyperlink:
Select text or object (e.g., image, shape).
Go to Insert → Hyperlink (or press Ctrl+K).
Choose link type:
Internet – Enter URL (e.g., www.example.com).
Document – Link to another file or place in this document.
Email – Enter email address and subject.
Click Apply → Close.
Edit or Remove Hyperlink:
Right-click the link → Edit Hyperlink or Remove Hyperlink.
Bookmarks
What is a Bookmark?
A Bookmark marks a specific location in your document for easy navigation or reference.
How to Create a Bookmark:
Place cursor or select text at the desired location.
Go to Insert → Bookmark.
Enter a name (no spaces; e.g., "Chapter1_Intro").
Click Insert.
How to Use a Bookmark:
Go to Insert → Bookmark → Select name → Click Go To.
Use bookmarks in Hyperlinks or Cross-references.
8.8 Find and Replace (Advanced)
Basic Find and Replace:
Go to Edit → Find & Replace (or press Ctrl+H).
Enter text to find and replacement text.
Click Find, Replace, Find All, or Replace All.
Advanced Options:
Match Case: Only find exact case matches.
Whole Words Only: Match complete words only.
Regular Expressions: Use patterns for advanced searches (e.g., find all numbers, emails).
Format: Find/replace text with specific formatting (font, color, style).
Attributes: Search by attributes (bold, italic, etc.).
Example: Remove Extra Spaces
Find:
(two spaces).Replace:
(one space).Click Replace All repeatedly until no more replacements.
🔍 Tip: Use Regular Expressions for powerful search patterns (enable in "Other options").
9. Exporting and Sharing Documents
Export to PDF
Why Export to PDF?
Preserves formatting across devices.
Cannot be easily edited (good for final submissions).
Universally viewable on any device.
How to Export as PDF:
Go to File → Export As → Export as PDF (or Ctrl+Shift+E).
In the PDF Options dialog:
General: Choose page range, export bookmarks, hyperlinks.
Initial View: Set zoom, page layout.
User Interface: Hide menus, toolbars (optional).
Security: Add passwords to open or restrict editing (optional).
Compression: Adjust image quality for smaller file size.
Click Export.
Choose save location and filename → Click Save.
Export to Other Formats
Export as EPUB (e-books): File → Export As → Export as EPUB.
Export as HTML (web pages): File → Save As → Choose "HTML Document."
Export as RTF (rich text): File → Save As → Choose "Rich Text Format."
Export as DOCX (MS Word): File → Save As → Choose "Word 2007–365 (.docx)."
Sending Documents via Email
Go to File → Send → Send as PDF Attachment (or Send as ODT Attachment).
Your default email client opens with the document attached.
Add recipient, subject, message → Send.
📤 Tip: Always export to PDF for final submissions to preserve formatting.
10. Macros in LibreOffice Writer
What is a Macro?
A Macro is a recorded sequence of commands or actions that you can save and replay to automate repetitive tasks in Writer. Macros help you save time and reduce errors by performing complex actions with a single click or keyboard shortcut.
⚠️ Note: LibreOffice macros use LibreOffice Basic (similar to VBA in MS Office) or other scripting languages like Python.
When to Use Macros?
Applying the same formatting to multiple documents.
Inserting standard text, tables, or images repeatedly.
Automating multi-step processes (e.g., page setup, header/footer, styles).
Creating custom buttons or shortcuts for frequently used actions.
Benefits of Macros:
Time-Saving – One click replaces many manual steps.
Consistency – Ensures the same actions every time.
Efficiency – Reduces repetitive work and fatigue.
Customization – Create tools tailored to your specific needs.
How to Record a Macro:
Step 1: Enable Macro Recording
Go to Tools → Options → LibreOffice → Advanced.
Check Enable macro recording (if not already enabled).
Click OK.
Step 2: Start Recording
Go to Tools → Macros → Record Macro.
Perform the actions you want to automate (e.g., format text, insert table).
When done, click Stop Recording.
Step 3: Save the Macro
In the dialog, click Save As.
Choose a location (e.g., "My Macros" → "Standard").
Enter a macro name (e.g., "FormatHeading").
Click Save.
How to Run a Macro:
Go to Tools → Macros → Run Macro.
Navigate to your macro (e.g., "My Macros" → "Standard" → "FormatHeading").
Click Run.
Assign Macro to a Button or Shortcut:
Go to Tools → Customize → Keyboard (or Toolbar).
Select a function key (e.g., Ctrl+Shift+M) or add a toolbar button.
Assign your macro to the selected key/button.
Click OK.
Security Considerations:
Macros can contain malicious code.
Only run macros from trusted sources.
Adjust macro security: Tools → Options → LibreOffice → Security → Macro Security.
🔒 Caution: Never enable macros in documents from unknown or suspicious sources.
Quick Revision Points
Practice Questions
Q1. What is LibreOffice Writer? List any four key features.
Q2. Define styles. Explain any three types of styles in Writer.
Q3. What is a template? Describe the steps to create and save a custom template.
Q4. What is mail merge? Explain its key components with an example.
Q5. Describe the steps to perform mail merge for creating 50 certificates using LibreOffice Writer and Calc.
Q6. Explain the steps to create a Table of Contents in a project report.
Q7. What is the difference between an index and a bibliography? How do you create each?
Q8. Explain the difference between Track Changes and Comments.
Q9. How do you insert and format headers, footers, and page numbers in Writer?
Q10. What are section breaks? When would you use them?
Q11. Describe how to create columns in a document.
Q12. What is a watermark? How do you add a text watermark in Writer?
Q13. Explain the steps to insert and format a table in LibreOffice Writer.
Q14. How do you insert and format images in a document?
Q15. What is the difference between a hyperlink and a bookmark?
Q16. Describe the advanced options in Find and Replace.
Q17. How do you export a document as PDF in LibreOffice Writer?
Q18. What is a macro? How do you record and run a macro in Writer?
Practical Exercises
Exercise 1: Styles and Templates
Create a project report with at least three levels of headings (Heading 1, 2, 3).
Apply appropriate styles to all headings and body text.
Save the document as a template (.ott) for future use.
Exercise 2: Mail Merge
Create a Calc file with 10 student records (First_Name, Last_Name, Class, Roll_No, School).
Design a certificate template in Writer.
Perform mail merge to generate 10 unique certificates.
Save the merged document and the main template.
Exercise 3: Table of Contents and Index
Write a 5-page report on "Digital India" with multiple sections.
Apply heading styles and generate a Table of Contents.
Mark at least 10 index entries and insert an Index at the end.
Exercise 4: Track Changes and Comments
Exchange documents with a classmate.
Use Track Changes to edit their document (add, delete, format).
Add at least three comments with suggestions.
Review and accept/reject changes together.
Exercise 5: Advanced Formatting
Create a newsletter with:
Two-column layout.
Header with title and date.
Footer with page numbers.
At least two images with captions and text wrap.
A watermark saying "DRAFT."
Exercise 6: Macros
Record a macro to format text as bold, italic, blue, size 14.
Assign a keyboard shortcut (e.g., Ctrl+Shift+M).
Test the macro on different text selections.
Exercise 7: Export and Share
Create a formal letter in Writer.
Export it as a PDF with password protection.
Send the PDF via email (simulate or actually send to your teacher).
Teacher's Note
Part B – Unit 1 is heavily practical—ensure students practice in the computer lab.
Focus on mail merge, styles, templates, and table of contents as they are frequently asked in exams.
Encourage students to create real-world documents (certificates, reports, letters, newsletters) for better understanding.
Demonstrate macros and track changes live in class—students find these features engaging.
Remind students to save their work frequently and organize files properly.
Emphasize that LibreOffice is free and open-source—a valuable tool for students who may not have access to paid software.
Final Thoughts
Mastering advanced LibreOffice Writer features transforms you from a basic user to a power user who can create professional, efficient, and polished documents—without spending a rupee on software. Whether you're preparing project reports, certificates, or any documentation, these skills will save you time and impress your teachers, colleagues, and future employers.
Practice regularly, experiment with features, and don't hesitate to explore Writer's tools on your own.
End of Part B – Unit 1 Notes: Digital Documentation using LibreOffice Writer (Advanced)
CBSE Class 10 IT (Code 402) | Aligned with 2026–27 Syllabus
About the Author:
These notes are created by Ravindra Khillare, a Computer Science Teacher at Pioneer International School, Pune. With a focus on CBSE IT 402 curriculum, these resources aim to support students, teachers, and educators in mastering essential digital documentation skills using free and open-source tools.
Feel free to share, adapt, and use these notes for classroom teaching, blog posts, or student handouts. For queries or suggestions, connect via your school's IT department or educational networks.

Comments
Post a Comment