michal-h21 / odsfile

LaTeX package for reading opendocument spreadsheet files.
14 stars 2 forks source link

Insertion of new cell values does not work #14

Closed gro1729 closed 5 months ago

gro1729 commented 1 year ago

I tried the below standing LaTeX-File (beispiel.ods contains one line with two columns). The File compiles with

lualatex --shell-escape --synctex=1 beispiel.tex

but the contents of the ods- File is not modified. Some help would be great.

\usepackage{lmodern,odsfile,booktabs}

\begin{document}
   \loadodsfile{beispiel.ods}

   \includespread[template=booktabs, columns=head]
   \begin{AddRow}[2]
      \AddString{Hello}{1}
      \AddNumber{42}{2}
   \end{AddRow}

   \savespreadsheet
   \includespread[template=booktabs, columns=head]
\end{document}

beispiel.ods

michal-h21 commented 1 year ago

Thanks for the report. This feature was completely broken, no data were saved. It should be fixed in the latest commit.