Page 1 of 1

OT..Algun editor para archivos .HTM (SOLUCIONADO)

PostPosted: Fri Jan 05, 2018 6:09 pm
by ACC69
Hola buenas tardes esperando que se encuentren les envio cordial saludos y FELIZ AÑO NUEVO.

A todos los estimados alguien me puedan recomendar algún Editor para archivos con extensión .HTM y que el mismo editor me visualice como va quedando mi formato o pantalla porfavor?

Actualmente ando modificando con Word pero es medio no difícil pero se me descuatrapea al visualizarlo por IE , son archivos de plantillas de formato fact.htm que ando modificando e insertando etiquetas.

Ojo: No son archivos para paginas web ...Son plantillas .htm para formatos de impresión de factura.

De antemano muchas gracias.

Saludos

Atte: Adriano C. C.

Re: OT..Algun editor para archivos .HTM

PostPosted: Fri Jan 05, 2018 8:02 pm
by cnavarro
Puedes enviarme un pequeño ejemplo para hacer una prueba?
Quizás con FivEdit puedas hacer lo que necesitas

Re: OT..Algun editor para archivos .HTM

PostPosted: Fri Jan 05, 2018 8:23 pm
by cnavarro
Te pongo un ejemplo con .HTML, por eso te solicito un ejemplo para probarlo y ver si necesita algún ajuste el editor

Image

Re: OT..Algun editor para archivos .HTM

PostPosted: Mon Jan 08, 2018 9:26 pm
by ACC69
cnavarro wrote:Te pongo un ejemplo con .HTML, por eso te solicito un ejemplo para probarlo y ver si necesita algún ajuste el editor

Image



Hola buenas tardes Ing. Cristobal. ok en un momento le envio el archivo.

Code: Select all  Expand view
<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=Generator content="Microsoft Word 15 (filtered)">
<title>%IMAGEN_LOGO%</title>
<style><!--          
td {            
    vertical-align: top;            
    border-color: #808080;          /*            
    border-bottom-style: solid;            
    border-bottom-width: 1px;           */
           
    padding-left: 0.02in;            
    padding-right: 0.02in;            
    padding-top: 0.02in;            
    padding-bottom: 0.02in;}          
.vcenter {vertical-align: middle;}          
.hcenter {text-align: center;}          
.hleft {text-align: left;}          
.hright {text-align: right;}
--></style>

</head>

<body lang=ES-MX link=blue vlink="#954F72">

<div class=WordSection1>

<table border="0" cellspacing="0" cellpadding="0" width="100%"
    style="font-family: Arial; font-size: 7pt; text-align: left; background: white; border-left-width:0px; border-right-width:0px">
   <tr>    
    <td colspan="3" style="vertical-align: bottom; border-color: #808080; padding: 0.02in" height="20">    
        <hr style="height: 1px; width: 100%; color: #808080; border: 0 none; background-color: #808080"></td>
   </tr>
   <tr>
    <td width="30%" class="vcenter" style="vertical-align: middle">    
        <p style="text-align: center">     
        %IMAGEN_LOGO%<br />
        <font face="Segoe UI" size="1" color="#333333">
        ESTE DOCUMENTO ES UNA REPRESENTACIÓN IMPRESA DE UN CFDI</font></td>       
    <td width="40%" style="vertical-align: top; border-color: #808080; padding: 0.02in; text-align: center">       
                <font face="Segoe UI" size="2" color="#333333">
        <b>%EMISOR_NOMBRE%<br />
        R.F.C.: </b>%EMISOR_RFC%</font><br />
        <font face="Segoe UI" size="1" color="#333333">
        <b>REGIMEN FISCAL: </b>%INVOICE_REGIMEN_FISCAL_COD% %INVOICE_REGIMEN_FISCAL%</font><br /><br />
        <font face="Segoe UI" size="2" color="#333333">
        <b>CLIENTE: </b>%RECEPTOR_NOMBRE%<br/>
                <b>R.F.C.: </b>%RECEPTOR_RFC%</font><br/>
        <font face="Segoe UI" size="1" color="#333333">
        <b>USO CFDI: </b>%RECEPTOR_USO_CFDI_COD% - %RECEPTOR_USO_CFDI_DES%</font></td>         
    <td width="30%" style="vertical-align: top; border-color: #808080; padding: 0.02in">
        <font face="Segoe UI" size="4" color="#808080">
        <b>FACTURA: </b></font>
        <font face="Segoe UI" size="4" color="red">
        <b>%INVOICE_SERIE% - %INVOICE_FOLIO%</b></font>
        <hr style="height: 1px; width: 100%; color: #808080; border: 0 none; background-color: #808080">
        <font face="Segoe UI" size="1" color="#333333">         
                <b>FECHA EMISION: </b>%INVOICE_SDATE%  %INVOICE_HOUR%<br />
        <b>FECHA TIMBRADO: </b>%TFD_FECHA%<br>
        <b>FECHA VENCIMIENTO: </b>%\//Compac/Encabezado/MGW10008|cFechaVencimiento\%</font>
        <hr style="height: 1px; width: 100%; color: #808080; border: 0 none; background-color: #808080">
        <font face="Segoe UI" size="1" color="#333333">
        <b>LUGAR DE EXPEDICION: </b>%EMISOR_CP%<br />
            <b>TIPO DE COMPROBANTE: </b>%INVOICE_TIPO_COMPROBANTE% - %INVOICE_TIPO_COMPROBANTE_DES%</font></td>        
   </tr>
   <tr>    
    <td colspan="3" style="vertical-align: top; border-color: #808080; padding: 0.02in" height="19">       
        <hr style="height: 1px; width: 100%; color: #808080; border: 0 none; background-color: #808080"></td>
   </tr>
   <tr>
    <td width="30%" class="hleft">     
        <font face="Segoe UI" size="1" color="#333333">
        <b>CERTIFICADO DEL SAT: </b>%TFD_SERIE_CERT%<br />
        <b>CERTIFICADO DEL EMISOR: </b>%SERIE_CERT%<br />
        <b>FOLIO FISCAL: </b>%TFD_FOLIO%</font></td>   
    <td width="40%" class="hcenter">
        <font face="Segoe UI" size="1" color="#333333">
        <b>TIPO RELACIÓN:</b> %D%%TIPO_RELACION_COD% - %TIPO_RELACION_DES%<br />
        <b>CFDI RELACIONADO:</b>%UUID_RELACIONADO% %/D%<br />
        <b>CLAVE CONFIRMACIÓN: </b>%INVOICE_CONFIRMACION%</font></td>
    <td width="30%" class="hleft">
        <font face="Segoe UI" size="1" color="#333333">
        <b>FORMA DE PAGO: </b>%INVOICE_FORMAPAGO% -  %INVOICE_FORMAPAGO_DES%<br />
        <b>METODO DE PAGO: </b>%INVOICE_METODO_PAGO% -  %INVOICE_METODO_PAGO_DES%<br />
        <b>CONDICION DE PAGO: </b>%\//Compac/Encabezado/MGW10008|cCondiPago\%</font></td>
   </tr>
</table>

<table border="1" cellpadding="2" cellspacing="0" style="font-family: Arial; font-size: 7pt; text-align: left; background: white; width: 100%;" id="table1">
<thead>
    <tr style="background: #2EB1EF;color: white">
            <th width="5%" align="center">CANTIDAD</th>
                <th width="10%" align="center">PROD/SERV</th>          
                <th width="10%" align="center">UNIDAD</th>         
                <th width="55%" align="center">DESCRIPCION</th>
                <th width="5%" align="center">VALOR UNITARIO</th>
        <th width="5%" align="center">IVA</th>
        <th width="10%" align="center">IMPORTE</th>
    </tr>
