|
1 <?xml version="1.0"?> |
|
2 <relnotes schema="1.0.0" name="UI Graphics Utilities" purpose="" type="component"> |
|
3 <revision major="1" functional="0" minor="0" date="20070828"> |
|
4 <ref name="1803" type="preq"/> |
|
5 <description>Added new dll for text utilities (etul.dll). Following utilities are added as part of this new dll: |
|
6 1.CTulAddressStringTokenizer class which offers methods for parsing phone numbers and e-mail,URL and URI addresses from the given text. |
|
7 2. TulPhoneNumberUtils class which offers static methods for parsing and validating phone numbers. This API provides methods which are used to parse and validate the phone numbers. |
|
8 3. CTulStringResourceReader class which reads strings from resource without using CCoeEnv. |
|
9 4. TulTextResourceUtils API which provides an interface to load and format resource strings |
|
10 that may contain parameter(s) (\%U for (unicode) text or or \%N for numerical).</description> |
|
11 </revision> |
|
12 <purpose> |
|
13 General purpose UI graphics utilities, includes drawing window borders, sprite support, etc. |
|
14 </purpose> |
|
15 <defect number="DEF094599" title="TGulHAlignment does not allow for an absolute Left/Right position" revision="001"> |
|
16 Fix for DEF094599 "TGulHAlignment does not allow for an absolute Left/Right position" |
|
17 See also app-framework_cone change for the second part of this fix. |
|
18 |
|
19 * Added TGulAlignment unit test in the form of TEgulAlignmentStep.h/cpp and egultest_t_alignment.script |
|
20 |
|
21 Changes to the TGulAlignment class: |
|
22 * Added SetAbsoluteHAlignment(TBool) and HasAbsoluteHAlignment() methods for setting the horizontal alignment to be absolute. Absolute horizontal alignments will not be swapped by the new HAlignment(TBidiText::TDirectionality). Default is non-absolute |
|
23 (i.e. relative) alignment, and any calls to any horizontal set-method will reset the alignement to be non-absolute. |
|
24 |
|
25 * Added a new HAlignment() overload taking TBidiText::TDirectionality. This version of HAlignment() will swap left and right alignment if the directionality given as argument is right-to-left, UNLESS absolute alignment has been specified. |
|
26 |
|
27 * Added a new TextAlign() overload that takes a TBidiText::TDirectionality argument, swapping left and right for right-to-left scripts. |
|
28 |
|
29 * Added a new ParaAlign() returning the alignment as a CParaFormat::TAlignment. The CParaFormat::TAlignment has the consept of absolute horizontal alignment, so does not need to swap right and left. |
|
30 |
|
31 * Added a new SetHAlignment() overload, taking a CParaFormat::TAlignment as argument. |
|
32 |
|
33 * Added new InnerTopLeft() and InnerRect() overloads taking a TBidiText::TDirectionality. When calling these new methods with a right-to-left directionality, left and right alignment will be swapped, UNLESS absolute alignment has been specified. |
|
34 |
|
35 Also, as per SCB request: |
|
36 * Changed TGulAlignment::operator() from inline to exported. |
|
37 * Added Doxygen comment to TGulAlignment::SetAbsoluteHAlignment() mentioning the problems of using this method with code compiled against earlier versions of the API. |
|
38 |
|
39 Other: |
|
40 * Added new TMargins8(TInt8 aLeft, TInt8 aTop, TInt8 aRight, TInt8 aBottom) constructor. |
|
41 </defect> |
|
42 </relnotes> |