-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
62 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 0 additions & 78 deletions
78
deployment/src/main/java/io/quarkiverse/jasperreports/deployment/OpenPdfProcessor.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
runtime/src/main/java/io/quarkiverse/jasperreports/graal/FopGlyphProcessorSubstitution.java
This file was deleted.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
runtime/src/main/java/net/sf/jasperreports/pdf/classic/ClassicRadioCheckSubstitution.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package net.sf.jasperreports.pdf.classic; | ||
|
||
import java.io.IOException; | ||
|
||
import com.lowagie.text.DocumentException; | ||
import com.lowagie.text.pdf.PdfFormField; | ||
import com.lowagie.text.pdf.RadioCheckField; | ||
import com.oracle.svm.core.annotate.Alias; | ||
import com.oracle.svm.core.annotate.Substitute; | ||
import com.oracle.svm.core.annotate.TargetClass; | ||
|
||
import net.sf.jasperreports.engine.JRRuntimeException; | ||
|
||
@TargetClass(className = "net.sf.jasperreports.pdf.classic.ClassicRadioCheck") | ||
final class ClassicRadioCheckSubstitution { | ||
|
||
@Alias | ||
ClassicPdfProducer pdfProducer; | ||
@Alias | ||
RadioCheckField radioCheckField; | ||
|
||
@Substitute | ||
public void addToGroup() throws IOException { | ||
PdfFormField radioGroup = this.pdfProducer.getRadioGroup(this.radioCheckField); | ||
|
||
try { | ||
radioGroup.addKid(this.radioCheckField.getKidField()); | ||
} catch (DocumentException var3) { | ||
DocumentException e = var3; | ||
throw new JRRuntimeException(e); | ||
} | ||
} | ||
|
||
} |