[dev] what's the function of class SwCSS1Parser

2007-08-21 Thread gaopeng
Hi , All
   Anybody can tell me: 
what's the function of class SwCSS1Parser when use the html 
parser(SwHTMLParser) in ooo writer appliction . 

what's defference between Html format and Html format uncomment when paste with 
this 2 option  . 

  
Best Regards
Gao Peng

E-mail : [EMAIL PROTECTED]
Date :  2007-08-21 


Vá: Re: [dev] Disabled Record macro menu in Impress and Draw

2007-08-21 Thread Kálmán Szalai
Thank you for the information.
Are you planning to reimplement this part and make it available under 
Draw/Impress?
 
 
KAMI

 Dátum: H, aug. 20, 2007, idő:  8:44 de., a(z) [EMAIL PROTECTED] 
 üzenetben, Mathias Bauer [EMAIL PROTECTED] írta:
KAMI wrote:

 Hi!
 
 Few minutes ago someone said on IRC channel the Record Macro menu 
 elements in the Tools are disabled in Impress and Draw. I can confirm it 
 hoewer it works well in Writer and Calc. What is the problem with it? 
 Why is it disabled?
..
Because it is not implemented. The macro recorder builds upon some
functionality of the old sfx2 framework. This part was never implemented
reliably in Draw/Impress and the residues have been removed after we
moved to the new UNO based API. Writer and Calc where a bit more lazy
removing that parts and so it was possible to use it again.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS 
Please don't reply to [EMAIL PROTECTED].
I use it for the OOo lists and only rarely read other mails sent to it.

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



Re: [dev] How to change paragraph styles globally

2007-08-21 Thread Frank Meies

Hi Matthias,

On 08/20/07 10:00, Matthias B. wrote:


How do I change the definition of the standard paragraph styles such
as Heading 1, 2,3... on a global level. Can I do this via a uno.pkg?


you can add/change the ooSetupFactoryTemplateFile setting in Setup.xcu 
to point to a new default template file.


Hope this helps,

Frank

--
Frank Meies (fme) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS

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



[dev] oo 2.3 m1 - can not load services implemented in external dll files ...

2007-08-21 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

are there any known issues with oo 2.3 ?

I have a protocolhandler (cpp). The users clicks on a toolbar button,
the external service should start now ... but i get a message (from
the protocolhandler), that the service can not be found.

Using OO 2.2.1 on vista/xp - no problems occur at all.
But I get the same error message here, if i delete the service dll ...

I had a look with the sysinternal procmon tool and found:

soffice.BIN QueryOpenD:\MyServices\ServiceA.dll SUCCESS CreationTime: 
04.05.2007 14:45:43,
 LastAccessTime: 04.05.2007 14:45:43, 
LastWriteTime: 09.03.2007
12:05:16,
 ChangeTime: 23.07.2007 19:20:29, 
AllocationSize: 503.808,
EndOfFile: 503.808,
 FileAttributes: A
soffice.BIN CreateFile  D:\MyServices\ServiceA.dll  SUCCESS Desired Access: 
Read Data/List
Directory,
 Execute/Traverse, Synchronize, 
Disposition: Open, Options:
Synchronous IO Non-Alert,
 Non-Directory File, Attributes: n/a, 
ShareMode: Read, Delete,
AllocationSize: n/a,
 OpenResult: Opened
soffice.BIN CloseFile   D:\MyServices\ServiceA.dll  SUCCESS 
soffice.BIN Load ImageD:\MyServices\ServiceA.dllSUCCESS Image Base: 
0x711, Image Size: 0x7c000

soffice.BIN RegQueryValue HKLM\SOFTWARE\Microsoft\Windows 
NT\CurrentVersion\Image File Execution
Options\
DllNXOptions\ServiceA.dll  NAME NOT 
FOUND   Length: 1.024
soffice.BIN QueryNameInformationFileD:\MyServices\ServiceA.dll  SUCCESS 
Name:
\MyServices\ServiceA.dll

- - The last 2 steps RegQueryValue and QueryNameInformationFile do not 
appear if i use OO 2.3 ...

any hints ?

BTW: I do not have the protocolhandler/dll source code at the moment ...

Oliver

- --

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGyrg2TiyrQM/QSkURAmGxAKCxBs/6LdDh+Dh2SBzzN95gZXEb0wCfTKEb
30wBXnvKq0Y8fQV9DMyATyU=
=qQBy
-END PGP SIGNATURE-

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



