From 7753476ce57ecfe2166242da1d943240a2b02f05 Mon Sep 17 00:00:00 2001 From: parasn Date: Tue, 23 Apr 2024 16:33:57 +0530 Subject: [PATCH 1/8] PDF Embed release notes April 2024 --- src/pages/overview/pdf-embed-api/releasenotes.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pages/overview/pdf-embed-api/releasenotes.md b/src/pages/overview/pdf-embed-api/releasenotes.md index 9d7061b98..32b5888f9 100644 --- a/src/pages/overview/pdf-embed-api/releasenotes.md +++ b/src/pages/overview/pdf-embed-api/releasenotes.md @@ -8,6 +8,12 @@ the changes below for each release. ## Change history +### April, 2024 +| Change | Description | +| ------ | ---------------------------------------------------------------------- | +| Bug fix | Fixed the issue with opening word based password protected PDF files. | +| Bug fix | Fixed the issue regarding Content Security Policy in developer console. | + ### January, 2024 | Change | Description | | ------ | ---------------------------------------------------------------------- | From 253a61520f3c06f15efd5df3816761ce30997745 Mon Sep 17 00:00:00 2001 From: Hitesh Kumar Date: Thu, 25 Apr 2024 16:06:56 +0530 Subject: [PATCH 2/8] added config for showFullScreenViewButton (#830) Co-authored-by: mahour --- .../pdf-services-api/howtos/ocr-pdf.md | 4 +- src/pages/overview/pdf-embed-api/howtos_ui.md | 37 ++++++++++--------- .../pdf-services-api/howtos/ocr-pdf.md | 4 +- 3 files changed, 23 insertions(+), 22 deletions(-) diff --git a/src/pages/overview/legacy-documentation/pdf-services-api/howtos/ocr-pdf.md b/src/pages/overview/legacy-documentation/pdf-services-api/howtos/ocr-pdf.md index 4c5e27bd9..85a281766 100644 --- a/src/pages/overview/legacy-documentation/pdf-services-api/howtos/ocr-pdf.md +++ b/src/pages/overview/legacy-documentation/pdf-services-api/howtos/ocr-pdf.md @@ -10,7 +10,7 @@ and your users can fully interact with the PDF file. After performing OCR, the PDF may be fully editable and searchable. The input format must be `application/pdf`. -This sample defaults to the en-us locale. For other languages, see [OCR with explicit language.](#ocr-with-explicit-language) +This sample defaults to the en-us locale. For other languages, see [OCR with specific language.](#ocr-with-specific-language) @@ -181,7 +181,7 @@ curl --location --request POST 'https://cpf-ue1.adobe.io/ops/:create?respondWith --form 'InputFile0=@"{{Placeholder for input file (absolute path)}}"' ``` -## OCR with explicit language +## OCR with specific language You can perform OCR on files in other languages, including German, French, Danish, and other languages. Refer to `OCRSupportedLocale` and diff --git a/src/pages/overview/pdf-embed-api/howtos_ui.md b/src/pages/overview/pdf-embed-api/howtos_ui.md index 132ab8e02..8933a91f8 100644 --- a/src/pages/overview/pdf-embed-api/howtos_ui.md +++ b/src/pages/overview/pdf-embed-api/howtos_ui.md @@ -79,24 +79,25 @@ This table lists down the various configurations which can be passed while initi This table lists down the various preview configurations which can be passed to the `previewFile` API to customize the PDF viewer.
-| Variable | Default | Description | -| ------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| showZoomControl | *true* | Set this to *false* to hide the zoom-in and zoom-out options available in the right-hand panel. This configuration will work for full window and lightbox embed modes. | -| showAnnotationTools | *true* | If *true*, tools such as add text, sticky note, highlight, and so on appear in the quick tools menu on the left-hand side in full window embed mode. For more details, see [Comments and Markup](./howtos_comments.md). | -| showFullScreen | *true* | By default, the full screen toggle appears in the bottom toolbar in sized container embed mode. Set this to *false* to hide the full screen toggle. | -| defaultViewMode | "" | This variable takes a string value of "**FIT\_WIDTH**", "**FIT\_PAGE**", "**TWO\_COLUMN**" or "**TWO\_COLUMN\_FIT\_PAGE**".
1. **FIT\_WIDTH**: Expands the page horizontally to the full width of the document pane.
2. **FIT\_PAGE**: Displays the entire page in the current view pane.
3. **TWO\_COLUMN**: Displays two pages of the PDF side by side in the current view pane.
4. **TWO\_COLUMN\_FIT\_PAGE**: Displays two pages of the PDF side by side where the entire two pages are displayed in the current view pane. Note that end users can also toggle the view mode via the Fit Width, Fit Page or Two-Column button on the right-hand panel.

