Referencia de la Clase Mod300ps

Modelo 300 del IVA. Más...

#include <modelo300.h>

Diagrama de herencias de Mod300ps

[leyenda]
Diagrama de colaboración para Mod300ps:
[leyenda]
Lista de todos los miembros.

Métodos públicos

 Mod300ps (QWidget *parent)
 Constructor de la clase Mod300ps.
 ~Mod300ps ()
void accept ()
 Accept slot for the 300-model dialog.
void generaps ()
 Generate the postscript of the 300-model with the given parameters.
void escribe_cuenta_bancaria (int, int)
 Write the CCC-number in the 300-model.
void escribe_postscriptdefs (void)
 Write definitions in the postscript output file, necessary to insert text later.
void rellena_identificacion ()
void rellena_compensacion ()
void rellena_liquidacion ()
 Write the data in the second part of the 300-model.
void escribe_codigo_postal (QString)
void download_form (QWidget *, QString, QString)
void formatdigits (QString *, QString *, float)
void escrizq (QString, int, int)
void escrizq (float, int, int)
void escrder (QString, int, int)
 Writes text in the postscript file aligned to the left (that is, to the right of the given point).
void escrder (float, int, int)
void escrizqder (QString, QString, int, int)
 Writes 2 string left and right aligned respectively.
void escrizqder (float, int, int)
void marca_casilla (QString, int, int)
 Put a character in a square box.
void marcadeagua_borrador ()

Atributos públicos

float baser0
float baser16
float baser7
float baser4
float bases0
float bases16
float bases7
float bases4
float ivas4
float ivas7
float ivas16
float ivar4
float ivar7
float ivar16
float cas34
Genps_threadconvierte_a_postscript
QFile m_fichlec
QFile m_fich
QTextStream m_output
bool m_es_borrador

Atributos protegidos

QString ano
QString empresa

Métodos privados

void personalButtonPressed ()

Atributos privados

QString * nombresccc
QString * numerccc
numerocuentaccc
bool sincuentasbancarias
 Si es true, no tenemos ninguna cuenta de banco en nuestra base de datos.

Descripción detallada

Modelo 300 del IVA.

Clase para generar el modelo 300 de declaración de IVA trimestral en formato postscript. Utiliza los formularios oficiales obtenidos de la Agencia Tributaria convertidos de pdf a postscript. Hereda de Modgenps


Documentación del constructor y destructor

Mod300ps::Mod300ps QWidget parent  ) 
 

Constructor de la clase Mod300ps.

El constructor llama al cuadro de dialogo para seleccionar parametros adecuados para rellenar el modelo. Realiza una consulta para obtener las cuentas bancarias.

Gráfico de llamadas para esta función:

Mod300ps::~Mod300ps  )  [inline]
 


Documentación de las funciones miembro

void Mod300ps::accept  ) 
 

Accept slot for the 300-model dialog.

When pressed, it calls to the generaps method.

Gráfico de llamadas para esta función:

void Modgenps::download_form QWidget ,
QString  ,
QString 
[inherited]
 

void Modgenps::escrder float  ,
int  ,
int 
[inherited]
 

Gráfico de llamadas para esta función:

void Modgenps::escrder QString  cad,
int  x,
int  y
[inherited]
 

Writes text in the postscript file aligned to the left (that is, to the right of the given point).

Parámetros:
cad String to write
x x coordinate of the right point
y y coordinate of the right point
Genera codigo postscript para escribir cad alineado a la izquierda, suponiendo fuente Courier-Bold 12

void Mod300ps::escribe_codigo_postal QString  cod  ) 
 

Escribe el codigo postal en las minusculas casillas destinadas a tal fin.

Gráfico de llamadas para esta función:

void Mod300ps::escribe_cuenta_bancaria int  ,
int 
 

Write the CCC-number in the 300-model.

Gráfico de llamadas para esta función:

void Mod300ps::escribe_postscriptdefs void   ) 
 

Write definitions in the postscript output file, necessary to insert text later.

It set the Courier-Bold 12pt font, and defines functions in postscript to write left-aligned text and right-aligned text.

Ver también:
escribe_cuenta_bancaria, marca_casilla, Modgenps::escrizq, Modgenps::escrder, Modgenps::escrizqder,

void Modgenps::escrizq float  ,
int  ,
int 
[inherited]
 

Gráfico de llamadas para esta función:

void Modgenps::escrizq QString  cad,
int  x,
int  y
[inherited]
 

Genera codigo postscript para escribir cad alineado a la derecha, suponiendo fuente Courier-Bold 12

void Modgenps::escrizqder float  valor,
int  x,
int  y
[inherited]
 

Writes 2 strings left and right aligned respectively

Parámetros:
cad1 Left aligned text
cad2 Right aligned text
x x coordinate of center
y y coordinate of center

Gráfico de llamadas para esta función:

void Modgenps::escrizqder QString  cad1,
QString  cad2,
int  x,
int  y
[inherited]
 

Writes 2 string left and right aligned respectively.

Parámetros:
cad1 Left aligned text
cad2 Right aligned text
x x coordinate of center
y y coordinate of center

Gráfico de llamadas para esta función:

void Modgenps::formatdigits QString *  ,
QString *  ,
float 
[inherited]
 

void Mod300ps::generaps  ) 
 

Generate the postscript of the 300-model with the given parameters.

The hardest part is converting the official pdf to postscript.

Gráfico de llamadas para esta función:

void Modgenps::marca_casilla QString  ,
int  ,
int 
[inherited]
 

Put a character in a square box.

Gráfico de llamadas para esta función:

void Modgenps::marcadeagua_borrador  )  [inherited]
 

void Mod300ps::personalButtonPressed  )  [private]
 

void Mod300ps::rellena_compensacion  ) 
 

Gráfico de llamadas para esta función:

void Mod300ps::rellena_identificacion  ) 
 

Tareas Pendientes:
Solucionar problema cuando el nombre de la empresa (u otro campo) lleva acentos.

El teléfono no cabe (pero no es culpa mía!!)

Gráfico de llamadas para esta función:

void Mod300ps::rellena_liquidacion  ) 
 

Write the data in the second part of the 300-model.

Gráfico de llamadas para esta función:


Documentación de los datos miembro

QString Mod300ps::ano [protected]
 

float Mod300ps::baser0
 

float Mod300ps::baser16
 

float Mod300ps::baser4
 

float Mod300ps::baser7
 

float Mod300ps::bases0
 

float Mod300ps::bases16
 

float Mod300ps::bases4
 

float Mod300ps::bases7
 

float Mod300ps::cas34
 

numerocuenta* Mod300ps::ccc [private]
 

Bank account number

Genps_thread* Modgenps::convierte_a_postscript [inherited]
 

QString Mod300ps::empresa [protected]
 

float Mod300ps::ivar16
 

float Mod300ps::ivar4
 

float Mod300ps::ivar7
 

float Mod300ps::ivas16
 

float Mod300ps::ivas4
 

float Mod300ps::ivas7
 

bool Modgenps::m_es_borrador [inherited]
 

QFile Modgenps::m_fich [inherited]
 

QFile Modgenps::m_fichlec [inherited]
 

QTextStream Modgenps::m_output [inherited]
 

QString* Mod300ps::nombresccc [private]
 

QString* Mod300ps::numerccc [private]
 

bool Mod300ps::sincuentasbancarias [private]
 

Si es true, no tenemos ninguna cuenta de banco en nuestra base de datos.


La documentación para esta clase fué generada a partir de los siguientes archivos:
Generado el Sat May 21 00:05:05 2005 para BulmaGes por  doxygen 1.4.2