> For the complete documentation index, see [llms.txt](https://avbravo-2.gitbook.io/jmoordbreport/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://avbravo-2.gitbook.io/jmoordbreport/master.md).

# Introduction

Plugin para NetBeans para generar reportes JasperReport a partir de una clase Java.

**Autor:**

Aristides Villarreal Bravo

<avbravo@gmail.com>

<http://avbravo.blogspot.com>

Solo tienes que escribir la clase y el plugin generara los reportes que necesites.

![](/files/-LgIfFJ8TPsUCHaVD3j7)

**Consideraciones:**

* Genera los reportes all.jasper, details.jasper a partir de una clase en Java
* Para los entitys referenciados, se debe colocar el atributo a mostrar en el metodo toString() de la clase
* Genera subreportes en cuanto encuentra un private List<>, en este caso genera el reporte \_\_master.jasper y \_\_subreport.jasper
* Permite editar el tamaño de la pagina
* Permite crear grupos  personalizados
* Permite crear summarys personalizados
* Muestra el codigo .jrxml que se genera
* Guarda el archivo .jrxml
* Genera el archivo .jasper

**Limitaciones:**

* No contiene interfaz visual para mostrar el reporte construido
* No permite abrir un reporte creado previamente

**Solo escribes la clase Java**&#x20;

![](/files/-LgIl7PeOvJVv3XB5oRF)

**Nota:**

**Debe crear la carpeta reportes dentro de resources**

Para crear los reportes necesitamos crear la carperta reportes dentro de resources

![](/files/-LgItprej5T6vm-wflmI)

Dar clic derecho y seleccionar New-->Folder

![](/files/-LgItyDEkkaB2lqXx4bx)

Indicamos el nombre de la carpeta reportes

![](/files/-LgIu31osNGByw9MTh6g)

Quedaría

![](/files/-LgIu85fjNu-wZLaBeCe)

|   |   |
| - | - |
|   |   |

Dar clic derecho y seleccionar New-->Folder

**Genera los reportes**

![](/files/-LgIlc9puWVgNYNswgRw)

**Soporte Grupos**

![](/files/-Lc1Ws0-hjbmO3znqrET)

&#x20;**y Subreportes**

![](/files/-Lc1Ws01r1CxFe_kn1e9)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://avbravo-2.gitbook.io/jmoordbreport/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
