pptx
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePPTXの作成、編集、分析
PPTX Creation, Editing, and Analysis
概要
Overview
ユーザーは.pptxファイルの作成、編集、または内容の分析を依頼する場合があります。.pptxファイルは本質的にXMLファイルとその他のリソースを含むZIPアーカイブであり、読み取りや編集が可能です。タスクに応じて異なるツールとワークフローが利用可能です。
Users may request the creation, editing, or content analysis of .pptx files. A .pptx file is essentially a ZIP archive containing XML files and other resources, which can be read and edited. Different tools and workflows are available depending on the task.
コンテンツの読み取りと分析
Content Reading and Analysis
テキスト抽出
Text Extraction
プレゼンテーションのテキスト内容を読み取るだけの場合は、ドキュメントをmarkdownに変換します:
bash
undefinedIf you only need to read the text content of a presentation, convert the document to markdown:
bash
undefinedドキュメントをmarkdownに変換
Convert document to markdown
python -m markitdown path-to-file.pptx
undefinedpython -m markitdown path-to-file.pptx
undefinedRaw XMLアクセス
Raw XML Access
コメント、発表者ノート、スライドレイアウト、アニメーション、デザイン要素、複雑な書式設定にはRaw XMLアクセスが必要です。これらの機能には、プレゼンテーションを展開してRaw XMLコンテンツを読み取る必要があります。
Raw XML access is required for comments, presenter notes, slide layouts, animations, design elements, and complex formatting. These features require unpacking the presentation to read the raw XML content.
ファイルの展開
Unpacking Files
python ooxml/scripts/unpack.py <office_file> <output_dir>注意: unpack.pyスクリプトはプロジェクトルートからの相対パスでにあります。このパスにスクリプトが存在しない場合は、を使用して検索してください。
skills/pptx/ooxml/scripts/unpack.pyfind . -name "unpack.py"python ooxml/scripts/unpack.py <office_file> <output_dir>Note: The unpack.py script is located at relative to the project root. If the script does not exist at this path, use to search for it.
skills/pptx/ooxml/scripts/unpack.pyfind . -name "unpack.py"主要なファイル構造
Main File Structure
- - メインプレゼンテーションメタデータとスライド参照
ppt/presentation.xml - - 個々のスライドコンテンツ(slide1.xml, slide2.xmlなど)
ppt/slides/slide{N}.xml - - 各スライドの発表者ノート
ppt/notesSlides/notesSlide{N}.xml - - 特定のスライドへのコメント
ppt/comments/modernComment_*.xml - - スライドのレイアウトテンプレート
ppt/slideLayouts/ - - マスタースライドテンプレート
ppt/slideMasters/ - - テーマとスタイル情報
ppt/theme/ - - 画像とその他のメディアファイル
ppt/media/
- - Main presentation metadata and slide references
ppt/presentation.xml - - Individual slide content (slide1.xml, slide2.xml, etc.)
ppt/slides/slide{N}.xml - - Presenter notes for each slide
ppt/notesSlides/notesSlide{N}.xml - - Comments on specific slides
ppt/comments/modernComment_*.xml - - Slide layout templates
ppt/slideLayouts/ - - Master slide templates
ppt/slideMasters/ - - Theme and style information
ppt/theme/ - - Images and other media files
ppt/media/
タイポグラフィと色の抽出
Typography and Color Extraction
模倣するデザイン例がある場合: 以下の方法を使用して、まずプレゼンテーションのタイポグラフィと色を分析します:
- テーマファイルを読む: で色(
ppt/theme/theme1.xml)とフォント(<a:clrScheme>)を確認<a:fontScheme> - スライドコンテンツをサンプリング: で実際のフォント使用(
ppt/slides/slide1.xml)と色を調べる<a:rPr> - パターンを検索: grepを使用してすべてのXMLファイルで色(、
<a:solidFill>)とフォント参照を検索<a:srgbClr>
If there is a design example to emulate: First analyze the presentation's typography and colors using the following methods:
- Read the theme file: Check colors () and fonts (
<a:clrScheme>) in<a:fontScheme>ppt/theme/theme1.xml - Sample slide content: Examine actual font usage () and colors in
<a:rPr>ppt/slides/slide1.xml - Search for patterns: Use grep to search all XML files for colors (,
<a:solidFill>) and font references<a:srgbClr>
テンプレートなしで新規PowerPointプレゼンテーションを作成
Create a New PowerPoint Presentation Without a Template
新規PowerPointプレゼンテーションをゼロから作成する場合は、html2pptxワークフローを使用してHTMLスライドを正確な位置指定でPowerPointに変換します。
When creating a new PowerPoint presentation from scratch, use the html2pptx workflow to convert HTML slides to PowerPoint with precise positioning.
デザイン原則
Design Principles
重要: プレゼンテーションを作成する前に、コンテンツを分析して適切なデザイン要素を選択してください:
- 題材を考慮: このプレゼンテーションは何についてですか?どのようなトーン、業界、または雰囲気を示唆していますか?
- ブランディングを確認: ユーザーが会社/組織に言及している場合、そのブランドカラーとアイデンティティを考慮
- パレットをコンテンツに合わせる: 題材を反映する色を選択
- アプローチを説明: コードを書く前にデザインの選択を説明
要件:
- ✅ コードを書く前にコンテンツに基づいたデザインアプローチを説明
- ✅ Webセーフフォントのみ使用: Arial, Helvetica, Times New Roman, Georgia, Courier New, Verdana, Tahoma, Trebuchet MS, Impact
- ✅ サイズ、太さ、色で明確な視覚的階層を作成
- ✅ 読みやすさを確保: 強いコントラスト、適切なサイズのテキスト、クリーンな配置
- ✅ 一貫性を保つ: スライド全体でパターン、間隔、視覚言語を繰り返す
Important: Before creating a presentation, analyze the content and select appropriate design elements:
- Consider the topic: What is this presentation about? What tone, industry, or atmosphere does it suggest?
- Check branding: If the user mentions a company/organization, consider its brand colors and identity
- Match the palette to the content: Select colors that reflect the topic
- Explain the approach: Explain design choices before writing code
Requirements:
- ✅ Explain the content-based design approach before writing code
- ✅ Use only web-safe fonts: Arial, Helvetica, Times New Roman, Georgia, Courier New, Verdana, Tahoma, Trebuchet MS, Impact
- ✅ Create a clear visual hierarchy with size, weight, and color
- ✅ Ensure readability: Strong contrast, appropriately sized text, clean placement
- ✅ Maintain consistency: Repeat patterns, spacing, and visual language across slides
カラーパレットの選択
Color Palette Selection
創造的に色を選ぶ:
- デフォルトを超えて考える: この特定のトピックに本当に合う色は何ですか?自動的な選択を避ける
- 複数の角度を考慮: トピック、業界、雰囲気、エネルギーレベル、対象者、ブランドアイデンティティ(言及されている場合)
- 冒険的に: 予想外の組み合わせを試す - ヘルスケアのプレゼンテーションが緑である必要はなく、金融が紺色である必要もない
- パレットを構築: 一緒に機能する3-5色を選ぶ(主要色 + サポート色 + アクセント)
- コントラストを確保: テキストは背景上で明確に読める必要がある
カラーパレット例(創造性を刺激するために使用 - 1つを選ぶか、適応するか、独自に作成):
- クラシックブルー: ディープネイビー(#1C2833)、スレートグレー(#2E4053)、シルバー(#AAB7B8)、オフホワイト(#F4F6F6)
- ティール&コーラル: ティール(#5EA8A7)、ディープティール(#277884)、コーラル(#FE4447)、白(#FFFFFF)
- ボールドレッド: レッド(#C0392B)、ブライトレッド(#E74C3C)、オレンジ(#F39C12)、イエロー(#F1C40F)、グリーン(#2ECC71)
- ウォームブラッシュ: モーブ(#A49393)、ブラッシュ(#EED6D3)、ローズ(#E8B4B8)、クリーム(#FAF7F2)
- バーガンディラグジュアリー: バーガンディ(#5D1D2E)、クリムゾン(#951233)、ラスト(#C15937)、ゴールド(#997929)
Choose colors creatively:
- Think beyond defaults: What colors really suit this specific topic? Avoid automatic selections
- Consider multiple angles: Topic, industry, atmosphere, energy level, audience, brand identity (if mentioned)
- Be adventurous: Try unexpected combinations - a healthcare presentation doesn't have to be green, and a financial one doesn't have to be navy blue
- Build a palette: Select 3-5 colors that work together (primary + supporting + accent)
- Ensure contrast: Text must be clearly readable against the background
Color Palette Examples (use to stimulate creativity - choose one, adapt it, or create your own):
- Classic Blue: Deep Navy (#1C2833), Slate Gray (#2E4053), Silver (#AAB7B8), Off-White (#F4F6F6)
- Teal & Coral: Teal (#5EA8A7), Deep Teal (#277884), Coral (#FE4447), White (#FFFFFF)
- Bold Red: Red (#C0392B), Bright Red (#E74C3C), Orange (#F39C12), Yellow (#F1C40F), Green (#2ECC71)
- Warm Blush: Mauve (#A49393), Blush (#EED6D3), Rose (#E8B4B8), Cream (#FAF7F2)
- Burgundy Luxury: Burgundy (#5D1D2E), Crimson (#951233), Rust (#C15937), Gold (#997929)
ビジュアルディテールオプション
Visual Detail Options
ジオメトリックパターン:
- 水平ではなく斜めのセクション区切り
- 非対称な列幅(30/70, 40/60, 25/75)
- 90°または270°で回転したテキストヘッダー
- 画像用の円形/六角形フレーム
- コーナーの三角形アクセントシェイプ
- 奥行きのための重なるシェイプ
ボーダー&フレーム処理:
- 片側のみの太い単色ボーダー(10-20pt)
- コントラストのある色の二重線ボーダー
- フルフレームの代わりにコーナーブラケット
- L字型ボーダー(上+左または下+右)
- ヘッダー下のアンダーラインアクセント(3-5pt太さ)
タイポグラフィ処理:
- 極端なサイズコントラスト(72ptヘッドライン vs 11pt本文)
- ワイドレタースペースの全大文字ヘッダー
- オーバーサイズ表示タイプの番号付きセクション
- データ/統計/技術コンテンツ用のモノスペース(Courier New)
- 密な情報用のコンデンスドフォント(Arial Narrow)
- 強調用のアウトラインテキスト
Geometric Patterns:
- Diagonal section dividers instead of horizontal
- Asymmetric column widths (30/70, 40/60, 25/75)
- Text headers rotated at 90° or 270°
- Circular/hexagonal frames for images
- Triangle accent shapes at corners
- Overlapping shapes for depth
Border & Frame Treatments:
- Thick solid-color border on only one side (10-20pt)
- Double-line border with contrasting colors
- Corner brackets instead of full frames
- L-shaped borders (top+left or bottom+right)
- Underline accent below headers (3-5pt thickness)
Typography Treatments:
- Extreme size contrast (72pt headline vs 11pt body)
- All-caps headers with wide letter spacing
- Oversized display-type numbered sections
- Monospace (Courier New) for data/statistical/technical content
- Condensed font (Arial Narrow) for dense information
- Outline text for emphasis
レイアウトのヒント
Layout Tips
チャートやテーブルを含むスライドを作成する場合:
- 2列レイアウト(推奨): 全幅にわたるヘッダーを使用し、その下に2列を配置 - 一方にテキスト/箇条書き、もう一方に注目コンテンツ。これによりバランスが良くなり、チャート/テーブルが読みやすくなる。各コンテンツタイプ用にスペースを最適化するため、不等列幅(例: 40%/60%分割)のフレックスボックスを使用
- フルスライドレイアウト: 注目コンテンツ(チャート/テーブル)をスライド全体に表示して最大のインパクトと読みやすさを実現
- 縦に積み重ねない: チャート/テーブルをテキストの下に単一列で配置しない - これは読みやすさとレイアウトの問題を引き起こす
When creating slides with charts or tables:
- 2-column layout (recommended): Use a full-width header, with two columns below it - one for text/bullet points and the other for featured content. This provides better balance and makes charts/tables more readable. Use flexbox with unequal column widths (e.g., 40%/60% split) to optimize space for each content type
- Full-slide layout: Display featured content (chart/table) across the entire slide for maximum impact and readability
- Don't stack vertically: Avoid placing charts/tables in a single column below text - this causes readability and layout issues
ワークフロー
Workflow
- 必須 - ファイル全体を読む: を最初から最後まで完全に読んでください。このファイルを読む際に範囲制限を設定しないでください。 プレゼンテーション作成を進める前に、詳細な構文、重要な書式設定ルール、ベストプラクティスのためにファイル全体を読んでください。
html2pptx.md - 適切なサイズ(16:9の場合は720pt × 405ptなど)で各スライド用のHTMLファイルを作成
- すべてのテキストコンテンツに,
<p>-<h1>,<h6>,<ul>を使用<ol> - チャート/テーブルを追加する領域にを使用(視認性のためにグレー背景でレンダリング)
class="placeholder" - 重要: まずSharpを使用してグラデーションとアイコンをPNG画像にラスタライズし、その後HTMLで参照
- レイアウト: チャート/テーブル/画像を含むスライドには、より良い読みやすさのためにフルスライドレイアウトまたは2列レイアウトを使用
- すべてのテキストコンテンツに
- ライブラリを使用してHTMLスライドをPowerPointに変換し、プレゼンテーションを保存するJavaScriptファイルを作成・実行
html2pptx.js- 関数を使用して各HTMLファイルを処理
html2pptx() - PptxGenJS APIを使用してプレースホルダー領域にチャートとテーブルを追加
- を使用してプレゼンテーションを保存
pptx.writeFile()
- ビジュアル検証: サムネイルを生成してレイアウトの問題を確認
- サムネイルグリッドを作成:
python scripts/thumbnail.py output.pptx workspace/thumbnails --cols 4 - サムネイル画像を読み取り、以下を注意深く確認:
- テキスト切れ: ヘッダーバー、シェイプ、またはスライドエッジによるテキスト切れ
- テキスト重なり: 他のテキストやシェイプとのテキスト重なり
- 位置の問題: スライド境界や他の要素に近すぎるコンテンツ
- コントラストの問題: テキストと背景間のコントラスト不足
- 問題が見つかった場合、HTMLのマージン/間隔/色を調整してプレゼンテーションを再生成
- すべてのスライドが視覚的に正しくなるまで繰り返す
- サムネイルグリッドを作成:
- Required - Read the entire file: Read from start to finish. Do not set scope limits when reading this file. Read the entire file for detailed syntax, important formatting rules, and best practices before proceeding with presentation creation.
html2pptx.md - Create HTML files for each slide with appropriate dimensions (e.g., 720pt × 405pt for 16:9)
- Use ,
<p>-<h1>,<h6>,<ul>for all text content<ol> - Use for areas where charts/tables will be added (rendered with a gray background for visibility)
class="placeholder" - Important: First use Sharp to rasterize gradients and icons into PNG images, then reference them in HTML
- Layout: Use full-slide or 2-column layouts for slides containing charts/tables/images for better readability
- Use
- Create and execute a JavaScript file that uses the library to convert HTML slides to PowerPoint and save the presentation
html2pptx.js- Use the function to process each HTML file
html2pptx() - Use the PptxGenJS API to add charts and tables to placeholder areas
- Use to save the presentation
pptx.writeFile()
- Use the
- Visual Validation: Generate thumbnails to check for layout issues
- Create a thumbnail grid:
python scripts/thumbnail.py output.pptx workspace/thumbnails --cols 4 - Read the thumbnail images and carefully check for:
- Text clipping: Text cut off by header bars, shapes, or slide edges
- Text overlapping: Text overlapping with other text or shapes
- Positioning issues: Content too close to slide boundaries or other elements
- Contrast issues: Insufficient contrast between text and background
- If issues are found, adjust HTML margins/spacing/colors and regenerate the presentation
- Repeat until all slides are visually correct
- Create a thumbnail grid:
既存のPowerPointプレゼンテーションを編集
Edit Existing PowerPoint Presentations
既存のPowerPointプレゼンテーションでスライドを編集する場合は、Raw Office Open XML(OOXML)形式で作業する必要があります。これには.pptxファイルを展開し、XMLコンテンツを編集し、再パックする必要があります。
When editing slides in an existing PowerPoint presentation, you must work with the Raw Office Open XML (OOXML) format. This requires unpacking the .pptx file, editing the XML content, and repacking it.
ワークフロー
Workflow
- 必須 - ファイル全体を読む: (約500行)を最初から最後まで完全に読んでください。このファイルを読む際に範囲制限を設定しないでください。 プレゼンテーション編集の前に、OOXML構造と編集ワークフローの詳細なガイダンスについてファイル全体を読んでください。
ooxml.md - プレゼンテーションを展開:
python ooxml/scripts/unpack.py <office_file> <output_dir> - XMLファイルを編集(主にと関連ファイル)
ppt/slides/slide{N}.xml - 重要: 各編集後すぐに検証し、続行前にバリデーションエラーを修正:
python ooxml/scripts/validate.py <dir> --original <file> - 最終プレゼンテーションをパック:
python ooxml/scripts/pack.py <input_directory> <office_file>
- Required - Read the entire file: Read (about 500 lines) from start to finish. Do not set scope limits when reading this file. Read the entire file for detailed guidance on OOXML structure and editing workflows before editing the presentation.
ooxml.md - Unpack the presentation:
python ooxml/scripts/unpack.py <office_file> <output_dir> - Edit XML files (mainly and related files)
ppt/slides/slide{N}.xml - Important: Validate immediately after each edit and fix validation errors before proceeding:
python ooxml/scripts/validate.py <dir> --original <file> - Pack the final presentation:
python ooxml/scripts/pack.py <input_directory> <office_file>
テンプレートを使用して新規PowerPointプレゼンテーションを作成
Create a New PowerPoint Presentation Using a Template
既存テンプレートのデザインに従うプレゼンテーションを作成する必要がある場合は、テンプレートスライドを複製・再配置してからプレースホルダーコンテキストを置き換えます。
When you need to create a presentation that follows the design of an existing template, duplicate and rearrange template slides, then replace placeholder content.
ワークフロー
Workflow
-
テンプレートテキストを抽出しビジュアルサムネイルグリッドを作成:
- テキストを抽出:
python -m markitdown template.pptx > template-content.md - を読む: テンプレートプレゼンテーションの内容を理解するためにファイル全体を読んでください。このファイルを読む際に範囲制限を設定しないでください。
template-content.md - サムネイルグリッドを作成:
python scripts/thumbnail.py template.pptx - 詳細はサムネイルグリッドの作成セクションを参照
- テキストを抽出:
-
テンプレートを分析してインベントリをファイルに保存:
- ビジュアル分析: サムネイルグリッドをレビューしてスライドレイアウト、デザインパターン、ビジュアル構造を理解
- にテンプレートインベントリファイルを作成して保存:
template-inventory.mdmarkdown# テンプレートインベントリ分析 **総スライド数: [数]** **重要: スライドは0インデックス(最初のスライド = 0、最後のスライド = count-1)** ## [カテゴリ名] - スライド0: [利用可能な場合はレイアウトコード] - 説明/目的 - スライド1: [レイアウトコード] - 説明/目的 - スライド2: [レイアウトコード] - 説明/目的 [... すべてのスライドを個別にインデックス付きでリスト ...]
-
テンプレートインベントリに基づいてプレゼンテーションアウトラインを作成:
- ステップ2で利用可能なテンプレートをレビュー
- 最初のスライドにはイントロまたはタイトルテンプレートを選択
- 他のスライドには安全なテキストベースのレイアウトを選択
- 重要: レイアウト構造を実際のコンテンツに合わせる
- 選択したレイアウトをコンテンツマッピングと共にに保存
outline.md
-
を使用してスライドを複製、並べ替え、削除:
rearrange.pybashpython scripts/rearrange.py template.pptx working.pptx 0,34,34,50,52 -
スクリプトを使用してすべてのテキストを抽出:
inventory.pybashpython scripts/inventory.py working.pptx text-inventory.json- text-inventory.jsonを読む: すべてのシェイプとそのプロパティを理解するためにtext-inventory.jsonファイル全体を読んでください。
-
置換テキストを生成してJSONファイルにデータを保存
- 前のステップのテキストインベントリに基づいて置換コンテンツを生成
- 更新されたインベントリをに保存
replacement-text.json
-
スクリプトを使用して置換を適用
replace.pybashpython scripts/replace.py working.pptx replacement-text.json output.pptx
-
Extract template text and create a visual thumbnail grid:
- Extract text:
python -m markitdown template.pptx > template-content.md - Read : Read the entire file to understand the content of the template presentation. Do not set scope limits when reading this file.
template-content.md - Create a thumbnail grid:
python scripts/thumbnail.py template.pptx - Refer to the Creating Thumbnail Grids section for details
- Extract text:
-
Analyze the template and save an inventory to a file:
- Visual analysis: Review the thumbnail grid to understand slide layouts, design patterns, and visual structure
- Create and save a template inventory file in :
template-inventory.mdmarkdown# Template Inventory Analysis **Total slides: [Number]** **Important: Slides are 0-indexed (first slide = 0, last slide = count-1)** ## [Category Name] - Slide 0: [Layout code if available] - Description/purpose - Slide 1: [Layout code] - Description/purpose - Slide 2: [Layout code] - Description/purpose [... List all slides individually with indexes ...]
-
Create a presentation outline based on the template inventory:
- Review the available templates from step 2
- Select an intro or title template for the first slide
- Select safe text-based layouts for other slides
- Important: Match the layout structure to the actual content
- Save the selected layout with content mapping in
outline.md
-
Duplicate, rearrange, and delete slides using:
rearrange.pybashpython scripts/rearrange.py template.pptx working.pptx 0,34,34,50,52 -
Extract all text using thescript:
inventory.pybashpython scripts/inventory.py working.pptx text-inventory.json- Read text-inventory.json: Read the entire text-inventory.json file to understand all shapes and their properties.
-
Generate replacement text and save data to a JSON file
- Generate replacement content based on the text inventory from the previous step
- Save the updated inventory to
replacement-text.json
-
Apply replacements using thescript
replace.pybashpython scripts/replace.py working.pptx replacement-text.json output.pptx
サムネイルグリッドの作成
Creating Thumbnail Grids
PowerPointスライドのビジュアルサムネイルグリッドを素早い分析と参照用に作成するには:
bash
python scripts/thumbnail.py template.pptx [output_prefix]機能:
- 作成: (または大きなデッキの場合は
thumbnails.jpg、thumbnails-1.jpgなど)thumbnails-2.jpg - デフォルト: 5列、グリッドあたり最大30スライド(5×6)
- カスタムプレフィックス:
python scripts/thumbnail.py template.pptx my-grid - 列の調整: (範囲: 3-6、グリッドあたりのスライド数に影響)
--cols 4 - グリッド制限: 3列 = 12スライド/グリッド、4列 = 20、5列 = 30、6列 = 42
- スライドはゼロインデックス(スライド0、スライド1など)
To create a visual thumbnail grid of PowerPoint slides for quick analysis and reference:
bash
python scripts/thumbnail.py template.pptx [output_prefix]Features:
- Creates: (or
thumbnails.jpg,thumbnails-1.jpg, etc. for large decks)thumbnails-2.jpg - Default: 5 columns, maximum 30 slides per grid (5×6)
- Custom prefix:
python scripts/thumbnail.py template.pptx my-grid - Adjust columns: (range: 3-6, affects number of slides per grid)
--cols 4 - Grid limits: 3 columns = 12 slides/grid, 4 columns = 20, 5 columns = 30, 6 columns = 42
- Slides are 0-indexed (slide 0, slide 1, etc.)
スライドを画像に変換
Convert Slides to Images
PowerPointスライドを視覚的に分析するには、2段階のプロセスで画像に変換します:
-
PPTXをPDFに変換:bash
soffice --headless --convert-to pdf template.pptx -
PDFページをJPEG画像に変換:bash
pdftoppm -jpeg -r 150 template.pdf slideこれにより、slide-1.jpgなどのファイルが作成されます。slide-2.jpg
To visually analyze PowerPoint slides, convert them to images using a two-step process:
-
Convert PPTX to PDF:bash
soffice --headless --convert-to pdf template.pptx -
Convert PDF pages to JPEG images:bash
pdftoppm -jpeg -r 150 template.pdf slideThis creates files like,slide-1.jpg, etc.slide-2.jpg
コードスタイルガイドライン
Code Style Guidelines
重要: PPTX操作用のコードを生成する際:
- 簡潔なコードを書く
- 冗長な変数名や重複した操作を避ける
- 不要なprint文を避ける
Important: When generating code for PPTX operations:
- Write concise code
- Avoid redundant variable names and duplicate operations
- Avoid unnecessary print statements
依存関係
Dependencies
必要な依存関係(すでにインストールされているはず):
- markitdown: (プレゼンテーションからのテキスト抽出用)
pip install "markitdown[pptx]" - pptxgenjs: (html2pptxでプレゼンテーションを作成用)
npm install -g pptxgenjs - playwright: (html2pptxでのHTMLレンダリング用)
npm install -g playwright - react-icons: (アイコン用)
npm install -g react-icons react react-dom - sharp: (SVGラスタライズと画像処理用)
npm install -g sharp - LibreOffice: (PDF変換用)
sudo apt-get install libreoffice - Poppler: (pdftoppmでPDFを画像に変換)
sudo apt-get install poppler-utils - defusedxml: (安全なXML解析用)
pip install defusedxml
Required dependencies (should already be installed):
- markitdown: (for text extraction from presentations)
pip install "markitdown[pptx]" - pptxgenjs: (for creating presentations with html2pptx)
npm install -g pptxgenjs - playwright: (for HTML rendering in html2pptx)
npm install -g playwright - react-icons: (for icons)
npm install -g react-icons react react-dom - sharp: (for SVG rasterization and image processing)
npm install -g sharp - LibreOffice: (for PDF conversion)
sudo apt-get install libreoffice - Poppler: (for converting PDF to images with pdftoppm)
sudo apt-get install poppler-utils - defusedxml: (for safe XML parsing)
pip install defusedxml