Andrzej Wytyczak-Partyka wrote:
<snip>
Further you have to enable the include of "<stdio.h>" inside your
source
and you should remove the "fflush(stdout);" all ! It made trouble here !
The reason for that isnt currently clear for me ... but removing of this
code line let everything work fine .-)
I have <cstdio> - I think it complies with the new style.
Indeed, after removing the fflush() call the office stopped crashing !!
This is so odd. Maybe I should use ::std::stdout, not stdout. But
since I have the line using namespace std, that doesn't seem to be
the problem.
At least you should remove all "printf()" calls for a product version -
so these problems shouldnt occure any longer .-)
> I'll put it into the package.
> I'm trying to send the sourcecode to sourceforge. I'll report upon
> success.
Regards
Andreas
Anyway, I took the weekend off - I was resting. The last week was pretty
hard,
I was working ca. 16h per day.
16h per day ... OK that sounds hard.
But you reached the goal - and so there is a nice present waiting for
you .-)
Today I'm going to cleanup the code a bit, and then I would like to
implement
one more feature, but I need your input on this please.
I would like the tab control to show up after opening the second document,
not right after the start of the office.
I mean - we don't realy need it when we have only one document open, right?
Like in firefox - when you only have one document open the tab bar doesn't
show up at all. Further, when you close the second tab - the tab bar
dissappears
again.
As I've already posted in another message, we wish to implement another
optional feature: opening of more then one TabControl.
The feature you mentioned can be implemented inside the TabControl
component itself. And this component was implemented by us.
But here another issue comes into play - that the tab is not
removed after
the document that lived inside it is closed. But this is tricky, because
using
the COMPONENT_DETACHED event of the tab's frame doesn't give 100% certainty
that the document has been closed - it might be reattached in the next tick.
What do you think about this ?
This issue is a problem of OOo itself. If you use the office without the
tabbed interface you will have the same component open, if you start
"soffice.exe" without any parameter from the command line. We name this
special component "StartModule". It will be used again, if you close the
last open document ... using the black cross at the right side of the
menubar !
This StartModule is triggered everytimes the last "visible document"
will be closed. And your is the problem: by hiding all inactive tab
window you influence the detection of such visible documents .-)
That's one part of some needed redesigns of the OOo feature set.
But it can be solved inside the OOo code completly. Your component will
be not affected by this.
Regards,
Andrzej
Regards
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]