Re: [dev] Hi, I'd like to know how do i contibute openoffice.org

2008-06-19 Thread Charles-H. Schulz


Dear KyuNam,

Please also feel free to check http://ko.openoffice.org

Best,
Charles-H.Schulz.

Le 17 juin 08 à 03:46, 조규남 a écrit :


Hi, This is kyuNam Cho from Korea.

I'm a software developer in samsung electronics.
These days I have interest in OpenOffice.org and develop core of  
Writer.


But I don't know how to start this work.
Also don't know start with what, where.

Finaly I find message in OpenOffice.org.
If I don't know how to start contirbute, Send email to dev@openoffice.org
So, I send mail to you.

Plz, give to me guide to start contiribute OpenOffice.org.
Plz, Let me know what can I study.

Best Regard
KyuNam




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



[dev] Padding, Bjorn is out of the office.

2008-06-19 Thread Bjorn Padding

I will be out of the office starting  06/19/2008 and will not return until
06/20/2008.

Regards,
Bjorn Padding



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



Re: [dev] Getting and Building OO 3.0

2008-06-19 Thread eric.bachard

Hi,

Chad Tindel a écrit :

Hi-

I'm interested in building a new plugin for oocalc, and I'm just trying to get 
to the point where I can checkout and build from source.  There are so
many different wiki pages saying how to build it, how to get it, but they're 
all different and I can't tell what is current and accurate.  Is there a
page that just shows how to checkout the source and build it on a linux 
platform?  It doesn't have to be a completely bleeding edge branch (i.e.
with broken builds), but a known-working beta branch would be fantastic.

Help?


FYI, no need to be student, but Education Project does provide support 
to beginners for discovering OpenOffice.org development.


- the entry point is [1] (see links below).
- there is a welcome translated in several locales (new translations are 
welcome ! ) and there are ClassRooms too (see [2]).


For the real begining, I think what you need is in the logs of previous 
ClassRooms [3] (look at mine), probably copleted with [4].


If you need more, I'd suggest you to join Education Proejct IRC channel 
( #education.openoffice.org , server is irc.freenode.net ) and ask. We'd 
be glad to help you. Don't forget you'll need to learn and practice a 
bit: nobody will do the job for you, and the main workj to do is on your 
side.


Last but not least, please note the current milestone is DEV300_m20 (not 
DEV300_m11 , because the log is not from today ;-)  )


Hope this helps you

Eric Bachard



Important links :
[1] Education Project 
http://wiki.services.openoffice.org/wiki/Education_Project

[2] ClassRoom http://wiki.services.openoffice.org/wiki/Education_ClassRoom
[3] ClassRoom logs : 
http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Previous_Logs/Introduction
[4] ClassRoom practice : 
http://wiki.services.openoffice.org/wiki/Education_ClassRoom/Practice

--
Education Project: 
http://wiki.services.openoffice.org/wiki/Education_Project


Blog : http://eric.bachard.free.fr/news


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



[dev] version of the cairo patch

2008-06-19 Thread ghost80
Hi,
  when I built the cairo,I have met this error:
**
.../../unxlngi6.pro/slo/cairo_spritehelper.o: In function 
`cairocanvas::SpriteHelper::redraw(_cairo*, basegfx::B2DPoint const&, bool&, 
bool) const':
cairo_spritehelper.cxx:(.text+0x355): undefined reference to 
`cairocanvas::doPolyPolygonImplementation(basegfx::B2DPolyPolygon, 
cairocanvas::Operation, _cairo*, 
com::sun::star::uno::Sequence const*, 
cairocanvas::SpriteCanvas*)'
collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../../unxlngi6.pro/lib/cairocanvas.uno.so'

ERROR: Error 65280 occurred while making 
/home/hook/openoffice-test/DEV300_m14/canvas/source/cairo
**

then I sent an email to dev@openoffice.org
 Jun.16
I received the email that how to solve it,and then,I followed the  

"http://www.openoffice.org/issues/show_bug.cgi?id=88260"; to patch the  
decl-defi-mismatch.patch.
 But,failed!
I found this version of patch is 1.5,but I used the OOo.2.4.0.

I even tried to change the codes followed codes of this patch!
failed!
Do you have the 2.4.0V of patch? or ,tell me how to change the codes. 
Thank you very much!



   
-
 雅虎邮箱,您的终生邮箱!

