List Info

Thread: Re: show a Impress document that inserted a video, cannot finish it by ESC.




Re: show a Impress document that inserted a video, cannot finish it by ESC.
user name
2007-08-07 06:21:49
Hi Song,

if the inserted movie is a plugin (don't know, you need
to tell us what format and what plattform) then it is
displayed in a system window. So a click would give the
window the focus and then it consumes all keyboard events.

Regards,
Christian

songzhanjun wrote:
> Hi, all:
> 
> I have a bug in Impress, and I want to debug the code.
can anyone give me some advice?
> 
> [Step]
> 1. new a Impress document.
> 2. Insert the video file to a Impress document: Insert
| Movie and Sound, pop the "Insert Movie and
Sound" dialog, select a video file, and click the
"OK" button.
> 3. show the Impress.
> 4. when show the Impress, click the video's area.
> 5. =>click the Esc key, the Impress can't finish.
> [Expectation]
> the Impress can finish when click the Esc key.
> 
> Regards
> songzhanjun
> 

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribegraphics.openoffice.org
For additional commands, e-mail: dev-helpgraphics.openoffice.org


Re: show a Impress document that inserted a video,cannot finish it
user name
2007-08-07 21:14:30
Hi Christian,

Thanks for you help.

I used windows XP and the movie format is .avi.

I agree with you. I think that the movie will be a
childwindow when display the Impress, and when click on the
moive, the windows message will come into the callback
function SalSysObjWndProc()( in file:
../vcl/win/source/windows/salobj.cxx), later, the message
will be post to the childwindow( the movie object ). do you
agree with me? 
but, I don't know how I can do.

Regards,
songzhanjun

>
>Hi Song,
>
>if the inserted movie is a plugin (don't know, you need
>to tell us what format and what plattform) then it is
>displayed in a system window. So a click would give the
>window the focus and then it consumes all keyboard
events.
>
>Regards,
>Christian
>
>songzhanjun wrote:
>> Hi, all:
>> 
>> I have a bug in Impress, and I want to debug the
code. can anyone give me some advice?
>> 
>> [Step]
>> 1. new a Impress document.
>> 2. Insert the video file to a Impress document:
Insert | Movie and Sound, pop the "Insert Movie and
Sound" dialog, select a video file, and click the
"OK" button.
>> 3. show the Impress.
>> 4. when show the Impress, click the video's area.
>> 5. = >click the Esc key, the Impress can't
finish.
>> [Expectation]
>> the Impress can finish when click the Esc key.
>> 
>> Regards
>> songzhanjun
>> 
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )