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

List:       koffice-devel
Subject:    Re: Calculating the size of headers/footers in KWord import filters
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-12-18 11:27:27
[Download RAW message or body]

On Tuesday 18 December 2001 12:18, Clarence Dang wrote:
> E.g. For the Header, I can easily specify the 'left", "right" and "top"
> attributes but how does the import filter know what the "bottom" will be
> (maybe the user had a long header)?  Since the attribute is "#REQUIRED", I
> don't know what to do :(

Did you try setting a random value to it ? E.g. make the header 10 pixels high,
and with a policy of "auto-resize", and KWord will recalculate the header size
when opening the document.

> The "bottom" of the Header would obviously affect the "top" of "Text
> Frameset 1", just as the "top" of the Footer would obviously affect the
> "bottom" of "Text Frameset 1".
All of this is calculated together by KWord. I don't think you need to do it.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://www.kde.org/people/david.html (my real webpage is down)
KDE 3.0: Konquering the Desktops

_______________________________________________
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