=== Embed Spreadsheet Viewer ===
Contributors: mattellenburg  
Tags: spreadsheet, table, Excel, viewer, embed  
Requires at least: 5.5  
Tested up to: 6.8
Stable tag: 1.0  
License: GPLv2 or later  
License URI: https://www.gnu.org/licenses/gpl-2.0.html  

Embed spreadsheet tables from public Excel URLs into your WordPress site with sorting, filtering, pagination, and custom formatting.

== Description ==

**Embed Spreadsheet Viewer** lets you easily embed data from shared Excel `.xlsx` files into your WordPress posts and pages.  

✨ **Key features:**
- Connect to any public Excel `.xlsx` URL (Dropbox, Google Drive direct link, etc.).
- Choose worksheet, rows, and columns to display.
- Apply custom headers and formatting (numbers, dates, currency).
- Enable sorting, filtering, and pagination.
- Admin tools to preview and refresh cached data.
- Optional public refresh button for end users.

Perfect for sharing live data tables like work orders, price lists, schedules, and reports.

== Installation ==

1. Upload the plugin ZIP file via **Plugins → Add New**.
2. Activate the plugin.
3. Go to **Spreadsheets** in the WordPress admin menu.
4. Add a new Spreadsheet entry:
   - Set a unique **Table ID**.
   - Provide the public Excel file URL.
   - Specify the worksheet name.
5. Insert the shortcode into your content:

== Frequently Asked Questions ==

= What URLs are supported? =
Any public Excel `.xlsx` file, including Dropbox and Google Drive (with a direct download link).

= Does it work with Google Sheets? =
No, it only works with `.xlsx` files.

= Can site visitors refresh the data? =
Yes — if you enable the **Show Refresh Button** option in the spreadsheet settings.

= Does it support formulas? =
Flattened files strip formulas and keep only visible values, similar to "Paste Special → Values" in Excel.

== Screenshots ==

1. Admin spreadsheet creation screen.
2. Admin worksheet preview.
3. Admin formatted table preview.
4. Frontend formatted table with additional controls.

== Changelog ==

= 1.0 =
* Initial release

GitHub Repository: https://github.com/mattellenburg/embed-spreadsheet-viewer


== Upgrade Notice ==

= 1.0 =
First release! Please report bugs and feature suggestions.

== License ==

This plugin is licensed under GPLv2 or later.