Re: [dev] Disabled Record macro menu in Impress and Draw

2007-08-21 Thread Mathias Bauer
Hi Malte,

menu design is next door. :-)

Ciao,
Mathias

Malte Timmermann wrote:

 If it's not implemented, I wonder if it wouldn't be better to remove the
 menu item instead of disabling it...
 
 Malte.
 
 Mathias Bauer wrote, On 08/20/07 08:44:
 KAMI wrote:

   
 Hi!

 Few minutes ago someone said on IRC channel the Record Macro menu 
 elements in the Tools are disabled in Impress and Draw. I can confirm it 
 hoewer it works well in Writer and Calc. What is the problem with it? 
 Why is it disabled?
 
 ..
 Because it is not implemented. The macro recorder builds upon some
 functionality of the old sfx2 framework. This part was never implemented
 reliably in Draw/Impress and the residues have been removed after we
 moved to the new UNO based API. Writer and Calc where a bit more lazy
 removing that parts and so it was possible to use it again.

 Ciao,
 Mathias

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


-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to [EMAIL PROTECTED].
I use it for the OOo lists and only rarely read other mails sent to it.

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



Re: [dev] How to change paragraph styles globally

2007-08-21 Thread Matthias B.
Hi Frank,

Thanks for you help.

On 8/21/07, Frank Meies [EMAIL PROTECTED] wrote:
 Hi Matthias,

 On 08/20/07 10:00, Matthias B. wrote:

  How do I change the definition of the standard paragraph styles such
  as Heading 1, 2,3... on a global level. Can I do this via a uno.pkg?

 you can add/change the ooSetupFactoryTemplateFile setting in Setup.xcu
 to point to a new default template file.

Where can I find the default file to build on. I've grepped all xcu
files in my OOo installation for ooSetupFactoryTemplateFile and all
occurences are like this

prop oor:name=ooSetupFactoryTemplateFile
 value/value
   /prop

so the value is empty. Are the defaults hardcoded in the binary? If
so, could you tell me where, because since we're building OOo
ourselves, patching the source is an option we should consider. The
problem I see with providing a new template file is that any
enhancements made to OOo such as new compatibility settings that are
supposed to be on by default or new paragraph styles, will be absent
from our template file. So we'd need to regularly recreate the
template file from scratch to get the new features. Maintaining a
patch may be easier, depending on where and how the data is stored in
the source tree.

As for packaging: While the change to the xcu files can certainly be
packaged in a uno.pkg, how about the needed template file itself.
Since the location in the package cache is not known, we can't
hardcode its path in our package. Is there a variable that we could
use here, so that we can provide the template file and the xcu
override in the same uno.pkg?


Matthias

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



Re: Vá: Re: [dev] Disabled Reco rd macro menu in Impress and Draw

2007-08-21 Thread Andrew Douglas Pitonyak
Even better, will a new and improved macro recorder be implemented? I do 
not remember seeing one in any road map, but I might have missed it.


Kálmán Szalai wrote:

Thank you for the information.
Are you planning to reimplement this part and make it available under 
Draw/Impress?
 
 
KAMI


  

Dátum: H, aug. 20, 2007, idő:  8:44 de., a(z) [EMAIL PROTECTED] üzenetben, Mathias 
Bauer [EMAIL PROTECTED] írta:


KAMI wrote:

  

Hi!

Few minutes ago someone said on IRC channel the Record Macro menu 
elements in the Tools are disabled in Impress and Draw. I can confirm it 
hoewer it works well in Writer and Calc. What is the problem with it? 
Why is it disabled?


..
Because it is not implemented. The macro recorder builds upon some
functionality of the old sfx2 framework. This part was never implemented
reliably in Draw/Impress and the residues have been removed after we
moved to the new UNO based API. Writer and Calc where a bit more lazy
removing that parts and so it was possible to use it again.

Ciao,
Mathias

  


--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html

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



Re: [dev] How to change paragraph styles globally

2007-08-21 Thread Matthias B.
Thanks. That should get me started.

Matthias

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



[dev] MSWord to Plain Text using Open Office and Java

2007-08-21 Thread Luciano Nunes
Hi everyone!!!

I need any help to know how to convert .DOC (MSWord)
files in plain text using a Open Office Java API.

Any help will be appreciate!

Tks!

Luciano


  Flickr agora em português. Você clica, todo mundo vê.
http://www.flickr.com.br/

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