Hi all,
Some notes about my progress in the second week.
In this week I added the "Borders" tab page to the character dialog and so
the UI part of the implementation works. After this I started to learn
about character attributes, fonts and layout.
Questions of this week (some of them are answered just partly):
- How to use a general attribute (e.g. background, or in our case border)
as character attribute?
- Is it necessary to add a separate character attribute or just use the
general one?
- How does the system store attributes? (SwFmt, SwAttrSet, SwAttrStack)
- How can we implement character border? (two distinct solution: font or
layout frame)
- How does the font structure look like? What part a font has?
(descenter, ascenter, leadings)
- How to paint text lines into font structure? (e.g. overlining,
underlining, strikethrough)
- How does layout frame work? How does frame hierarchy look like? How to
calculate the border properties of the current frame? (SwBorderAttr)****
For details you can follow my works on the link bellow:
https://drive.google.com/folderview?id=0B-KRoFx4iyFdMFc5NWdrN0tkUDg&usp=sharing
Best Regards,
Tamás
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.