diff --git a/trunk/siprp/medicina/locais_realizacao/FaxPrinter.java b/trunk/siprp/medicina/locais_realizacao/FaxPrinter.java
new file mode 100644
index 00000000..b88ff27e
--- /dev/null
+++ b/trunk/siprp/medicina/locais_realizacao/FaxPrinter.java
@@ -0,0 +1,118 @@
+/*
+ * FaxPrinter.java
+ *
+ * Created on March 1, 2007, 3:26 PM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package siprp.medicina.locais_realizacao;
+
+import com.evolute.utils.ui.CustomJDialog;
+import info.clearthought.layout.TableLayout;
+import info.clearthought.layout.TableLayoutConstraints;
+import java.awt.FlowLayout;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import javax.swing.JButton;
+import javax.swing.JLabel;
+import javax.swing.JPanel;
+import javax.swing.JTextField;
+import javax.swing.SwingUtilities;
+
+/**
+ *
+ * @author fpalma
+ */
+public class FaxPrinter extends CustomJDialog
+ implements ActionListener
+{
+ private JTextField deText;
+ private JTextField deEmailText;
+ private JTextField deFaxText;
+ private JTextField deTelefoneText;
+ private JTextField assuntoText;
+ private JButton imprimirButton;
+ private JButton cancelarButton;
+
+ /** Creates a new instance of FaxPrinter */
+ public FaxPrinter()
+ {
+ setupComponents();
+ }
+
+ private void setupComponents()
+ {
+ JLabel deLabel = new JLabel( "De" );
+ deText = new JTextField();
+ JLabel deEmailLabel = new JLabel( "E-mail" );
+ deEmailText = new JTextField();
+ JLabel deFaxLabel = new JLabel( "Fax" );
+ deFaxText = new JTextField();
+ JLabel deTelefoneLabel = new JLabel( "N\u00famero de telefone" );
+ deTelefoneText = new JTextField();
+ JLabel assuntoLabel = new JLabel( "Assunto" );
+ assuntoText = new JTextField();
+ imprimirButton = new JButton( "Imprimir" );
+ imprimirButton.addActionListener( this );
+ cancelarButton = new JButton( "Cancelar" );
+ cancelarButton.addActionListener( this );
+ JPanel buttonPanel = new JPanel();
+
+ double cols[] =
+ new double[]{ TableLayout.MINIMUM, TableLayout.PREFERRED, TableLayout.MINIMUM,
+ TableLayout.PREFERRED, };
+ double rows[] =
+ new double[]{ TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED,
+ TableLayout.PREFERRED, };
+
+ TableLayout tableLayout = new TableLayout( cols,rows );
+ setLayout( tableLayout );
+
+ add( deLabel, new TableLayoutConstraints( 0, 0 ) );
+ add( deText, new TableLayoutConstraints( 1, 0 ) );
+ add( deEmailLabel, new TableLayoutConstraints( 2, 0 ) );
+ add( deEmailText, new TableLayoutConstraints( 3, 0 ) );
+ add( deFaxLabel, new TableLayoutConstraints( 0, 1 ) );
+ add( deFaxText, new TableLayoutConstraints( 1, 1 ) );
+ add( deTelefoneLabel, new TableLayoutConstraints( 2, 1 ) );
+ add( deTelefoneText, new TableLayoutConstraints( 3, 1 ) );
+ add( assuntoLabel, new TableLayoutConstraints( 0, 2 ) );
+ add( assuntoText, new TableLayoutConstraints( 1, 2, 3, 2 ) );
+ add( buttonPanel, new TableLayoutConstraints( 0, 3, 3, 3 ) );
+
+ buttonPanel.setLayout( new FlowLayout( FlowLayout.CENTER ) );
+ buttonPanel.add( imprimirButton );
+ buttonPanel.add( cancelarButton );
+
+ }
+
+ public void actionPerformed(ActionEvent e)
+ {
+ Object source = e.getSource();
+ if( source.equals( imprimirButton ) )
+ {
+ print();
+ }
+ else if( source.equals( cancelarButton ) )
+ {
+ close();
+ }
+ }
+
+ public void close()
+ {
+ SwingUtilities.invokeLater( new Runnable(){
+ public void run()
+ {
+ setVisible( false );
+ dispose();
+ }
+ } );
+ }
+
+ public void print()
+ {
+ }
+}
diff --git a/trunk/siprp/medicina/locais_realizacao/fax_ecds.xsl b/trunk/siprp/medicina/locais_realizacao/fax_ecds.xsl
new file mode 100644
index 00000000..5f69e4ec
--- /dev/null
+++ b/trunk/siprp/medicina/locais_realizacao/fax_ecds.xsl
@@ -0,0 +1,295 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nº de Páginas (incluíndo esta)
+ / Number of pages:
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Data
+ / Date:
+
+
+
+
+ 24-01-2007
+
+
+
+
+
+
+
+ Para
+ / To:
+
+
+
+
+ Anabela Sousa
+
+
+
+
+
+
+
+ Empresa
+ / Company:
+
+
+
+
+ Laboratório Dr. David Santos Pinto
+
+
+
+
+
+
+
+ Nº Fax
+ / Fax number:
+
+
+
+
+ 217 216 063
+
+
+
+
+
+
+
+ De
+ / From:
+
+
+
+
+ Paula Dias
+
+
+
+
+ E-mail:
+
+
+
+
+ pdias@siprp.pt
+
+
+
+
+
+
+
+ Nº Fax
+ / Fax number:
+
+
+
+
+ (+351) 21 350 45 49
+
+
+
+
+ Nº Tel.
+ / Phone number:
+
+
+
+
+ (+351) 21 350 45 40
+
+
+
+
+
+
+
+
+
+
+
+
+ Assunto
+ / Subject:
+
+
+
+
+ Marcação de Colheitas para Análise
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cliente:
+
+
+
+
+ Evolute
+
+
+
+
+ Local:
+
+
+
+
+ Laboratório Dr. David Santos Pinto
+
+
+
+
+
+
+
+ Data:
+
+
+
+
+ 25-01-2007
+
+
+
+
+ Hora:
+
+
+
+
+ 08H00
+
+
+
+
+
+
+
+ Exmos. Senhores,
+
+
+ Informo que o seguinte colaborador irá comparecer nas vossas instalações para colheita:
+
+
+
+
+
+
+
+
+
+
+ NOME DO FUNCIONÁRIO
+
+
+
+
+ DATA_NASCIMENTO
+
+
+
+
+ PERFIL
+
+
+
+
+
+
+
+ FREDERICO ALEXANDRE DE MATOS MONGE PALMA
+
+
+
+
+ 02-10-1976
+
+
+
+
+ 1
+
+
+
+
+
+
+ PERFIL 1:
+ Hemograma, Vel. Sedimentação, Glicemia em Jejum, Creatinina, Colesterol Total,
+ Colesterol HDL, Triglicéridos, Transaminases, Gama GT e Urina II.
+
+
+ PERFIL 2:
+ Hemograma, Vel. Sedimentação, Glicemia em Jejum, Creatinina, Colesterol Total,
+ Colesterol HDL, Triglicéridos, Transaminases, Gama GT e Urina II.
+
+
+
+
+
+
+
+
+ AGRADEÇO QUE ESTA LISTAGEM NOS SEJA REENVIADA COM INDICAÇÃO DAS
+ EVENTUAIS FALTAS OCORRIDAS
+
+
+
+
+
+
+
+ Sem outro assunto de momento, aproveitamos para apresentar os nossos melhores cumprimentos,
+
+
+
+ Paula Dias
+
+
+
+
+
+
+
+
diff --git a/trunk/siprp/medicina/locais_realizacao/fax_ecds_teste.xml b/trunk/siprp/medicina/locais_realizacao/fax_ecds_teste.xml
new file mode 100644
index 00000000..4574d48a
--- /dev/null
+++ b/trunk/siprp/medicina/locais_realizacao/fax_ecds_teste.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+