Logo
2011-05-01 21:39:41 GMT
Hi,
_______________________________________________ koffice-devel mailing list koffice-devel <at> kde.org https://mail.kde.org/mailman/listinfo/koffice-devel
Hi,
_______________________________________________ koffice-devel mailing list koffice-devel <at> kde.org https://mail.kde.org/mailman/listinfo/koffice-devel
Hello Krita team!
The Empirical and Applied Software Engineering Lab (EASEL) at the University of Maryland Baltimore County (UMBC) would like to extend an invitation to you to participate in a focus group, and to accept a $150 contribution (see below for details) from us as an incentive. We believe that your participation would be a good opportunity for you to share ideas among yourselves about Krita, and would be a valuable contribution to our research in software quality and development productivity.
We are studying the changes that Open Source Software goes through when releasing a new version or making other modifications to the code, to find a way to predict when these changes will become problematic, and develop solutions to make them cost-effective and time-efficient. Hence, we would like for you to share information with us during a focus group about the changes your code has gone through, the causes for these changes, what kinds of changes are problematic, and how you have handled these.
We would contribute $150 to your project should we get 5-7 team members to participate in our focus group. These members should
Please let us know should you have any additional questions, and if you would be interested in participating.
IRB Protocol Y11CS12150 approved
04/18/2011 thru 04/17/2012
_______________________________________________ koffice-devel mailing list koffice-devel <at> kde.org https://mail.kde.org/mailman/listinfo/koffice-devel
Hi, there.
_______________________________________________ koffice-devel mailing list koffice-devel <at> kde.org https://mail.kde.org/mailman/listinfo/koffice-devel
On Thursday 19 May 2011 13:26:22 赢渠梁 wrote: > Hi, there. > Recently, I'm working on a project about implement a word-processor-like > textedit. In this project, multiple pages is needed and we should be able > to edit text in the multi-page textedit just like in kword, in another > word, I need to implement the function that users can select text covering > different pages and after input in the previous page, overflow text should > automatic be in the next page or after delete text in the previous page, > some word that was in the next page will come up to the previous page. > However, I failed to implement this function. I tried to search in the > source code of kword, but failed too. Can anyone tell me how to do it? > Thanks a lot. > by binxxd9 Hi Basically we store the data without pages, but just as one long list of paragraphs (for you that would be lines i guess) We then have a layout pass that creates it's own set of structures that tell where in the data a new page starts. These structures are regenerated every time the user enters or deletes anything in the data. An optimization is that we only starts regenerating from the page the change was made, and it's also planned (but not implemented) top stop regenerating the pages if we catch up with a state where we now the remaining pages are placed correctly. To not be too slow the layout process is not done all in one go but a number of pages at a time. hope this helps _______________________________________________ koffice-devel mailing list koffice-devel <at> kde.org https://mail.kde.org/mailman/listinfo/koffice-devel
Thank you for your response. From your response, I guess that you means that one copy of the data in document should be kept and every time we want to change the primary document, 1st, change the copy one, 2st, regenerate the structure and put each one in corresponding page.
According to your method, in a GUI, we need a list of textedits, then how can we select the last few words in previous textedit and the first few words in next textedit at the same time?
At first, I think Qt has some method to ensure that I can show a QWidget(eg. QTextEdit) in several parts. But I can not find it.
Send koffice-devel mailing list submissions to
koffice-devel <at> kde.org
To subscribe or unsubscribe via the World Wide Web, visit
https://mail.kde.org/mailman/listinfo/koffice-devel
or, via email, send a message with subject or body 'help' to
koffice-devel-request <at> kde.org
You can reach the person managing the list at
koffice-devel-owner <at> kde.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of koffice-devel digest..."
Today's Topics:
1. How does kword implement the pagination of pages? (???)
2. Re: How does kword implement the pagination of pages? (C. Boemann)
----------------------------------------------------------------------
Message: 1
Date: Thu, 19 May 2011 19:26:22 +0800
From: ??? <binxxd9 <at> gmail.com>
Subject: How does kword implement the pagination of pages?
To: koffice-devel <at> kde.org
Message-ID: <BANLkTikzsZrJmRC2NyoMNbZLs_W9uzcz4w <at> mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi, there.
Recently, I'm working on a project about implement a word-processor-like
textedit. In this project, multiple pages is needed and we should be able to
edit text in the multi-page textedit just like in kword, in another word, I
need to implement the function that users can select text covering different
pages and after input in the previous page, overflow text should automatic
be in the next page or after delete text in the previous page, some word
that was in the next page will come up to the previous page.
However, I failed to implement this function. I tried to search in the
source code of kword, but failed too. Can anyone tell me how to do it?
Thanks a lot.
by binxxd9
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/koffice-devel/attachments/20110519/2dbbb755/attachment.htm
------------------------------
Message: 2
Date: Thu, 19 May 2011 14:38:20 +0200
From: "C. Boemann" <cbo <at> boemann.dk>
Subject: Re: How does kword implement the pagination of pages?
To: "For developer's discussion about KOffice" <koffice-devel <at> kde.org>
Message-ID: <201105191438.20936.cbo <at> boemann.dk>
Content-Type: Text/Plain; charset="utf-8"
On Thursday 19 May 2011 13:26:22 ??? wrote:
> Hi, there.
> Recently, I'm working on a project about implement a word-processor-like
> textedit. In this project, multiple pages is needed and we should be able
> to edit text in the multi-page textedit just like in kword, in another
> word, I need to implement the function that users can select text covering
> different pages and after input in the previous page, overflow text should
> automatic be in the next page or after delete text in the previous page,
> some word that was in the next page will come up to the previous page.
> However, I failed to implement this function. I tried to search in the
> source code of kword, but failed too. Can anyone tell me how to do it?
> Thanks a lot.
> by binxxd9
Hi
Basically we store the data without pages, but just as one long list of
paragraphs (for you that would be lines i guess)
We then have a layout pass that creates it's own set of structures that tell
where in the data a new page starts. These structures are regenerated every
time the user enters or deletes anything in the data. An optimization is that
we only starts regenerating from the page the change was made, and it's also
planned (but not implemented) top stop regenerating the pages if we catch up
with a state where we now the remaining pages are placed correctly.
To not be too slow the layout process is not done all in one go but a number
of pages at a time.
hope this helps
------------------------------
_______________________________________________
koffice-devel mailing list
koffice-devel <at> kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
End of koffice-devel Digest, Vol 98, Issue 3
********************************************
_______________________________________________ koffice-devel mailing list koffice-devel <at> kde.org https://mail.kde.org/mailman/listinfo/koffice-devel
RSS Feed3 | |
|---|---|
2 | |
1 | |
5 | |
1 | |
1 | |
21 | |
2 | |
3 | |
2 | |
3 | |
4 | |
2 | |
5 | |
1 | |
30 | |
38 | |
13 | |
108 | |
263 | |
281 | |
416 | |
376 | |
448 | |
407 | |
603 | |
328 | |
608 | |
527 | |
396 | |
264 | |
227 | |
231 | |
354 | |
234 | |
177 | |
97 | |
71 | |
228 | |
274 | |
193 | |
179 | |
100 | |
156 | |
138 | |
170 | |
189 | |
167 | |
103 | |
248 | |
116 | |
147 | |
155 | |
121 | |
146 | |
144 | |
200 | |
107 | |
40 | |
122 | |
119 | |
222 | |
67 | |
107 | |
101 | |
181 | |
128 | |
180 | |
153 | |
143 | |
101 | |
205 | |
206 | |
274 | |
264 | |
361 | |
144 | |
282 | |
178 | |
264 | |
375 | |
384 | |
116 | |
89 | |
207 | |
207 | |
252 | |
213 | |
111 | |
161 | |
68 | |
143 | |
276 | |
202 | |
339 | |
224 | |
123 | |
158 | |
308 | |
241 | |
133 | |
302 | |
208 | |
161 | |
158 | |
188 | |
207 | |
60 | |
201 | |
173 | |
98 | |
102 | |
136 | |
247 | |
243 | |
319 | |
280 | |
586 | |
353 | |
298 | |
320 | |
387 | |
365 | |
1 |