XlsxWorkbookArchiveHelpers
Vue de l’ensemble
XlsxWorkbookArchiveHelpers C’est une classe dans Aspose.Cells FOSS pour C++.
Méthodes d’aide interne pour la lecture de pièces du livre de travail XLSX à partir d’un fichier ZIP.
Cette classe fournit 21 méthodes pour travailler avec des objets XlsxWorkbookArchiveHelpers dans les programmes C++. Les méthodes disponibles comprennent : AddIssue, EnsureSeekable, FindRelationshipTarget, FindRelationshipTargetByType, GetEntry, GetRelationshipTargetKind, LoadDateStyleIndexes, LoadDocument, LoadRelationships, LoadSharedStrings, LooksLikeDateFormat, NormalizeFormula,9 méthodes supplémentaires. Tous les membres publics sont accessibles à n’importe quelle application C++ après l’installation de la Aspose.Cells FOSS pour le package C+.
méthodes
| Signature | Description |
|---|---|
XlsxWorkbookArchiveHelpers() | Appelez XlsxWorkbookArchiveHelpers sur cette instance XlsxWorkbookArchiveHelpers. |
EnsureSeekable(stream: std::vector<uint8_t>) → std::vector<uint8_t> | Assurez-vous que le buffer de byte est recherchable (identité pour les données en mémoire). |
GetEntry(archive: ZipArchive, uri: std::string_view) → ZipArchiveEntry | Obtenez une entrée ZIP par URI, normalisant les dégâts et les randonnées. |
LoadDocument(entry: ZipArchiveEntry) → XmlDocument | Il télécharge un document XML à partir d’une entrée ZIP. |
LoadRelationships(archive: ZipArchive, relationshipsUri: std::string_view, sourceUri: std::string_view) → std::unordered_map<std::string, std::string> | Il télécharge les relations d’un fichier .rels dans l’archive. |
FindRelationshipTarget(workbookRelationships: std::unordered_map<std::string, std::string>, expectedPath: std::string_view) → std::string | Trouvez le premier objectif de la relation dont le chemin résolu se joue à l’attente. |
FindRelationshipTargetByType(workbookRelationships: std::unordered_map<std::string, std::string>, relationshipType: std::string_view) → std::string | Trouvez le premier objectif de relation dont l’individu infini correspond à la relationType. |
LoadSharedStrings(archive: ZipArchive, workbookRelationships: std::unordered_map<std::string, std::string>, options: LoadOptions, diagnostics: LoadDiagnostics) → std::vector<std::string> | Téléchargez la table des filets partagés de l’archive. |
LoadDateStyleIndexes(archive: ZipArchive, workbookRelationships: std::unordered_map<std::string, std::string>, options: LoadOptions, diagnostics: LoadDiagnostics) → std::unordered_set<int> | Il charge le ensemble d’indices de format cellulaire qui utilisent un format numéro de date. |
ParseBoolAttribute(attribute: XmlAttribute) → bool | Parse un attribut boolean («1» ou «true» rend vrai). |
ParseIntAttribute(attribute: XmlAttribute) → std::optional<int> | Parse un attribut intégral, retournant vide sur échec ou nul. |
ParseDoubleAttribute(attribute: XmlAttribute) → std::optional<double> | Parse un double attribut, retournant vide sur échec ou nul attribute. |
NormalizeFormula(value: std::string_view) → std::string | Normaliser une ligne de formule en trompant et en trichant un «= ». |
ReadInlineString(inlineStringElement: XmlElement) → std::string | Il lit le texte concaté d’un élément inline-string. |
TryParseNumber(rawValue: std::string_view, numberValue: CellValue) → bool | Il essaye de parser une courbe en tant que nombre (int ou double). |
AddIssue(diagnostics: LoadDiagnostics, options: LoadOptions, issue: LoadIssue) | Enregistrez un problème de charge et notifiez le réclamation d’alerte si présente. |
ResolveWorksheetUri(sheetIndex: int, relationshipId: std::string_view, workbookRelationships: std::unordered_map<std::string, std::string>, archive: ZipArchive, diagnostics: LoadDiagnostics, sheetName: std::string_view, options: LoadOptions) → std::string | Résoudre la partie du feuille de travail URI d’un identifiant relationnel, tombant à la convention. |
ResolvePartUri(sourceUri: std::string_view, target: std::string_view) → std::string | Il résout un objectif relatif ou absolu contre une source d’URI. |
RelationshipPointsTo(candidate: std::string_view, expectedUri: std::string_view) → bool | Testez si un chemin de candidat correspond à une URI attendue (inconscient au cas). |
GetRelationshipTargetKind(candidate: std::string_view) → std::string | Il renforce le type de relation d’un chemin cible résolu. |
LooksLikeDateFormat(formatCode: std::string_view) → bool | Il teste si un code numérique ressemble à un format date/heure. |