From c155624affff37fada9cabc4f904b41a52cf0fa9 Mon Sep 17 00:00:00 2001 From: Dasun Nirmitha Date: Thu, 21 Nov 2024 19:07:11 +0530 Subject: [PATCH] ENDOC-521 IWB File Conversion: Supported Components (#1287) * ENDOC-521 IWB File Conversion: Supported Components * review updates --------- Co-authored-by: saudsami --- .../develop/file-conversion-overview.md | 80 ++++++++++++++++--- 1 file changed, 69 insertions(+), 11 deletions(-) diff --git a/interactive-whiteboard/develop/file-conversion-overview.md b/interactive-whiteboard/develop/file-conversion-overview.md index 85eb938a8..539fbdad6 100644 --- a/interactive-whiteboard/develop/file-conversion-overview.md +++ b/interactive-whiteboard/develop/file-conversion-overview.md @@ -132,6 +132,64 @@ Take the following steps: 2. To query the progress of a file-conversion task, pass in the corresponding task UUID and Task Token. See [Query file-conversion progress](../reference/whiteboard-api/file-conversion#query-the-progress-of-a-file-conversion-task). Agora recommends that you implement an algorithm to regularly query the conversion progress so that your data is up to date. + +## PPT Conversion: Supported features, limitations, and troubleshooting + +When converting PPT or PPTX files created in Microsoft PowerPoint into dynamic HTML web pages using [File conversion](../reference/whiteboard-api/file-conversion), some elements—such as special effects, images, or animations—might not parse correctly. This can result in issues like missing or non-functional effects in the converted output. This section outlines the compatibility of the document conversion service with various PPT features, helping you identify and fix problematic elements in your presentations. + + +- These notes are only applicable to PPT or PPTX files made with MS PowerPoint. For PPT files made with WPS, does not guarantee the conversion effect. +- Some functions and effects are not mentioned in the following list. This is due to functional inconsistencies caused by different versions which require manual testing. + + +### Supported effects + +| PPT element | Effects menu | Support effect | Measures to take | +|:-----------|:-------------|:------------------|:--------------------| +| Word | Font | | After some fonts are converted, ensure that the font is installed locally for it to be displayed correctly. | +| | Paragraph | | - | +| Shape | Shape Format | | - | +| Sheet | Table Design | | - | +| | Table Layout | All | - | +| Picture | Image Format | | - | +| Audio and Video | Audio/Video Format | | - | +| Animation | Animation Type | | - | +| | Animation Properties | | - | +| Other | Other Menu | Modify PPT theme, customize theme | - | + + +### Unsupported effects + +| PPT element | Unsupported effects | Imperfectly supported effects | Measures to take | +|:------|:------|:----------------|:------| +| Word | | | | +| Shape | Shapes with formulas do not support adding color fill animations. | | Some special graphics should not exceed the graphic boundary, and the part beyond the boundary is not displayed. | +| Sheet | | - | - | +| Picture | Image format-effect: 3D format, 3D rotation. | | - | +| Audio and Video | | - | - | +| Animation | | | - | +| Other | | The hide slide function does not support hiding the first page of the slide. | - | + +### Best practices for troubleshooting conversion issues + +If some effects are missing in the converted PPT or are different from the original PPT, refer to the following steps to locate the problematic elements and fix them: + +1. Locate the problematic element + + Compare the PPT before and after conversion to find the problematic elements. + +1. Deal with problematic elements + + Resolve the problem using one of the following methods: + + - Remove the problematic element directly or remove unsupported effects on the element. + - Replace the effect that is already supported by other document transformations for the element in question. + - Save the problematic element as a picture, delete the element, and then reinsert the picture to the original position. If there are many problematic elements, combine those elements first and convert them to pictures. + +1. Restart the conversion + + Call the RESTful API again to restart the conversion. After the conversion is successful, compare the PPT effects before and after the conversion. If there are any remaining problems, repeat the previous steps. + ## Reference This section contains information that completes the information on this page, or points you to documentation that explains other aspects of this product. @@ -154,17 +212,17 @@ To set up cloud storage and obtain configuration information for Google Cloud Pl ```json { - "type": "service_account", - "project_id": "argon-jetty-395210", - "private_key_id": "yourprivateidkeyyourprivateidkeyyourprivateidkey", - "private_key": "-----BEGIN PRIVATE KEY-----\nThisisYourPrivateKeyThisisYourPrivateKeyThisisYourPrivateKey\nThisisYourPrivateKey\nThisisYourPrivateKey\nThisisYourPrivateKey\n-----END PRIVATE KEY-----\n", - "client_email": "xxxx-111@argon-jetty-395210.iam.gserviceaccount.com", - "client_id": "123456789012345678901", - "auth_uri": "https://accounts.google.com/o/oauth2/auth", - "token_uri": "https://oauth2.googleapis.com/token", - "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", - "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/xxxx-111%40argon-jetty-395210.iam.gserviceaccount.com", - "universe_domain": "googleapis.com" + "type": "service_account", + "project_id": "argon-jetty-395210", + "private_key_id": "yourprivateidkeyyourprivateidkeyyourprivateidkey", + "private_key": "-----BEGIN PRIVATE KEY-----\nThisisYourPrivateKeyThisisYourPrivateKeyThisisYourPrivateKey\nThisisYourPrivateKey\nThisisYourPrivateKey\nThisisYourPrivateKey\n-----END PRIVATE KEY-----\n", + "client_email": "xxxx-111@argon-jetty-395210.iam.gserviceaccount.com", + "client_id": "123456789012345678901", + "auth_uri": "https://accounts.google.com/o/oauth2/auth", + "token_uri": "https://oauth2.googleapis.com/token", + "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", + "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/xxxx-111%40argon-jetty-395210.iam.gserviceaccount.com", + "universe_domain": "googleapis.com" } ```