Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
9ae35d1
Add hugo-frontmatter-checker skill for auditing Markdown front matter
andruhovski May 8, 2026
839c01d
Update documentation for PDF form field manipulation using Aspose.PDF…
andruhovski May 8, 2026
78a1bf8
Update Spanish documentation for PDF operations in Python (#580)
andruhovski May 12, 2026
ad00ffe
Facades (#581)
AnHolub May 14, 2026
71af69e
Update URLs in Russian documentation for PdfFileInfo, PdfFileSecurity…
andruhovski May 14, 2026
96b4f3d
Enhance Russian step-style skill by adding a new conversion rule for …
andruhovski May 14, 2026
fea6fd5
Refactor section headings for consistency and clarity across multiple…
andruhovski May 14, 2026
500eb95
Update Russian documentation for consistency in headings and section …
andruhovski May 14, 2026
fed093e
Fix URLs in Russian documentation for PDF extraction methods to ensur…
andruhovski May 14, 2026
a18c4c6
Fix links (#583)
AnHolub May 18, 2026
36efc40
chore: minor fixes
andruhovski May 18, 2026
222da4a
Merge origin/master into develop, resolve conflicts keeping develop U…
Copilot May 18, 2026
773a978
Update last modified date and format abstract in system requirements …
andruhovski May 18, 2026
00216c2
Update ru/python-net/overview/supported-file-formats/_index.md
andruhovski May 18, 2026
01d09c2
add pt localization
AnHolub May 21, 2026
25c45d5
chore: update documentation for various PDF operations in Python
AnHolub May 21, 2026
7626bb7
Merge pull request #585 from aspose-pdf/python-net-pt
AnHolub May 25, 2026
8fd69f6
Add French documentation for PDF manipulation features
AnHolub May 26, 2026
f024fb9
fix lastmod
AnHolub May 27, 2026
ae14ecf
fix: update Spanish localization for Hello World examples
AnHolub May 27, 2026
2cf03ac
Merge pull request #587 from aspose-pdf/fix_spanish-pages
AnHolub May 27, 2026
adf3306
Merge pull request #586 from aspose-pdf/python-net-fr
AnHolub May 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 0 additions & 12 deletions .codex-temp.json

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,5 @@ src/
logs/
reports/
.doctranslate/
node_modules/
node_modules/
.codex-temp.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ title: Extract XFA Form
linktitle: Extract XFA Form
type: docs
weight: 30
url: /php-java/extract-form/
url: /php-java/extract-xfa-form/
description: This section explains how to extract forms from your PDF document with Aspose.PDF for PHP via Java.
lastmod: "2024-06-05"
sitemap:
changefreq: "weekly"
changefreq: "monthly"
priority: 0.7
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Fill AcroForms
linktitle: Fill AcroForms
type: docs
weight: 20
url: /php-java/fill-form/
url: /php-java/fill-xfa-form/
description: This section explains how to fill form field in a PDF document with Aspose.PDF for PHP via Java.
lastmod: "2024-06-05"
sitemap:
Expand Down
2 changes: 1 addition & 1 deletion en/python-net/advanced-operations/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ You'll learn different ways to:
- [Working with Graphs](/pdf/python-net/working-with-graphs/) - manipulate with shapes on the page.
- [Working with Operators](/pdf/python-net/working-with-operators/) - make low-level operations in PDF.
- [Artifacts](/pdf/python-net/artifacts/) - deal with watermarks and other special objects in PDF.
- [Working with PDF layers](/python-net/work-with-pdf-layers/) - lock layers, extract elements, flatten, and merge PDF layers.
- [Working with PDF layers](/pdf/python-net/work-with-pdf-layers/) - lock layers, extract elements, flatten, and merge PDF layers.
Original file line number Diff line number Diff line change
Expand Up @@ -326,5 +326,5 @@ def print_button_add(infile, outfile):
- [Media Annotations](/python-net/media-annotations/)
- [Security Annotations](/python-net/security-annotations/)
- [Shape Annotations](/python-net/shape-annotations/)
- [Text Based Annotations](/python-net/text-based-Annotations/)
- [Text Based Annotations](/python-net/text-based-annotations/)
- [Watermark Annotations](/python-net/watermark-annotations/)
Original file line number Diff line number Diff line change
Expand Up @@ -495,5 +495,5 @@ def multimedia_annotations_get(infile, outfile):
- [Markup Annotations](/python-net/markup-annotations/)
- [Security Annotations](/python-net/security-annotations/)
- [Shape Annotations](/python-net/shape-annotations/)
- [Text Based Annotations](/python-net/text-based-Annotations/)
- [Text Based Annotations](/python-net/text-based-annotations/)
- [Watermark Annotations](/python-net/watermark-annotations/)
Original file line number Diff line number Diff line change
Expand Up @@ -214,5 +214,5 @@ def redact_area(infile, outfile):
- [Markup Annotations](/python-net/markup-annotations/)
- [Media Annotations](/python-net/media-annotations/)
- [Shape Annotations](/python-net/shape-annotations/)
- [Text Based Annotations](/python-net/text-based-Annotations/)
- [Text Based Annotations](/python-net/text-based-annotations/)
- [Watermark Annotations](/python-net/watermark-annotations/)
Original file line number Diff line number Diff line change
Expand Up @@ -716,5 +716,5 @@ def polyline_annotation_delete(infile, outfile):
- [Markup Annotations](/python-net/markup-annotations/)
- [Media Annotations](/python-net/media-annotations/)
- [Security Annotations](/python-net/security-annotations/)
- [Text Based Annotations](/python-net/text-based-Annotations/)
- [Text Based Annotations](/python-net/text-based-annotations/)
- [Watermark Annotations](/python-net/watermark-annotations/)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Text Based Annotations using Python
linktitle: Text Annotations
type: docs
weight: 10
url: /python-net/text-based-Annotations/
url: /python-net/text-based-annotations/
description: Learn how to add, inspect, and delete free text, highlight, underline, squiggly, and strikeout annotations in PDF documents using Aspose.PDF for Python via .NET.
lastmod: "2026-04-21"
sitemap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ def watermark_delete(infile, outfile):
- [Media Annotations](/python-net/media-annotations/)
- [Security Annotations](/python-net/security-annotations/)
- [Shape Annotations](/python-net/shape-annotations/)
- [Text Based Annotations](/python-net/text-based-Annotations/)
- [Text Based Annotations](/python-net/text-based-annotations/)
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,5 @@ def import_export(infile, outfile):
- [Media Annotations](/python-net/media-annotations/)
- [Security Annotations](/python-net/security-annotations/)
- [Shape Annotations](/python-net/shape-annotations/)
- [Text Based Annotations](/python-net/text-based-Annotations/)
- [Text Based Annotations](/python-net/text-based-annotations/)
- [Watermark Annotations](/python-net/watermark-annotations/)
2 changes: 1 addition & 1 deletion en/python-net/basic-operations/merge-pdf/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Merge PDF Files in Python
linktitle: Merge PDF files
type: docs
weight: 50
url: /python-net/merge-pdf-documents/
url: /python-net/merge-pdf/
description: Learn how to merge multiple PDF files into a single document in Python.
lastmod: "2026-04-15"
sitemap:
Expand Down
2 changes: 1 addition & 1 deletion en/python-net/basic-operations/split-pdf/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Split PDF Files in Python
linktitle: Split PDF files
type: docs
weight: 60
url: /python-net/split-pdf-document/
url: /python-net/split-pdf/
description: Learn how to split PDF pages into separate PDF files in Python.
lastmod: "2026-04-15"
sitemap:
Expand Down
2 changes: 1 addition & 1 deletion en/python-net/overview/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The Aspose.PDF for Python supports a wide variety of functions such as:

In addition, Aspose.PDF for Python via .NET can be applied to easily convert EPUB, Markdown, Text, XPS, PostScript, XML, LaTex to PDF and convert PDF to various document formats with excellent performance and good quality.

Try our [Free Online Apps](https://products.aspose.app/pdf/applications) demonstrating some of the most popular Aspose.PDF functionality.
Try our [Online Apps](https://products.aspose.app/pdf/applications) that demonstrate some of the most popular Aspose.PDF functionality.

Learn more about:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Annotations
type: docs
weight: 10
url: /python-net/annotations/
url: /python-net/annotations-facades/
description:
lastmod: "2026-03-20"
sitemap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Attachments
type: docs
weight: 20
url: /python-net/attachments/
url: /python-net/attachments-facades/
description:
lastmod: "2026-03-20"
sitemap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Links and Navigation
type: docs
weight: 70
url: /python-net/links-and-navigation/
url: /python-net/links-and-navigation-facades/
description:
lastmod: "2026-03-20"
sitemap:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
---
title: Move Stamp By Index
title: Delete Stamp By Index
type: docs
weight: 50
url: /python-net/move-stamp-by-index/
description: This example creates two rubber stamps on page 2. After that, a stamp can be moved by specifying its index and new coordinates.
url: /python-net/delete-stamp-by-index/
description: This example creates two rubber stamps on page 2. After that, a stamp can be deleted by specifying its index.
lastmod: "2026-03-20"
sitemap:
changefreq: "weekly"
priority: 0.7
TechArticle: true
AlternativeHeadline: Move a Rubber Stamp by Index in a PDF Using PdfContentEditor in Python
Abstract: This example demonstrates how to reposition a rubber stamp annotation in a PDF using its index with Aspose.PDF for Python via the Facades API. It shows how to add multiple stamps and then move one of them based on its order on the page.
AlternativeHeadline: Delete a Rubber Stamp by Index in a PDF Using PdfContentEditor in Python
Abstract: This example demonstrates how to delete a rubber stamp annotation in a PDF using its index with Aspose.PDF for Python via the Facades API. It shows how to add multiple stamps and then delete one of them based on its order on the page.
---

When multiple rubber stamps exist on a page, you can move a specific one using its index. The move_stamp() method allows repositioning annotations according to their sequence, which is useful when you don’t track stamp IDs but know their order.
When multiple rubber stamps exist on a page, you can delete a specific one using its index. The delete_stamp() method allows removing annotations according to their sequence, which is useful when you don’t track stamp IDs but know their order.

1. Create a [PdfContentEditor](https://reference.aspose.com/pdf/python-net/aspose.pdf.facades/pdfcontenteditor/) instance.
1. Bind the input PDF document.
1. Add two rubber stamp annotations on the same page.
1. Demonstrate how to move a stamp using its index.
1. Save the updated PDF document.
1. Bind the input PDF file to the PdfContentEditor instance using bind_pdf(infile).
1. Call 'delete_stamp(1, [2, 3])' to remove the stamp with index 1 from pages 2 and 3.
1. Save the modified PDF document to the output file using save(outfile).

```python
import aspose.pdf.facades as pdf_facades
Expand All @@ -33,31 +33,12 @@ sys.path.append(path.join(path.dirname(__file__), ".."))
from config import set_license, initialize_data_dir


def move_stamp_by_index(infile, outfile):
def delete_stamp_by_index(infile, outfile):
# Create PdfContentEditor object
content_editor = pdf_facades.PdfContentEditor()
# Bind document to PdfContentEditor
content_editor.bind_pdf(infile)

content_editor.create_rubber_stamp(
2,
apd.Rectangle(200, 380, 180, 60),
"Draft",
"Draft stamp for ID-based operations",
apd.Color.orange,
)

content_editor.create_rubber_stamp(
2,
apd.Rectangle(200, 480, 180, 60),
"Draft",
"Draft stamp for ID-based operations",
apd.Color.orange,
)
content_editor.save(outfile)

# Move first stamp on page 1 by index
# content_editor.move_stamp(1, 1, 10, 10)
content_editor.delete_stamp(1, [2, 3])
# Save updated document
content_editor.save(outfile)
```
2 changes: 1 addition & 1 deletion es/python-net/advanced-operations/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Aprenderás diferentes formas de:
- [Trabajando con gráficos](/pdf/es/python-net/working-with-graphs/) - manipular con formas en la página.
- [Trabajando con Operadores](/pdf/es/python-net/working-with-operators/) - realizar operaciones de bajo nivel en PDF.
- [Artefactos](/pdf/es/python-net/artifacts/) - tratar con marcas de agua y otros objetos especiales en PDF.
- [Trabajar con capas PDF](/python-net/work-with-pdf-layers/) - bloquear capas, extraer elementos, aplanar y combinar capas PDF.
- [Trabajar con capas PDF](/pdf/es/python-net/work-with-pdf-layers/) - bloquear capas, extraer elementos, aplanar y combinar capas PDF.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sitemap:
priority: 0.7
TechArticle: true
AlternativeHeadline: Crear archivo PDF con Python
Abstract: Aspose.PDF for Python via .NET es una API versátil diseñada para que los desarrolladores manipulen archivos PDF dentro de aplicaciones Python dirigidas al framework .NET. Permite a los usuarios crear, cargar, modificar y convertir documentos PDF sin esfuerzo. Este artículo proporciona una guía paso a paso para crear un archivo PDF simple usando Aspose.PDF. El proceso implica inicializar un `Document` object, añadir una `Page` al documento, insertar un `TextFragment` en los párrafos de la página, y guardar el archivo como PDF. El fragmento de código Python incluido demuestra estos pasos creando un documento PDF que contiene el texto "Hello World!". Esta API simplifica la manipulación de PDF con código mínimo, mejorando la productividad de los desarrolladores que trabajan con PDFs en entornos .NET.
Abstract: Aspose.PDF for Python via .NET es una API versátil diseñada para que los desarrolladores manipulen archivos PDF dentro de aplicaciones Python dirigidas al framework .NET. Permite a los usuarios crear, cargar, modificar y convertir documentos PDF sin esfuerzo. Este artículo proporciona una guía paso a paso para crear un archivo PDF simple usando Aspose.PDF. El proceso implica inicializar un `Document` object, añadir una `Page` al documento, insertar un `TextFragment` en los párrafos de la página, y guardar el archivo como PDF. El fragmento de código Python incluido demuestra estos pasos creando un documento PDF que contiene el texto "Hola Mundo!". Esta API simplifica la manipulación de PDF con código mínimo, mejorando la productividad de los desarrolladores que trabajan con PDFs en entornos .NET.
---

**Aspose.PDF for Python via .NET** es una API de manipulación de PDF que permite a los desarrolladores crear, cargar, modificar y convertir archivos PDF directamente desde Python para aplicaciones .NET con solo unas pocas líneas de código.
Expand All @@ -33,10 +33,10 @@ from os import path
import aspose.pdf as ap

def create_new_document(output_pdf):
"""Create a simple PDF with a single “Hello World!” page."""
"""Create a simple PDF with a single “Hola Mundo!” page."""
document = ap.Document()
page = document.pages.add()
page.paragraphs.add(ap.text.TextFragment("Hello World!"))
page.paragraphs.add(ap.text.TextFragment("Hola Mundo!"))
document.save(output_pdf)
```

Expand Down
2 changes: 1 addition & 1 deletion es/python-net/basic-operations/merge-pdf/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Combinar archivos PDF en Python
linktitle: Combinar archivos PDF
type: docs
weight: 50
url: /es/python-net/merge-pdf-documents/
url: /es/python-net/merge-pdf/
description: Aprenda cómo combinar varios archivos PDF en un solo documento en Python.
lastmod: "2026-05-08"
sitemap:
Expand Down
2 changes: 1 addition & 1 deletion es/python-net/basic-operations/split-pdf/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Dividir archivos PDF en Python
linktitle: Dividir archivos PDF
type: docs
weight: 60
url: /es/python-net/split-pdf-document/
url: /es/python-net/split-pdf/
description: Aprenda cómo dividir páginas PDF en archivos PDF separados en Python.
lastmod: "2026-04-15"
sitemap:
Expand Down
20 changes: 10 additions & 10 deletions es/python-net/get-started/hello-world-example/_index.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
---
title: Ejemplo de Hello World usando Python
linktitle: Ejemplo Hello World
title: Ejemplo de Hola Mundo usando Python
linktitle: Ejemplo Hola Mundo
type: docs
weight: 20
url: /es/python-net/hello-world-example/
description: Este ejemplo muestra cómo crear un documento PDF simple con el texto Hello World usando Aspose.PDF for Python via .NET.
description: Este ejemplo muestra cómo crear un documento PDF simple con el texto Hola Mundo usando Aspose.PDF for Python via .NET.
lastmod: "2025-02-27"
sitemap:
changefreq: "monthly"
priority: 0.7
TechArticle: true
AlternativeHeadline: Ejemplo Hello World vía Python
Abstract: Este artículo proporciona un ejemplo Hello World usando la biblioteca Aspose.PDF for Python via .NET para crear un documento PDF. El ejemplo muestra los pasos básicos de uso de la API Aspose.PDF generando un PDF con el texto "Hello World!". El proceso implica instanciar un objeto `Document`, agregar un `Page`, crear un objeto `TextFragment`, establecer propiedades de texto como el tamaño y color de la fuente, y usar un `TextBuilder` para añadir el texto a la página. El PDF resultante se guarda como "HelloWorld_out.pdf". El artículo incluye un fragmento de código Python completo que ilustra estos pasos, sirviendo como una guía introductoria al uso de la biblioteca.
AlternativeHeadline: Ejemplo Hola Mundo vía Python
Abstract: Este artículo proporciona un ejemplo Hola Mundo usando la biblioteca Aspose.PDF for Python via .NET para crear un documento PDF. El ejemplo muestra los pasos básicos de uso de la API Aspose.PDF generando un PDF con el texto "Hola Mundo!". El proceso implica instanciar un objeto `Document`, agregar un `Page`, crear un objeto `TextFragment`, establecer propiedades de texto como el tamaño y color de la fuente, y usar un `TextBuilder` para añadir el texto a la página. El PDF resultante se guarda como "HelloWorld_out.pdf". El artículo incluye un fragmento de código Python completo que ilustra estos pasos, sirviendo como una guía introductoria al uso de la biblioteca.
---

Un ejemplo "Hello World" muestra la sintaxis más simple y el programa más sencillo en cualquier lenguaje de programación. A los desarrolladores se les introduce la sintaxis básica del lenguaje aprendiendo a imprimir "Hello World" en la pantalla del dispositivo. Por lo tanto, tradicionalmente comenzaremos nuestro acercamiento a la biblioteca con él.
Un ejemplo "Hola Mundo" muestra la sintaxis más simple y el programa más sencillo en cualquier lenguaje de programación. A los desarrolladores se les introduce la sintaxis básica del lenguaje aprendiendo a imprimir "Hola Mundo" en la pantalla del dispositivo. Por lo tanto, tradicionalmente comenzaremos nuestro acercamiento a la biblioteca con él.

En este artículo, estamos creando un documento PDF que contiene el texto "Hello World!". Después de instalar **Aspose.PDF for Python via .NET** en tu entorno, puedes ejecutar el siguiente ejemplo de código para ver cómo funciona la API de Aspose.PDF.
En este artículo, estamos creando un documento PDF que contiene el texto "Hola Mundo!". Después de instalar **Aspose.PDF for Python via .NET** en tu entorno, puedes ejecutar el siguiente ejemplo de código para ver cómo funciona la API de Aspose.PDF.

El siguiente fragmento de código sigue estos pasos:

Expand All @@ -28,7 +28,7 @@ El siguiente fragmento de código sigue estos pasos:
1. Agregar [TextFragment](https://reference.aspose.com/pdf/python-net/aspose.pdf.text/textfragment/) a la Page
1. [document.save()](https://reference.aspose.com/pdf/python-net/aspose.pdf/document/#methods) documento PDF resultante

El siguiente fragmento de código es un programa "Hello World" que demuestra la funcionalidad de Aspose.PDF for Python via the .NET API.
El siguiente fragmento de código es un programa "Hola Mundo" que demuestra la funcionalidad de Aspose.PDF for Python via the .NET API.

```python
from datetime import timedelta
Expand All @@ -41,7 +41,7 @@ def run_simple(self):
# Add page
page = document.pages.add()
# Add text to new page
textFragment = ap.text.TextFragment("Hello, world!")
textFragment = ap.text.TextFragment("Hola Mundo!")
textFragment.position = ap.text.Position(100, 600)

textFragment.text_state.font_size = 12
Expand All @@ -55,5 +55,5 @@ def run_simple(self):
# Append the text fragment to the PDF page
textBuilder.append_text(textFragment)

document.save(self.data_dir + "HelloWorld_out.pdf")
document.save(self.data_dir + "HolaMundo_out.pdf")
```
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Anotaciones
linktitle: Anotaciones
type: docs
weight: 10
url: /es/python-net/annotations/
url: /es/python-net/annotations-facades/
description:
lastmod: "2026-03-20"
sitemap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Adjuntos
linktitle: Adjuntos
type: docs
weight: 20
url: /es/python-net/attachments/
url: /es/python-net/attachments-facades/
description:
lastmod: "2026-03-20"
sitemap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Enlaces y navegación
linktitle: Enlaces y navegación
type: docs
weight: 70
url: /es/python-net/links-and-navigation/
url: /es/python-net/links-and-navigation-facades/
description:
lastmod: "2026-03-20"
sitemap:
Expand Down
Loading
Loading