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

List:       koffice-devel
Subject:    Re: Specific API questions
From:       Dmitry Kazakov <dimula73 () gmail ! com>
Date:       2010-01-21 14:50:36
Message-ID: ae32c1ef1001210650g4a45e90cgb7bb462622361ac7 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi, All!

Where these questions answered? They were asked 10 days ago, but still don't
have the answer.
If i knew KoLibs, i would answer them...


On Mon, Jan 11, 2010 at 9:52 PM, Dr. Robert Marmorstein <
robert@narnia.homeunix.com> wrote:

> Okay.  I promised specific questions . . . so here they are:
>
> 1.  My docker currently attaches ALL opened documents which have been saved
> to
> disk and have valid filenames.  It would be really nice to be able to only
> attach the "current" document.  Is there a way to get that "current"
> document?
> (I need a KoDocument pointer).
>
> 2.  I would like to extend this so that the configuration elements (title,
> start date, and so forth) are saved as NamedVariables and can be used in
> the
> document (and so that they can be saved with the document and don't have to
> be
> typed in every time).  However, I can't figure out how to do this.  What
> class
> do I need to use for creating these?
>
> 3.  Is there a way to get a "KoView" or "KoMainWindow" pointer from the
> docker?  This would enable me to call "save" or "saveAs" before publishing
> so
> that the document exists on the disk.  I think it would probably also help
> with question 2...
>
> I have tried lots of things to make these work unsuccessfully.  My gut
> feeling
> is that there is some API missing for these to be possible.  A single
> static
> function that returns a pointer to the parent KoView of the docker might
> solve
> most of these. (Does that even make sense?  Does a docker have a parent
> KoView? Maybe I want a "parent KoMainWindow"?)
>
> Thanks!
>
> Robert
>
> _______________________________________________
> koffice-devel mailing list
> koffice-devel@kde.org
> https://mail.kde.org/mailman/listinfo/koffice-devel
>
>


-- 
Dmitry Kazakov

[Attachment #5 (text/html)]

Hi, All!<br><br>Where these questions answered? They were asked 10 days ago, but \
still don&#39;t have the answer.<br>If i knew KoLibs, i would answer them... \
<br><br><br><div class="gmail_quote">On Mon, Jan 11, 2010 at 9:52 PM, Dr. Robert \
Marmorstein <span dir="ltr">&lt;<a \
href="mailto:robert@narnia.homeunix.com">robert@narnia.homeunix.com</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Okay.   I promised specific \
questions . . . so here they are:<br> <br>
1.   My docker currently attaches ALL opened documents which have been saved to<br>
disk and have valid filenames.   It would be really nice to be able to only<br>
attach the &quot;current&quot; document.   Is there a way to get that \
&quot;current&quot; document?<br> (I need a KoDocument pointer).<br>
<br>
2.   I would like to extend this so that the configuration elements (title,<br>
start date, and so forth) are saved as NamedVariables and can be used in the<br>
document (and so that they can be saved with the document and don&#39;t have to \
be<br> typed in every time).   However, I can&#39;t figure out how to do this.   What \
class<br> do I need to use for creating these?<br>
<br>
3.   Is there a way to get a &quot;KoView&quot; or &quot;KoMainWindow&quot; pointer \
from the<br> docker?   This would enable me to call &quot;save&quot; or \
&quot;saveAs&quot; before publishing so<br> that the document exists on the disk.   I \
think it would probably also help<br> with question 2...<br>
<br>
I have tried lots of things to make these work unsuccessfully.   My gut feeling<br>
is that there is some API missing for these to be possible.   A single static<br>
function that returns a pointer to the parent KoView of the docker might solve<br>
most of these. (Does that even make sense?   Does a docker have a parent<br>
KoView? Maybe I want a &quot;parent KoMainWindow&quot;?)<br>
<br>
Thanks!<br>
<font color="#888888"><br>
Robert<br>
</font><br>_______________________________________________<br>
koffice-devel mailing list<br>
<a href="mailto:koffice-devel@kde.org">koffice-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/koffice-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/koffice-devel</a><br> \
<br></blockquote></div><br><br clear="all"><br>-- <br>Dmitry Kazakov<br>



_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://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