In addition to these, there are two other view modes which are supported only in mobile browsers:
1. **CONTINUOUS**: This mode displays all the document pages one after the other and users can easily navigate through the pages by scrolling up or down.
2. **SINGLE\_PAGE**: This mode displays only a single document page at a time and doesn’t show any adjoining page. Users can use the swipe gesture to navigate to other pages which will be displayed one at a time. | -| enableFormFilling | *true* | If *true*, form filling is enabled and users can edit fields in full window embed mode. | -| showDownloadPDF | *true* | If *true*, PDF can be downloaded in all embed modes. Set this to *false* to disable PDF download. | -| showPrintPDF | *true* | If true, PDF can be printed in all embed modes. Set this to *false* to disable PDF printing. | -| exitPDFViewerType | "CLOSE" | The top bar in lightbox embed mode contains the close button by default to close the PDF preview which can be configured to Back button by setting `exitPDFViewerType` to "RETURN". | -| showThumbnails | *true* | Page thumbnails are available by default in full window and lightbox embed modes. Set this to *false* if you want to hide the thumbnails from the right-hand panel. | -| showBookmarks | *true* | PDF bookmarks are available by default in full window and lightbox embed modes. Set this to *false* if you want to hide the bookmarks from the right-hand panel. | -| enableLinearization | *false* | Set this to *true* to enable PDF linearization. For more details, see the section [PDF linearization](../howtos.md#pdf-linearization). | -| enableAnnotationAPIs| *false* | Set this to *true* to add, update and delete PDF annotations programmatically in full window embed mode. For more details, see the section [Annotations API overview](../howtos_comments/#annotations-api-overview). | -| includePDFAnnotations | *false* | This configuration is used with `enableAnnotationAPIs` to access existing PDF annotations. For more details, see the section [Annotations API overview](../howtos_comments/#annotations-api-overview). | -| enableSearchAPIs | *false* | Set this to *true* to perform search operation in the PDF programmatically. For more details, see the section [Search APIs](../howtos_ui/#search-apis).| -| showDisabledSaveButton | *false* | Set this to *true* to show the save button in disabled state even when there are no changes to be saved to the PDF. | -| focusOnRendering | Varies according to embed mode | With this configuration, website developers have the flexibility to control if the PDF should take focus when it is rendered. For more details, see the section [Focus on PDF rendering](../howtos/#focus-on-pdf-rendering).| +| Variable | Default | Description | +| ------------------- |--------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| showZoomControl | *true* | Set this to *false* to hide the zoom-in and zoom-out options available in the right-hand panel. This configuration will work for full window and lightbox embed modes. | +| showAnnotationTools | *true* | If *true*, tools such as add text, sticky note, highlight, and so on appear in the quick tools menu on the left-hand side in full window embed mode. For more details, see [Comments and Markup](./howtos_comments.md). | +| showFullScreen | *true* | By default, the full screen toggle appears in the bottom toolbar in sized container embed mode. Set this to *false* to hide the full screen toggle. | +| defaultViewMode | "" | This variable takes a string value of "**FIT\_WIDTH**", "**FIT\_PAGE**", "**TWO\_COLUMN**" or "**TWO\_COLUMN\_FIT\_PAGE**".
1. **FIT\_WIDTH**: Expands the page horizontally to the full width of the document pane.
2. **FIT\_PAGE**: Displays the entire page in the current view pane.
3. **TWO\_COLUMN**: Displays two pages of the PDF side by side in the current view pane.
4. **TWO\_COLUMN\_FIT\_PAGE**: Displays two pages of the PDF side by side where the entire two pages are displayed in the current view pane. Note that end users can also toggle the view mode via the Fit Width, Fit Page or Two-Column button on the right-hand panel.

In addition to these, there are two other view modes which are supported only in mobile browsers:
1. **CONTINUOUS**: This mode displays all the document pages one after the other and users can easily navigate through the pages by scrolling up or down.
2. **SINGLE\_PAGE**: This mode displays only a single document page at a time and doesn’t show any adjoining page. Users can use the swipe gesture to navigate to other pages which will be displayed one at a time. | +| enableFormFilling | *true* | If *true*, form filling is enabled and users can edit fields in full window embed mode. | +| showDownloadPDF | *true* | If *true*, PDF can be downloaded in all embed modes. Set this to *false* to disable PDF download. | +| showPrintPDF | *true* | If true, PDF can be printed in all embed modes. Set this to *false* to disable PDF printing. | +| exitPDFViewerType | "CLOSE" | The top bar in lightbox embed mode contains the close button by default to close the PDF preview which can be configured to Back button by setting `exitPDFViewerType` to "RETURN". | +| showThumbnails | *true* | Page thumbnails are available by default in full window and lightbox embed modes. Set this to *false* if you want to hide the thumbnails from the right-hand panel. | +| showBookmarks | *true* | PDF bookmarks are available by default in full window and lightbox embed modes. Set this to *false* if you want to hide the bookmarks from the right-hand panel. | +| enableLinearization | *false* | Set this to *true* to enable PDF linearization. For more details, see the section [PDF linearization](../howtos.md#pdf-linearization). | +| enableAnnotationAPIs| *false* | Set this to *true* to add, update and delete PDF annotations programmatically in full window embed mode. For more details, see the section [Annotations API overview](../howtos_comments/#annotations-api-overview). | +| includePDFAnnotations | *false* | This configuration is used with `enableAnnotationAPIs` to access existing PDF annotations. For more details, see the section [Annotations API overview](../howtos_comments/#annotations-api-overview). | +| enableSearchAPIs | *false* | Set this to *true* to perform search operation in the PDF programmatically. For more details, see the section [Search APIs](../howtos_ui/#search-apis). | +| showDisabledSaveButton | *false* | Set this to *true* to show the save button in disabled state even when there are no changes to be saved to the PDF. | +| focusOnRendering | Varies according to embed mode | With this configuration, website developers have the flexibility to control if the PDF should take focus when it is rendered. For more details, see the section [Focus on PDF rendering](../howtos/#focus-on-pdf-rendering). | +| showFullScreenViewButton | *true* | If *true*, it will show the fit screen icon in the rhp. | ## Annotations diff --git a/src/pages/overview/pdf-services-api/howtos/ocr-pdf.md b/src/pages/overview/pdf-services-api/howtos/ocr-pdf.md index c749ac110..08412b30b 100644 --- a/src/pages/overview/pdf-services-api/howtos/ocr-pdf.md +++ b/src/pages/overview/pdf-services-api/howtos/ocr-pdf.md @@ -16,7 +16,7 @@ and your users can fully interact with the PDF file. After performing OCR, the PDF may be fully editable and searchable. The input format must be `application/pdf`. -This sample defaults to the en-us locale. For other languages, see [OCR with explicit language.](#ocr-with-explicit-language) +This sample defaults to the en-us locale. For other languages, see [OCR with specific language.](#ocr-with-specific-language) Please refer the [API usage guide](../api-usage.md) to understand how to use our APIs. @@ -211,7 +211,7 @@ curl --location --request POST 'https://pdf-services.adobe.io/operation/ocr' \ }' ``` -## OCR with explicit language +## OCR with specific language You can perform OCR on files in other languages, including German, French, Danish, and other languages. Refer to `OCRSupportedLocale` and From 16d6c388604ed2803a390c69b80fdb90c2170ed7 Mon Sep 17 00:00:00 2001 From: mahour Date: Mon, 29 Apr 2024 13:05:31 +0530 Subject: [PATCH 3/8] updated config for showFullScreenViewButton --- src/pages/overview/pdf-embed-api/howtos_ui.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/overview/pdf-embed-api/howtos_ui.md b/src/pages/overview/pdf-embed-api/howtos_ui.md index 8933a91f8..d55bdc4bb 100644 --- a/src/pages/overview/pdf-embed-api/howtos_ui.md +++ b/src/pages/overview/pdf-embed-api/howtos_ui.md @@ -97,7 +97,7 @@ This table lists down the various preview configurations which can be passed to | enableSearchAPIs | *false* | Set this to *true* to perform search operation in the PDF programmatically. For more details, see the section [Search APIs](../howtos_ui/#search-apis). | | showDisabledSaveButton | *false* | Set this to *true* to show the save button in disabled state even when there are no changes to be saved to the PDF. | | focusOnRendering | Varies according to embed mode | With this configuration, website developers have the flexibility to control if the PDF should take focus when it is rendered. For more details, see the section [Focus on PDF rendering](../howtos/#focus-on-pdf-rendering). | -| showFullScreenViewButton | *true* | If *true*, it will show the fit screen icon in the rhp. | +| showFullScreenViewButton | *true* | Set this to *false* to hide the full-screen option available in the right-hand panel. This configuration will work for full window and lightbox embed modes. | ## Annotations From 4cc9beb9dd0f62c32b5cbd921ed8e4ea37d5b9d0 Mon Sep 17 00:00:00 2001 From: parasn Date: Wed, 8 May 2024 16:38:36 +0530 Subject: [PATCH 4/8] PDF Embed updated release notes May 2024 --- src/pages/overview/pdf-embed-api/releasenotes.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/overview/pdf-embed-api/releasenotes.md b/src/pages/overview/pdf-embed-api/releasenotes.md index 32b5888f9..b886ef5d9 100644 --- a/src/pages/overview/pdf-embed-api/releasenotes.md +++ b/src/pages/overview/pdf-embed-api/releasenotes.md @@ -11,8 +11,10 @@ the changes below for each release. ### April, 2024 | Change | Description | | ------ | ---------------------------------------------------------------------- | -| Bug fix | Fixed the issue with opening word based password protected PDF files. | +| Bug fix | Fixed the issue with opening word based password protected PDF files. | | Bug fix | Fixed the issue regarding Content Security Policy in developer console. | +| Bug fix | Fixed console error issue when using chinese characters in form fields. | +| Bug fix | Fixed duplicate annotations issue when returning from full screen mode. | ### January, 2024 | Change | Description | @@ -29,7 +31,7 @@ the changes below for each release. | Change | Description | | ------ | ---------------------------------------------------------------------- | -| Bug fix | Fixed PDF rendering issue when third party cookies are disabled. | +| Bug fix | Fixed PDF rendering issue when third party cookies are disabled. | ### September, 2023 From ace1660354980f20e59f388075ffdc76d755b15c Mon Sep 17 00:00:00 2001 From: parasn Date: Wed, 8 May 2024 16:50:58 +0530 Subject: [PATCH 5/8] April -> May --- src/pages/overview/pdf-embed-api/releasenotes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/overview/pdf-embed-api/releasenotes.md b/src/pages/overview/pdf-embed-api/releasenotes.md index b886ef5d9..c53edba5a 100644 --- a/src/pages/overview/pdf-embed-api/releasenotes.md +++ b/src/pages/overview/pdf-embed-api/releasenotes.md @@ -8,7 +8,7 @@ the changes below for each release. ## Change history -### April, 2024 +### May, 2024 | Change | Description | | ------ | ---------------------------------------------------------------------- | | Bug fix | Fixed the issue with opening word based password protected PDF files. | From b44be40cf14fd327a25ef65dd6f432ce5b00dd52 Mon Sep 17 00:00:00 2001 From: parasn Date: Wed, 8 May 2024 17:04:01 +0530 Subject: [PATCH 6/8] showFullScreenViewButton --- src/pages/overview/pdf-embed-api/releasenotes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/overview/pdf-embed-api/releasenotes.md b/src/pages/overview/pdf-embed-api/releasenotes.md index c53edba5a..68a1390f9 100644 --- a/src/pages/overview/pdf-embed-api/releasenotes.md +++ b/src/pages/overview/pdf-embed-api/releasenotes.md @@ -15,6 +15,7 @@ the changes below for each release. | Bug fix | Fixed the issue regarding Content Security Policy in developer console. | | Bug fix | Fixed console error issue when using chinese characters in form fields. | | Bug fix | Fixed duplicate annotations issue when returning from full screen mode. | +| New | Added new previewFile API configuration option to hide full-screen button in right-hand panel. | ### January, 2024 | Change | Description | From b4d8da3c728992ea1411934b31a76960c5c2cd4c Mon Sep 17 00:00:00 2001 From: parasn Date: Thu, 9 May 2024 15:28:06 +0530 Subject: [PATCH 7/8] update release notes --- src/pages/overview/pdf-embed-api/releasenotes.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/pages/overview/pdf-embed-api/releasenotes.md b/src/pages/overview/pdf-embed-api/releasenotes.md index 68a1390f9..b6a001754 100644 --- a/src/pages/overview/pdf-embed-api/releasenotes.md +++ b/src/pages/overview/pdf-embed-api/releasenotes.md @@ -8,14 +8,13 @@ the changes below for each release. ## Change history -### May, 2024 +### May 9, 2024 | Change | Description | | ------ | ---------------------------------------------------------------------- | -| Bug fix | Fixed the issue with opening word based password protected PDF files. | -| Bug fix | Fixed the issue regarding Content Security Policy in developer console. | -| Bug fix | Fixed console error issue when using chinese characters in form fields. | -| Bug fix | Fixed duplicate annotations issue when returning from full screen mode. | -| New | Added new previewFile API configuration option to hide full-screen button in right-hand panel. | +| Bug fix | Fixed the issue with opening Word based password protected PDF files. | +| Bug fix | Fixed developer console error issue when using Chinese characters in form fields. | +| Bug fix | Fixed duplicate annotations issue when returning from full screen mode. | +| New | Added new previewFile API configuration option([showFullScreenViewButton](../howtos_ui.md/#configuration-options-for-previewfile-api)) to hide full-screen button in right-hand panel. | ### January, 2024 | Change | Description | From 6eb23d924a2aff6b34a0b15fa62c62e311f68295 Mon Sep 17 00:00:00 2001 From: parasn Date: Thu, 9 May 2024 16:08:15 +0530 Subject: [PATCH 8/8] update config link --- src/pages/overview/pdf-embed-api/releasenotes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/overview/pdf-embed-api/releasenotes.md b/src/pages/overview/pdf-embed-api/releasenotes.md index b6a001754..9029d1bc6 100644 --- a/src/pages/overview/pdf-embed-api/releasenotes.md +++ b/src/pages/overview/pdf-embed-api/releasenotes.md @@ -14,7 +14,7 @@ the changes below for each release. | Bug fix | Fixed the issue with opening Word based password protected PDF files. | | Bug fix | Fixed developer console error issue when using Chinese characters in form fields. | | Bug fix | Fixed duplicate annotations issue when returning from full screen mode. | -| New | Added new previewFile API configuration option([showFullScreenViewButton](../howtos_ui.md/#configuration-options-for-previewfile-api)) to hide full-screen button in right-hand panel. | +| New | Added new previewFile API configuration option([showFullScreenViewButton](../howtos_ui.md/#menu-and-tool-options)) to hide full-screen button in right-hand panel. | ### January, 2024 | Change | Description |