Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Table default padding for cells

Aperta
#1,222 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
java
Ambito
backend

Direzione di ricerca

Start by reading PdfPTable and PdfPCell to understand how table cells are created and where their padding is stored. Then check the existing tests for table and cell properties. Done means PdfPTable can provide a default padding value for its cells, while individual cell padding remains available as described in the request.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Is your feature request related to a problem? Please describe.
Instead of setting each individual PdfPCell's padding, it would be great to be able to set all cells default padding value directly on table. I'm switcing from iText to OpenPDF and this is something I have to manually add to each individual cell.

Describe the solution you'd like
Add default cell padding value to PdfPTable

Describe alternatives you've considered
This is of course possible by simply setting the padding on each cell, or creating a method that adds it automatically when the cell is created.

Your real name
Gustav Walter

Additional context

Lingua principale
Java
Stelle
4.4k
Fork
714
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LibrePDF/OpenPDF

Tutte le issue di LibrePDF/OpenPDF

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.