Image AlignMent with added setAnchor
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
The report shows image placement changing when an image is added through a Chunk with an anchor; it does not name a source file or test. Start by locating the image and Chunk anchoring code and its placement tests, then compare the direct-add and anchored cases. Done means the anchored image keeps the expected alignment while retaining the link.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
ClassPathResource classPathResource = new ClassPathResource(backgroundImage);
Image image = Image.getInstance(classPathResource.getURL());
image.setAbsolutePosition(0, 0);
image.scaleToFit(this.document.getPageSize().getWidth(),this.document.getPageSize().getHeight());
// Create a Chunk with the image
Chunk chunk = new Chunk(image, 0, 0, true);
chunk.setAnchor(new URL("http://www.example.com"));
this.document.add(chunk);
when i direct add image to document it working fine , but when i added image with chunk to acheive anchoor effect then its Image towards left
- Lenguaje dominante
- Java
- Estrellas
- 4.4k
- Forks
- 714
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de LibrePDF/OpenPDF
-
Bump brotli4j to 1.24.0Posiblemente ocupada @mcr-paulanand la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
IndexOutOfBoundsException in PdfReaderPosiblemente ocupada @andreasrosdalw la tomó hace 97 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
`PdfSmartCopy` can take effectively unbounded time on nested shared Form XObjectsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
Todos los issues de LibrePDF/OpenPDF
Issues similares
-
[Bug] 资源包列表 与 模组/数据包/世界 列表排列顺序不一致Posiblemente ocupada @fishdry1000 la tomó hace 4 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
AtlasOfLivingAustralia/species-lists#882 ·
Los mantenedores suelen responder en 1 día
-
Type/Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
ballerina-platform/ballerina-library#9458 ·
Los mantenedores suelen responder en 1 día
-
UGS-FX 2.1.27 Open File IssueAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
winder/Universal-G-Code-Sender#3242 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
PCL-Community/PCL-CE#3767 ·
Los mantenedores suelen responder en 1 día