libgsf - Child by name returns only GsfInput

Yogev Drami via gnumeric-list <[email protected]> Sun, 31 May 2020 14:56:55 +0000
Newsgroups gmane.comp.gnome.apps.gnumeric
Message-ID <AM0PR83MB02608F56215D4C985DAD2388FE8D0@AM0PR83MB0260.EURPRD83.prod.outlook.com>
Hi,

I'm using libgsf library to create a structed file with some nested childs.

for example: A(root) -> B( dir) -> C (dir) A is the root, B is a child directory and of a and C is child directory of B.

later on, when I have only the root I want to add a child to C so I want to open the path up to C, but if I open C it returns it as GsfInputFile.

GsfInput* gsf_infile_child_by_name (GsfInfile *infile, char const *name);
In order to add child to C I need it to be GsfOutFile, but I can only get c as inputFile.

GsfOutput* gsf_outfile_new_child (GsfOutfile *outfile, char const *name, gboolean is_dir);
Any thoughts?

Thanks
Yogev Drami

_______________________________________________
gnumeric-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnumeric-list