[dev] Padding, Bjorn is out of the office.

2008-06-19 Thread Bjorn Padding

I will be out of the office starting  06/19/2008 and will not return until
06/25/2008.

Regards,
Bjorn Padding



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



[dev] Strange Crashes on Vista

2008-06-19 Thread Stephan Bergmann
 describes a 
strange problem:  At least in one specific scenario, namely a specific 
Vista box running the DEV300m19 OOo-Dev version, clicking on the 
"Spreadsheet" button in the OOo start center leads to a crash.  (Other 
ways of creating a new spreadsheet like "File - New" are probably also 
affected, but the "Spreadsheet" button scenario is for sure.)  The only 
explanation I have for that crash is that in certain cases catching a 
C++ exception does not work.  The big question is what is so special 
about the failing setup described in issue 90798 (clicking "Spreadsheet" 
works fine on other Vista boxes, as well as on other Windows platforms), 
and whether this is a one-off problem for a single unhappy user or a 
phenomenon observed by many.


Hence my question:  Does anybody else experience crashes when clicking 
on the "Spreadsheet" button in the OOo start center?  (But please note 
 which describes 
the---probably unrelated---problem that the check for online updates may 
cause a crash, and that check is started shortly after opening OOo.  So 
it might appear in rare cases that opening OOo and clicking 
"Spreadsheet" causes a crash, when in fact it is the concurrent online 
update check that causes it.  Best disable the online update check for 
this little experiment, or wait a couple minutes after opening OOo.)


-Stephan

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



[dev] Please help for creating com.sun.star.awt.Toolkit service

2008-06-19 Thread Rainman Lee
hello everyone,
I'm trying to use uno controls independently without OO runing.
but when I try to create the com.sun.star.awt.Toolkit service in my program,
it crashes.
I have tried to create other services (e.g. UnoButtonModel), and it seeems
ok.
I use OOo 2.4 on windows platform with Visual C++ for this testing, and here
is how I do:

first, I implement a uno component with XMain interface.
in its run method, I just try to get the service manager through the
component context that I have restored during the component instantiation.

virtual ::sal_Int32 SAL_CALL run(const Sequence< ::rtl::OUString >&
aArguments) SAL_THROW((RuntimeException))
{
if (m_xContext.is())
MessageBox(NULL, TEXT("1 OK!"), TEXT("Msg"), MB_OK);

Reference xMultiFactory =
m_xContext.get()->getServiceManager();
if (xMultiFactory.is())
MessageBox(NULL, TEXT("2 OK!"), TEXT("Msg"), MB_OK);

Reference xInterface =
xMultiFactory.get()->createInstanceWithContext(L"com.sun.star.awt.Toolkit",
m_xContext);
if (xInterface.is())
MessageBox(NULL, TEXT("3 OK!"), TEXT("Msg"), MB_OK);
return 0;
}

then I register all uno dll components in [OFFICE_PROGRAM_PATH] with my
component into a new rdb file.(myservices.rdb)
finally I run uno -s MY_SERVICENAME -ro myservices.rdb to startup my uno
component.

when the component is runing, it shows the first two message boxes as
expected, and crashes without showing the last one.
but if I replace "com.sun.star.awt.Toolkit" with
"com.sun.star.awt.UnoButtonModel" or
"com.sun.star.awt.ContainerWindowProvider" instead, it runs correctly with
all message boxes displayed.
so why cant I create the Toolkit service in my component? does this serivce
depend on other services or things which I haven't prepared ready?
hope for your reply, and thanks very much!

best wishes!
Rainman.


Re: [dev] Urgent:How to check if gdk API is failiing??

2008-06-19 Thread [EMAIL PROTECTED]



