Spire.Office Knowledgebase Page 39 | E-iceblue

The PDF (Portable Document Format) has become a standard for sharing and preserving documents across various platforms. Converting your Word, Excel, and PowerPoint files to PDF ensures that the formatting and layout remain intact, regardless of the device or software used to view them. With Spire.Cloud.Office, a powerful online Office suite, you can effortlessly convert your documents to PDF online and enjoy the benefits of this universal format. In this article, we will explore how to convert Word, Excel, and PowerPoint Files to PDF online using Spire.Cloud.Office.

Spire.Cloud.Office Document Editor

Spire.Cloud.Office is a powerful online Office suite that provides a comprehensive set of tools for processing Office (Word, Excel, and PowerPoint) documents. It allows users to effortlessly generate, view, edit, and convert popular Office file formats, such as DOC, DOCX, XLS, XLSX, PPT, and PPTX, within any web browser that supports HTML 5.

Some of the key features of Spire.Cloud.Office include:

  • Document Editor: The document editor allows users to create, edit, and format Word documents with a wide range of formatting options. It supports collaborative editing, tracking changes, commenting, and version history, enabling multiple users to work on the same document simultaneously.
  • Spreadsheet Editor: The spreadsheet editor provides powerful tools for data analysis, calculations, and visualization. It includes a variety of formulas, functions, and formatting options to manipulate and present data effectively. Like the document editor, it supports collaborative editing and real-time collaboration.
  • Presentation Editor: The presentation editor offers a comprehensive set of features for creating visually appealing slideshows. Users can add images, videos, charts, tables, and more to their presentations, enhancing their overall impact. The editor supports collaboration, allowing multiple users to work on presentations simultaneously.
  • PDF Viewer: The PDF viewer allows users to view PDF files within their web browsers without the need for additional software.
  • Self-hosting: Spire.Cloud.Office can be self-hosted, allowing organizations to maintain complete control over their data and documents. This is particularly useful for businesses or institutions that require a higher level of data privacy and security.

To utilize the services offered by Spire.Cloud.Office, you first need to install it on your system:

After the installation is complete, you can integrate Spire.Cloud.Office editor in your own web application or visit the example application hosted on port 3000 (as shown in the image below) to explore the editor’s functionality.

Convert Word, Excel, and PowerPoint Files to PDF Online

The Benefits of Using Spire.Cloud.Office for Online Document Conversion

Spire.Cloud.Office offers several advantages when it comes to converting Word, Excel, and PowerPoint files to PDF online:

  • Convenience: Spire.Cloud.Office is a web-based solution that allows you to convert your files to PDF without the need for any additional software installation.
  • Preservation of Formatting: The conversion process in Spire.Cloud.Office ensures that the original formatting and layout of your documents are accurately preserved in the resulting PDF files.
  • Compatibility: PDF files created with Spire.Cloud.Office can be opened and viewed on any device or operating system without any compatibility issues.
  • Security: Spire.Cloud.Office can be installed on your device or integrated into your own web application, ensuring the confidentiality and integrity of your documents during the conversion process.
  • Additional Features: Besides document conversion, Spire.Cloud.Office offers a comprehensive set of editing and collaboration tools for Word, Excel, and PowerPoint files, making it a versatile office suite for all your document needs.

Convert Word to PDF Online

With Spire.Cloud.Office, you can load a Word document in DOC or DOCX format and convert it to PDF online with high speed and quality. Besides, you can also save the Word document to other file formats such as ODT, TXT, DOTX, PDF/A, OTT, RTF, and HTML.

The steps below explain how to convert a Word document to PDF format:

1. Click the "Upload File" button on the example page and select the Word document you want to convert.

Convert Word, Excel, and PowerPoint Files to PDF Online

2. Once the document is uploaded, click the "Edit" button to open it in the Document Editor of Spire.Cloud.Office.

Convert Word, Excel, and PowerPoint Files to PDF Online

3. Click the "File" menu at the top left corner of the editor, select the "Download As" option, and choose "PDF" as the target format.

Convert Word, Excel, and PowerPoint Files to PDF Online

Convert Word, Excel, and PowerPoint Files to PDF Online

4. Your Word document will be converted and downloaded as a PDF to your computer.

Convert Word, Excel, and PowerPoint Files to PDF Online

Convert Excel to PDF Online

Spire.Cloud.Office supports loading an Excel file in XLS or XLSX format and converting it to PDF online. Additionally, it also supports converting Excel files to other file formats such as XLSX, CSV, XLTX, PDF/A, and OTS.

The process of converting an Excel spreadsheet to PDF is very similar to the process of converting Word to PDF:

1. Click the "Upload File" button on the example page and select the Excel file you want to convert.

Convert Word, Excel, and PowerPoint Files to PDF Online

2. Once the file is uploaded, click the "Edit" button to open it in the Spreadsheet Editor of Spire.Cloud.Office.

Convert Word, Excel, and PowerPoint Files to PDF Online

3. Click the "File" menu at the top left corner of the editor, select the "Download as" option, and choose "PDF" as the target format.

Convert Word, Excel, and PowerPoint Files to PDF Online

Convert Word, Excel, and PowerPoint Files to PDF Online

4. Your Excel file will be converted and downloaded as a PDF to your computer.

Convert Word, Excel, and PowerPoint Files to PDF Online

Convert PowerPoint to PDF Online

PowerPoint presentations can also be easily converted to PDF and other file formats such as PPTX, ODP, POTX, PDF/A, and OTP online using Spire.Cloud.Office.

The steps below explain how to convert a PowerPoint presentation to PDF format:

1. Click the "Upload File" button on the example page and select the PowerPoint presentation you want to convert.

Convert Word, Excel, and PowerPoint Files to PDF Online

2. Once the presentation is uploaded, click the "Edit" button to open it in the Presentation Editor of Spire.Cloud.Office.

Convert Word, Excel, and PowerPoint Files to PDF Online

3. Click the "File" menu at the top left corner of the editor, select the "Download as" option, and choose "PDF" as the target format.

Convert Word, Excel, and PowerPoint Files to PDF Online

Convert Word, Excel, and PowerPoint Files to PDF Online

4. Your presentation will be converted and downloaded as a PDF to your computer.

Convert Word, Excel, and PowerPoint Files to PDF Online

Python: Convert PPS and PPT to PPTX

2024-07-24 09:21:47 Written by Koohji

Converting between presentation documents is a common task, especially when dealing with different versions of Microsoft PowerPoint. PPS is used to display presentations directly as finalized documents. PPT is an older format compatible with PowerPoint 97-2003. PPTX, the default editable format in the latest version of PowerPoint, offers better data recovery capabilities, smaller file sizes, and enhanced security.

Whether you need to edit PPS documents or ensure compatibility with modern tools and features, converting them to PPTX is essential. This article will demonstrate how to convert PPS and PPT to PPTX documents using Python with Spire.Presentation for Python. Read on to learn more.

Install Spire.Presentation

This scenario requires Spire.Presentation for Python and plum-dispatch v1.7.4. They can be easily installed in your Windows through the following pip commands.

pip install Spire.Presentation

If you are unsure how to install, please refer to this tutorial: How to Install Spire.Presentation for Python on Windows.

How to Convert PPS to PPTX with Python

To convert PPS to PPTX format, you can call Document.SaveToFile() method offered by Spire.Presentation for Python. It supports converting various formats to PPT(X), such as PPS and PPT, as well as converting PPT documents to other formats like PDF and images (PNG, JPG, BMP, SVG).

Steps to convert PPS to PPTX:

  1. Create an object for the Presentation class.
  2. Import the document to be converted with Document.LoadFromFile() method.
  3. Convert it to a PPTX document using Document.SaveToFile() method.

Here is the code example for you:

  • Python
from spire.presentation.common import *
from spire.presentation import *
# Create a Presentation document object
pre = Presentation()
# Load the file from the disk
pre.LoadFromFile("input/sample.pps")
# Save the document as PPTX
pre.SaveToFile("ppstopptx.pptx", FileFormat.Pptx2010)
pre.Dispose()

Python: Convert PPS and PPT to PPTX

How to Convert PPT to PPTX with Python

Compared with PPT, PPTX has many advantages. Despite being mentioned above, it supports inserting more multimedia content and advanced formats, thereby improving the overall quality and performance of presentations. Spire.Presentation for Python provides Document.SaveToFile() to convert PPT to PPTX without data loss.

Steps to convert PPT to PPTX:

  1. Instantiate a new Presentation object.
  2. Load the document from the files with Document.LoadFromFile().
  3. Save the PPT document as a PPTX document by Document.SaveToFile().

Below is the code example to refer to:

  • Python
from spire.presentation.common import *
from spire.presentation import *

# Create an instance of the Presentation class
pre = Presentation()

# Load the file to be converted
pre.LoadFromFile("input/Sample1.ppt")

# Convert the document to PPTX format
pre.SaveToFile("ppttopptx.pptx", FileFormat.Pptx2010)

pre.Dispose()

Python: Convert PPS and PPT to PPTX

Apply for a Temporary License

If you'd like to remove the evaluation message from the generated documents, or to get rid of the function limitations, please request a 30-day trial license for yourself.

View and Edit Word Documents Online

2024-07-24 01:23:09 Written by Koohji

Many people need to work with word processing documents, such as reports, essays, and letters, while on the go or away from their primary computer. Online word processing tools allow you to view, edit, and collaborate on these documents from any internet-connected device. Using an online word processor can improve productivity and accessibility compared to only being able to work on documents locally.

This article demonstrates how to use Spire.Cloud.Office document editor control to view and edit Word documents online.

Spire.Cloud.Office Document Editor

Spire.Cloud.Office is a robust, HTML5-powered document editor component that can be seamlessly integrated into web applications. This component empowers your end-users to view, create, edit, and collaborate on diverse document types entirely within a web browser environment.

In order to take advantage of the services provided by Spire.Cloud.Office, you will need to first install the component on your system.

Once the installation is finished, you can proceed to integrate the Spire.Cloud.Office editor into your own web application. Alternatively, you can visit the example application hosted on port 3000 to explore the editor's full functionality.

View and Edit Word Documents Online

View Word Documents Online

On the example page, click the "Upload File" button to load an existing Word document.

View and Edit Word Documents Online

Once the file has been uploaded, it will appear on the example page. To view the document in full-screen mode in a web browser, click the "computer" icon in the "Viewers" section.

View and Edit Word Documents Online

The document being displayed is in a read-only state.

View and Edit Word Documents Online

Edit Word Documents Online

To open the document for editing, click the computer icon in the "Editors" section.

View and Edit Word Documents Online

Use the editing tools provided in the document editor to make any desired modifications to the file. Once you have finished making your changes, save the updated document by clicking the "File" menu and then selecting the "Save" option.

View and Edit Word Documents Online

Co-Edit Word Documents Online

Spire.Cloud.Office provides robust real-time collaboration capabilities, enabling multiple users to work on the same document simultaneously. The "Review" tab offers two distinct collaborative editing modes:

  • Fast Mode: In this mode, all editors can view the changes made to the document in real-time, as they are typed or applied.
  • Strict Mode: Under this mode, edits made by contributors are shielded from immediate visibility, and only become accessible to other editors after the document has been explicitly saved.

The Fast Mode is the default setting for Spire.Cloud.Office's collaborative editing features.

View and Edit Word Documents Online

When a document is being collaboratively edited by multiple users, any edits made by one editor are immediately visible to all other editors in the document interface, updated in real-time.

View and Edit Word Documents Online

page 39