Skip to content

DOCINFRA-2341_merged_using_automation #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
Dec 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a176f53
Merge pull request #4 from syncfusion-content/hotfix/hotfix-v19.3.0.53
SyncfusionBuild Nov 16, 2021
3d26def
Update v19.3.0.54.md
SyncfusionBuild Nov 17, 2021
acdd9d2
Updating the Jenkinsfile with Github URL.
SyncfusionBuild Nov 19, 2021
794006d
Merge pull request #6 from Syncfusion-Content/hotfix/hotfix-v19.3.0.53
SyncfusionBuild Nov 19, 2021
c0e487d
Merge pull request #7 from syncfusion-content/hotfix/hotfix-v19.3.0.53
SyncfusionBuild Nov 19, 2021
da0c90e
Merge pull request #10 from Syncfusion-Content/hotfix/hotfix-v19.3.0.53
SyncfusionBuild Nov 22, 2021
ff2ea4d
Merge pull request #15 from Syncfusion-Content/hotfix/hotfix-v19.3.0.53
SyncfusionBuild Nov 25, 2021
ce36b8a
FLUT-5931-UGUpdation for SfCalendar.
Nov 25, 2021
5be3d01
Merge pull request #19 from Syncfusion-Content/hotfix/hotfix-v19.3.0.53
SyncfusionBuild Nov 27, 2021
ff9d333
Merge pull request #22 from Syncfusion-Content/hotfix/hotfix-v19.3.0.53
SyncfusionBuild Nov 29, 2021
45c2d78
Merge pull request #17 from syncfusion-content/FLUT-5931-UGUpdation
Nijamudeen-Mohamed Dec 2, 2021
40f6b4e
Merge pull request #29 from Syncfusion-Content/hotfix/hotfix-v19.3.0.53
SyncfusionBuild Dec 6, 2021
ecd66e7
Merge pull request #30 from Syncfusion-Content/hotfix/hotfix-v19.3.0.53
SyncfusionBuild Dec 7, 2021
c0ed187
Merge pull request #35 from Syncfusion-Content/hotfix/hotfix-v19.3.0.53
SyncfusionBuild Dec 10, 2021
3428c7e
Merge pull request #42 from Syncfusion-Content/hotfix/hotfix-v19.3.0.53
SyncfusionBuild Dec 13, 2021
779bae1
Merge remote-tracking branch 'remotes/origin/hotfix/hotfix-v19.3.0.53'
DeepakRajSundar Dec 16, 2021
863ebfb
Update Upgrade.md
KalapJohnsonPeterPaulraj Dec 16, 2021
97debb6
Merge pull request #51 from syncfusion-content/IN-17611-UG_Improvemen…
BalajiRenganathan1703 Dec 16, 2021
65fab8c
Merge pull request #52 from Syncfusion-Content/hotfix/hotfix-v19.3.0.53
SyncfusionBuild Dec 16, 2021
20ce727
Merge pull request #54 from Syncfusion-Content/development
SyncfusionBuild Dec 16, 2021
c9a896b
FLUT-5982-[feature][flutter]: Added changes for loading encrypted doc…
deepika134 Dec 18, 2021
2c8e381
Update flutter-toc.html
deepika134 Dec 18, 2021
7e66ba1
Merge pull request #55 from syncfusion-content/FLUT-5982-SfPdfViewer
dillibabu1802 Dec 18, 2021
344aec4
Merge pull request #56 from Syncfusion-Content/hotfix/hotfix-v19.4.0.38
SyncfusionBuild Dec 20, 2021
683ea97
FLUT-5974- renamed the title.
dillibabu1802 Dec 20, 2021
d2d351a
FLUT-5974- renamed the title.
dillibabu1802 Dec 20, 2021
6a890f5
FLUT-5974-[feature][flutter]: Added changes.
deepika134 Dec 20, 2021
8883c61
Merge pull request #58 from syncfusion-content/FLUT-5974-UGdocs
dillibabu1802 Dec 20, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Flutter/calendar/appointments.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,9 @@ class Meeting {
{% endhighlight %}
{% endtabs %}

>**NOTE**
* This method must be implemented to get the data with business object type when drag and drop and appointment resizing enabled.

## Spanned appointments

Spanned Appointment is an appointment, which lasts more than 24 hours. It does not block out time slots in SfCalendar, it will render in `All-Day appointment panel` exclusively.
Expand Down
4 changes: 1 addition & 3 deletions Flutter/pdf-viewer/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ Once the package has been imported, initialize the `SfPdfViewer` as a child of a
* File
* Memory

N> Currently, we do not support viewing the password-protected PDF document.

### Load document from the Asset

The [SfPdfViewer.asset](https://pub.dev/documentation/syncfusion_flutter_pdfviewer/latest/pdfviewer/SfPdfViewer/SfPdfViewer.asset.html) creates a widget that displays the PDF document obtained from an [`AssetBundle`](https://api.flutter.dev/flutter/services/AssetBundle-class.html). The following code example explains the same.
Expand Down Expand Up @@ -306,7 +304,7 @@ Widget build(BuildContext context) {
The [onDocumentLoadFailed](https://pub.dev/documentation/syncfusion_flutter_pdfviewer/latest/pdfviewer/SfPdfViewer/onDocumentLoadFailed.html) callback triggers when the document loading fails in the `SfPdfViewer`. That is,

* When any corrupted document is loaded.
* When any password-protected document is loaded.
* When any password-protected document is loaded with invalid or empty password.
* When any improper input source value like the wrong URL or file path is given.
* When any non-PDF document is loaded.

Expand Down
Binary file added Flutter/pdf-viewer/images/password-dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions Flutter/pdf-viewer/viewing-password-protected-pdf-files.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
layout: post
title: Viewing password-protected PDFs in Flutter PDF Viewer | Syncfusion
description: Learn here all about loading password-protected PDF feature of Syncfusion Flutter PDF Viewer (SfPdfViewer) widget and more.
platform: Flutter
control: SfPdfViewer
documentation: ug
---

# Viewing password-protected PDF's in Flutter PDF Viewer (SfPdfViewer)

When loading a password-protected document without a password or with an invalid password in [SfPdfViewer](https://pub.dev/documentation/syncfusion_flutter_pdfviewer/latest/pdfviewer/SfPdfViewer-class.html) using the [password](https://pub.dev/documentation/syncfusion_flutter_pdfviewer/latest/pdfviewer/SfPdfViewer/password.html) property. The default password dialogue will be displayed.

![Password dialog](images/password-dialog.png)

## Customize the visibility of password dialogue

The password-protected document can be loaded by providing the password in the [password](https://pub.dev/documentation/syncfusion_flutter_pdfviewer/latest/pdfviewer/SfPdfViewer/password.html) property of SfPdfViewer. The [canShowPasswordDialog](https://pub.dev/documentation/syncfusion_flutter_pdfviewer/latest/pdfviewer/SfPdfViewer/canShowPasswordDialog.html) property allows the user to customize the password dialogue visibility. The following code example explains the same.

{% tabs %}
{% highlight Dart %}

@override
Widget build(BuildContext context) {
return Scaffold(
body: Container(
child: SfPdfViewer.asset(
'assets/encrypted_document.pdf',
password:'syncfusion',
canShowPasswordDialog: false,)));
}

{% endhighlight %}
{% endtabs %}
1 change: 1 addition & 0 deletions flutter-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@
<li><a href="/Flutter/pdf-viewer/document-link-annotation">Document link annotation</a></li>
<li><a href="/Flutter/pdf-viewer/interaction-modes">Interaction modes</a></li>
<li><a href="/Flutter/pdf-viewer/page-layout-and-scroll-direction">Page layout and Scrolling options</a></li>
<li><a href="/Flutter/pdf-viewer/viewing-password-protected-pdf-files">Viewing Password protected PDF Files</a></li>
<li><a href="/Flutter/pdf-viewer/Localization">Localization</a></li>
<li><a href="/Flutter/pdf-viewer/accessibility">Accessibility</a></li>
</ul>
Expand Down