Thorsten Behrens-3 wrote:
> 
> On Wed, Jun 18, 2008 at 06:37:44AM -0700, [EMAIL PROTECTED] wrote:
>> > On Wed, Jun 18, 2008 at 01:56:17AM -0700, [EMAIL PROTECTED] wrote:
>> >> I have seen that when i start the slideshow from any slide it works
>> for
>> >> that
>> >> slide .
>> >> Navigating to the other slide during slideshow is failing . 
>> >> 
>> > Hi Karl,
>> > 
>> > could you please also try whether assigning a slide transition
>> > effect to the first slide shows up correctly?
>> > 
>> >> What is the flow in following cases :
>> >> a) When u press F5 on the current sllide Versus 
>> >> b) When u press Page Down on the current slide which is fullscreen 
>> >> Do the flows at a) and b) differ .  
>> >> 
>> > Not fundamentally. The next slide gets prepared in the background in
>> > a second bitmap, so maybe a caching/resource issue on your side?
>> > 
>> >> Note that when i navigate the presentation in non-slideshow mode , it
>> >> works
>> >> . Do you see any obvious problem , which i am missing .   Any pointers
>> >> from
>> >> you will help me debug the issue with my bitmap / virtual device code. 
>> >> 
>> > The non-slideshow mode is using completely different code paths,
>> > this does not give much information - to give more specific help,
>> > I'd need the code - preferrably a full patch, such that I can debug
>> > that in a live office.
>> > 
>> > Cheers,
>> > 
>> > -- Thorsten
>> > 
>> > -
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> > 
>> > 
>> > 
>> 
>> 
>> As u suggested I put a slide transition in the first slide  ,but with no
>> succes and it dint show up. :(
>> 
>> Also I was just wondering if its really a caching/resource issue on my
>> side,
>> as i came across a situation wherein the slideshow works but wid slight
>> change in the way the user delivers the events.
>> The situation is summarized as follows.
>> 1)I have 3 slides each being bitmaps covering the entire screen and each
>> containing some animation(ie. Some text coming up on a click)
>> 2  (a)On F5,the first slide doesnt show up(ie.No bitmap comes up as in
>> the
>> original slide). However on a click as proposed the 1st slide is
>> displayed
>> correctly(ie.The bitmap as well as the animated text).
>> (b)To move to the next slide ie. on any key press , the first Slide
>> is
>> erased and a black screen comes up.But giving one more click ( this is
>> for
>> the animated text) , the slide comes up with both the bitmap and animated
>> text.
>> (c)this happens in case of all the remaing slides.
>> 
> Hi Karl,
> 
> yes, this indeed gives some more hints - maybe clipping has issues
> (in that there are subtle differences in how to interpret empty or
> no clip), or there's something wrong with timer events, yielding or
> rescheduling. You might want to single-step in
> sd/source/ui/slideshow/slideshowimpl.cxx:updateHdl, to verify that
> there are no differences to the X11 version.
> 
> Next thing to try: what's the differene if you use normal shapes
> instead of the slide-sized bitmaps in your example above (and keep
> the animation)?
> 
> x-posted to [EMAIL PROTECTED], I'd suggest continuing there.
> 
> Cheers,
> 
> -- Thorsten
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

Hi Thorsten,

I have checked the Clip regions and there is no problem there.The clip
region for the dest drawable seems set correctly.

Next,as you said I tried with slides containing "two small bitmaps" and the
animated text and have noticed only a small but important observation. I
noticed that in this case on fullscreen the first slide comes up(ie.Only the
bitmap as expected) and on a click(ie any user event) the slide is shown
completely along with the text.The last time when I had the whole screen
covered in a bitmap and animated text, the first slide did not show up the
slide on Fullscreen and required a click to show the bitmap and the text.

On PgDown the behaviour of all slides in both the tests is the same.

Do you see any pattern developing here?why do the smaller bitmaps come up on
Fullscreen as against the fullscreen ones in the previous case?

Regards,

Karl

-- 
View this message in context: 
http://www.nabble.com/Urgent%3AHow-to-check-if-gdk-API-is-failiing---tp17880763p18000253.html
Sent from the openoffice - dev mailing list archive at Nabble.com.


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



Re: [dev] Opening SXW files with OOo2.x

2008-06-19 Thread Tobias Krais
Hi Juergen,

> it sounds strange and we should analyze the problems. Can you submit an
> issue (component writer, sw) with an example sxw document attached. As
> far as i know no such problems are known so far and it would be
> interesting to know what happens.

Sorry for the delay. I was in holidays. I analysed the problem and
submitted a bug: http://www.openoffice.org/issues/show_bug.cgi?id=90872

The reason of the defect was: OOo 1.1.4 created some documents without a
/META-INF/manifest.xml. These documents were not opened correctly with
OOo 2.4. Thus my colleague copied a manifest.xml file in some of the
documents. By doing this the formatting was gone in documents where the
manifest.xml file was wrong. The submitted bug is very instersting.

