Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use nested list? #15

Open
OOXX1248 opened this issue Dec 29, 2015 · 0 comments
Open

How to use nested list? #15

OOXX1248 opened this issue Dec 29, 2015 · 0 comments

Comments

@OOXX1248
Copy link

Hello,I have a trouble to make a nested list.
The code is :
temp = ezodf.newdoc("odt","")
a = ezodf.List()
b = ezodf.List()
a.append(ezodf.ListItem('1'))
b.append(ezodf.ListItem('2'))
a += b
temp.saveas("temp.odt")

And i load the file(temp.odt) with Openoffice4.1.2 , (python3.4 ,win10 64bit environment)
Openoffice only shows the "a" list in the document, i feel frustrated about the situation.
Did i misunderstand something about the module or the function?
Please let me know.

At the end, thanks for the efforts what you devoted.It saves my time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant