How to export Excel equations to other types of expressions with Golang via C++

Sometimes you may need to export Excel formulas to other formats in your code to meet work requirements. Aspose.Cells for Go via Go library can fulfill these needs. The following content introduces methods for exporting Excel formulas to other formats using C++.

We provide sample code to help achieve these goals using Aspose.Cells for Go via C++. Necessary sample files are included.

Sample file: Sample.xlsx

Export equations as LaTeX expressions

To export equations as LaTeX expressions, use the ToLaTeX() method.

The following sample demonstrates using ToLaTeX() and inserting results into HTML:

C++-To-LaTeX

Export equations as MathML expressions

To export equations as MathML expressions, use the ToMathML() method.

The following sample demonstrates using ToMathML() and inserting results into HTML:

C++-To-MathML