ProtectedaddHelper method to add extracted strings to the map, handling duplicates
Map to store extracted strings
Lowercase key for deduplication
Original string with proper casing
Metadata about where the string was found
Extract strings with metadata for aac-tools-platform compatibility Uses the generic implementation from BaseProcessor
ProtectedextractGeneric implementation for extracting strings with metadata Can be used by any processor that doesn't need format-specific logic
Path to the AAC file
Promise with extracted strings and metadata
Extract all text content from an Excel file
Array of all text content found in the Excel file
ProtectedfilterGenerate translated download for aac-tools-platform compatibility Uses the generic implementation from BaseProcessor
ProtectedgenerateGeneric implementation for generating translated downloads Can be used by any processor that doesn't need format-specific logic
Path to the original AAC file
Array of translated string data
Array of source string data
Promise with path to the generated translated file
ProtectedgenerateGenerate output path for translated file based on input file extension
Original file path
Path for the translated output file
Load Excel file into AACTree structure
AACTree representation of the Excel file
Process texts in Excel file (apply translations)
Path where translated Excel file should be saved
Buffer containing the translated Excel file
Override saveFromTree to handle async nature of Excel operations Note: This method is async but maintains the sync interface for compatibility
ProtectedshouldOptionalvalidate
Excel Processor for converting AAC grids to Excel format Converts AAC tree structures to Excel workbooks with each page as a worksheet Supports visual styling, navigation links, and vocabulary analysis workflows