timxx / pywpsrpc

Python bindings for WPS Office RPC (for Linux)
MIT License
219 stars 44 forks source link

fix: fail to get et sheet page count #54

Closed GeeMing closed 2 years ago

GeeMing commented 2 years ago

fixing following issue:

Count attr is missing when calling worksheet.PageSetup.Pages, dir(worksheet.PageSetup.Pages) shows:

['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__']
timxx commented 2 years ago

Nice job. Please consider delete the sip/rpcetapi/Pages.sip file, seems useless after this patch.