</thead>            
        <tr id="Concepto" style="page-break-inside : avoid">
            <td class="hcenter" width="5%" style="vertical-align: middle">     
            <font face="Segoe UI" style="font-size: 8pt">
            <span id="cantidad">%C%&nbsp;%CONCEPTO_CANTIDAD%</span>
            </font></td>
                <td class="hcenter" width="10%" style="vertical-align: middle">
                        <font face="Segoe UI" style="font-size: 8pt">
            <span id="unidad">%CONCEPTO_CLAVE_PROD_SERV_COD%</span>
            </font></td>       
                <td class="hcenter" width="10%" style="vertical-align: middle">
                        <font face="Segoe UI" style="font-size: 8pt">
            <span id="unidad">%CONCEPTO_CLAVE_UNIDAD_COD%
            <br>%CONCEPTO_UNIDAD%</span>
            </font></td>       
        <td class="hleft" width="55%" style="vertical-align: middle">
                        <font face="Segoe UI" style="font-size: 8pt">
            <span id="noIdentificacion">%CONCEPTO_DESC% %\.|cObserva01\%</span>
            </font></td>
                <td class="hright" width="5%" style="vertical-align: middle">
                        <font face="Segoe UI" style="font-size: 8pt">
                        <span id="valorUnitario0" typeof="Currency">%CONCEPTO_VALORUNITARIO%</span>
                        </font></td>
        <td class="hright" width="5%" style="vertical-align: middle">
                        <font face="Segoe UI" style="font-size: 8pt">
                        <span id="valorUnitario" typeof="Currency">%\.|cImpuesto1\%</span>
                        </font></td>
                <td class="hright" width="10%" style="vertical-align: middle">     
                        <font face="Segoe UI" style="font-size: 8pt">
            <span id="importe" typeof="Currency">%CONCEPTO_TOTAL%%/C%</span>
            </font></td>
        </tr>                
</table>
<br>
<table style="font-family: Arial; font-size: 7pt; text-align: left; background: white; width: 100%">           
    <tr>
        <td>
            <font face="Segoe UI" style="font-size: 9pt; font-weight: 700">
            <b>IMPORTE CON LETRA: </b>%\//Compac/Encabezado/MGW10008/Funciones|f_TOTALLETRA\%<br /><br />
                    <b>MONEDA: </b>%MONEDA_COD% - %MONEDA_DES%<b>TIPO DE CAMBIO: </b>%\//Compac/Encabezado/MGW10008|cTipoCam01\%<br />
            <b>OBSERVACIONES: </b>%\//Compac/Encabezado/MGW10008|cObserva01\%<br /></font>
        </td>          
        <td>           
            <table border="0" cellspacing="0" cellpadding="2" align="right" style="font-family: Arial; font-size: 7pt; text-align: left; background: white" width="221">
                <tr>
                    <th align="right" width="83">
                    <font style="font-size: 9pt" color="#333333">SUBTOTAL:</font></th>
                    <th align="right" width="169">     
                    <span style="font-size: 8pt" id="Comprobante_subTotal" typeof="Currency">%SUBTOTAL%</span></th>
                </tr>
                <tr>
                    <th class="hright" width="83">
                    <font style="font-size: 9pt" color="#333333">I.V.A.:</font></th>
                    <th class="hright" width="169">    
                    <span style="font-size: 8pt" typeof="Currency">%IVA%</span></th>
                </tr>
                <tr>
                    <th colspan="2" height="21">                   
                    <hr style="height: 1px; width: 100%; color: #808080; border: 0 none; background-color: #808080"></th>
                </tr>
                <tr>
                    <th class="hright" width="83">
                                <font color="#333333">
                                    <span style="font-size: 10pt"><b>TOTAL</b></span></font></th>
                    <th class="hright" width="169">    
                                    <span style="font-size: 10pt"><b>
                                    <span id="Comprobante_total" typeof="Currency">
                    %INVOICE_TOTAL%</span></b></span></th>
                </tr>
            </table>
        </td>
    </tr>
</table>
<br>
<table style="font-family: Arial; font-size: 7pt; text-align: left; background: white; width: 100%">
    <tr>
       <td width="90%" class="hleft">
       <table style="width: 100%"
        <tr>           
            <td style="vertical-align: top; border-color: #808080; padding: 0.02in;background: #2EB1EF;color: white">
            <font face="Segoe UI" size="1" color="#333333">
            <b>SELLO DIGITAL DEL SAT:</b><br></font></td>
        </tr>
        <tr>
            <td>
            <span style="font-size: 8pt; display: block; word-break: break-all">
                    %TFD_SELLO_2R%</span></td>
        <tr>           
            <td style="vertical-align: top; border-color: #808080; padding: 0.02in">           
                    <hr style="height: 1px; width: 100%; color: #808080; border: 0 none; background-color: #808080"></td>
        </tr>
        <tr>           
            <td style="vertical-align: top; border-color: #808080; padding: 0.02in;background: #2EB1EF;color: white">
            <font face="Segoe UI" size="1" color="#333333">
            <b>SELLO DIGITAL DEL CFDI:<br></b></font></td>
        </tr>
        <tr>
            <td>
            <span style="font-size: 8pt; display: block; word-break: break-all">
                    %SELLO_DIG_2R%</span></td>
        </tr>
        <tr>           
            <td style="vertical-align: top; border-color: #808080; padding: 0.02in">           
                    <hr style="height: 1px; width: 100%; color: #808080; border: 0 none; background-color: #808080"></td>
        </tr>
        <tr>           
            <td style="vertical-align: top; border-color: #808080; padding: 0.02in;background: #2EB1EF;color: white">
            <font face="Segoe UI" size="1" color="#333333">
            <b>CADENA ORIGINAL DEL COMPLEMENTO DE CERTIFICACIÓN DIGITAL DEL SAT:<br></b></font></td>
        </tr>
        <tr>
            <td>
            <span style="font-size: 8pt; display: block; word-break: break-all">
                    %TFD_CADENA_ORIG_80%</span></td>
        </tr>
        <tr>           
            <td style="vertical-align: top; border-color: #808080; padding: 0.02in" height="16">
                    <hr style="height: 1px; width: 100%; color: #808080; border: 0 none; background-color: #808080"></td>
        </tr>
       </table>
       </td>
       <td width="10%" class="hleft">
        %IMAGEN_CBB%
       </td>
    </tr>
</table>

</div>

</body>

</html>
 



Mil disculpas por reponder tarde y por otro lado no encontre modo de adjuntar archivo, pero lo copie de esta manera solo generalo con el archivo.htm

Gracias y espero su comentario favorable.

Saludos

Atte: Adriano C. C.

Re: OT..Algun editor para archivos .HTM

PostPosted: Mon Jan 08, 2018 11:23 pm
by cnavarro
Con una pequeña modificación que he hecho por el tema de la extensión .HTM y no .HTML que es lo que yo contemplaba, mira

Image

Re: OT..Algun editor para archivos .HTM

PostPosted: Tue Jan 09, 2018 4:39 pm
by ACC69
cnavarro wrote:Con una pequeña modificación que he hecho por el tema de la extensión .HTM y no .HTML que es lo que yo contemplaba, mira

Image



Hola buenos dias Ing. Cristobal entonces aun esta en fase de prueba de esta nueva version de editor?
Y si efectivamente es diferente el archivo extension .htm por el tema de diseño de plantillas para fact electronica.

Con ese editor ya puedo manipular mis plantillas y visualizar como queda mi formato? aun sigue en fase de modificacion de su editor ?

Saludos .

Atte: Adriano C. C.

Re: OT..Algun editor para archivos .HTM

PostPosted: Tue Jan 09, 2018 4:57 pm
by cnavarro
ACC69 wrote:Hola buenos dias Ing. Cristobal entonces aun esta en fase de prueba de esta nueva version de editor?
Y si efectivamente es diferente el archivo extension .htm por el tema de diseño de plantillas para fact electronica.

Con ese editor ya puedo manipular mis plantillas y visualizar como queda mi formato? aun sigue en fase de modificacion de su editor ?

Saludos .

Atte: Adriano C. C.


Hombre, en pruebas está desde que escribí la primera línea, pero en cuanto a la funcionalidad del editor es 100% utilizable, aunque en cada versión va mejorando y cuidando en algunos detalles, como cualquier aplicación que se desarrolla, no?, y en cuanto a lo que te ocupa a tí, eso lleva funcionando desde hace mucho, sólo que no contemplaba la extensión .HTM en los ficheros utilizables, sólo utilizaba ficheros con extensiones .HTML, que es lo que he añadido para probar tu ejemplo.
Otros añadidos que contiene como: utilización de bases de datos, editor de diálogos, etc, voy añadiendo funcionalidades poco a poco, y no están aún al 100%, pero esto no te hace falta para lo que comentas.

Re: OT..Algun editor para archivos .HTM

PostPosted: Mon Jan 22, 2018 2:17 pm
by ACC69
cnavarro wrote:
ACC69 wrote:Hola buenos dias Ing. Cristobal entonces aun esta en fase de prueba de esta nueva version de editor?
Y si efectivamente es diferente el archivo extension .htm por el tema de diseño de plantillas para fact electronica.

Con ese editor ya puedo manipular mis plantillas y visualizar como queda mi formato? aun sigue en fase de modificacion de su editor ?

Saludos .

Atte: Adriano C. C.


Hombre, en pruebas está desde que escribí la primera línea, pero en cuanto a la funcionalidad del editor es 100% utilizable, aunque en cada versión va mejorando y cuidando en algunos detalles, como cualquier aplicación que se desarrolla, no?, y en cuanto a lo que te ocupa a tí, eso lleva funcionando desde hace mucho, sólo que no contemplaba la extensión .HTM en los ficheros utilizables, sólo utilizaba ficheros con extensiones .HTML, que es lo que he añadido para probar tu ejemplo.
Otros añadidos que contiene como: utilización de bases de datos, editor de diálogos, etc, voy añadiendo funcionalidades poco a poco, y no están aún al 100%, pero esto no te hace falta para lo que comentas.



Hola muchas gracias Ing. Cristobal Navarro, ya lo tenia instalado anteriormente pero por una bajon de corriente se daño mi disco duro y voy a tener que instalar de nuevo, procedere a descargar de nuevo su aplicacion.

Gracias de nuevo y gusto saludarle.

Atte: Adriano C. C.

Re: OT..Algun editor para archivos .HTM (SOLUCIONADO)

PostPosted: Mon Jan 22, 2018 4:19 pm
by ACC69
ACC69 wrote:
cnavarro wrote:
ACC69 wrote:Hola buenos dias Ing. Cristobal entonces aun esta en fase de prueba de esta nueva version de editor?
Y si efectivamente es diferente el archivo extension .htm por el tema de diseño de plantillas para fact electronica.

Con ese editor ya puedo manipular mis plantillas y visualizar como queda mi formato? aun sigue en fase de modificacion de su editor ?

Saludos .

Atte: Adriano C. C.


Hombre, en pruebas está desde que escribí la primera línea, pero en cuanto a la funcionalidad del editor es 100% utilizable, aunque en cada versión va mejorando y cuidando en algunos detalles, como cualquier aplicación que se desarrolla, no?, y en cuanto a lo que te ocupa a tí, eso lleva funcionando desde hace mucho, sólo que no contemplaba la extensión .HTM en los ficheros utilizables, sólo utilizaba ficheros con extensiones .HTML, que es lo que he añadido para probar tu ejemplo.
Otros añadidos que contiene como: utilización de bases de datos, editor de diálogos, etc, voy añadiendo funcionalidades poco a poco, y no están aún al 100%, pero esto no te hace falta para lo que comentas.



Hola muchas gracias Ing. Cristobal Navarro, ya lo tenia instalado anteriormente pero por una bajon de corriente se daño mi disco duro y voy a tener que instalar de nuevo, procedere a descargar de nuevo su aplicacion.

Gracias de nuevo y gusto saludarle.

Atte: Adriano C. C.



Hola de nuevo Ing. Cristobal muchas gracias por tu ayuda, ya funciona al 100 era el parentesis que no reconoce el path sin el parentesis manda la pantalla al explorador y visualiza bien la pantalla .

Muchas gracias de nuevo y gusto saludarlo.

Atte: Adriano C. C.