<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Arquivos exportar excel para pdf - Web-Zoneware</title>
	<atom:link href="https://webzoneware.com/tag/exportar-excel-para-pdf/feed/" rel="self" type="application/rss+xml" />
	<link>https://webzoneware.com/tag/exportar-excel-para-pdf/</link>
	<description>Mais do que apenas uma academia web.</description>
	<lastBuildDate>Thu, 22 Oct 2026 17:26:01 +0000</lastBuildDate>
	<language>pt-BR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://webzoneware.com/wp-content/uploads/icon-webzoneware-150x150.png</url>
	<title>Arquivos exportar excel para pdf - Web-Zoneware</title>
	<link>https://webzoneware.com/tag/exportar-excel-para-pdf/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Conversor de Excel para PDF Online Grátis &#124; Web-ZoneWare</title>
		<link>https://webzoneware.com/web-ferramentas/pdf/conversor-de-excel-para-pdf/</link>
					<comments>https://webzoneware.com/web-ferramentas/pdf/conversor-de-excel-para-pdf/#respond</comments>
		
		<dc:creator><![CDATA[Web-Zoneware]]></dc:creator>
		<pubDate>Fri, 16 Oct 2026 19:09:52 +0000</pubDate>
				<category><![CDATA[PDF & Documentos]]></category>
		<category><![CDATA[converter xlsx em pdf]]></category>
		<category><![CDATA[excel to pdf]]></category>
		<category><![CDATA[exportar excel para pdf]]></category>
		<category><![CDATA[transformar planilha em pdf]]></category>
		<guid isPermaLink="false">https://webzoneware.com/?p=28982</guid>

					<description><![CDATA[<p>O Conversor de Excel para PDF Online do Web-ZoneWare é a solução ideal para transformar demonstrativos financeiros, balanços contábeis, faturas e relatórios tabulares do Microsoft Excel (.xlsx/.xls) ou .csv em documentos PDF elegantes e prontos para impressão ou compartilhamento com clientes. Alimentado pelo padrão aberto SheetJS e formatado com diretrizes de legibilidade tipográfica do W3C [&#8230;]</p>
<p>O post <a href="https://webzoneware.com/web-ferramentas/pdf/conversor-de-excel-para-pdf/">Conversor de Excel para PDF Online Grátis | Web-ZoneWare</a> apareceu primeiro em <a href="https://webzoneware.com">Web-Zoneware</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>O <strong>Conversor de Excel para PDF Online</strong> do Web-ZoneWare é a solução ideal para transformar demonstrativos financeiros, balanços contábeis, faturas e relatórios tabulares do Microsoft Excel (<code>.xlsx</code>/<code>.xls</code>) ou <code>.csv</code> em documentos PDF elegantes e prontos para impressão ou compartilhamento com clientes.</p>
<p>Alimentado pelo padrão aberto <a href="https://sheetjs.com/" target="_blank" rel="noopener noreferrer">SheetJS</a> e formatado com diretrizes de legibilidade tipográfica do <a href="https://www.w3.org/Style/CSS/" target="_blank" rel="noopener noreferrer">W3C CSS Standards</a>, o conversor organiza as células em grades harmoniosas com cabeçalho destacado e linhas de fácil leitura.</p>
    <div id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd" class="wzw-tool-container wzw-pdf-suite-wrapper">
        <style>
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd {
                background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
                color: #f8fafc;
                border-radius: 16px;
                padding: 24px;
                box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
                border: 1px solid #334155;
                font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
                margin: 20px 0 35px 0;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd * {
                box-sizing: border-box;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-tool-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                flex-wrap: wrap;
                gap: 12px;
                margin-bottom: 20px;
                padding-bottom: 16px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-tool-title {
                margin: 0;
                font-size: 1.35rem;
                font-weight: 800;
                color: #10b981;
                display: flex;
                align-items: center;
                gap: 10px;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-badge-client {
                background: rgba(16, 185, 129, 0.15);
                color: #34d399;
                border: 1px solid rgba(16, 185, 129, 0.35);
                padding: 4px 10px;
                border-radius: 20px;
                font-size: 11px;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-dropzone {
                border: 2px dashed #059669;
                background: rgba(5, 150, 105, 0.05);
                border-radius: 14px;
                padding: 44px 20px;
                text-align: center;
                cursor: pointer;
                transition: all 0.25s ease;
                margin-bottom: 20px;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-dropzone:hover,
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-dropzone.drag-over {
                background: rgba(5, 150, 105, 0.12);
                border-color: #34d399;
                transform: translateY(-2px);
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-drop-icon {
                font-size: 48px;
                margin-bottom: 12px;
                display: block;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-drop-title {
                font-size: 1.15rem;
                font-weight: 700;
                color: #f1f5f9;
                margin: 0 0 6px 0;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-drop-sub {
                font-size: 13px;
                color: #94a3b8;
                margin: 0;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-workspace {
                display: none;
                background: rgba(15, 23, 42, 0.6);
                border-radius: 14px;
                padding: 20px;
                border: 1px solid #334155;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-file-summary {
                display: flex;
                align-items: center;
                justify-content: space-between;
                background: #1e293b;
                border: 1px solid #475569;
                border-radius: 10px;
                padding: 12px 18px;
                margin-bottom: 20px;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-file-meta {
                display: flex;
                align-items: center;
                gap: 12px;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-file-icon {
                font-size: 28px;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-file-details strong {
                display: block;
                font-size: 14px;
                color: #f8fafc;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-file-details span {
                font-size: 12px;
                color: #94a3b8;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-btn-outline {
                background: transparent;
                border: 1px solid #64748b;
                color: #cbd5e1;
                border-radius: 8px;
                padding: 6px 14px;
                font-size: 12px;
                font-weight: 600;
                cursor: pointer;
                transition: all 0.2s;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-btn-outline:hover {
                border-color: #34d399;
                color: #34d399;
                background: rgba(16, 185, 129, 0.1);
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-sheet-tabs {
                display: flex;
                gap: 8px;
                margin-bottom: 16px;
                overflow-x: auto;
                padding-bottom: 6px;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-sheet-tab {
                background: #1e293b;
                border: 1px solid #334155;
                color: #cbd5e1;
                padding: 7px 14px;
                border-radius: 8px;
                font-size: 12px;
                font-weight: 600;
                cursor: pointer;
                white-space: nowrap;
                transition: all 0.2s;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-sheet-tab.active {
                background: #059669;
                border-color: #34d399;
                color: #ffffff;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-config-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 14px;
                background: rgba(15, 23, 42, 0.4);
                padding: 16px;
                border-radius: 10px;
                border: 1px solid #334155;
                margin-bottom: 20px;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-form-label {
                display: block;
                font-size: 13px;
                font-weight: 600;
                color: #cbd5e1;
                margin-bottom: 6px;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-select,
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-input-text {
                width: 100%;
                background: #0f172a;
                border: 1px solid #475569;
                border-radius: 8px;
                padding: 9px 12px;
                color: #f8fafc;
                font-size: 13px;
                outline: none;
                transition: border 0.2s;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-select:focus,
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-input-text:focus {
                border-color: #34d399;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-table-preview-card {
                background: #ffffff;
                color: #1e293b;
                border-radius: 10px;
                padding: 24px;
                max-height: 400px;
                overflow: auto;
                box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-rendered-sheet-title {
                font-size: 16px;
                font-weight: 800;
                color: #0f172a;
                margin-top: 0;
                margin-bottom: 12px;
                border-bottom: 2px solid #059669;
                padding-bottom: 6px;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-data-table {
                width: 100%;
                border-collapse: collapse;
                font-family: inherit;
                font-size: 12px;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-data-table th {
                background: #065f46;
                color: #ffffff;
                font-weight: 700;
                padding: 8px 10px;
                border: 1px solid #047857;
                text-align: left;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-data-table td {
                padding: 7px 10px;
                border: 1px solid #e2e8f0;
                color: #334155;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-data-table tr {
                background: #ffffff;
                page-break-inside: avoid !important;
                break-inside: avoid !important;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-data-table th,
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-data-table td {
                page-break-inside: avoid !important;
                break-inside: avoid !important;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-data-table tr:nth-child(even) td {
                background: #f8fafc;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-action-bar {
                display: flex;
                align-items: center;
                justify-content: space-between;
                flex-wrap: wrap;
                gap: 14px;
                margin-top: 20px;
                padding-top: 18px;
                border-top: 1px solid #334155;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-btn-execute {
                background: linear-gradient(135deg, #059669 0%, #047857 100%);
                color: #ffffff;
                border: none;
                border-radius: 10px;
                padding: 12px 24px;
                font-size: 14px;
                font-weight: 700;
                cursor: pointer;
                display: inline-flex;
                align-items: center;
                gap: 8px;
                box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
                transition: all 0.2s;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-btn-execute:hover {
                transform: translateY(-1px);
                box-shadow: 0 6px 20px rgba(5, 150, 105, 0.6);
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-btn-execute:disabled {
                opacity: 0.6;
                cursor: not-allowed;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-progress-box {
                display: none;
                margin-top: 16px;
                background: rgba(15, 23, 42, 0.6);
                border-radius: 8px;
                padding: 12px;
                border: 1px solid #334155;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-progress-bar-wrap {
                width: 100%;
                height: 8px;
                background: #1e293b;
                border-radius: 4px;
                overflow: hidden;
                margin-top: 6px;
            }
            #wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd .wzw-progress-bar-fill {
                width: 0%;
                height: 100%;
                background: linear-gradient(90deg, #10b981, #34d399);
                transition: width 0.2s ease;
            }
        </style>

        <div class="wzw-tool-header">
            <h3 class="wzw-tool-title">
                <span>📈</span> Conversor de Excel para PDF (.xlsx, .xls, .csv)
            </h3>
            <span class="wzw-badge-client">100% Client-Side • Privacidade Total</span>
        </div>

        <!-- Dropzone de Entrada -->
        <div id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_dropzone" class="wzw-dropzone">
            <input type="file" id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_file_input" accept=".xlsx,.xls,.csv,.ods" style="display: none;">
            <span class="wzw-drop-icon">📊</span>
            <p class="wzw-drop-title">Arraste sua planilha Excel ou arquivo CSV aqui</p>
            <p class="wzw-drop-sub">Converta planilhas financeiras, relatórios e tabelas em documentos PDF diagramados e prontos para impressão</p>
        </div>

        <!-- Espaço de Trabalho -->
        <div id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_workspace" class="wzw-workspace">
            <div class="wzw-file-summary">
                <div class="wzw-file-meta">
                    <span class="wzw-file-icon">📗</span>
                    <div class="wzw-file-details">
                        <strong id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_file_name">planilha.xlsx</strong>
                        <span id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_file_stats">0 abas • 0 KB</span>
                    </div>
                </div>
                <button type="button" id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_btn_change" class="wzw-btn-outline">Trocar Arquivo</button>
            </div>

            <!-- Abas das Planilhas Detectadas -->
            <div>
                <label class="wzw-form-label">Planilhas (Abas) do Documento:</label>
                <div id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_sheet_tabs" class="wzw-sheet-tabs"></div>
            </div>

            <!-- Grade de Opções de Diagramação -->
            <div class="wzw-config-grid">
                <div>
                    <label class="wzw-form-label" for="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_scope_select">Escopo de Exportação:</label>
                    <select id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_scope_select" class="wzw-select">
                        <option value="current" selected>Apenas a Aba Selecionada</option>
                        <option value="all">Todas as Abas do Arquivo</option>
                    </select>
                </div>

                <div>
                    <label class="wzw-form-label" for="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_orientation_select">Orientação da Página:</label>
                    <select id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_orientation_select" class="wzw-select">
                        <option value="landscape" selected>Paisagem (Landscape - Ideal para Colunas)</option>
                        <option value="portrait">Retrato (Portrait)</option>
                    </select>
                </div>

                <div>
                    <label class="wzw-form-label" for="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_font_size">Tamanho da Fonte da Tabela:</label>
                    <select id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_font_size" class="wzw-select">
                        <option value="10px">Pequeno (10px - Planilhas com muitas colunas)</option>
                        <option value="12px" selected>Médio (12px - Padrão Legível)</option>
                        <option value="14px">Grande (14px)</option>
                    </select>
                </div>

                <div>
                    <label class="wzw-form-label" for="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_output_name">Nome do Arquivo PDF:</label>
                    <input type="text" id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_output_name" class="wzw-input-text" value="planilha-convertida">
                </div>
            </div>

            <!-- Pré-visualização da Tabela -->
            <div style="margin-bottom: 10px;">
                <label class="wzw-form-label">Pré-visualização da Tabela Formatada:</label>
            </div>
            <div class="wzw-table-preview-card">
                <div id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_table_container"></div>
            </div>

            <!-- Barra de Progresso -->
            <div id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_progress" class="wzw-progress-box">
                <div style="display: flex; justify-content: space-between; font-size: 12px; color: #cbd5e1;">
                    <span id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_progress_status">Diagramando tabelas em PDF...</span>
                    <span id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_progress_percent">0%</span>
                </div>
                <div class="wzw-progress-bar-wrap">
                    <div id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_progress_fill" class="wzw-progress-bar-fill"></div>
                </div>
            </div>

            <!-- Barra de Ações -->
            <div class="wzw-action-bar">
                <button type="button" id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_btn_reset" class="wzw-btn-outline">Recomeçar</button>
                <div style="display:flex;gap:10px;flex-wrap:wrap;">
                    <button type="button" id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_btn_print" class="wzw-btn-outline" style="border-color:#10b981;color:#34d399;">
                        <span>🖨️</span> Salvar como PDF Vetorial
                    </button>
                    <button type="button" id="wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_btn_execute" class="wzw-btn-execute">
                        <span>⚡</span> Gerar e Baixar PDF Formatado
                    </button>
                </div>
            </div>
        </div>

        <script>
        (function() {
            const root = document.getElementById('wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd');
            if (!root) return;

            const dropZone = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_dropzone');
            const fileInput = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_file_input');
            const workspace = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_workspace');
            const fileNameElem = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_file_name');
            const fileStatsElem = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_file_stats');
            const btnChange = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_btn_change');
            const btnReset = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_btn_reset');
            const btnExecute = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_btn_execute');
            const btnPrint = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_btn_print');
            const sheetTabsWrap = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_sheet_tabs');
            const tableContainer = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_table_container');
            const scopeSelect = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_scope_select');
            const orientationSelect = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_orientation_select');
            const fontSizeSelect = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_font_size');
            const outputNameInput = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_output_name');
            const progressBox = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_progress');
            const progressStatus = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_progress_status');
            const progressPercent = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_progress_percent');
            const progressFill = root.querySelector('#wzw_xls2pdf_9f0b2a87_9f3c_496f_bdb3_6d21e675c4fd_progress_fill');

            let currentWorkbook = null;
            let activeSheetName = '';

            function formatBytes(bytes) {
                if (bytes === 0) return '0 Bytes';
                const k = 1024;
                const sizes = ['Bytes', 'KB', 'MB'];
                const i = Math.floor(Math.log(bytes) / Math.log(k));
                return parseFloat((bytes / Math.pow(k, i)).toFixed(1)) + ' ' + sizes[i];
            }

            dropZone.addEventListener('click', () => fileInput.click());

            ['dragenter', 'dragover'].forEach(name => {
                dropZone.addEventListener(name, (e) => {
                    e.preventDefault();
                    dropZone.classList.add('drag-over');
                });
            });

            ['dragleave', 'drop'].forEach(name => {
                dropZone.addEventListener(name, (e) => {
                    e.preventDefault();
                    dropZone.classList.remove('drag-over');
                });
            });

            dropZone.addEventListener('drop', (e) => {
                if (e.dataTransfer.files && e.dataTransfer.files[0]) {
                    loadWorkbook(e.dataTransfer.files[0]);
                }
            });

            fileInput.addEventListener('change', (e) => {
                if (e.target.files && e.target.files[0]) {
                    loadWorkbook(e.target.files[0]);
                }
            });

            btnChange.addEventListener('click', () => fileInput.click());

            btnReset.addEventListener('click', () => {
                currentWorkbook = null;
                activeSheetName = '';
                tableContainer.innerHTML = '';
                sheetTabsWrap.innerHTML = '';
                fileInput.value = '';
                workspace.style.display = 'none';
                dropZone.style.display = 'block';
                progressBox.style.display = 'none';
            });

            fontSizeSelect.addEventListener('change', () => {
                renderTablePreview();
            });

            scopeSelect.addEventListener('change', () => {
                renderTablePreview();
            });

            async function loadWorkbook(file) {
                if (typeof window.XLSX === 'undefined') {
                    alert('O motor de planilhas ainda está carregando. Tente novamente em instantes.');
                    return;
                }

                try {
                    fileNameElem.textContent = file.name;
                    outputNameInput.value = file.name.replace(/\.[^/.]+$/, "") + '-relatorio';

                    const buffer = await file.arrayBuffer();
                    currentWorkbook = XLSX.read(buffer, { type: 'array' });

                    const sheetNames = currentWorkbook.SheetNames;
                    if (!sheetNames || sheetNames.length === 0) {
                        alert('Nenhuma planilha válida foi encontrada dentro deste arquivo.');
                        return;
                    }

                    fileStatsElem.textContent = `${sheetNames.length} ${sheetNames.length === 1 ? 'aba' : 'abas'} • ${formatBytes(file.size)}`;

                    // Cria abas
                    sheetTabsWrap.innerHTML = '';
                    activeSheetName = sheetNames[0];

                    sheetNames.forEach((name, idx) => {
                        const tabBtn = document.createElement('button');
                        tabBtn.type = 'button';
                        tabBtn.className = 'wzw-sheet-tab' + (idx === 0 ? ' active' : '');
                        tabBtn.textContent = name;
                        tabBtn.addEventListener('click', () => {
                            sheetTabsWrap.querySelectorAll('.wzw-sheet-tab').forEach(b => b.classList.remove('active'));
                            tabBtn.classList.add('active');
                            activeSheetName = name;
                            renderTablePreview();
                        });
                        sheetTabsWrap.appendChild(tabBtn);
                    });

                    dropZone.style.display = 'none';
                    workspace.style.display = 'block';

                    renderTablePreview();

                } catch (err) {
                    console.error('Erro ao ler planilha:', err);
                    alert('Falha ao processar o arquivo Excel: ' + err.message);
                }
            }

            function renderTablePreview() {
                if (!currentWorkbook) return;

                tableContainer.innerHTML = '';
                const fontSize = fontSizeSelect.value;
                const scope = scopeSelect.value;
                const sheetsToRender = scope === 'all' ? currentWorkbook.SheetNames : [activeSheetName];

                sheetsToRender.forEach((sName, sIdx) => {
                    const sheet = currentWorkbook.Sheets[sName];
                    if (!sheet) return;

                    const jsonData = XLSX.utils.sheet_to_json(sheet, { header: 1 });
                    if (!jsonData || jsonData.length === 0) return;

                    const section = document.createElement('div');
                    if (sIdx > 0) {
                        section.style.pageBreakBefore = 'always';
                        section.style.marginTop = '28px';
                    }

                    const title = document.createElement('h3');
                    title.className = 'wzw-rendered-sheet-title';
                    title.textContent = sName;
                    section.appendChild(title);

                    const table = document.createElement('table');
                    table.className = 'wzw-data-table';
                    table.style.fontSize = fontSize;

                    jsonData.forEach((row, rIdx) => {
                        const tr = document.createElement('tr');
                        row.forEach(cell => {
                            const elem = rIdx === 0 ? document.createElement('th') : document.createElement('td');
                            elem.textContent = cell !== undefined && cell !== null ? cell : '';
                            tr.appendChild(elem);
                        });
                        table.appendChild(tr);
                    });

                    section.appendChild(table);
                    tableContainer.appendChild(section);
                });
            }

            btnExecute.addEventListener('click', () => {
                if (!currentWorkbook) {
                    alert('Carregue uma planilha com dados antes de gerar o PDF.');
                    return;
                }

                if (!window.jspdf || !window.jspdf.jsPDF) {
                    alert('O motor de conversão PDF ainda está carregando.');
                    return;
                }

                btnExecute.disabled = true;
                if (btnPrint) btnPrint.disabled = true;
                progressBox.style.display = 'block';
                progressPercent.textContent = '15%';
                progressFill.style.width = '15%';
                progressStatus.textContent = 'Extraindo matriz de dados da planilha...';

                try {
                    const { jsPDF } = window.jspdf;
                    const orientation = orientationSelect.value;
                    const fileName = (outputNameInput.value.trim() || 'planilha-convertida') + '.pdf';
                    const scope = scopeSelect.value;
                    const sheetsToExport = scope === 'all' ? currentWorkbook.SheetNames : [activeSheetName];

                    const pdf = new jsPDF({
                        orientation: orientation,
                        unit: 'mm',
                        format: 'a4'
                    });

                    // Configura tamanho da fonte selecionada
                    let fontSizeNum = 9;
                    if (fontSizeSelect.value === '10px') fontSizeNum = 8;
                    if (fontSizeSelect.value === '12px') fontSizeNum = 9;
                    if (fontSizeSelect.value === '14px') fontSizeNum = 11;

                    let isFirstSheet = true;

                    sheetsToExport.forEach((sheetName) => {
                        const sheet = currentWorkbook.Sheets[sheetName];
                        if (!sheet) return;

                        const jsonData = XLSX.utils.sheet_to_json(sheet, { header: 1 });
                        if (!jsonData || jsonData.length === 0) return;

                        if (!isFirstSheet) {
                            pdf.addPage('a4', orientation);
                        }
                        isFirstSheet = false;

                        // Cabeçalho da Aba
                        const startY = 15;
                        pdf.setFontSize(14);
                        pdf.setTextColor(15, 23, 42);
                        pdf.text(sheetName, 12, startY);

                        // Linha decorativa verde esmeralda
                        pdf.setDrawColor(5, 150, 105);
                        pdf.setLineWidth(0.8);
                        pdf.line(12, startY + 2, 85, startY + 2);

                        // Separa cabeçalho e linhas
                        let rawHead = jsonData[0] || [];
                        let rawBody = jsonData.slice(1);

                        const headFormatted = [rawHead.map(cell => cell !== undefined && cell !== null ? String(cell) : '')];
                        const bodyFormatted = rawBody.map(row => {
                            const rowArr = [];
                            for (let c = 0; c < rawHead.length; c++) {
                                const val = row[c];
                                rowArr.push(val !== undefined && val !== null ? String(val) : '');
                            }
                            return rowArr;
                        });

                        pdf.autoTable({
                            head: headFormatted,
                            body: bodyFormatted,
                            startY: startY + 6,
                            theme: 'grid',
                            styles: {
                                fontSize: fontSizeNum,
                                cellPadding: 2.5,
                                textColor: [30, 41, 59],
                                lineColor: [203, 213, 225],
                                lineWidth: 0.2,
                                font: 'helvetica'
                            },
                            headStyles: {
                                fillColor: [5, 150, 105],
                                textColor: [255, 255, 255],
                                fontStyle: 'bold',
                                halign: 'left'
                            },
                            alternateRowStyles: {
                                fillColor: [248, 250, 252]
                            },
                            margin: { top: 15, right: 12, bottom: 15, left: 12 },
                            showHead: 'everyPage'
                        });
                    });

                    progressPercent.textContent = '100%';
                    progressFill.style.width = '100%';
                    progressStatus.textContent = 'PDF da planilha gerado com sucesso!';

                    pdf.save(fileName);

                    setTimeout(() => {
                        btnExecute.disabled = false;
                        if (btnPrint) btnPrint.disabled = false;
                        progressBox.style.display = 'none';
                        progressPercent.textContent = '0%';
                        progressFill.style.width = '0%';
                    }, 2500);

                } catch (err) {
                    console.error('Erro ao compilar PDF:', err);
                    alert('Erro ao gerar o documento PDF: ' + err.message);
                    btnExecute.disabled = false;
                    if (btnPrint) btnPrint.disabled = false;
                    progressBox.style.display = 'none';
                }
            });

            if (btnPrint) {
                btnPrint.addEventListener('click', () => {
                    if (!tableContainer.children.length) {
                        alert('Carregue uma planilha antes de imprimir.');
                        return;
                    }

                    const iframe = document.createElement('iframe');
                    iframe.style.position = 'fixed';
                    iframe.style.right = '0';
                    iframe.style.bottom = '0';
                    iframe.style.width = '0';
                    iframe.style.height = '0';
                    iframe.style.border = '0';
                    document.body.appendChild(iframe);

                    const orientation = orientationSelect.value;
                    const doc = iframe.contentWindow.document;
                    doc.open();
                    doc.write('<!DOCTYPE html><html><head><meta charset="utf-8"><title>' + (outputNameInput.value || 'planilha') + '</title>');
                    doc.write('<style>');
                    doc.write('@page { size: A4 ' + orientation + '; margin: 10mm; }');
                    doc.write('body { margin: 0; padding: 0; background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: ' + fontSizeSelect.value + '; }');
                    doc.write('.wzw-rendered-sheet-title { font-size: 14pt; font-weight: bold; margin-bottom: 8px; color: #0f172a; border-bottom: 2px solid #059669; padding-bottom: 4px; }');
                    doc.write('.wzw-data-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: inherit; }');
                    doc.write('.wzw-data-table th { background: #065f46 !important; color: #fff !important; font-weight: bold; padding: 6px 8px; border: 1px solid #047857; text-align: left; }');
                    doc.write('.wzw-data-table td { padding: 5px 8px; border: 1px solid #cbd5e1; color: #1e293b; }');
                    doc.write('.wzw-data-table tr { page-break-inside: avoid !important; break-inside: avoid !important; }');
                    doc.write('.wzw-data-table tr:nth-child(even) td { background: #f8fafc; }');
                    doc.write('</style></head><body>');
                    doc.write(tableContainer.innerHTML);
                    doc.write('</body></html>');
                    doc.close();

                    setTimeout(() => {
                        iframe.contentWindow.focus();
                        iframe.contentWindow.print();
                        setTimeout(() => {
                            document.body.removeChild(iframe);
                        }, 3000);
                    }, 500);
                });
            }
        })();
        </script>
    </div>
    
<h2>Vantagens de Converter Planilhas em Documentos PDF</h2>
<p>Distribuir tabelas em formato PDF protege as fórmulas contra edições acidentais e assegura que os destinatários visualizem exatamente os totais e relatórios formatados:</p>
<ul>
<li><strong>Navegação por Abas:</strong> Alterne facilmente entre as planilhas do seu livro do Excel e exporte apenas a que desejar ou todas conjuntamente.</li>
<li><strong>Orientação Paisagem Inteligente:</strong> Evite cortes em planilhas com muitas colunas utilizando a diagramação horizontal em folha A4.</li>
<li><strong>Tamanho de Fonte Adaptável:</strong> Ajuste a fonte da tabela entre 10px, 12px e 14px para máxima densidade de dados ou maior legibilidade.</li>
<li><strong>Segurança para Dados Contábeis:</strong> Números de faturamento, impostos e salários permanecem sob sigilo local estrito sem upload em nuvem.</li>
</ul>
<h2>Como Converter Planilha Excel em PDF</h2>
<ol>
<li>Faça o upload do seu arquivo <code>.xlsx</code>, <code>.xls</code> ou <code>.csv</code> arrastando-o para a ferramenta.</li>
<li>Selecione a aba desejada nas guias superiores da planilha.</li>
<li>Ajuste as opções de orientação (Paisagem ou Retrato) e o tamanho da fonte da tabela.</li>
<li>Clique em <strong>&#8220;Gerar e Baixar PDF Formatado&#8221;</strong> para salvar o documento em segundos.</li>
</ol>
<h2>Perguntas Frequentes sobre Excel para PDF (FAQ)</h2>
<h3>Posso converter planilhas exportadas do Google Planilhas?</h3>
<p>Sim. Se você baixou sua planilha do Google Sheets nos formatos XLSX ou CSV, a ferramenta irá interpretá-la e diagramá-la perfeitamente.</p>
<h3>Preciso extrair dados de uma tabela PDF para o Excel?</h3>
<p>Utilize nossa ferramenta especializada <a href="/conversor-de-pdf-para-excel/">Conversor de PDF para Excel</a> para transformar extratos e faturas em planilhas editáveis.</p>
<h3>Onde conferir outras ferramentas essenciais?</h3>
<p>Acesse o <a href="/hub-de-pdfs/">Hub Central de Ferramentas de PDF</a> e o <a href="/ferramentas-do-desenvolvedor-web/">Hub do Desenvolvedor Web</a>.</p>
<p><script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "O conversor suporta planilhas com múltiplas abas?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Sim. A ferramenta detecta todas as abas da planilha (ex: Vendas, Custos, Resumo) e permite alternar entre elas para exportar a aba atual ou gerar um PDF único com todas as abas."
      }
    },
    {
      "@type": "Question",
      "name": "Como evitar que colunas largas fiquem cortadas na página?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Recomendamos selecionar a orientação 'Paisagem' (Landscape) e o tamanho de fonte 'Pequeno (10px)', o que ajusta automaticamente a grade e comporta tabelas com grande volume de colunas."
      }
    },
    {
      "@type": "Question",
      "name": "A ferramenta aceita arquivos no formato CSV?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Sim. Você pode carregar arquivos no formato .xlsx, .xls, .csv e até .ods, recebendo uma tabela formatada com cabeçalhos destacados e linhas zebradas."
      }
    }
  ]
}
</script></p>
<p>O post <a href="https://webzoneware.com/web-ferramentas/pdf/conversor-de-excel-para-pdf/">Conversor de Excel para PDF Online Grátis | Web-ZoneWare</a> apareceu primeiro em <a href="https://webzoneware.com">Web-Zoneware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://webzoneware.com/web-ferramentas/pdf/conversor-de-excel-para-pdf/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
