Even DBMS_METADATA does not know the difference between local and global indexes (it writes global partitioned instead, and it forgets "compress", too, in 9.2.0.4.0).
Thus I'm eagerly awaiting your solution. Which data dictionary table does define "local indexes" anyway?.