Thanks all for the comments and help.

Greetings, Tobias

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



Re: [dev] Urgent:How to check if gdk API is failiing??

2008-06-19 Thread Thorsten Behrens
On Thu, Jun 19, 2008 at 01:49:14AM -0700, [EMAIL PROTECTED] wrote:
> I have checked the Clip regions and there is no problem there.The clip
> region for the dest drawable seems set correctly.
> 
> Next,as you said I tried with slides containing "two small bitmaps" and the
> animated text and have noticed only a small but important observation. I
> noticed that in this case on fullscreen the first slide comes up(ie.Only the
> bitmap as expected) and on a click(ie any user event) the slide is shown
> completely along with the text.The last time when I had the whole screen
> covered in a bitmap and animated text, the first slide did not show up the
> slide on Fullscreen and required a click to show the bitmap and the text.
> 
Weird. Some limit in bitmap sizes? I strongly suggest you to publish
your code, so that others can review/debug it, this here starts to become 
wild guessing...

Cheers,

-- Thorsten

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



Re: [dev] Please help for creating com.sun.star.awt.Toolkit service

2008-06-19 Thread Eike Rathke
Hi Rainman,

On Thursday, 2008-06-19 16:13:01 +0800, Rainman Lee wrote:

> [...]
> Reference xInterface =
> xMultiFactory.get()->createInstanceWithContext(L"com.sun.star.awt.Toolkit",
> m_xContext);
> [...]
> when the component is runing, it shows the first two message boxes as
> expected, and crashes without showing the last one.

I'm almost certain that L"some string" is the culprit, because the
method expects a rtl::OUString there. Use
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.awt.Toolkit"))
instead.

However, that would not explain why that

> but if I replace "com.sun.star.awt.Toolkit" with
> "com.sun.star.awt.UnoButtonModel" or
> "com.sun.star.awt.ContainerWindowProvider" instead, it runs correctly with
> all message boxes displayed.

works, but I guess it just does not crash by accident because of
different memory layout.

  Eike

-- 
 OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
 SunSign   0x87F8D412 : 2F58 5236 DB02 F335 8304  7D6C 65C9 F9B5 87F8 D412
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
 Please don't send personal mail to the [EMAIL PROTECTED] account, which I use 
for
 mailing lists only and don't read from outside Sun. Use [EMAIL PROTECTED] 
Thanks.


pgpZNMgxrz7Tw.pgp
Description: PGP signature


Re: [dev] Please help for creating com.sun.star.awt.Toolkit service

2008-06-19 Thread Stephan Bergmann

Eike Rathke wrote:

Hi Rainman,

On Thursday, 2008-06-19 16:13:01 +0800, Rainman Lee wrote:


[...]
Reference xInterface =
xMultiFactory.get()->createInstanceWithContext(L"com.sun.star.awt.Toolkit",
m_xContext);
[...]
when the component is runing, it shows the first two message boxes as
expected, and crashes without showing the last one.


I'm almost certain that L"some string" is the culprit, because the
method expects a rtl::OUString there. Use
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.awt.Toolkit"))
instead.


On Windows, the L"..." version should also work, by accident. 
(sal_Unicode is a typedef for wchar_t there, and there is a non-explicit 
rtl::OUString(sal_Unicode const *) ctor).


-Stephan

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



Re: [dev] Please help for creating com.sun.star.awt.Toolkit service

2008-06-19 Thread Rainman Lee
I just googled my problem, and there was a same problem 3 years ago.(
http://osdir.com/ml/openoffice.devel.udk/2005-09/msg00076.html)
but unfortunately, no solution at that time.
Is there someone kind can fix it today?
thanks again.

best wishes, Rainman

On Thu, Jun 19, 2008 at 8:30 PM, Stephan Bergmann <[EMAIL PROTECTED]>
wrote:

> Eike Rathke wrote:
>
>> Hi Rainman,
>>
>> On Thursday, 2008-06-19 16:13:01 +0800, Rainman Lee wrote:
>>
>>  [...]
>>>Reference xInterface =
>>>
>>> xMultiFactory.get()->createInstanceWithContext(L"com.sun.star.awt.Toolkit",
>>> m_xContext);
>>> [...]
>>> when the component is runing, it shows the first two message boxes as
>>> expected, and crashes without showing the last one.
>>>
>>
>> I'm almost certain that L"some string" is the culprit, because the
>> method expects a rtl::OUString there. Use
>> rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.awt.Toolkit"))
>> instead.
>>
>
> On Windows, the L"..." version should also work, by accident. (sal_Unicode
> is a typedef for wchar_t there, and there is a non-explicit
> rtl::OUString(sal_Unicode const *) ctor).
>
> -Stephan
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


[dev] Can Writer be used as an embedded WYSIWYG editor?

2008-06-19 Thread Aaron Digulla

Hello,

I'm working on an application for novel writers. One of the most  
important parts is the text editor. Right now, I'm at a loss which way  
is better: Should I embed OO in my application or is it more simple to  
rewrite OO to match my needs?


Basically, I just need a rich text editor where I can control what the  
user can do depending on where the cursor is in a document. Think of a  
form editor where users can add text with bold and italics in one  
place and lists+tables in another and in another, you can have an  
image but no text, etc.


So I need to be able to control whether the user can modify something  
at all and when he can modify the document, what he can do.


At first thought, it seems to be most simple to track the cursor  
position and enable/disable menus and toolbars (along with the  
keyboard shortcuts) depending on where it is. How could I achieve that  
from within OO and from an embedded OO in Java?


I tried to use OOoBean to embed Writer in my application. After  
getting rid of every toolbar I could find (using the deprecated  
set*Visible()-API), I'm left with a last toolbar that won't go away  
(it contains a combo for the formats, the current font, the font size,  
bold, italics, underline, etc). My guess is that this is a "floater"  
but I couldn't find the URL for this UI element so I can't hide it  
with the XLayoutManager api. Any hints?


Lastly, I need to get rid of the rulers, too (the user shouldn't be  
able to change the text width). I found "ViewSettings" which seems to  
control whether rulers are visible or not, but I couldn't find how to  
access this class from Java. Any pointers how to achieve that?


Also, any hints on how to get rid of any space between the text and  
the frame would be most welcome. The user will always only edit small  
scenes in the editor, so I'd like to give the impression of an endless  
sheet of paper which is always as wide as the window (i.e. no print  
margin, no gray area around the text).


Regards,

--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://www.pdark.de/

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



Re: [dev] Please help for creating com.sun.star.awt.Toolkit service

2008-06-19 Thread Carsten Driesner

Rainman Lee wrote:

hello everyone,
I'm trying to use uno controls independently without OO runing.
but when I try to create the com.sun.star.awt.Toolkit service in my program,
it crashes.
I have tried to create other services (e.g. UnoButtonModel), and it seeems
ok.
I use OOo 2.4 on windows platform with Visual C++ for this testing, and here
is how I do:

first, I implement a uno component with XMain interface.
in its run method, I just try to get the service manager through the
component context that I have restored during the component instantiation.

virtual ::sal_Int32 SAL_CALL run(const Sequence< ::rtl::OUString >&
aArguments) SAL_THROW((RuntimeException))
{
if (m_xContext.is())
MessageBox(NULL, TEXT("1 OK!"), TEXT("Msg"), MB_OK);

Reference xMultiFactory =
m_xContext.get()->getServiceManager();
if (xMultiFactory.is())
MessageBox(NULL, TEXT("2 OK!"), TEXT("Msg"), MB_OK);

Reference xInterface =
xMultiFactory.get()->createInstanceWithContext(L"com.sun.star.awt.Toolkit",
m_xContext);
if (xInterface.is())
MessageBox(NULL, TEXT("3 OK!"), TEXT("Msg"), MB_OK);
return 0;
}

then I register all uno dll components in [OFFICE_PROGRAM_PATH] with my
component into a new rdb file.(myservices.rdb)
finally I run uno -s MY_SERVICENAME -ro myservices.rdb to startup my uno
component.

when the component is runing, it shows the first two message boxes as
expected, and crashes without showing the last one.
but if I replace "com.sun.star.awt.Toolkit" with
"com.sun.star.awt.UnoButtonModel" or
"com.sun.star.awt.ContainerWindowProvider" instead, it runs correctly with
all message boxes displayed.
so why cant I create the Toolkit service in my component? does this serivce
depend on other services or things which I haven't prepared ready?
hope for your reply, and thanks very much!

Hi Rainman,

You have to make sure that VCL is properly initialized before you can 
use UNO awt! UNO awt is a wrapper around VCL and cannot work correctly 
if VCL has not been initialized. To initialize VCL you have to call 
InitVCL(...). You can find how to call InitVCL in the desktop project, 
e.g. look within desktop/source/pkgchk/unopkg/unopkg_misc.cxx at the 
function getUNO(...). There is also a function called DeInitVCL().


Regards,
Carsten

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



[dev] about the native print error on Mac AquaBuild

2008-06-19 Thread debin lei
hi All

  I am interested in developing Mac AquaBuild. And i found a pb on the
build.
  I got the sources (DEV_m12) and build it fellow the guild
http://wiki.services.openoffice.org/wiki/AquaBuild
  It works fine. But in my iMac 10.5.2, if the Preview app was not
launched before OO, i selected the "Open PDF in Preview "button from the
native print dialog. it got an error.(Printing failed because
PMSessionEndDocumentNoDialog() returned -10810.) But if the Preview app was
launched before the OO, it worked.
  I used gdb to debug it , i found the error occured
in  _LSOpenItemsWithRole_Common() it returns -10810
 #0  0x955a82e8 in _LSOpenItemsWithRole_Common ()
#1  0x955a5910 in LSOpenFromRefSpec ()
#2  0x94a2963a in PJCEndDocument ()
#3  0x94a28c1e in PMSessionEndDocumentNoDialog ()
#4  0x96e64d57 in -[NSPrintSpoolingGraphicsContext endDocument] ()
#5  0x96e642d8 in -[NSView(NSPrintingInternal) _printForCurrentOperation] ()
#6  0x96e63f41 in -[NSConcretePrintOperation _renderView] ()
#7  0x96eaa9c4 in -[NSConcretePrintOperation runOperation] ()

 Can anyone help me ?


 Best Regards.
 Lei Debin


Re: [dev] Urgent:How to check if gdk API is failiing??

2008-06-19 Thread [EMAIL PROTECTED]



Thorsten Behrens-3 wrote:
> 
> On Thu, Jun 19, 2008 at 01:49:14AM -0700, [EMAIL PROTECTED] wrote:
>> I have checked the Clip regions and there is no problem there.The clip
>> region for the dest drawable seems set correctly.
>> 
>> Next,as you said I tried with slides containing "two small bitmaps" and
>> the
>> animated text and have noticed only a small but important observation. I
>> noticed that in this case on fullscreen the first slide comes up(ie.Only
>> the
>> bitmap as expected) and on a click(ie any user event) the slide is shown
>> completely along with the text.The last time when I had the whole screen
>> covered in a bitmap and animated text, the first slide did not show up
>> the
>> slide on Fullscreen and required a click to show the bitmap and the text.
>> 
> Weird. Some limit in bitmap sizes? I strongly suggest you to publish
> your code, so that others can review/debug it, this here starts to become 
> wild guessing...
> 
> Cheers,
> 
> -- Thorsten
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


Hi Thorsten,

Well, I later discovered that the slide contained some animation(ie.fly in
black kind of custom animation) and on removing it the slide is shown. So
the sizes dint matter really. I think there is something going wrong in our
rendering of the cached bitmaps as till that step the data seems to be
showing in the buffer. The Slideshow working on F5 and post PgDwn is also
not very clear so debugging is becoming a problem.
If u can give us any hints it would be great! :)

