[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    RE: Continuing thumbnail obsession
From:       Simon MacMullen <simon.macmullen () aspect-proteus ! com>
Date:       2002-03-01 10:49:07
[Download RAW message or body]

David Faure:
> (The kofficecore design pays a lot).

You're telling me. I sat down to try to work out whether this was going to
be possible in a reasonable amount of time. I was quite surprised to have
working code two hours later :)

> > However, it's not quite as I would like it. I can't seem to control the
> > scaling in a very meaningful way. What I would like to do is find out
how
> > wide the document "wants" to be, then scale for that (particularly
important
> > for KWord docs). But I can't mind a method that tells me this. Is there
one?
> 
> Hmm, each applications handles the KoPageLayout itself.
> The way to gain access to this from KoDocument would be to centralize even
> more code in kofficecore, e.g. storing the page layout there and porting
the
> koffice apps to use that variable instead of storing it themselves.

This sounds like a lot of work, right? Having thought about this some more,
maybe the thumbnail code should just do what it does now by default (for eg
KSpread, just the top left hand corner is fine) and have some special case
code in for KWord and KPresenter (to show the first page / slide in its
entirety). I will see if I can work on this today.

> > Also, when adjusting the zoom parameters which are passed to
> > KoDocument::paintEverything, font sizes don't seem to change. I recall
this
> > used to be a problem but I don't know whether it's been fixed yet (ummm,
I'm
> > afraid I hardly use KOffice...).
> 
> Is that with KOffice-1.1[.1] or with KOffice-CVS ? It's about KWord, right
?
> This sounds like a 1.1 bug, it should be fine with KWord-CVS.

CVS. I may have imagined it, but I'm sure the "Big Heading" text did not
change size at zoom 0.5.

Probably a stupid question but: does the fact that I'm using Xvnc have any
possible bearing here?

> Can you test what happens when embedding a kword doc ? Should 
> be the same code.

In short, no. Embedding doesn't seem to work for me. If I start KSpread,
then go Insert Object > Word Processing, draw a rectangle and select "start
with an empty document", I can then click on the rectangle to make borders
appear, but clicking anywhere else after this makes the rectangle shrink
down to 1x1 pixels, and another click makes it vanish.

I assumed this was broken for everyone, and if I waited someone would fix
it. Am I wrong?

> > should it be lots of little .desktops or one big one maybe?
> 
> A little one sounds good to me. Otherwise the preview menu in konqueror
would
> become really overcrowded, no ?

Well, OK. Although I would like to make that menu into a dialogue box for
3.1...

> reusing KoDocument to save a new/delete
> wouldn't buy much speed, I'm afraid.

Ah, OK. I thought maybe the part libraries would get reloaded or something.
I don't really know how a lot of this works.

In that case, maybe the save functionality should create a thumbnail and
embed it within the file (blue sky thinking here really).

Cheers,

Simon
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic