Re: [api-dev] How can I concatenate a stream word collection

2006-09-02 Thread Stephan Wunderlich

Hi there,

Now I am merging the documents using URL and then store the merged  
document
on disk. I have some HTML files that are converted on WORD files  
(stream)
after they are merged on only one WORD document. You can see the  
result by
the attached files. The final document looses the text format and  
the others

documents only appear their code. Why?


Not sure why you use the way via HTML to merge the documents, but  
there might be some problems with formatting when using this filter.


The codesnipped ... http://codesnippets.services.openoffice.org/ 
Writer/Writer.MergeDocs.snip ... might give you an idea how to merge  
several documents into one.


http://api.openoffice.org/docs/DevelopersGuide/OfficeDev/ 
OfficeDev.xhtml#1_1_5_1_Loading_Documents ... should give you some  
general information on the ways to load documents.


Hope that helps

Regards

Stephan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-dev] Assign to Save)-as) events behaviour

2006-09-02 Thread Cor Nouws

Hi *,

In order to force/advice the saving of certain documents on a specified 
location, I prepared some macro's, looking at the documents state, name 
and such, and opening the save-dialog.
Then I assigned the macro's to Save(-As) with Tools|Customisation|Events 
in order that a click on the 'floppy' or File|Save triggers my macro.


However, it appears (2.0.3, on XP, 2.0.2 on Madrake) that my code is 
triggered áfter the regular Save(-As) actions :-\

What am I supposed to do to actually replace those?

Thanks a lot,
Cor

--


Cor Nouws

Done a test ride and want to investigate the car?
http://marketing.openoffice.org/ooocon2006/schedule.html

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]