Regards,

Karl 

Regards,
Karl
-- 
View this message in context: 
http://www.nabble.com/Urgent%3AHow-to-check-if-gdk-API-is-failiing---tp17880763p18023432.html
Sent from the openoffice - dev mailing list archive at Nabble.com.


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



Re: [dev] Configmgr Requirement Review and Tuning Concept

2008-06-19 Thread Stephan Bergmann

yugq,

I already saw your mail on [EMAIL PROTECTED], but had not 
yet time to add anything to the comments you already received there.  I 
would suggest to keep any actual discussion to that other mailing list, 
though.


-Stephan

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



Re: [dev] about the native print error on Mac AquaBuild

2008-06-19 Thread Frank Neumann

Hi debin,

you may want to ask this again on the openoffice.porting.mac mailing-list.

Have you tried DEV300_m20 yet? Is the problem still there?

Regards
Frank


debin lei wrote:

hi All

  I am interested in developing Mac AquaBuild. And i found a pb on the
build.
  I got the sources (DEV_m12) and build it fellow the guild
http://wiki.services.openoffice.org/wiki/AquaBuild
  It works fine. But in my iMac 10.5.2, if the Preview app was not
launched before OO, i selected the "Open PDF in Preview "button from the
native print dialog. it got an error.(Printing failed because
PMSessionEndDocumentNoDialog() returned -10810.) But if the Preview app was
launched before the OO, it worked.
  I used gdb to debug it , i found the error occured
