reading-fstyle

Parses Divalto ISAM fstyle.dhfi style sheets to decode fonts, colors, and i18n label references.

6|Updated May 11, 2026
One-click install
npx skills add https://github.com/divalto/divalto-ia-devkit --skill reading-fstyle-divalto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reading-fstyle
Source: https://github.com/divalto/divalto-ia-devkit/tree/main/plugins/divalto-devkit/skills/reading-fstyle
Command: npx skills add https://github.com/divalto/divalto-ia-devkit --skill reading-fstyle-divalto

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Divalto ERP style definitions live in opaque ISAM binary files (fstyle.dhfi and its WPF, print, and web variants), making it impossible to inspect named styles, resolve tbl* label references, or understand which font, color, or frame a UI element uses without a dedicated reader. ## Core Features & Use Cases - Style Listing and Statistics: Enumerate all styles per variant (wpf, legacy, imp, web) with type distribution across the 7 semantic Types (font, RGB color, i18n reference, global STD, frame, composed style, context). - Typed Detail Decoding: Decode a named style into structured JSON, e.g. TBLART resolves to its i18n key #tblart, and ARIAL10 decodes to size 10, weight 400000, family Arial. - Cross-Variant Resolution: Resolve a style name across variants in priority order (wpf -> legacy -> imp), detecting orphan labels like TBLAFF that exist in no variant. - Use Case: When documenting ERP screens whose multichoix reference LstStyleWpf styles, run the resolve mode to translate an opaque tbl* identifier into its i18n key for rendering pipelines. ## Quick Start Ask the assistant to show the details of the style TBLART in the WPF fstyle variant and resolve its i18n key.

Frequently Asked Questions about reading-fstyle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read Divalto fstyle.dhfi style files?

Run the read_fstyle.py script with --variant wpf --list to enumerate all styles, or --detail <NAME> to decode one style. The script reads the ISAM file through DhxIsam64.dll and outputs typed JSON.

How to resolve a tbl* label like TBLART to its i18n key?

Use the --resolve mode, which searches the wpf, legacy, and imp variants in order and returns the first match. For TBLART it returns type 3 with cle_i18n equal to #tblart.

What are the requirements for running the fstyle reader?

The script requires Python 3 with no external packages and the DhxIsam64.dll library present under C:\divalto\sys. It only runs where the Divalto ISAM DLL is accessible, typically a Windows machine with a Divalto installation.

Why does resolving a style return orphan true?

An orphan result means the style name was not found in any of the wpf, legacy, or imp variants. Eight DAV labels such as TBLAFF and TBLPLUS are known orphans, and the script exits with code 1 to signal an empty result rather than an error.

What is the difference between the fstyle variants wpf, legacy, imp, and web?

All four share the same ISAM structure but serve different rendering contexts: wpf is the modern WPF variant with the most tbl* entries, legacy covers WinForms, imp covers printing, and web is minimal with no tbl* entries. Resolution defaults to wpf, legacy, imp order.