[pypy-svn] rev 1493 - pypy/trunk/doc/funding/makedoc
tismer at codespeak.net
tismer at codespeak.net
Wed Oct 1 04:40:18 CEST 2003
Author: tismer
Date: Wed Oct 1 04:40:17 2003
New Revision: 1493
Added:
pypy/trunk/doc/funding/makedoc/format.py
- copied unchanged from rev 1489, pypy/trunk/doc/funding/tools/format.py
pypy/trunk/doc/funding/makedoc/zipmod.py
- copied unchanged from rev 1489, pypy/trunk/doc/funding/tools/zipmod.py
Modified:
pypy/trunk/doc/funding/makedoc/mkdoclist.py
pypy/trunk/doc/funding/makedoc/part_b.sxw
Log:
some automatic file generation and OLE automation.
I can open the document, but how do I run a macro???
Modified: pypy/trunk/doc/funding/makedoc/mkdoclist.py
==============================================================================
--- pypy/trunk/doc/funding/makedoc/mkdoclist.py (original)
+++ pypy/trunk/doc/funding/makedoc/mkdoclist.py Wed Oct 1 04:40:17 2003
@@ -118,11 +118,17 @@
def make_doc():
build_xref_file()
+ copy_ascfiles()
names = get_file_list()
make_new_files(names)
make_doc_list(names)
sys.argv=[sys.argv[0], "--no-xml-declaration"]
execfile("d:/python22/docutils/tools/buildhtml.py")
+ from win32com.client import Dispatch
+ objServiceManager= Dispatch("com.sun.star.ServiceManager")
+ objDesktop= objServiceManager.createInstance("com.sun.star.frame.Desktop")
+ objDocument= objDesktop.loadComponentFromURL(r"file:///D|/pypy/trunk/doc/funding/makedoc/part_b.sxw", "_blank", 0, ())
+ return
for name in tempfiles:
os.unlink(name)
if name.endswith(".txt"):
Modified: pypy/trunk/doc/funding/makedoc/part_b.sxw
==============================================================================
Binary files. No diff available.
More information about the Pypy-commit
mailing list