in  _LSOpenItemsWithRole_Common() it returns -10810
 #0  0x955a82e8 in _LSOpenItemsWithRole_Common ()
#1  0x955a5910 in LSOpenFromRefSpec ()
#2  0x94a2963a in PJCEndDocument ()
#3  0x94a28c1e in PMSessionEndDocumentNoDialog ()
#4  0x96e64d57 in -[NSPrintSpoolingGraphicsContext endDocument] ()
#5  0x96e642d8 in -[NSView(NSPrintingInternal) _printForCurrentOperation] ()
#6  0x96e63f41 in -[NSConcretePrintOperation _renderView] ()
#7  0x96eaa9c4 in -[NSConcretePrintOperation runOperation] ()

 Can anyone help me ?


 Best Regards.
 Lei Debin



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



Re: [dev] about the native print error on Mac AquaBuild

2008-06-19 Thread eric b

Hello Debin,



Le 20 juin 08 à 03:52, debin lei a écrit :


hi All

  I am interested in developing Mac AquaBuild. And i found a pb  
on the build.


Thanks for your feedback.


  I got the sources (DEV_m12) and build it fellow the guild
http://wiki.services.openoffice.org/wiki/AquaBuild
  It works fine. But in my iMac 10.5.2, if the Preview app was not



[...cut...]



 Can anyone help me ?



I'd suggest you to build a more recent milestone, like DEV300_m20

If you need other information, you can join #ooo_macport IRC channel,  
and we would be vrey glad to help and you advices :-)



Regards,
Eric Bachard


--
qɔᴉɹə






Re: [dev] about the native print error on Mac AquaBuild

2008-06-19 Thread debin lei
Thank you for your answers. I did't try the DEV300_m20, but from the
web cvs, i have checked the file salprn.cxx in vcl\aqua\source\gdi\, it seem
nothing change to print opertions.

I will ask the question to openoffice.porting.mac and i will ooo_macport IRC
channel soon.

Thank you very much.


2008/6/20, eric b <[EMAIL PROTECTED]>:
>
> Hello Debin,
>
>
>
> Le 20 juin 08 à 03:52, debin lei a écrit :
>
> hi All
>>
>>  I am interested in developing Mac AquaBuild. And i found a pb on the
>> build.
>>
>
> Thanks for your feedback.
>
>  I got the sources (DEV_m12) and build it fellow the guild
>> http://wiki.services.openoffice.org/wiki/AquaBuild
>>  It works fine. But in my iMac 10.5.2, if the Preview app was not
>>
>>
> [...cut...]
>
>
> Can anyone help me ?
>>
>>
> I'd suggest you to build a more recent milestone, like DEV300_m20
>
> If you need other information, you can join #ooo_macport IRC channel, and
> we would be vrey glad to help and you advices :-)
>
>
> Regards,
> Eric Bachard
>
>
> --
> qɔᴉɹə
>
>
>
>
>


Re: [dev] about the native print error on Mac AquaBuild

2008-06-19 Thread eric b

Hi,

Le 20 juin 08 à 08:52, debin lei a écrit :

Thank you for your answers. I did't try the DEV300_m20, but from  
the web cvs, i have checked the file salprn.cxx in vcl\aqua\source 
\gdi\, it seem

nothing change to print opertions.



If I'm not wrong, Philipp Lohmann commited some changes in vcl/ aqua/  
source/ gdi/ salprn.cxx in aquavcl08, not integrated yet.


and if you need to add it in your build, we'll explain you how proceed.


I will ask the question to openoffice.porting.mac


Yes, good idea.



and i will ooo_macport IRC channel soon.



Ok, see you soon !



Thank you very much.



You're welcome :-)

Eric Bachard


--
qɔᴉɹə