PSPDFKit for Mac Catalyst PSPDFKit for Mac Catalyst

Mac Catalyst 向けのオールインワン PDF ソリューション

最高のエクスペリエンスをユーザーや開発者に提供するために設計されたツールです。


PSPDFKit for Mac Catalyst


シンプルなコードによる実装

              import PSPDFKit
              import PSPDFKitUI

              // Create the `Document`.
              // This is the container for your PDF file. It can also manage multiple files.
              let fileURL = Bundle.main.url(forResource: "Document", withExtension: "pdf")!
              let document = Document(url: fileURL)

              // Create the PDF view controller.
              // The configuration object is optional and allows additional customization.
              let pdfController = PDFViewController(document: document) {
                $0.thumbnailBarMode = .scrollable
                $0.isPageLabelEnabled = false
              }

              // Present the PDF view controller within a `UINavigationController` to enable the toolbar.
              present(UINavigationController(rootViewController: pdfController), animated: true)
               
            
              @import PSPDFKit;
              @import PSPDFKitUI;

              // Create the `PSPDFDocument`.
              // This is the container for your PDF file. It can also manage multiple files.
              NSURL *documentURL = [NSBundle.mainBundle URLForResource:@"Document" withExtension:@"pdf"];
              PSPDFDocument *document = [[PSPDFDocument alloc] initWithURL:documentURL];

              // Create the PDF view controller.
              // The configuration object is optional and allows additional customization.
              PSPDFViewController *pdfController = [[PSPDFViewController alloc] initWithDocument:document configuration:[PSPDFConfiguration configurationWithBuilder:^(PSPDFConfigurationBuilder *builder) {
                builder.thumbnailBarMode = PSPDFThumbnailBarModeScrollable;
                builder.pageLabelEnabled = NO;
              }]];

              // Present the PDF view controller within a `UINavigationController` to enable the toolbar.
              UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:pdfController];
              [self presentViewController:navController animated:YES completion:NULL];
               
            
              // First clean up the buttons on the right.
              controller.navigationItem.setRightBarButtonItems([], for: .document, animated: false)

              // Then set the left buttons.
              let leftButtons = [controller.settingsButtonItem, controller.outlineButtonItem]
              controller.navigationItem.setLeftBarButtonItems(leftButtons, for: .document, animated: false)
               
            
              // First clean up the buttons on the right.
              [controller.navigationItem setRightBarButtonItems:@[] forViewMode:PSPDFViewModeDocument animated:NO];

              // Then set the left buttons.
              NSArray *leftButtons = @[controller.settingsButtonItem, controller.outlineButtonItem];
              [controller.navigationItem setLeftBarButtonItems:leftButtons forViewMode:PSPDFViewModeDocument animated:NO];
               
            
              // Create `Document`.
              let document = Document(url: documentURL)

              // Create a new free text annotation by defining its contents.
              let freeTextAnnotation = FreeTextAnnotation(contents: "PSPDFKit")

              // Define where you want to place the annotation in the document.
              let boundingBox = CGRect(x: 200, y: 400, width: 50, height: 300)
              freeTextAnnotation.boundingBox = boundingBox

              // Add the newly created annotation to the document.
              document.add(annotations: [freeTextAnnotation])
               
            
              // Create `PSPDFDocument`.
              PSPDFDocument *document = [[PSPDFDocument alloc] initWithURL:documentURL];

              // Create a new free text annotation by defining its contents.
              PSPDFFreeTextAnnotation *freeTextAnnotation = [[PSPDFFreeTextAnnotation alloc] initWithContents:@"PSPDFKit"];

              // Define where you want to place the annotation in the document.
              CGRect boundingBox = { .origin.x = 200.f, .origin.y = 400.f, .size.height = 50.f, .size.width = 300.f };
              freeTextAnnotation.boundingBox = boundingBox;

              // Add the newly created annotation to the document.
              [document addAnnotations:@[freeTextAnnotation] options:nil];
               
            


主なコンポーネント

開発するアプリケーションの機能拡張に合わせて、必要な機能 (コンポーネント) を後から追加することができます。


ビューアー機能

高性能なドキュメント ビューアーによる、より良いユーザー エクスペリエンスを提供します。

  • ビューアー
    PSPDFKit の SDK 製品の基盤となる高性能な PDF ビューアーです。詳細はこちら
  • インデックス検索
    インデックス化された複数の PDF をまたいでコンテンツ内のテキストや注釈を瞬時に検索できます。詳細はこちら
  • フォーム ビューアー
    PDF フォームやフォーム フィールドに保存されたデータを閲覧できます。詳細はこちら
  • モバイル表示
    モバイル デバイスでの閲覧用に、シンプルな単一カラムに最適化してコンテンツを表示できます。詳細はこちら

マークアップ

バラエティ豊富なドキュメント編集、注釈処理ツールを提供します。

  • 注釈
    テキスト、インク、スタンプ、図形、強調表示など、さまざまな注釈を追加できます。詳細はこちら
  • 電子的な署名
    あらゆるドキュメントに対して簡単に、描画、画像追加、スタイル設定された署名の選択や追加などができます。詳細はこちら
  • デジタル署名
    ドキュメントの閲覧、承認、個人証明書によるセキュアな暗号化署名を可能にします。詳細はこちら
  • ドキュメントの編集
    ページの移動、回転、複製、削除、追加などのドキュメント編集が可能です。詳細はこちら
  • フォーム入力
    PDF フォームによるデータの入力や保存だけでなく、フォームの送信もサポートします。詳細はこちら

コラボレーション

簡単に統合できるチーム メンバー間のドキュメント連携ツール

  • インスタント
    リアルタイムな連携、同期、オフライン サポート、データ セキュリティをアプリに追加できます。詳細はこちら
  • コメントと返信
    ドキュメントの詳細についてリアルタイムにやりとりできます。詳細はこちら

高度なツール

PSPDFkit が提供する高度なドキュメント ツールでシンプルな閲覧やマークアップが可能になります。

  • マスキング
    プリセットやパターンを定義してテキストや画像データを除去できます。詳細はこちら
  • ドキュメントの比較
    たとえば、建築設計図のベクター データを比較する際に役立ちます。詳細はこちら
  • OCR
    スキャンしたり PDF に含まれていたりするテキストを編集可能にして、注釈ツールで操作できるようになります。詳細はこちら
  • 計測ツール
    さまざまな計測ツールをツールバーに追加することで、ページ内の図面の長さ、外周、面積を計測できます。詳細はこちら
  • コンテンツの編集
    コンテンツの編集ツールをアプリケーションに組み込むことで、PDF 内のテキストを追加、削除、編集できます。詳細はこちら

さまざまなファイル形式に対応

MS Office や画像などの一般的なファイル形式をサポートします。

  • Office ファイル
    Office ファイル形式を PDF に変換することでクロスプラットフォームでのワークフローを簡素化できます。詳細はこちら
  • 画像ドキュメント
    PSPDFKit の注釈ツールにより、編集不可の画像ファイルの注釈を追加できます。詳細はこちら



ページトップへ