<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Damiend</id>
	<title>Apache OpenOffice Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Damiend"/>
	<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/wiki/Special:Contributions/Damiend"/>
	<updated>2026-11-23T07:36:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Wish_list_for_Mac_OS_X_port&amp;diff=32640</id>
		<title>Wish list for Mac OS X port</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Wish_list_for_Mac_OS_X_port&amp;diff=32640"/>
		<updated>2007-05-20T15:03:28Z</updated>

		<summary type="html">&lt;p&gt;Damiend: /* Not use X11 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Please increment the vote counters and add our name in the list ( name1, name2 ..etc )&lt;br /&gt;
&lt;br /&gt;
== Use Native font Server ( ATS server) ==&lt;br /&gt;
&lt;br /&gt;
Vote YES :   [ 1 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard, &lt;br /&gt;
&lt;br /&gt;
Vote NO  :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Use a new installer ( .pkg )== &lt;br /&gt;
&lt;br /&gt;
Vote YES :   [ 1 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard, &lt;br /&gt;
&lt;br /&gt;
Vote NO  :&lt;br /&gt;
&lt;br /&gt;
Damien Duportal&lt;br /&gt;
&lt;br /&gt;
== Not use X11 ==&lt;br /&gt;
&lt;br /&gt;
Votes :   [ 2 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard, robert devoe, Damien Duportal&lt;br /&gt;
&lt;br /&gt;
== drag and drop ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Votes :   [ 3 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard, rich antcliff, robert devoe&lt;br /&gt;
&lt;br /&gt;
== native filepicker ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Votes :   [ 1 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard,&lt;br /&gt;
&lt;br /&gt;
Note : Native FilePicker works fine, to be integrated&lt;br /&gt;
&lt;br /&gt;
== native sound ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Votes :   [ 1 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Native printing box ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Votes :   [ 2 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard,&lt;br /&gt;
shaun mcdonald&lt;br /&gt;
&lt;br /&gt;
== Aqua look ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Votes :   [ 1 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard, &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
== Use all Apple controls ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Votes :   [ 1 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Use the Apple Remote ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Votes : [ 3 ]&lt;br /&gt;
&lt;br /&gt;
Shaun McDonald, robert devoe, Eric Bachard&lt;br /&gt;
&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:Aqua]]&lt;br /&gt;
[[Category:MacOSX]]&lt;/div&gt;</summary>
		<author><name>Damiend</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Wish_list_for_Mac_OS_X_port&amp;diff=32635</id>
		<title>Wish list for Mac OS X port</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Wish_list_for_Mac_OS_X_port&amp;diff=32635"/>
		<updated>2007-05-20T14:20:48Z</updated>

		<summary type="html">&lt;p&gt;Damiend: /* Use a new installer ( .pkg ) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Please increment the vote counters and add our name in the list ( name1, name2 ..etc )&lt;br /&gt;
&lt;br /&gt;
== Use Native font Server ( ATS server) ==&lt;br /&gt;
&lt;br /&gt;
Vote YES :   [ 1 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard, &lt;br /&gt;
&lt;br /&gt;
Vote NO  :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Use a new installer ( .pkg )== &lt;br /&gt;
&lt;br /&gt;
Vote YES :   [ 1 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard, &lt;br /&gt;
&lt;br /&gt;
Vote NO  :&lt;br /&gt;
&lt;br /&gt;
Damien Duportal&lt;br /&gt;
&lt;br /&gt;
== Not use X11 ==&lt;br /&gt;
&lt;br /&gt;
Votes :   [ 2 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard, robert devoe&lt;br /&gt;
&lt;br /&gt;
== drag and drop ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Votes :   [ 3 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard, rich antcliff, robert devoe&lt;br /&gt;
&lt;br /&gt;
== native filepicker ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Votes :   [ 1 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard,&lt;br /&gt;
&lt;br /&gt;
Note : Native FilePicker works fine, to be integrated&lt;br /&gt;
&lt;br /&gt;
== native sound ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Votes :   [ 1 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Native printing box ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Votes :   [ 2 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard,&lt;br /&gt;
shaun mcdonald&lt;br /&gt;
&lt;br /&gt;
== Aqua look ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Votes :   [ 1 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard, &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
== Use all Apple controls ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Votes :   [ 1 ]&lt;br /&gt;
&lt;br /&gt;
eric bachard, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Use the Apple Remote ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Votes : [ 3 ]&lt;br /&gt;
&lt;br /&gt;
Shaun McDonald, robert devoe, Eric Bachard&lt;br /&gt;
&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:Aqua]]&lt;br /&gt;
[[Category:MacOSX]]&lt;/div&gt;</summary>
		<author><name>Damiend</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Damiend&amp;diff=25891</id>
		<title>User:Damiend</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Damiend&amp;diff=25891"/>
		<updated>2007-02-24T19:22:41Z</updated>

		<summary type="html">&lt;p&gt;Damiend: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Who I am ?==&lt;br /&gt;
*Name : Duportal Damien&lt;br /&gt;
*IRC Nickname : damiend&lt;br /&gt;
*Localisation : France, St Etienne/Lyon&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Purpose :==&lt;br /&gt;
I want to write about my discovering of OOo project, and specificely the native-macport.&lt;br /&gt;
It&amp;#039;ll help future newbies as me to understand how the project works, to understand and eventually continuate my work.&lt;br /&gt;
&lt;br /&gt;
==Current work :==&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve &amp;quot;paused&amp;quot; my tries to documentate salframe (part of vcl), because it&amp;#039;s too early for me.&lt;br /&gt;
I need to work on &amp;quot;hard&amp;quot; code before trying to explain other developers code...&lt;br /&gt;
So i&amp;#039;m working to salgdi.cxx with [[User:Ismael|Ismael]]&amp;#039;s help.&lt;br /&gt;
&lt;br /&gt;
 I&amp;#039;m implementing the DrawAlphaRect function.&lt;br /&gt;
&lt;br /&gt;
to be continued...&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;My contributions :&amp;#039;&amp;#039;==&lt;br /&gt;
===Trying to documentate SalFrame.cxx :===&lt;br /&gt;
&lt;br /&gt;
[[Mac OS X Porting salframe]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===DrawAlphaRect in salgdi.cxx===&lt;br /&gt;
&lt;br /&gt;
 It seems that this function have to create a filled rectangle with an alpha transparency taken.&lt;br /&gt;
&lt;br /&gt;
*My first problem was to understand the Quartz terminology. Ismael help me a lot, and tell me about Apple Documentation :&lt;br /&gt;
**[http://developer.apple.com/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/index.html#//apple_ref/doc/uid/| Quartz 2D Programming Guide]&lt;br /&gt;
**[http://developer.apple.com/documentation/GraphicsImaging/Reference/CGContext/index.html#//apple_ref/doc/uid/TP30000950| CGContext Reference]&lt;br /&gt;
&lt;br /&gt;
 Beginning with [http://developer.apple.com/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/index.html#//apple_ref/doc/uid/| Quartz 2D Overview] was very usefull to understand of works the bitmap drawing in Quartz&lt;br /&gt;
&lt;br /&gt;
- For drawing, we have to think in &amp;quot;painter model&amp;quot; (like Photoshop and its layers). Everytime you draw, you add a virtual &amp;quot;layer&amp;quot; on the top of the others, so ordering the draws is very important.&lt;br /&gt;
&lt;br /&gt;
- Globally, Quartz use an abstract notion named &amp;quot;context&amp;quot; which permits to draw everything, without looking for drawing destinations. You can draw a flower, on the screen or on the printer, nothing changes about the drawing in him. Then if we specifies the drawing destination, Quartz will do everything needed.&lt;br /&gt;
&lt;br /&gt;
Ismael told me that Salgdi only draw the contexts. Destination of its and others things are not in this part of vcl, so we don&amp;#039;t have to think about its.&lt;br /&gt;
&lt;br /&gt;
Looking for the parameters of DrawAlphaRect permits to well-understand what to do :&lt;br /&gt;
 bool AquaSalGraphics::drawAlphaRect( long nX, long nY, long nWidth,long nHeight, sal_uInt8 nTransparency )&lt;br /&gt;
&lt;br /&gt;
We have to build a rectangle &amp;#039;&amp;#039;&amp;#039;nwidth&amp;#039;&amp;#039;&amp;#039; long and &amp;#039;&amp;#039;&amp;#039;nHeight&amp;#039;&amp;#039;&amp;#039; large from the point O (&amp;#039;&amp;#039;&amp;#039;nX&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;nY&amp;#039;&amp;#039;&amp;#039;), with a &amp;#039;&amp;#039;&amp;#039;nTransparency&amp;#039;&amp;#039;&amp;#039; alpha level.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
...Writing in progress...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Damiend|Damien]] 20:22, 24 February 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:MacOSX]]&lt;br /&gt;
[[Category:Aqua]]&lt;/div&gt;</summary>
		<author><name>Damiend</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Damiend&amp;diff=25889</id>
		<title>User:Damiend</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Damiend&amp;diff=25889"/>
		<updated>2007-02-24T19:21:48Z</updated>

		<summary type="html">&lt;p&gt;Damiend: /* DrawAlphaRect in salgdi.cxx */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Who I am ?==&lt;br /&gt;
*Name : Duportal Damien&lt;br /&gt;
*IRC Nickname : damiend&lt;br /&gt;
*Localisation : France, St Etienne/Lyon&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Purpose :==&lt;br /&gt;
I want to write about my discovering of OOo project, and specificely the native-macport.&lt;br /&gt;
It&amp;#039;ll help future newbies as me to understand how the project works, to understand and eventually continuate my work.&lt;br /&gt;
&lt;br /&gt;
==Current work :==&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve &amp;quot;paused&amp;quot; my tries to documentate salframe (part of vcl), because it&amp;#039;s too early for me.&lt;br /&gt;
I need to work on &amp;quot;hard&amp;quot; code before trying to explain other developers code...&lt;br /&gt;
So i&amp;#039;m working to salgdi.cxx with [[User:Ismael|Ismael]]&amp;#039;s help.&lt;br /&gt;
&lt;br /&gt;
 I&amp;#039;m implementing the DrawAlphaRect function.&lt;br /&gt;
&lt;br /&gt;
to be continued...&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;My contributions :&amp;#039;&amp;#039;==&lt;br /&gt;
===Trying to documentate SalFrame.cxx :===&lt;br /&gt;
&lt;br /&gt;
[[Mac OS X Porting salframe]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===DrawAlphaRect in salgdi.cxx===&lt;br /&gt;
&lt;br /&gt;
 It seems that this function have to create a filled rectangle with an alpha transparency taken.&lt;br /&gt;
&lt;br /&gt;
*My first problem was to understand the Quartz terminology. Ismael help me a lot, and tell me about Apple Documentation :&lt;br /&gt;
**[http://developer.apple.com/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/index.html#//apple_ref/doc/uid/| Quartz 2D Programming Guide]&lt;br /&gt;
**[http://developer.apple.com/documentation/GraphicsImaging/Reference/CGContext/index.html#//apple_ref/doc/uid/TP30000950| CGContext Reference]&lt;br /&gt;
&lt;br /&gt;
 Beginning with [http://developer.apple.com/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/index.html#//apple_ref/doc/uid/| Quartz 2D Overview] was very usefull to understand of works the bitmap drawing in Quartz&lt;br /&gt;
&lt;br /&gt;
- For drawing, we have to think in &amp;quot;painter model&amp;quot; (like Photoshop and its layers). Everytime you draw, you add a virtual &amp;quot;layer&amp;quot; on the top of the others, so ordering the draws is very important.&lt;br /&gt;
&lt;br /&gt;
- Globally, Quartz use an abstract notion named &amp;quot;context&amp;quot; which permits to draw everything, without looking for drawing destinations. You can draw a flower, on the screen or on the printer, nothing changes about the drawing in him. Then if we specifies the drawing destination, Quartz will do everything needed.&lt;br /&gt;
&lt;br /&gt;
Ismael told me that Salgdi only draw the contexts. Destination of its and others things are not in this part of vcl, so we don&amp;#039;t have to think about its.&lt;br /&gt;
&lt;br /&gt;
Looking for the parameters of DrawAlphaRect permits to well-understand what to do :&lt;br /&gt;
 bool AquaSalGraphics::drawAlphaRect( long nX, long nY, long nWidth,long nHeight, sal_uInt8 nTransparency )&lt;br /&gt;
&lt;br /&gt;
We have to build a rectangle &amp;#039;&amp;#039;&amp;#039;nwidth&amp;#039;&amp;#039;&amp;#039; long and &amp;#039;&amp;#039;&amp;#039;nHeight&amp;#039;&amp;#039;&amp;#039; large from the point O (&amp;#039;&amp;#039;&amp;#039;nX&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;nY&amp;#039;&amp;#039;&amp;#039;), with a &amp;#039;&amp;#039;&amp;#039;nTransparency&amp;#039;&amp;#039;&amp;#039; alpha level.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
...Writing in progress...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:MacOSX]]&lt;br /&gt;
[[Category:Aqua]]&lt;/div&gt;</summary>
		<author><name>Damiend</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Damiend&amp;diff=25888</id>
		<title>User:Damiend</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Damiend&amp;diff=25888"/>
		<updated>2007-02-24T19:02:55Z</updated>

		<summary type="html">&lt;p&gt;Damiend: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Who I am ?==&lt;br /&gt;
*Name : Duportal Damien&lt;br /&gt;
*IRC Nickname : damiend&lt;br /&gt;
*Localisation : France, St Etienne/Lyon&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Purpose :==&lt;br /&gt;
I want to write about my discovering of OOo project, and specificely the native-macport.&lt;br /&gt;
It&amp;#039;ll help future newbies as me to understand how the project works, to understand and eventually continuate my work.&lt;br /&gt;
&lt;br /&gt;
==Current work :==&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve &amp;quot;paused&amp;quot; my tries to documentate salframe (part of vcl), because it&amp;#039;s too early for me.&lt;br /&gt;
I need to work on &amp;quot;hard&amp;quot; code before trying to explain other developers code...&lt;br /&gt;
So i&amp;#039;m working to salgdi.cxx with [[User:Ismael|Ismael]]&amp;#039;s help.&lt;br /&gt;
&lt;br /&gt;
 I&amp;#039;m implementing the DrawAlphaRect function.&lt;br /&gt;
&lt;br /&gt;
to be continued...&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;My contributions :&amp;#039;&amp;#039;==&lt;br /&gt;
===Trying to documentate SalFrame.cxx :===&lt;br /&gt;
&lt;br /&gt;
[[Mac OS X Porting salframe]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===DrawAlphaRect in salgdi.cxx===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:MacOSX]]&lt;br /&gt;
[[Category:Aqua]]&lt;/div&gt;</summary>
		<author><name>Damiend</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Mac_OS_X_Porting_salframe&amp;diff=25541</id>
		<title>Mac OS X Porting salframe</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Mac_OS_X_Porting_salframe&amp;diff=25541"/>
		<updated>2007-02-20T15:35:19Z</updated>

		<summary type="html">&lt;p&gt;Damiend: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Working in progres... (don&amp;#039;t hesitate to signal and correct wrongs and errors)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 This page intented to describe the salframe API in the mac native port of OpenOffice.&lt;br /&gt;
 It seems that&amp;#039;s salframe is the &amp;quot;window&amp;quot; part of [[vcl]] in OOo.&lt;br /&gt;
 More when i&amp;#039;ll have understand :-D&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;ImplSalCalcFullScreenSize&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;#039;&amp;#039;static void ImplSalCalcFullScreenSize( const AquaSalFrame* pFrame, Rect* pSize )&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Locale function which calculate the full active screen size.&lt;br /&gt;
(Multi-Display is currently not yet implemented, that&amp;#039;s why pframe not used here)&lt;br /&gt;
 Take the Main Display ID from CoreVideo function (CGDirectDisplayID () ),&lt;br /&gt;
 and defines a CGRect named &amp;quot;rect&amp;quot; which size of this Display (usage of CGDisplayBounds(DisplayID))&lt;br /&gt;
 to take the full positive size). Then, it stores this positives integers (use of static_cast&amp;lt;int&amp;gt; to have some signed integer)&lt;br /&gt;
 into psize, with origin on the top left.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:MacOSX]]&lt;br /&gt;
[[Category:Aqua]]&lt;/div&gt;</summary>
		<author><name>Damiend</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Mac_OS_X_Porting_salframe&amp;diff=25540</id>
		<title>Mac OS X Porting salframe</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Mac_OS_X_Porting_salframe&amp;diff=25540"/>
		<updated>2007-02-20T15:35:04Z</updated>

		<summary type="html">&lt;p&gt;Damiend: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Working in progres... (don&amp;#039;t hésitate to signal and correct wrongs and errors)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 This page intented to describe the salframe API in the mac native port of OpenOffice.&lt;br /&gt;
 It seems that&amp;#039;s salframe is the &amp;quot;window&amp;quot; part of [[vcl]] in OOo.&lt;br /&gt;
 More when i&amp;#039;ll have understand :-D&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;ImplSalCalcFullScreenSize&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;#039;&amp;#039;static void ImplSalCalcFullScreenSize( const AquaSalFrame* pFrame, Rect* pSize )&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Locale function which calculate the full active screen size.&lt;br /&gt;
(Multi-Display is currently not yet implemented, that&amp;#039;s why pframe not used here)&lt;br /&gt;
 Take the Main Display ID from CoreVideo function (CGDirectDisplayID () ),&lt;br /&gt;
 and defines a CGRect named &amp;quot;rect&amp;quot; which size of this Display (usage of CGDisplayBounds(DisplayID))&lt;br /&gt;
 to take the full positive size). Then, it stores this positives integers (use of static_cast&amp;lt;int&amp;gt; to have some signed integer)&lt;br /&gt;
 into psize, with origin on the top left.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:MacOSX]]&lt;br /&gt;
[[Category:Aqua]]&lt;/div&gt;</summary>
		<author><name>Damiend</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Mac_OS_X_Porting_salframe&amp;diff=25539</id>
		<title>Mac OS X Porting salframe</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Mac_OS_X_Porting_salframe&amp;diff=25539"/>
		<updated>2007-02-20T15:14:55Z</updated>

		<summary type="html">&lt;p&gt;Damiend: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Working in progres...&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;ImplSalCalcFullScreenSize&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;#039;&amp;#039;static void ImplSalCalcFullScreenSize( const AquaSalFrame* pFrame, Rect* pSize )&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Locale function which calculate the full active screen size.&lt;br /&gt;
(Multi-Display is currently not yet implemented, that&amp;#039;s why pframe not used here)&lt;br /&gt;
----&lt;br /&gt;
Take the Main Display ID from CoreVideo function (CGDirectDisplayID () ), and defines a CGRect named &amp;quot;rect&amp;quot; which size of this Display (usage of CGDisplayBounds(DisplayID)) to take the full positive size).&lt;br /&gt;
	Then, it stores this positives integers (use of static_cast&amp;lt;int&amp;gt; to have some signed integer)into psize, with origin on the top left.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:MacOSX]]&lt;br /&gt;
[[Category:Aqua]]&lt;/div&gt;</summary>
		<author><name>Damiend</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Ericb&amp;diff=25536</id>
		<title>User:Ericb</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Ericb&amp;diff=25536"/>
		<updated>2007-02-20T15:04:27Z</updated>

		<summary type="html">&lt;p&gt;Damiend: /* salframe */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Public Documentation License Notice==&lt;br /&gt;
&lt;br /&gt;
The contents of this Documentation (excepted Native Port Roadmap),are subject to the Public Documentation License Version 1.0 (the &amp;quot;License&amp;quot;); you may only use this Documentation if you comply with the terms of this License. A copy of the License is available at http://www.openoffice.org/licenses/PDL.html.&lt;br /&gt;
The Original Documentation is &amp;quot;Mac OS X native port&amp;quot;. The Initial Writer of the Original Documentation is (JCA) Eric Bachard (C) 2005-2006. All Rights Reserved. (Initial Writer contact(s): ericb@openoffice.org.)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Mac OS X Native port&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;messagebox cleanup metadata&amp;quot; style=&amp;quot;border:1px solid blue;background-color:#B3FFF5;padding:7px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The first Mac OS X native port objective is make OpenOffice.org run without X11 use, to make it a real Mac application.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The second one is respect Aqua Human interface Guidelines&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; This is a long term work, and every help and/or contributions, like donations** are welcome.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 **see http://contributing.openoffice.org/index.html&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Native Port Roadmap&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
===&amp;#039;&amp;#039;&amp;#039;2006&amp;#039;&amp;#039;&amp;#039;===&lt;br /&gt;
&lt;br /&gt;
* June 2006: work in progress &lt;br /&gt;
&lt;br /&gt;
- Basis: frame, instances, threads, drawing, painting, resizing (Stephan Schaefer, Tino Rachui)&lt;br /&gt;
&lt;br /&gt;
 Done: &lt;br /&gt;
 implement threads&lt;br /&gt;
 create, manage instance&lt;br /&gt;
 create, manage windows (including parents)&lt;br /&gt;
 create, manage events&lt;br /&gt;
 create manage drawing, resizing&lt;br /&gt;
 create, add menus (Pavel Janik)&lt;br /&gt;
 toggle window fullscreen (Pierre de Filippis)&lt;br /&gt;
 make font server work (Stephan Schaefer)&lt;br /&gt;
&lt;br /&gt;
* Current status font support (Stephan Schaefer, 2006/07/28): the following features are basically working now&lt;br /&gt;
** font selection&lt;br /&gt;
** font size&lt;br /&gt;
** simple font attributes (bold, italic)&lt;br /&gt;
&lt;br /&gt;
 Next step: document first part, and propose design&lt;br /&gt;
&lt;br /&gt;
- native filepicker (Pavel Janik, Florian Heckl)&lt;br /&gt;
&lt;br /&gt;
- native printing implementation (Oliver?)&lt;br /&gt;
&lt;br /&gt;
- native font implementation (Eric Bachard)&lt;br /&gt;
&lt;br /&gt;
* September 2006: &lt;br /&gt;
&lt;br /&gt;
- first proofs of concept: fonts, filepicker .. (more?)&lt;br /&gt;
- show the results (OOoCon 2006?)&lt;br /&gt;
&lt;br /&gt;
===&amp;#039;&amp;#039;&amp;#039;2007&amp;#039;&amp;#039;&amp;#039;===&lt;br /&gt;
&lt;br /&gt;
* January 2007: first alpha implementation&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Strategy for native port&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Possible Actions&amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
Identify us:&lt;br /&gt;
&lt;br /&gt;
#Complete the arrays below&lt;br /&gt;
#Update photos on frapr.com?&lt;br /&gt;
&lt;br /&gt;
Share the work:&lt;br /&gt;
&lt;br /&gt;
#Divide the work between little Teams&lt;br /&gt;
#Update Todo list regularly -&amp;gt; needs some love these days ... [http://wiki.services.openoffice.org/wiki/Mac_OS_X_Porting_-_Work_Areas/Todo%27s]&lt;br /&gt;
&lt;br /&gt;
Help:&lt;br /&gt;
&lt;br /&gt;
#Teach tools between us&lt;br /&gt;
#Do a debug party on IRC&lt;br /&gt;
#write documentation&lt;br /&gt;
&lt;br /&gt;
Meet us:&lt;br /&gt;
&lt;br /&gt;
#IRC&lt;br /&gt;
#Mac Meeting (like nov2005 in Hamburg?)&lt;br /&gt;
&lt;br /&gt;
Inform:&lt;br /&gt;
&lt;br /&gt;
#Update website regularly&lt;br /&gt;
#Blogs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHO&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
Mac Team:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:left; background-color:#efefef;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#d6d6d6;font-weight:bold;&amp;quot; &lt;br /&gt;
|Developer \ skills || build || write code || code review || debug/trace (higher is better) || contribute to documentation ||&lt;br /&gt;
|-&lt;br /&gt;
|ericb|| x || x || || 1 || x ||&lt;br /&gt;
|-&lt;br /&gt;
|pjanik|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|ssa|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|maho|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|tinor|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|schmidtm|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|ebischoff|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|obr|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|cl|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|aliscafo|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|fheckl|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Fridrich|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|plipli|| || x || || || x ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Other resources&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
fonts: ?&lt;br /&gt;
&lt;br /&gt;
events: ?&lt;br /&gt;
&lt;br /&gt;
QA: ?&lt;br /&gt;
&lt;br /&gt;
graphical: ?&lt;br /&gt;
&lt;br /&gt;
Communication: ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHAT&amp;#039;&amp;#039;&amp;#039;: Status of most important tasks&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:left; background-color:#efefef;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#d6d6d6;font-weight:bold;&amp;quot; &lt;br /&gt;
| Task || Names|| Urgency (1=higher)|| Work in Progress || Done || Code review || Debug || Integration || &lt;br /&gt;
|-&lt;br /&gt;
|Get rid of X11||done || 1 || x || x || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Bundle|| || 1 || x || || || || | ||&lt;br /&gt;
|-&lt;br /&gt;
|Drawing|| || 1 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Fonts||plipli || 1 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Events management|| || 2 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Controls (see list) ||ericb, aliscafo || 2 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native FilePicker||Florian Heckl, Pavel Janik || 3 || x || x || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native Printing||Yvan Barthelemy || 3 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native SpellChecker|| || 4 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Player||Mox Soini || 4 || x || || || || || ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other tasks:&lt;br /&gt;
&lt;br /&gt;
Help for writing bug lists, status of bugs ..etc&lt;br /&gt;
&lt;br /&gt;
Write howto use gdb, leaks, other tools&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHEN&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
From Christian Lippka (last meeting, 25th of august 2006): &lt;br /&gt;
 Aug 26 00:21:38 ChristianL&lt;br /&gt;
 from my point of view what is missing for point 1:&lt;br /&gt;
 text layout, complete font support, keyboard support,&lt;br /&gt;
 fixing repaint issues, having aqua install and run out of the box&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;September 2006&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Present the current state of the project at the 2006 OpenOffice conference in Lyon and Paris&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Late 2006&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
fix OpenOffice.org launch&lt;br /&gt;
fix drawing (repainting)&lt;br /&gt;
Implement missing methods and fix most important bugs (mainly the one leading to crash) in:&lt;br /&gt;
ATS&lt;br /&gt;
Salgraphics&lt;br /&gt;
Salinstance&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;January or February 2007&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
make Java work (works partially)&lt;br /&gt;
make intensive debug&lt;br /&gt;
present something working as alpha&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;June 2007	&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Implementation of:&lt;br /&gt;
native filepicker&lt;br /&gt;
native printing&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;2nd Mac porters meeting&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[2nd Mac porters meeting]]&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;IRC Mac port meetings&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[MacOSXPortMeetings]].&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Mac OS X (X11) Quality Assurance&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[Mac OS X ( X11) Quality Assurance]]&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Debug OpenOffice.org using XCode &amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
[[ MacOSX Debug OpenOffice.org using XCode]]&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Description of the Native Port problem&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
=== How does OpenOffice.org work on Mac OS X? ===&lt;br /&gt;
&lt;br /&gt;
Currently, on Mac OS X, OpenOffice.org uses X11, as &amp;quot;client&amp;quot;: X11 is a graphical server, coming from Unix world, and able to run under Linux, *BSD, Solaris, Mac OS X.&lt;br /&gt;
&lt;br /&gt;
 - X11 is run as an application, managed like other Apple applications.&lt;br /&gt;
 - All unix like applications are managed by X11, and from Aqua environment, only X11 is seen as only one applicatiion, &lt;br /&gt;
  even if other Unix/Linux (e.g.) applications are runing.&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org asks X11 to display a window, waits for X11 acknowledgment, and OpenOffice.org displays the window. All transactions use the network, locally or not. the same mechanism is used for everything to be displayed.&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
=== Issues and known problems ===&lt;br /&gt;
&lt;br /&gt;
All events are managed by OpenOffice.org and X11, using the Xlib&lt;br /&gt;
&lt;br /&gt;
Only .ttf fonts type is currently available. Note: &amp;#039;&amp;#039;&amp;#039;system fonts are available &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The rendering is made by X11, not by Mac OS X rendering engine.&lt;br /&gt;
&lt;br /&gt;
X11 and all its clients are seen as one application only: drag and drop protocol does not work because of that (solution: Pasteboard Manager)&lt;br /&gt;
&lt;br /&gt;
==== Other links ====&lt;br /&gt;
&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/List_of_OpenOffice.org_Mac_OS_X_issues_and_problems#&lt;br /&gt;
&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Printing_problems_with_OpenOffice.org_2.0_for_Mac_OS_X#Reporting_printing_problems&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== What do we have to do?==&lt;br /&gt;
&lt;br /&gt;
* Implement direct access to Apple graphical engine, using Apple API: Quartz2D/CoreGraphics (and replacing Xlib use)&lt;br /&gt;
&lt;br /&gt;
like: instantiate, manage events and threads for a graphical instance + all needed objects, drawing: manage all drawing cases&lt;br /&gt;
&lt;br /&gt;
* Implement native events management, using CarbonEventManager (replacing Xlib management)&lt;br /&gt;
&lt;br /&gt;
* Implement native font use, using Apple Type Server and ATSUI (for Unicode Imagery) (replacing X11 management)&lt;br /&gt;
&lt;br /&gt;
Work in progress: [[Mac OS X Porting - Native Fonts]]&lt;br /&gt;
&lt;br /&gt;
* Implement native sound, using QuickTime (replacing Java Media Framework): [[Mac OS X Porting - Native Audio and Video]]&lt;br /&gt;
&lt;br /&gt;
* Implement native Drag and drop, Implementing Pasteboard Manager: [[Mac OS X Porting - Native Drag and drop]]&lt;br /&gt;
&lt;br /&gt;
* Implement Native Filepicker&lt;br /&gt;
&lt;br /&gt;
* Implement Native Printing: current uses cups, but native printing is mandatory: [[Mac OS X Porting - Native_Printing]]&lt;br /&gt;
&lt;br /&gt;
* Implement Apple Spellchecker&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Where is located the code to be modified?&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
Most of the changes are located in vcl (Visual Class Layer), for everything graphical, events, fonts, rendering and printing.&lt;br /&gt;
&lt;br /&gt;
Other, for sound and movies will be in avmedia (where the player is implemented in OpenOffice.org sources).&lt;br /&gt;
&lt;br /&gt;
For drag and drop, dtrans is concerned (Pasteboard Manager implementation)&lt;br /&gt;
&lt;br /&gt;
[FIXME]: Filepicker? Apple Spellchecker?&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;How will the new implementation be tested?==&lt;br /&gt;
&lt;br /&gt;
Currently, all openOffice.org code can be compiled without using the Xlib. but of course, a lot of features are missing,&lt;br /&gt;
&lt;br /&gt;
and the final package simply won&amp;#039;t work&lt;br /&gt;
&lt;br /&gt;
In vcl module&amp;quot;, a &amp;#039;&amp;#039;&amp;#039;toy&amp;#039;&amp;#039;&amp;#039; called svdem is built at buildtime. This binary is linked to libvcl* and so all new stuff can be tested.&lt;br /&gt;
&lt;br /&gt;
e.g. : draw anti-aliased lines works well. &lt;br /&gt;
&lt;br /&gt;
Everything implemented in aqua vcl code will be included in libvclplug_aqua, and svdem source code will contain a specific part to proceed tests.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;messagebox cleanup metadata&amp;quot; style=&amp;quot;border:1px solid blue;background-color:#B3FFF5;padding:7px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The magic is: when all needed features will work with svdem, it will work in the new version of OpenOffice.org !!&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[FIXME]: add more complete list of features to implement and test.&lt;br /&gt;
&lt;br /&gt;
== AquaVCL 01 cws ==&lt;br /&gt;
&lt;br /&gt;
[[http://qa.openoffice.org/issues/buglist.cgi?keywords=aqua Top 10 of Aqua issues]]&lt;br /&gt;
&lt;br /&gt;
[[Aquavcl01 tasks]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===recent changes ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recent Changes &lt;br /&gt;
&lt;br /&gt;
[done] fix nRepeat in text entry  (ssa)&lt;br /&gt;
&lt;br /&gt;
[done] fix missing mouse events  (pjanik)&lt;br /&gt;
&lt;br /&gt;
[done] pushbutton where not correctly drawn (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] fix alpha channel in pixmaps (ismael)&lt;br /&gt;
&lt;br /&gt;
[done] fix correct size for main window (GetOoptimaWindowSize()  ) (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] replace obsolete code in salframe.cxx with (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] add new feature for Aqua windows, to allow QuickTime player use( mox )&lt;br /&gt;
&lt;br /&gt;
[done] add mouse drag events  ( pjanik )&lt;br /&gt;
&lt;br /&gt;
[done] modify libsalsystools.dylib to be correctly loaded with the bundle  (ericb, + pjanik)&lt;br /&gt;
&lt;br /&gt;
[done] implement mapfiles for Mac OS X (Stephan Bergmann, Daniel Boelzle, Tino Rachui , Pavel Janik)&lt;br /&gt;
&lt;br /&gt;
[done] fix scrollbar buttons (implement correct methods to retrieve dimensions)&lt;br /&gt;
&lt;br /&gt;
[done] fix checkbuttons and radiobuttons issues: offsets, redrawing of the check marks ( ericb) &lt;br /&gt;
&lt;br /&gt;
[done, not commited] implement UpdateSettings()   (ericb) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Work in progress : &lt;br /&gt;
&lt;br /&gt;
Bitmaps : ( isma87) &lt;br /&gt;
&lt;br /&gt;
Crashes : (tino, pjanik, ericb, isma87 )&lt;br /&gt;
&lt;br /&gt;
Drag and drop :   (vijay)&lt;br /&gt;
&lt;br /&gt;
Printing   (ybart)  &lt;br /&gt;
&lt;br /&gt;
Drawing/ windowing  ( tino )&lt;br /&gt;
&lt;br /&gt;
Implement cursor (ericb) &lt;br /&gt;
&lt;br /&gt;
Native Controls  (ericb) &lt;br /&gt;
&lt;br /&gt;
[work in progress] partial multiline sallayout  (plipli )&lt;br /&gt;
&lt;br /&gt;
To do : &lt;br /&gt;
&lt;br /&gt;
(started, Oliver) - modify the tree to make the bundle start without hack ( issue fixed during buildtime) &lt;br /&gt;
&lt;br /&gt;
(started, Florian Heckl)  verify Native FilePicker implementation ( works , tested in Hamburg  )&lt;br /&gt;
&lt;br /&gt;
(started Ismaek Merzaq)  implement blit functions in salgdi  ( important fix:  probably apha version to be tested once done) &lt;br /&gt;
&lt;br /&gt;
( started Sebastien Plisson- update the missing functions list ( fonts ... ask hdu &amp;amp; cl    ) &lt;br /&gt;
&lt;br /&gt;
( started, ericb, Mox Soini, Sebastien Plisson)  continue to replace obsolete code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
URGENT :&lt;br /&gt;
&lt;br /&gt;
(work in progress) event issue when tips is enabled causes crashes ( well known window / handler  / window desctructor / event loop bug )&lt;br /&gt;
&lt;br /&gt;
fix crashes with menus  (started : tino ) &lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Sort of documentation about VCL around Native Mac OS X port&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Do we really need to understand how it works? ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
vcl content:&lt;br /&gt;
&lt;br /&gt;
ls -laR | wc -l&lt;br /&gt;
  1750&lt;br /&gt;
&lt;br /&gt;
-&amp;gt; Uff 1750 files to analyse :-/&lt;br /&gt;
&lt;br /&gt;
Our purpose is to describe the vcl organisation. The content of vcl is so important, that at the begining, the content will looks a bit confused. e.g. class names ..etc have nothing to do, only description with words and sense, but this will need some time before we can understand everything.&lt;br /&gt;
&lt;br /&gt;
How analyse with more efficiency? After some months to anlalyse &amp;#039;&amp;#039;&amp;#039;&amp;quot;horizontaly&amp;quot;&amp;#039;&amp;#039;&amp;#039;, it appears that list all the content of a directory is not the solution. Of course, we learned a lot, but we now have to complete with &amp;#039;&amp;#039;&amp;#039;&amp;quot;orthogonal&amp;quot;&amp;#039;&amp;#039;&amp;#039; method (compared to the previous one). The first method wasn&amp;#039;t obviously not the good/best way to describe vcl.&lt;br /&gt;
 &lt;br /&gt;
[UPDATE] After some investigations, the use of Design patterns seems to be the most efficient approach to describe vcl. Will try to do so asap.&lt;br /&gt;
&lt;br /&gt;
[FIXME] a different approach (will ask confirmation to Philipp Lohman), could be a description of how it work in runtime. First define what an instance is, a frame, and what exactly is concerned by such &amp;quot;objects&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
With that, we can write a list of different objects all using the same scheme: empty boxes (means pure virtual methods and classes in generic libvvcl), really implemented in the specific part, and finally, the API &amp;quot;encapsulated&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The most difficult is to see where the API is used. But for all the parts, this is the same.&lt;br /&gt;
&lt;br /&gt;
Finally, &amp;#039;&amp;#039;&amp;#039;what is important is the design of vcl&amp;#039;&amp;#039;&amp;#039;. Which &amp;#039;&amp;#039;&amp;#039;patterns&amp;#039;&amp;#039;&amp;#039; are used? What are the dependencies, how works the stack for the events, how works the scheduler, the timers too is very important, even fundamental for Aqua implementation. Will have a look at gsl mailing list, and other resources. Probably everything is already (randomly) written somewhere.&lt;br /&gt;
&lt;br /&gt;
=== VCL organisation ===&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s to Philipp Lohmann for this short, but precise description:&lt;br /&gt;
&lt;br /&gt;
Basically vcl is divided in the system dependent and the system independent part. The interface between these two is mostly the Sal interface (every interface name Sal*: SalInstance, SalFrame, SalGraphics, SalPrinter, etc.).&lt;br /&gt;
&lt;br /&gt;
SalInstance is a factory that can create all the other abstracted interfaces of the system dependent part. It also provides the main loop SalInstance::Yield()&lt;br /&gt;
&lt;br /&gt;
SalFrame abstracts any kind of system window.&lt;br /&gt;
&lt;br /&gt;
SalVirtualDevice abstracts an offscreen window (e.g. a Pixmap on X11)&lt;br /&gt;
&lt;br /&gt;
SalPrinter and SalInfoPrinter abstract the system print queues where SalInfoPrinter is for querying and SalPrinter for actual printing.&lt;br /&gt;
&lt;br /&gt;
SalGraphics is an interface produced by either SalFrame, SalVirtualDevice or SalPrinter which is used for actual drawing operations (text, bitmaps, vector graphics)&lt;br /&gt;
&lt;br /&gt;
SalSound is for sound playing.&lt;br /&gt;
&lt;br /&gt;
SalBitmap provides memory for bitmap graphics as well as methods converting this memory to a system handle (e.g. a Pixmap on X11).&lt;br /&gt;
&lt;br /&gt;
SalOpenGL provides OpenGL functionality if available.&lt;br /&gt;
&lt;br /&gt;
SalTimer is an interface for periodically triggering the event queue (to timer implementation).&lt;br /&gt;
&lt;br /&gt;
SalI18NImeStatus handles how the status window of an Input Method Editor (IME) should display (this is mainly X11 specific).&lt;br /&gt;
&lt;br /&gt;
SalSystem has some system specific methods that did not belong anywhere else:-)&lt;br /&gt;
&lt;br /&gt;
Of all these there interfaces is at least one implementation per system (Windows, X11 or Mac). The Unix implementation also has a plugin concept to allow for integration of different native toolkits (currently gtk and Qt) which became necessary for the implementation of Native Widget Framework (NWF) to display controls like their normal desktop counterparts.&lt;br /&gt;
&lt;br /&gt;
Basically the independent part (what is beneath vcl/source directory) has generic methods for drawing, window handling and stuff which it brings into a suitable form and then delegates to the system specific implementation (located beneath vcl/win for Windows and vcl/unx for the X11 platforms).&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 16:12, 1 July 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
===Sub-directories description ===&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;Organisation of vcl directories&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
&lt;br /&gt;
[[Image:aquavcl_organisation_complete_02.jpg]]&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;Directories in vcl. Short description&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; aqua &amp;#039;&amp;#039;&amp;#039;: The name Aqua means Apple look and feel, and is well known as [http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGIntro/chapter_1_section_1.html Aqua Human Interface Guidelines]. This look and feel means Mac OS X. The work was begun by (probably) P. luby, Dan Williams Herbert Duerr (most of fonts stuff) and Ed Peterlin. Currently in ruin, this directory does contain a lot of ideas to investigate. The most important part of needed changes for native version (3.0) will be done inside aqua dir inc: does contain all vcl relative includes [PART1]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; prj &amp;#039;&amp;#039;&amp;#039;: Does contain build.lst and d.lst build.lst give us dependencies: probably a lot for vcl, build 98th module over ~148. Everything graphical depends in vcl. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; qa &amp;#039;&amp;#039;&amp;#039; does contain all quality assurancy stuff&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;source&amp;#039;&amp;#039;&amp;#039;: the most important:-) This directory contains common sources for all architectures and OS. Mainly: Windows, Unix: Linux , Mac OS X (X11), Solaris, including generic, kde and gtk plugins, and Aqua (Mac OS X without X11, work currently in progress). &lt;br /&gt;
&lt;br /&gt;
Depending on the OS and the architecture, binaries are built or not.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; test &amp;#039;&amp;#039;&amp;#039;: This directory does contain all the needed stuff for tests. As example, in qa/testdocuments, you&amp;#039;ll find three documents (one writer, one calc and one impress) for tests purpose. &lt;br /&gt;
Other available tests are about memcheck and persistent window state. &lt;br /&gt;
 &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; unx &amp;#039;&amp;#039;&amp;#039;: this directory does contain all unixes stuff. We have to understand what is inside to implement aqua port. For example, a lot of classes/strutures and objects use Xlib calls we have to replace with Carbon/Cocoa call (at least at first time) for Mac OS X native port.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; win &amp;#039;&amp;#039;&amp;#039;: Doing Mac OS X native port, I first believed this directory was not interesting for us, but I was wrong: OpenOffice.org roots are inside this directory, and a lot of comments and resources are inside. Mainly interesting if Carbon is used.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;workben&amp;#039;&amp;#039;&amp;#039;: Does contain a toy called &amp;quot;svdem&amp;quot;. svdem is a binary, used for new implementations. For example, actual aqua development uses svdem intensively, to verify all important properties we need: &lt;br /&gt;
&lt;br /&gt;
- display a window first (al least ...:)) &lt;br /&gt;
&lt;br /&gt;
- close cleanly this window&lt;br /&gt;
&lt;br /&gt;
- display a point&lt;br /&gt;
&lt;br /&gt;
- trace a line&lt;br /&gt;
&lt;br /&gt;
- trace an area &lt;br /&gt;
&lt;br /&gt;
- superpose two areas doing some important graphical operations, (like xor),&lt;br /&gt;
&lt;br /&gt;
- display a character&lt;br /&gt;
&lt;br /&gt;
- display a menu. &lt;br /&gt;
&lt;br /&gt;
- intercept events correctly.&lt;br /&gt;
&lt;br /&gt;
[FIXME] add more tests&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 13:21, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Naming convention&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* Class names start with upper case letters, to improve readability.&lt;br /&gt;
&lt;br /&gt;
* Implemented Class names are derived from the virtual classes but can of course take arbitrary names.&lt;br /&gt;
To increase readability, it&amp;#039;s recommended to closely follow the base class name.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Impl prefix: means Implementation details&amp;#039;&amp;#039;&amp;#039;. The concerned class or method or function is not used outside of this module, so no external code (or other libraries) can see it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[ Events types using Carbon API (Mac OS X): ]]&amp;#039;&amp;#039;&amp;#039; A lot of events have to be managed in runtime. Here is a short description&lt;br /&gt;
&lt;br /&gt;
- do not freeze because bad event loops&lt;br /&gt;
&lt;br /&gt;
- event types implementation: currently, they are defined in vcl/aqua/inc/aquavclevents.hxx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Apart: exact sense of hedabu? -&amp;gt; [FIXME] as far as I understood it: it is like &amp;quot;copy&amp;quot; to deliver software into the solver, with extra magic. The header files for example are manipulated so paths need not be exact. &amp;quot;headabu&amp;quot; is supposed to disappear little by little.&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;What do we have to build in vcl?&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
Two libraries, corresponding ressources (localized) and a toy so called « svdem »&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Common part&amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
in grey on right. The result will be a non architecture dependant library, built in all cases: for instance, libvcl680mxi.dylib on Mac Intel.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Specific part  &amp;quot; a plugin &amp;quot; &amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
Light yellow: aqua part will only concern Mac OS X (non X11) the name will probably be libvcl_aqua680mxi.dylib &lt;br /&gt;
&lt;br /&gt;
As you can see, win means windows part, in blue&lt;br /&gt;
&lt;br /&gt;
For Unix build (Linux, Solaris or current Mac OS X X11), in purple.&lt;br /&gt;
&lt;br /&gt;
Result will be:&lt;br /&gt;
&lt;br /&gt;
libvclplug_PLUGIN680mxi.DLLSUFFIX , where PLUGIN can be iether gen (generic) or gtk (using gtk+) or kde (using qt), and DLLSUFFIX can be either .so (linux) or .dylib (Mac OS X) ...etc (I&amp;#039;m not sure for other cases).&lt;br /&gt;
&lt;br /&gt;
Example: libvcl680mxi.dylib and libvclplug_aqua680mxi.dylib&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In runtime&amp;#039;&amp;#039;&amp;#039;, libvclplug_aqua will be linked to libvcl680. the first one will contain the real implementation (respecting the API, e.g. Carbon) while the generic libvcl will only contain pure virtual methods ...etc like &amp;quot;empty boxes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Current Aqua content ===&lt;br /&gt;
&lt;br /&gt;
A more complete description of aqua (Mac OS X / no X11 specific): [[Image:Vcl_aqua_organisation_02_tree.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==EXISTING objects to build in aqua==&lt;br /&gt;
&lt;br /&gt;
===Sal APP &amp;quot;everything application&amp;quot;===&lt;br /&gt;
&lt;br /&gt;
[FIXME] add all objects descriptions&lt;br /&gt;
&lt;br /&gt;
==== saldata ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Defined in plugin exclusively&amp;#039;&amp;#039;&amp;#039; (i.e. for headers)&lt;br /&gt;
&lt;br /&gt;
Unix: unx/source/app/saldata.cxx (header in unx/inc)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Aqua: aqua/source/app/saldata.cxx (header in win/inc)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Windows: win/source/app/saldata.cxx (header in aqua/inc)&lt;br /&gt;
&lt;br /&gt;
* Role: saldata contains various kind of data used by the implementation for the concerned platform. &amp;#039;&amp;#039;&amp;#039;It is a bunch of global data collections reserved for the platform&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
It is just completely platform dependent, and nobody except this plugin can see it.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Saldata is something like a &amp;quot;second sal&amp;quot;, but providing an abstraction regarding windowing and graphics&amp;#039;&amp;#039;&amp;#039;, while SAL module provides an abstraction more Operating System oriented) &lt;br /&gt;
&lt;br /&gt;
e.g. : have a look at XRequest array in vcl/unx/source/app/saldata.cxx =&amp;gt; all calls are for Xlib (X11).  Ok, useless there, but interesting:-)&lt;br /&gt;
&lt;br /&gt;
[FIXME]: use Windows implementation could be a good starting point. Nothing is the same, but the current aquavcl cws uses similar objects, and it works very correctly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
saldatax.cxx uses classes SalInstance, SalObject, SalFrame, SalVirtualDevice, SalPrinter and fontList.&lt;br /&gt;
&lt;br /&gt;
Current list of possible objects who can be instantiated/released:&lt;br /&gt;
&lt;br /&gt;
structure SalData: does contain pointers on all kind of objects from other classes used in saldata.&lt;br /&gt;
&lt;br /&gt;
inline functions: [FIXME]: complete the description&lt;br /&gt;
&lt;br /&gt;
- SetSalData:&lt;br /&gt;
- GetSalData:&lt;br /&gt;
- GetAppSalData:&lt;br /&gt;
&lt;br /&gt;
==== salinst ====&lt;br /&gt;
&lt;br /&gt;
=&amp;gt; implemented in vcl/aqua/source/app/salinst.cxx&lt;br /&gt;
&lt;br /&gt;
Role: &lt;br /&gt;
&lt;br /&gt;
* get environment, mutexes, instantiate AquaSalInstance (Ctor, Dtor),&lt;br /&gt;
&lt;br /&gt;
* instantiates/releases a lot of other objects using Get() / CreateObject() / DestroyObject() methods.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Current list of possible objects who can be instantiated/released:&lt;br /&gt;
&lt;br /&gt;
 * VirtualDevice [FIXME]: exact role?&lt;br /&gt;
&lt;br /&gt;
 *Printer  &lt;br /&gt;
&lt;br /&gt;
- GetDefaultPrinter/ CreatePrinter() / DestroyPrinter - what a name ;-) -&lt;br /&gt;
&lt;br /&gt;
- InfoPrinter (Get/Create/Delete)&lt;br /&gt;
&lt;br /&gt;
- PrinterQueue (DeletePrinterQueueInfo / GetPrinterQueueInfo / GetPrinterQueueState)&lt;br /&gt;
&lt;br /&gt;
 * System (Create / Delete) [FIXME]: what means system here?&lt;br /&gt;
&lt;br /&gt;
 * Events: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::SetEventCallback()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::SetErrorEvenCallback()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::GetConnectionIdentifier()&lt;br /&gt;
&lt;br /&gt;
 * Menu / MenuItem: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateMenu() / same for DestroyMenu()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateMenuItem / same DestroyMenuItem()&lt;br /&gt;
&lt;br /&gt;
 * Sound: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateSalSound()  =&amp;gt; object to a pointer of SalSound type&lt;br /&gt;
&lt;br /&gt;
Note: AquaSalInstance::DestroySalSound is not implemented (?)&lt;br /&gt;
&lt;br /&gt;
 * Timer: CreateTimer() /&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance:: DestroyTimer() is not yet implemented (?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Class MacImeStatus: inherits of SalI18NImeStatus&lt;br /&gt;
&lt;br /&gt;
-&amp;gt; only there to see if there is a window to toggle into menubar [FIXME]??&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateI18NImeStatus(): instantiates MacImeStatus&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;For futher informations, see: &amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;[[Content of salinst.cxx]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
([[User:Ericb|Ericb]] 16:11, 20 May 2006 (CEST) )&lt;br /&gt;
&lt;br /&gt;
==== salmain ====&lt;br /&gt;
&lt;br /&gt;
Role: if possible, runs the standard vcl application code SVMain()&lt;br /&gt;
&lt;br /&gt;
([[User:Ericb|Ericb]] 16:15, 20 May 2006 (CEST))&lt;br /&gt;
&lt;br /&gt;
==== salsound ====&lt;br /&gt;
&lt;br /&gt;
==== salsys ====&lt;br /&gt;
&lt;br /&gt;
==== saltimer ====&lt;br /&gt;
&lt;br /&gt;
=== Sal GDI (everything Graphical Display Interface) ===&lt;br /&gt;
&lt;br /&gt;
====salgdinativewidgets====&lt;br /&gt;
&lt;br /&gt;
[[native controls]]&lt;br /&gt;
&lt;br /&gt;
==== salatslayout ====&lt;br /&gt;
&lt;br /&gt;
==&amp;gt; implemented in vcl/aqua/source/gdi/salatslayout.cxx&lt;br /&gt;
&lt;br /&gt;
- Handle text layouting :&lt;br /&gt;
&lt;br /&gt;
    * Use ATSUI (ATSUCreateTextLayoutFromPtr) to layout the text unicode char buffer&lt;br /&gt;
    * Use ATSUI (ATSU..) to get informations about glyphs&lt;br /&gt;
    * Populate different arrays (mpGlyph2Chars, mpChars2Glyph, mpCharsWidths, mpGlyphAdvances)&lt;br /&gt;
      that are used in various methods.&lt;br /&gt;
&lt;br /&gt;
==== salatsuiutils ====&lt;br /&gt;
&lt;br /&gt;
==== salfontutils ====&lt;br /&gt;
&lt;br /&gt;
==== salmathutils ====&lt;br /&gt;
&lt;br /&gt;
==== sal bmp ====&lt;br /&gt;
&lt;br /&gt;
==== salvd ====&lt;br /&gt;
&lt;br /&gt;
==== salpixmaputils====&lt;br /&gt;
&lt;br /&gt;
==== salprn ====&lt;br /&gt;
&lt;br /&gt;
====salrectangle====&lt;br /&gt;
&lt;br /&gt;
==== salvd ====&lt;br /&gt;
&lt;br /&gt;
=== Sal Window===&lt;br /&gt;
&lt;br /&gt;
==== salframe ====&lt;br /&gt;
Documentation in progress, from damiend :&lt;br /&gt;
[[User:Damiend|Damiend page]]&lt;br /&gt;
&lt;br /&gt;
====salobj====&lt;br /&gt;
&lt;br /&gt;
== TO BE IMPLEMENTED (missing in Aqua)==&lt;br /&gt;
&lt;br /&gt;
===Audio===&lt;br /&gt;
&lt;br /&gt;
====audioconvert====&lt;br /&gt;
 (obsolete?) &lt;br /&gt;
&lt;br /&gt;
====devaudio====&lt;br /&gt;
(obsolete?)&lt;br /&gt;
&lt;br /&gt;
====native sound====&lt;br /&gt;
&lt;br /&gt;
====salimpsound====&lt;br /&gt;
&lt;br /&gt;
====vsound====&lt;br /&gt;
&lt;br /&gt;
===i18n===&lt;br /&gt;
&lt;br /&gt;
===keysymnames===&lt;br /&gt;
&lt;br /&gt;
===saldisp===&lt;br /&gt;
&lt;br /&gt;
===sm===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[FIXME]: is session manager usefull?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Native Controls&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
====Scrollbar====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Works as expected&amp;#039;&amp;#039;&amp;#039;. The most important work is done&lt;br /&gt;
&lt;br /&gt;
See : [[Mac_OS_X_Porting_-_Native_Controls#ScrollBar]]&lt;br /&gt;
&lt;br /&gt;
====DrawThemeButton() documentation====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Started&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
See : [[Mac_OS_X_Porting_-_Native_Controls#ComboBox]]&lt;br /&gt;
&lt;br /&gt;
Started&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DrawThemeButton&lt;br /&gt;
Draws a button.&lt;br /&gt;
&lt;br /&gt;
OSStatus DrawThemeButton (&lt;br /&gt;
   const Rect * inBounds,&lt;br /&gt;
   ThemeButtonKind inKind,&lt;br /&gt;
   const ThemeButtonDrawInfo * inNewInfo,&lt;br /&gt;
   const ThemeButtonDrawInfo * inPrevInfo,&lt;br /&gt;
   ThemeEraseUPP inEraseProc,&lt;br /&gt;
   ThemeButtonDrawUPP inLabelProc,&lt;br /&gt;
   UInt32 inUserData&lt;br /&gt;
);&lt;br /&gt;
Parameters&lt;br /&gt;
inBounds&lt;br /&gt;
A pointer to a structure of type Rect. Pass a rectangle specifying the boundary of the button, in local coordinates.&lt;br /&gt;
&lt;br /&gt;
inKind&lt;br /&gt;
A value of type ThemeButtonKind. Pass a constant specifying the type of button to draw. &lt;br /&gt;
See “Theme Buttons” for descriptions of possible values.&lt;br /&gt;
&lt;br /&gt;
inNewInfo&lt;br /&gt;
A pointer to a structure of type ThemeButtonDrawInfo. Before calling DrawThemeButton, &lt;br /&gt;
set the structure to contain the new state, value, and adornment for the button. &lt;br /&gt;
DrawThemeButton uses the information passed in the inNewInfo and inPrevInfo parameters&lt;br /&gt;
to apply transitional animation or sound effects as the button state changes, if such are &lt;br /&gt;
specified under the current theme.&lt;br /&gt;
&lt;br /&gt;
inPrevInfo&lt;br /&gt;
A pointer to a structure of type ThemeButtonDrawInfo. If the button state is changing,&lt;br /&gt;
set the structure to contain the previous state, value, and adornment for the button, &lt;br /&gt;
to allow DrawThemeButton to apply any transitional effects. If the button state is not &lt;br /&gt;
changing, you can pass NULL.&lt;br /&gt;
&lt;br /&gt;
inEraseProc&lt;br /&gt;
A value of type ThemeEraseUPP. If you have a custom background, use this parameter to pass&lt;br /&gt;
a universal function pointer to an application-defined function such as that described in &lt;br /&gt;
ThemeEraseProcPtr. DrawThemeButton calls this function to erase the background before drawing&lt;br /&gt;
 the button. If you pass NULL, DrawThemeButton&amp;#039;s default behavior is to erase the background&lt;br /&gt;
 for you.&lt;br /&gt;
&lt;br /&gt;
inLabelProc&lt;br /&gt;
A value of type ThemeButtonDrawUPP. If you pass a universal function pointer to an &lt;br /&gt;
application-defined function such as that described in ThemeButtonDrawProcPtr, DrawThemeButton&lt;br /&gt;
 calls that function to draw the label of the button. If you pass NULL, no label is drawn.&lt;br /&gt;
&lt;br /&gt;
inUserData&lt;br /&gt;
An unsigned 32-bit integer. Provide any data to be passed in to the callback functions specified in &lt;br /&gt;
the inLabelProc and inEraseProc parameters. Pass NULL if you do not wish to provide any data.&lt;br /&gt;
&lt;br /&gt;
Return Value&lt;br /&gt;
A result code. See “Appearance Manager Result Codes”.&lt;br /&gt;
&lt;br /&gt;
Discussion&lt;br /&gt;
The DrawThemeButton function draws a theme-compliant button. If a ThemeEraseProcPtr is &lt;br /&gt;
specified in the inEraseProc parameter, DrawThemeButton uses that function to erase the &lt;br /&gt;
background of the button before drawing the button. After the button is drawn, if a&lt;br /&gt;
ThemeButtonDrawProcPtr is specified in the inLabelProc parameter, DrawThemeButton calls&lt;br /&gt;
that function to draw the button’s label.&lt;br /&gt;
&lt;br /&gt;
Note that DrawThemeButton also draws any appearance adornments for the button and that these&lt;br /&gt;
can extend beyond the button’s basic bounding rectangle, as specified in the inBounds parameter,&lt;br /&gt;
and may be of variable shape. You may therefore wish to call the function&lt;br /&gt;
GetThemeButtonBackgroundBounds to obtain the actual rectangle containing the pixels belonging&lt;br /&gt;
to a button under the current theme.&lt;br /&gt;
&lt;br /&gt;
Version Notes&lt;br /&gt;
This function is available with Appearance Manager 1.1 and later.&lt;br /&gt;
&lt;br /&gt;
Availability&lt;br /&gt;
Available in CarbonLib 1.0 and later when Appearance 1.1 or later is present.&lt;br /&gt;
Available in Mac OS X 10.0 and later.&lt;br /&gt;
Declared In&lt;br /&gt;
Appearance.h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====HIComboBoxCreate() documentation====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
HIComboBoxCreate&lt;br /&gt;
Creates a combo box control.&lt;br /&gt;
&lt;br /&gt;
OSStatus HIComboBoxCreate (&lt;br /&gt;
   const HIRect* boundsRect,&lt;br /&gt;
   CFStringRef text,&lt;br /&gt;
   const ControlFontStyleRec* style,&lt;br /&gt;
   CFArrayRef list,&lt;br /&gt;
   OptionBits inAttributes,&lt;br /&gt;
   HIViewRef* outComboBox&lt;br /&gt;
);&lt;br /&gt;
Parameters&lt;br /&gt;
boundsRect&lt;br /&gt;
The bounding box of the control.&lt;br /&gt;
&lt;br /&gt;
text&lt;br /&gt;
The default text in the editable portion of the control. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
style&lt;br /&gt;
The font style of the both editable text and the text in the disclosure list. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
list&lt;br /&gt;
The default values available in the disclosure list. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
inAttributes&lt;br /&gt;
The default attributes of the combo box. For possible values, see “Combo Box Attributes”.&lt;br /&gt;
&lt;br /&gt;
outComboBox&lt;br /&gt;
On exit, a pointer to a reference for the new control.&lt;br /&gt;
&lt;br /&gt;
Discussion&lt;br /&gt;
The combo box can be used in compositing mode, as well as traditional Control Manager mode.&lt;br /&gt;
When created, this view is invisible. To see the view, you must show the view by calling HIViewSetVisible.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What is used for Linux, Windows, Mac OS X ...build ? ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Description of the dependencies]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Windows]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[MacOS X]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Linux]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Solaris]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Content of Aqua ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Click here to see the complete list]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Content of vcl/inc&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Notes: &lt;br /&gt;
&lt;br /&gt;
1) Where to find includes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;foo/bar.hxx&amp;gt; means you can find bar.hxx in the foo module. The new style file is foo/inc/foo/bar.hxx, old style is foo/inc/bar.hxx and sometimes the file is somewhere else in the tree or generated. The deliver process copies/generates the file into solver at solver/680/build_type/inc/foo. Good for fixing broken builds. ;-)&lt;br /&gt;
&lt;br /&gt;
2) &lt;br /&gt;
suffix .h (for C calls or first version?) or .hxx (C++) &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;A) Family of includes&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
Looking more closely at the list brings to the fore (expression from dictionary ;-) ) that include names are&lt;br /&gt;
informatives. Most of the time, the name gives the function/role.&lt;br /&gt;
What is interesting is the files with name begining with &amp;quot;sal&amp;quot;. sal means System Abstraction Layer + include&amp;#039;s function (or explicit name). &lt;br /&gt;
&lt;br /&gt;
Partial list, for example:&lt;br /&gt;
&lt;br /&gt;
salatype.hxx&lt;br /&gt;
&lt;br /&gt;
salbmp.hxx&lt;br /&gt;
&lt;br /&gt;
salctrlhandle.hxx&lt;br /&gt;
&lt;br /&gt;
salctype.hxx&lt;br /&gt;
&lt;br /&gt;
salframe.hxx&lt;br /&gt;
&lt;br /&gt;
salgdi.hxx&lt;br /&gt;
&lt;br /&gt;
salgeom.hxx&lt;br /&gt;
&lt;br /&gt;
sallayout.hxx (main header for fonts services)&lt;br /&gt;
...&lt;br /&gt;
salmenu&lt;br /&gt;
salnativewidgets&lt;br /&gt;
...etc&lt;br /&gt;
&lt;br /&gt;
Other important families are &amp;quot;sv&amp;quot; and &amp;quot;uno&amp;quot; or &amp;quot;win&amp;quot; (window) prefixed. sal family will be analysed apart.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B) Includes of includes&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Some includes are more important than other. To prove this, just have a look is sufficient: some are always needed, and some more rarely.&lt;br /&gt;
&lt;br /&gt;
To verify, a simple test to do in vcl/inc:&lt;br /&gt;
&lt;br /&gt;
egrep -H &amp;quot;#include&amp;quot; ./* | wc -l  gives me 681 lines ! And some of them are the same...&lt;br /&gt;
&lt;br /&gt;
To know more, the precedent command line can be modified to make appear the numerous call &lt;br /&gt;
to the same includes files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
egrep -H &amp;quot;#include&amp;quot; ./* | cut -d&amp;quot;#&amp;quot; -f2 | sort &amp;gt; liste.txt&lt;br /&gt;
&lt;br /&gt;
The content of liste.txt is explicit: dllapi.h, sv.h and some other are very important, while some other includes are only one or two times used. We can see too that vos includes are numerous, even if vos is deprecated**&lt;br /&gt;
&lt;br /&gt;
 **see http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m nearly sure that a complete analysis of just this result will give us a lot of information.&lt;br /&gt;
&lt;br /&gt;
I propose to change the order of analysis starting with dllapi.h and sv.h.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[to be continued]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B1) &amp;quot;sal&amp;quot; includes family&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[salinst.hxx]] This seems to be the main include file&lt;br /&gt;
&lt;br /&gt;
[[salatype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salctrlhandle.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salctype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salframe.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salgdi.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salgeom.hxx]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[ sallayout.hxx ]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;-- see Native Fonts implementation&lt;br /&gt;
&lt;br /&gt;
[[salgtype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[vcl/inc/salobj.hxx]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B2) Classicals includes&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
file: abstdlg.hxx [ means abstract dialog ]&lt;br /&gt;
&lt;br /&gt;
This includes does contain the following classes definitions:&lt;br /&gt;
&lt;br /&gt;
[FIXME] : choose a precise presentation template for classes &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
VclAbstractDialog,&lt;br /&gt;
&lt;br /&gt;
VclAbstractTerminateDialog, &lt;br /&gt;
&lt;br /&gt;
VclAbstractRefreshableDialog,&lt;br /&gt;
 &lt;br /&gt;
VclAbstractDialogFactory, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
uses &amp;lt;tools/solar.h&amp;gt; , &amp;lt;tools/string.hxx&amp;gt; + &lt;br /&gt;
&lt;br /&gt;
&amp;quot;dllapi.h&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note : dllapi.h is very interesting because when we have to find (for example) a library suffix, SAL_DLLEXTENSSION can replace all suffixes (every OS&amp;#039;s and archs). Just including sal/config.h does it ! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
Window -&amp;gt; what? [FIXME]&lt;br /&gt;
ResId -&amp;gt; what?&lt;br /&gt;
&lt;br /&gt;
Does contain the prototype of VclAbstractDialog, inherit of VCL_DLLPUBLIC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
file: dllapi.h [ dll for dynamic linked library ]&lt;br /&gt;
Uses: &amp;lt;sal/config.h&amp;gt; and &amp;gt;sal/types/h&amp;gt;&lt;br /&gt;
includes: VCL_DLLPUBLIC macro&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
file: accel.h [ means accelerator ]&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
Accelerator &lt;br /&gt;
{&lt;br /&gt;
}&lt;br /&gt;
ImplAccelEntry &lt;br /&gt;
{&lt;br /&gt;
public members: &lt;br /&gt;
&lt;br /&gt;
Names&lt;br /&gt;
&lt;br /&gt;
mnId&lt;br /&gt;
maKeyCode&lt;br /&gt;
mpAccel&lt;br /&gt;
mpAutoAccel&lt;br /&gt;
mbEnabled&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function / returns / parameters&lt;br /&gt;
&lt;br /&gt;
ImplGetKeyCode / void / KeyFuncType eFunc, ref rCode1 , ref rCode2, ref rCode3&lt;br /&gt;
&lt;br /&gt;
file: accel.hxx &lt;br /&gt;
&lt;br /&gt;
Uses: &amp;lt;sv.h&amp;gt; , &amp;quot;dllapi.h&amp;quot; ,&amp;lt;tools/resid.hxx&amp;gt;, &amp;lt;&amp;lt;tools/rc.hxx&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
ImplAccelData;&lt;br /&gt;
ImplAccelEntry;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Progressive implementation]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Font server Implementation&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;[[Mac OS X Porting - Native Fonts]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Sound Implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native Audio and Video]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Printing Implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native_Printing]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Drag and Drop implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native Drag and drop]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Data Acquisition&amp;#039;&amp;#039;&amp;#039; : [[Mac OS X Porting - Data Acquisition]]&lt;br /&gt;
&lt;br /&gt;
This work is part of http://wiki.services.openoffice.org/wiki/Mac_OS_X_Porting_-_Work_Areas/Todo%27s&lt;br /&gt;
&lt;br /&gt;
[to be continued:-) ]&lt;br /&gt;
&lt;br /&gt;
== Keyboard comparizon between OpenOffice.org / Mac OS X  application ==&lt;br /&gt;
&lt;br /&gt;
[FIXME] redo a cleanest array &lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:centered; background-color:#F0F0F0;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#99CCFF; font-weight:bold;&amp;quot; &lt;br /&gt;
| Modifier||+ key  || Result || TextEdit  returns&lt;br /&gt;
|-&lt;br /&gt;
|ALT|| a||æ ||æ &lt;br /&gt;
|-&lt;br /&gt;
|ALT||b||ß ||ß&lt;br /&gt;
|-&lt;br /&gt;
|ALT||c||© ||©&lt;br /&gt;
|-&lt;br /&gt;
|ALT||d||∂ ||∂&lt;br /&gt;
|-&lt;br /&gt;
|ALT||e||ê ||ê&lt;br /&gt;
|-&lt;br /&gt;
|ALT||f||ƒ ||ƒ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||g ||ﬁ ||ﬁ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||h ||Ì ||Ì&lt;br /&gt;
|-&lt;br /&gt;
|ALT||i ||î ||î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||j ||Ï ||Ï&lt;br /&gt;
|-&lt;br /&gt;
|ALT||k ||È ||È&lt;br /&gt;
|-&lt;br /&gt;
|ALT||l ||¬ ||¬&lt;br /&gt;
|-&lt;br /&gt;
|ALT||m ||µ ||µ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||n ||~ ||~&lt;br /&gt;
|-&lt;br /&gt;
|ALT||o ||œ ||œ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||p ||π ||π&lt;br /&gt;
|-&lt;br /&gt;
|ALT||q ||‡ ||‡&lt;br /&gt;
|-&lt;br /&gt;
|ALT||r ||® ||®&lt;br /&gt;
|-&lt;br /&gt;
|ALT||s ||Ò ||Ò&lt;br /&gt;
|-&lt;br /&gt;
|ALT||t ||† ||†&lt;br /&gt;
|-&lt;br /&gt;
|ALT||u ||º ||º&lt;br /&gt;
|-&lt;br /&gt;
|ALT||v ||◊ ||◊&lt;br /&gt;
|-&lt;br /&gt;
|ALT||w ||‹ ||‹&lt;br /&gt;
|-&lt;br /&gt;
|ALT||x ||≈ ||≈&lt;br /&gt;
|-&lt;br /&gt;
|ALT||y ||Ú ||Ú&lt;br /&gt;
|-&lt;br /&gt;
|ALT||z ||Â ||Â&lt;br /&gt;
|-&lt;br /&gt;
|ALT||A ||Æ ||Æ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||B ||∫ ||∫&lt;br /&gt;
|-&lt;br /&gt;
|ALT||C ||¢ ||¢&lt;br /&gt;
|-&lt;br /&gt;
|ALT||D||∆||∆&lt;br /&gt;
|-&lt;br /&gt;
|ALT||F ||· ||·&lt;br /&gt;
|-&lt;br /&gt;
|ALT||G ||ﬂ ||ﬂ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||H ||Î ||Î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||I ||Î ||Î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||J ||Í ||Í&lt;br /&gt;
|-&lt;br /&gt;
|ALT||K ||Ë ||Ë&lt;br /&gt;
|-&lt;br /&gt;
|ALT||L || &amp;lt;pre&amp;gt;|&amp;lt;/pre&amp;gt; ||&amp;lt;pre&amp;gt;|&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|ALT||M ||Ó ||Ó&lt;br /&gt;
|-&lt;br /&gt;
|ALT||N ||ı ||ı&lt;br /&gt;
|-&lt;br /&gt;
|ALT||O ||Œ ||Œ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||P ||∏ ||∏&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Q ||Ω ||Ω&lt;br /&gt;
|-&lt;br /&gt;
|ALT||R ||‚ ||‚&lt;br /&gt;
|-&lt;br /&gt;
|ALT||S ||∑ ||∑&lt;br /&gt;
|-&lt;br /&gt;
|ALT||T ||™ ||™&lt;br /&gt;
|-&lt;br /&gt;
|ALT||U ||ª ||ª&lt;br /&gt;
|-&lt;br /&gt;
|ALT||V ||√ ||√&lt;br /&gt;
|-&lt;br /&gt;
|ALT||W ||› ||›&lt;br /&gt;
|-&lt;br /&gt;
|ALT||X ||⁄ ||⁄&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Y ||Ÿ ||Ÿ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Z ||Å ||Å&lt;br /&gt;
|-&lt;br /&gt;
|ALT||$ ||€ ||€&lt;br /&gt;
|-&lt;br /&gt;
|ALT||` ||@ ||@&lt;br /&gt;
|-&lt;br /&gt;
|ALT||£ ||# ||#&lt;br /&gt;
|-&lt;br /&gt;
|ALT||* ||¥ ||¥&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Sous réserve d&amp;#039;erreur ou omission [[User:Ericb|Ericb]] 00:05, 14 January 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Ericb|Ericb]] 15:00, 22 Jul 2005 (EDT)&lt;br /&gt;
&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:MacOSX]]&lt;br /&gt;
[[Category:Aqua]]&lt;/div&gt;</summary>
		<author><name>Damiend</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Ericb&amp;diff=25532</id>
		<title>User:Ericb</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Ericb&amp;diff=25532"/>
		<updated>2007-02-20T15:02:48Z</updated>

		<summary type="html">&lt;p&gt;Damiend: /* salframe */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Public Documentation License Notice==&lt;br /&gt;
&lt;br /&gt;
The contents of this Documentation (excepted Native Port Roadmap),are subject to the Public Documentation License Version 1.0 (the &amp;quot;License&amp;quot;); you may only use this Documentation if you comply with the terms of this License. A copy of the License is available at http://www.openoffice.org/licenses/PDL.html.&lt;br /&gt;
The Original Documentation is &amp;quot;Mac OS X native port&amp;quot;. The Initial Writer of the Original Documentation is (JCA) Eric Bachard (C) 2005-2006. All Rights Reserved. (Initial Writer contact(s): ericb@openoffice.org.)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Mac OS X Native port&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;messagebox cleanup metadata&amp;quot; style=&amp;quot;border:1px solid blue;background-color:#B3FFF5;padding:7px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The first Mac OS X native port objective is make OpenOffice.org run without X11 use, to make it a real Mac application.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The second one is respect Aqua Human interface Guidelines&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; This is a long term work, and every help and/or contributions, like donations** are welcome.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 **see http://contributing.openoffice.org/index.html&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Native Port Roadmap&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
===&amp;#039;&amp;#039;&amp;#039;2006&amp;#039;&amp;#039;&amp;#039;===&lt;br /&gt;
&lt;br /&gt;
* June 2006: work in progress &lt;br /&gt;
&lt;br /&gt;
- Basis: frame, instances, threads, drawing, painting, resizing (Stephan Schaefer, Tino Rachui)&lt;br /&gt;
&lt;br /&gt;
 Done: &lt;br /&gt;
 implement threads&lt;br /&gt;
 create, manage instance&lt;br /&gt;
 create, manage windows (including parents)&lt;br /&gt;
 create, manage events&lt;br /&gt;
 create manage drawing, resizing&lt;br /&gt;
 create, add menus (Pavel Janik)&lt;br /&gt;
 toggle window fullscreen (Pierre de Filippis)&lt;br /&gt;
 make font server work (Stephan Schaefer)&lt;br /&gt;
&lt;br /&gt;
* Current status font support (Stephan Schaefer, 2006/07/28): the following features are basically working now&lt;br /&gt;
** font selection&lt;br /&gt;
** font size&lt;br /&gt;
** simple font attributes (bold, italic)&lt;br /&gt;
&lt;br /&gt;
 Next step: document first part, and propose design&lt;br /&gt;
&lt;br /&gt;
- native filepicker (Pavel Janik, Florian Heckl)&lt;br /&gt;
&lt;br /&gt;
- native printing implementation (Oliver?)&lt;br /&gt;
&lt;br /&gt;
- native font implementation (Eric Bachard)&lt;br /&gt;
&lt;br /&gt;
* September 2006: &lt;br /&gt;
&lt;br /&gt;
- first proofs of concept: fonts, filepicker .. (more?)&lt;br /&gt;
- show the results (OOoCon 2006?)&lt;br /&gt;
&lt;br /&gt;
===&amp;#039;&amp;#039;&amp;#039;2007&amp;#039;&amp;#039;&amp;#039;===&lt;br /&gt;
&lt;br /&gt;
* January 2007: first alpha implementation&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Strategy for native port&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Possible Actions&amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
Identify us:&lt;br /&gt;
&lt;br /&gt;
#Complete the arrays below&lt;br /&gt;
#Update photos on frapr.com?&lt;br /&gt;
&lt;br /&gt;
Share the work:&lt;br /&gt;
&lt;br /&gt;
#Divide the work between little Teams&lt;br /&gt;
#Update Todo list regularly -&amp;gt; needs some love these days ... [http://wiki.services.openoffice.org/wiki/Mac_OS_X_Porting_-_Work_Areas/Todo%27s]&lt;br /&gt;
&lt;br /&gt;
Help:&lt;br /&gt;
&lt;br /&gt;
#Teach tools between us&lt;br /&gt;
#Do a debug party on IRC&lt;br /&gt;
#write documentation&lt;br /&gt;
&lt;br /&gt;
Meet us:&lt;br /&gt;
&lt;br /&gt;
#IRC&lt;br /&gt;
#Mac Meeting (like nov2005 in Hamburg?)&lt;br /&gt;
&lt;br /&gt;
Inform:&lt;br /&gt;
&lt;br /&gt;
#Update website regularly&lt;br /&gt;
#Blogs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHO&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
Mac Team:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:left; background-color:#efefef;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#d6d6d6;font-weight:bold;&amp;quot; &lt;br /&gt;
|Developer \ skills || build || write code || code review || debug/trace (higher is better) || contribute to documentation ||&lt;br /&gt;
|-&lt;br /&gt;
|ericb|| x || x || || 1 || x ||&lt;br /&gt;
|-&lt;br /&gt;
|pjanik|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|ssa|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|maho|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|tinor|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|schmidtm|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|ebischoff|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|obr|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|cl|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|aliscafo|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|fheckl|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Fridrich|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|plipli|| || x || || || x ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Other resources&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
fonts: ?&lt;br /&gt;
&lt;br /&gt;
events: ?&lt;br /&gt;
&lt;br /&gt;
QA: ?&lt;br /&gt;
&lt;br /&gt;
graphical: ?&lt;br /&gt;
&lt;br /&gt;
Communication: ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHAT&amp;#039;&amp;#039;&amp;#039;: Status of most important tasks&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:left; background-color:#efefef;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#d6d6d6;font-weight:bold;&amp;quot; &lt;br /&gt;
| Task || Names|| Urgency (1=higher)|| Work in Progress || Done || Code review || Debug || Integration || &lt;br /&gt;
|-&lt;br /&gt;
|Get rid of X11||done || 1 || x || x || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Bundle|| || 1 || x || || || || | ||&lt;br /&gt;
|-&lt;br /&gt;
|Drawing|| || 1 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Fonts||plipli || 1 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Events management|| || 2 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Controls (see list) ||ericb, aliscafo || 2 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native FilePicker||Florian Heckl, Pavel Janik || 3 || x || x || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native Printing||Yvan Barthelemy || 3 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native SpellChecker|| || 4 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Player||Mox Soini || 4 || x || || || || || ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other tasks:&lt;br /&gt;
&lt;br /&gt;
Help for writing bug lists, status of bugs ..etc&lt;br /&gt;
&lt;br /&gt;
Write howto use gdb, leaks, other tools&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHEN&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
From Christian Lippka (last meeting, 25th of august 2006): &lt;br /&gt;
 Aug 26 00:21:38 ChristianL&lt;br /&gt;
 from my point of view what is missing for point 1:&lt;br /&gt;
 text layout, complete font support, keyboard support,&lt;br /&gt;
 fixing repaint issues, having aqua install and run out of the box&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;September 2006&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Present the current state of the project at the 2006 OpenOffice conference in Lyon and Paris&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Late 2006&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
fix OpenOffice.org launch&lt;br /&gt;
fix drawing (repainting)&lt;br /&gt;
Implement missing methods and fix most important bugs (mainly the one leading to crash) in:&lt;br /&gt;
ATS&lt;br /&gt;
Salgraphics&lt;br /&gt;
Salinstance&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;January or February 2007&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
make Java work (works partially)&lt;br /&gt;
make intensive debug&lt;br /&gt;
present something working as alpha&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;June 2007	&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Implementation of:&lt;br /&gt;
native filepicker&lt;br /&gt;
native printing&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;2nd Mac porters meeting&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[2nd Mac porters meeting]]&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;IRC Mac port meetings&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[MacOSXPortMeetings]].&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Mac OS X (X11) Quality Assurance&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[Mac OS X ( X11) Quality Assurance]]&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Debug OpenOffice.org using XCode &amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
[[ MacOSX Debug OpenOffice.org using XCode]]&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Description of the Native Port problem&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
=== How does OpenOffice.org work on Mac OS X? ===&lt;br /&gt;
&lt;br /&gt;
Currently, on Mac OS X, OpenOffice.org uses X11, as &amp;quot;client&amp;quot;: X11 is a graphical server, coming from Unix world, and able to run under Linux, *BSD, Solaris, Mac OS X.&lt;br /&gt;
&lt;br /&gt;
 - X11 is run as an application, managed like other Apple applications.&lt;br /&gt;
 - All unix like applications are managed by X11, and from Aqua environment, only X11 is seen as only one applicatiion, &lt;br /&gt;
  even if other Unix/Linux (e.g.) applications are runing.&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org asks X11 to display a window, waits for X11 acknowledgment, and OpenOffice.org displays the window. All transactions use the network, locally or not. the same mechanism is used for everything to be displayed.&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
=== Issues and known problems ===&lt;br /&gt;
&lt;br /&gt;
All events are managed by OpenOffice.org and X11, using the Xlib&lt;br /&gt;
&lt;br /&gt;
Only .ttf fonts type is currently available. Note: &amp;#039;&amp;#039;&amp;#039;system fonts are available &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The rendering is made by X11, not by Mac OS X rendering engine.&lt;br /&gt;
&lt;br /&gt;
X11 and all its clients are seen as one application only: drag and drop protocol does not work because of that (solution: Pasteboard Manager)&lt;br /&gt;
&lt;br /&gt;
==== Other links ====&lt;br /&gt;
&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/List_of_OpenOffice.org_Mac_OS_X_issues_and_problems#&lt;br /&gt;
&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Printing_problems_with_OpenOffice.org_2.0_for_Mac_OS_X#Reporting_printing_problems&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== What do we have to do?==&lt;br /&gt;
&lt;br /&gt;
* Implement direct access to Apple graphical engine, using Apple API: Quartz2D/CoreGraphics (and replacing Xlib use)&lt;br /&gt;
&lt;br /&gt;
like: instantiate, manage events and threads for a graphical instance + all needed objects, drawing: manage all drawing cases&lt;br /&gt;
&lt;br /&gt;
* Implement native events management, using CarbonEventManager (replacing Xlib management)&lt;br /&gt;
&lt;br /&gt;
* Implement native font use, using Apple Type Server and ATSUI (for Unicode Imagery) (replacing X11 management)&lt;br /&gt;
&lt;br /&gt;
Work in progress: [[Mac OS X Porting - Native Fonts]]&lt;br /&gt;
&lt;br /&gt;
* Implement native sound, using QuickTime (replacing Java Media Framework): [[Mac OS X Porting - Native Audio and Video]]&lt;br /&gt;
&lt;br /&gt;
* Implement native Drag and drop, Implementing Pasteboard Manager: [[Mac OS X Porting - Native Drag and drop]]&lt;br /&gt;
&lt;br /&gt;
* Implement Native Filepicker&lt;br /&gt;
&lt;br /&gt;
* Implement Native Printing: current uses cups, but native printing is mandatory: [[Mac OS X Porting - Native_Printing]]&lt;br /&gt;
&lt;br /&gt;
* Implement Apple Spellchecker&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Where is located the code to be modified?&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
Most of the changes are located in vcl (Visual Class Layer), for everything graphical, events, fonts, rendering and printing.&lt;br /&gt;
&lt;br /&gt;
Other, for sound and movies will be in avmedia (where the player is implemented in OpenOffice.org sources).&lt;br /&gt;
&lt;br /&gt;
For drag and drop, dtrans is concerned (Pasteboard Manager implementation)&lt;br /&gt;
&lt;br /&gt;
[FIXME]: Filepicker? Apple Spellchecker?&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;How will the new implementation be tested?==&lt;br /&gt;
&lt;br /&gt;
Currently, all openOffice.org code can be compiled without using the Xlib. but of course, a lot of features are missing,&lt;br /&gt;
&lt;br /&gt;
and the final package simply won&amp;#039;t work&lt;br /&gt;
&lt;br /&gt;
In vcl module&amp;quot;, a &amp;#039;&amp;#039;&amp;#039;toy&amp;#039;&amp;#039;&amp;#039; called svdem is built at buildtime. This binary is linked to libvcl* and so all new stuff can be tested.&lt;br /&gt;
&lt;br /&gt;
e.g. : draw anti-aliased lines works well. &lt;br /&gt;
&lt;br /&gt;
Everything implemented in aqua vcl code will be included in libvclplug_aqua, and svdem source code will contain a specific part to proceed tests.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;messagebox cleanup metadata&amp;quot; style=&amp;quot;border:1px solid blue;background-color:#B3FFF5;padding:7px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The magic is: when all needed features will work with svdem, it will work in the new version of OpenOffice.org !!&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[FIXME]: add more complete list of features to implement and test.&lt;br /&gt;
&lt;br /&gt;
== AquaVCL 01 cws ==&lt;br /&gt;
&lt;br /&gt;
[[http://qa.openoffice.org/issues/buglist.cgi?keywords=aqua Top 10 of Aqua issues]]&lt;br /&gt;
&lt;br /&gt;
[[Aquavcl01 tasks]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===recent changes ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recent Changes &lt;br /&gt;
&lt;br /&gt;
[done] fix nRepeat in text entry  (ssa)&lt;br /&gt;
&lt;br /&gt;
[done] fix missing mouse events  (pjanik)&lt;br /&gt;
&lt;br /&gt;
[done] pushbutton where not correctly drawn (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] fix alpha channel in pixmaps (ismael)&lt;br /&gt;
&lt;br /&gt;
[done] fix correct size for main window (GetOoptimaWindowSize()  ) (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] replace obsolete code in salframe.cxx with (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] add new feature for Aqua windows, to allow QuickTime player use( mox )&lt;br /&gt;
&lt;br /&gt;
[done] add mouse drag events  ( pjanik )&lt;br /&gt;
&lt;br /&gt;
[done] modify libsalsystools.dylib to be correctly loaded with the bundle  (ericb, + pjanik)&lt;br /&gt;
&lt;br /&gt;
[done] implement mapfiles for Mac OS X (Stephan Bergmann, Daniel Boelzle, Tino Rachui , Pavel Janik)&lt;br /&gt;
&lt;br /&gt;
[done] fix scrollbar buttons (implement correct methods to retrieve dimensions)&lt;br /&gt;
&lt;br /&gt;
[done] fix checkbuttons and radiobuttons issues: offsets, redrawing of the check marks ( ericb) &lt;br /&gt;
&lt;br /&gt;
[done, not commited] implement UpdateSettings()   (ericb) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Work in progress : &lt;br /&gt;
&lt;br /&gt;
Bitmaps : ( isma87) &lt;br /&gt;
&lt;br /&gt;
Crashes : (tino, pjanik, ericb, isma87 )&lt;br /&gt;
&lt;br /&gt;
Drag and drop :   (vijay)&lt;br /&gt;
&lt;br /&gt;
Printing   (ybart)  &lt;br /&gt;
&lt;br /&gt;
Drawing/ windowing  ( tino )&lt;br /&gt;
&lt;br /&gt;
Implement cursor (ericb) &lt;br /&gt;
&lt;br /&gt;
Native Controls  (ericb) &lt;br /&gt;
&lt;br /&gt;
[work in progress] partial multiline sallayout  (plipli )&lt;br /&gt;
&lt;br /&gt;
To do : &lt;br /&gt;
&lt;br /&gt;
(started, Oliver) - modify the tree to make the bundle start without hack ( issue fixed during buildtime) &lt;br /&gt;
&lt;br /&gt;
(started, Florian Heckl)  verify Native FilePicker implementation ( works , tested in Hamburg  )&lt;br /&gt;
&lt;br /&gt;
(started Ismaek Merzaq)  implement blit functions in salgdi  ( important fix:  probably apha version to be tested once done) &lt;br /&gt;
&lt;br /&gt;
( started Sebastien Plisson- update the missing functions list ( fonts ... ask hdu &amp;amp; cl    ) &lt;br /&gt;
&lt;br /&gt;
( started, ericb, Mox Soini, Sebastien Plisson)  continue to replace obsolete code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
URGENT :&lt;br /&gt;
&lt;br /&gt;
(work in progress) event issue when tips is enabled causes crashes ( well known window / handler  / window desctructor / event loop bug )&lt;br /&gt;
&lt;br /&gt;
fix crashes with menus  (started : tino ) &lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Sort of documentation about VCL around Native Mac OS X port&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Do we really need to understand how it works? ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
vcl content:&lt;br /&gt;
&lt;br /&gt;
ls -laR | wc -l&lt;br /&gt;
  1750&lt;br /&gt;
&lt;br /&gt;
-&amp;gt; Uff 1750 files to analyse :-/&lt;br /&gt;
&lt;br /&gt;
Our purpose is to describe the vcl organisation. The content of vcl is so important, that at the begining, the content will looks a bit confused. e.g. class names ..etc have nothing to do, only description with words and sense, but this will need some time before we can understand everything.&lt;br /&gt;
&lt;br /&gt;
How analyse with more efficiency? After some months to anlalyse &amp;#039;&amp;#039;&amp;#039;&amp;quot;horizontaly&amp;quot;&amp;#039;&amp;#039;&amp;#039;, it appears that list all the content of a directory is not the solution. Of course, we learned a lot, but we now have to complete with &amp;#039;&amp;#039;&amp;#039;&amp;quot;orthogonal&amp;quot;&amp;#039;&amp;#039;&amp;#039; method (compared to the previous one). The first method wasn&amp;#039;t obviously not the good/best way to describe vcl.&lt;br /&gt;
 &lt;br /&gt;
[UPDATE] After some investigations, the use of Design patterns seems to be the most efficient approach to describe vcl. Will try to do so asap.&lt;br /&gt;
&lt;br /&gt;
[FIXME] a different approach (will ask confirmation to Philipp Lohman), could be a description of how it work in runtime. First define what an instance is, a frame, and what exactly is concerned by such &amp;quot;objects&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
With that, we can write a list of different objects all using the same scheme: empty boxes (means pure virtual methods and classes in generic libvvcl), really implemented in the specific part, and finally, the API &amp;quot;encapsulated&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The most difficult is to see where the API is used. But for all the parts, this is the same.&lt;br /&gt;
&lt;br /&gt;
Finally, &amp;#039;&amp;#039;&amp;#039;what is important is the design of vcl&amp;#039;&amp;#039;&amp;#039;. Which &amp;#039;&amp;#039;&amp;#039;patterns&amp;#039;&amp;#039;&amp;#039; are used? What are the dependencies, how works the stack for the events, how works the scheduler, the timers too is very important, even fundamental for Aqua implementation. Will have a look at gsl mailing list, and other resources. Probably everything is already (randomly) written somewhere.&lt;br /&gt;
&lt;br /&gt;
=== VCL organisation ===&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s to Philipp Lohmann for this short, but precise description:&lt;br /&gt;
&lt;br /&gt;
Basically vcl is divided in the system dependent and the system independent part. The interface between these two is mostly the Sal interface (every interface name Sal*: SalInstance, SalFrame, SalGraphics, SalPrinter, etc.).&lt;br /&gt;
&lt;br /&gt;
SalInstance is a factory that can create all the other abstracted interfaces of the system dependent part. It also provides the main loop SalInstance::Yield()&lt;br /&gt;
&lt;br /&gt;
SalFrame abstracts any kind of system window.&lt;br /&gt;
&lt;br /&gt;
SalVirtualDevice abstracts an offscreen window (e.g. a Pixmap on X11)&lt;br /&gt;
&lt;br /&gt;
SalPrinter and SalInfoPrinter abstract the system print queues where SalInfoPrinter is for querying and SalPrinter for actual printing.&lt;br /&gt;
&lt;br /&gt;
SalGraphics is an interface produced by either SalFrame, SalVirtualDevice or SalPrinter which is used for actual drawing operations (text, bitmaps, vector graphics)&lt;br /&gt;
&lt;br /&gt;
SalSound is for sound playing.&lt;br /&gt;
&lt;br /&gt;
SalBitmap provides memory for bitmap graphics as well as methods converting this memory to a system handle (e.g. a Pixmap on X11).&lt;br /&gt;
&lt;br /&gt;
SalOpenGL provides OpenGL functionality if available.&lt;br /&gt;
&lt;br /&gt;
SalTimer is an interface for periodically triggering the event queue (to timer implementation).&lt;br /&gt;
&lt;br /&gt;
SalI18NImeStatus handles how the status window of an Input Method Editor (IME) should display (this is mainly X11 specific).&lt;br /&gt;
&lt;br /&gt;
SalSystem has some system specific methods that did not belong anywhere else:-)&lt;br /&gt;
&lt;br /&gt;
Of all these there interfaces is at least one implementation per system (Windows, X11 or Mac). The Unix implementation also has a plugin concept to allow for integration of different native toolkits (currently gtk and Qt) which became necessary for the implementation of Native Widget Framework (NWF) to display controls like their normal desktop counterparts.&lt;br /&gt;
&lt;br /&gt;
Basically the independent part (what is beneath vcl/source directory) has generic methods for drawing, window handling and stuff which it brings into a suitable form and then delegates to the system specific implementation (located beneath vcl/win for Windows and vcl/unx for the X11 platforms).&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 16:12, 1 July 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
===Sub-directories description ===&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;Organisation of vcl directories&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
&lt;br /&gt;
[[Image:aquavcl_organisation_complete_02.jpg]]&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;Directories in vcl. Short description&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; aqua &amp;#039;&amp;#039;&amp;#039;: The name Aqua means Apple look and feel, and is well known as [http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGIntro/chapter_1_section_1.html Aqua Human Interface Guidelines]. This look and feel means Mac OS X. The work was begun by (probably) P. luby, Dan Williams Herbert Duerr (most of fonts stuff) and Ed Peterlin. Currently in ruin, this directory does contain a lot of ideas to investigate. The most important part of needed changes for native version (3.0) will be done inside aqua dir inc: does contain all vcl relative includes [PART1]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; prj &amp;#039;&amp;#039;&amp;#039;: Does contain build.lst and d.lst build.lst give us dependencies: probably a lot for vcl, build 98th module over ~148. Everything graphical depends in vcl. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; qa &amp;#039;&amp;#039;&amp;#039; does contain all quality assurancy stuff&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;source&amp;#039;&amp;#039;&amp;#039;: the most important:-) This directory contains common sources for all architectures and OS. Mainly: Windows, Unix: Linux , Mac OS X (X11), Solaris, including generic, kde and gtk plugins, and Aqua (Mac OS X without X11, work currently in progress). &lt;br /&gt;
&lt;br /&gt;
Depending on the OS and the architecture, binaries are built or not.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; test &amp;#039;&amp;#039;&amp;#039;: This directory does contain all the needed stuff for tests. As example, in qa/testdocuments, you&amp;#039;ll find three documents (one writer, one calc and one impress) for tests purpose. &lt;br /&gt;
Other available tests are about memcheck and persistent window state. &lt;br /&gt;
 &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; unx &amp;#039;&amp;#039;&amp;#039;: this directory does contain all unixes stuff. We have to understand what is inside to implement aqua port. For example, a lot of classes/strutures and objects use Xlib calls we have to replace with Carbon/Cocoa call (at least at first time) for Mac OS X native port.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; win &amp;#039;&amp;#039;&amp;#039;: Doing Mac OS X native port, I first believed this directory was not interesting for us, but I was wrong: OpenOffice.org roots are inside this directory, and a lot of comments and resources are inside. Mainly interesting if Carbon is used.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;workben&amp;#039;&amp;#039;&amp;#039;: Does contain a toy called &amp;quot;svdem&amp;quot;. svdem is a binary, used for new implementations. For example, actual aqua development uses svdem intensively, to verify all important properties we need: &lt;br /&gt;
&lt;br /&gt;
- display a window first (al least ...:)) &lt;br /&gt;
&lt;br /&gt;
- close cleanly this window&lt;br /&gt;
&lt;br /&gt;
- display a point&lt;br /&gt;
&lt;br /&gt;
- trace a line&lt;br /&gt;
&lt;br /&gt;
- trace an area &lt;br /&gt;
&lt;br /&gt;
- superpose two areas doing some important graphical operations, (like xor),&lt;br /&gt;
&lt;br /&gt;
- display a character&lt;br /&gt;
&lt;br /&gt;
- display a menu. &lt;br /&gt;
&lt;br /&gt;
- intercept events correctly.&lt;br /&gt;
&lt;br /&gt;
[FIXME] add more tests&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 13:21, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Naming convention&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* Class names start with upper case letters, to improve readability.&lt;br /&gt;
&lt;br /&gt;
* Implemented Class names are derived from the virtual classes but can of course take arbitrary names.&lt;br /&gt;
To increase readability, it&amp;#039;s recommended to closely follow the base class name.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Impl prefix: means Implementation details&amp;#039;&amp;#039;&amp;#039;. The concerned class or method or function is not used outside of this module, so no external code (or other libraries) can see it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[ Events types using Carbon API (Mac OS X): ]]&amp;#039;&amp;#039;&amp;#039; A lot of events have to be managed in runtime. Here is a short description&lt;br /&gt;
&lt;br /&gt;
- do not freeze because bad event loops&lt;br /&gt;
&lt;br /&gt;
- event types implementation: currently, they are defined in vcl/aqua/inc/aquavclevents.hxx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Apart: exact sense of hedabu? -&amp;gt; [FIXME] as far as I understood it: it is like &amp;quot;copy&amp;quot; to deliver software into the solver, with extra magic. The header files for example are manipulated so paths need not be exact. &amp;quot;headabu&amp;quot; is supposed to disappear little by little.&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;What do we have to build in vcl?&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
Two libraries, corresponding ressources (localized) and a toy so called « svdem »&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Common part&amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
in grey on right. The result will be a non architecture dependant library, built in all cases: for instance, libvcl680mxi.dylib on Mac Intel.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Specific part  &amp;quot; a plugin &amp;quot; &amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
Light yellow: aqua part will only concern Mac OS X (non X11) the name will probably be libvcl_aqua680mxi.dylib &lt;br /&gt;
&lt;br /&gt;
As you can see, win means windows part, in blue&lt;br /&gt;
&lt;br /&gt;
For Unix build (Linux, Solaris or current Mac OS X X11), in purple.&lt;br /&gt;
&lt;br /&gt;
Result will be:&lt;br /&gt;
&lt;br /&gt;
libvclplug_PLUGIN680mxi.DLLSUFFIX , where PLUGIN can be iether gen (generic) or gtk (using gtk+) or kde (using qt), and DLLSUFFIX can be either .so (linux) or .dylib (Mac OS X) ...etc (I&amp;#039;m not sure for other cases).&lt;br /&gt;
&lt;br /&gt;
Example: libvcl680mxi.dylib and libvclplug_aqua680mxi.dylib&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In runtime&amp;#039;&amp;#039;&amp;#039;, libvclplug_aqua will be linked to libvcl680. the first one will contain the real implementation (respecting the API, e.g. Carbon) while the generic libvcl will only contain pure virtual methods ...etc like &amp;quot;empty boxes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Current Aqua content ===&lt;br /&gt;
&lt;br /&gt;
A more complete description of aqua (Mac OS X / no X11 specific): [[Image:Vcl_aqua_organisation_02_tree.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==EXISTING objects to build in aqua==&lt;br /&gt;
&lt;br /&gt;
===Sal APP &amp;quot;everything application&amp;quot;===&lt;br /&gt;
&lt;br /&gt;
[FIXME] add all objects descriptions&lt;br /&gt;
&lt;br /&gt;
==== saldata ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Defined in plugin exclusively&amp;#039;&amp;#039;&amp;#039; (i.e. for headers)&lt;br /&gt;
&lt;br /&gt;
Unix: unx/source/app/saldata.cxx (header in unx/inc)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Aqua: aqua/source/app/saldata.cxx (header in win/inc)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Windows: win/source/app/saldata.cxx (header in aqua/inc)&lt;br /&gt;
&lt;br /&gt;
* Role: saldata contains various kind of data used by the implementation for the concerned platform. &amp;#039;&amp;#039;&amp;#039;It is a bunch of global data collections reserved for the platform&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
It is just completely platform dependent, and nobody except this plugin can see it.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Saldata is something like a &amp;quot;second sal&amp;quot;, but providing an abstraction regarding windowing and graphics&amp;#039;&amp;#039;&amp;#039;, while SAL module provides an abstraction more Operating System oriented) &lt;br /&gt;
&lt;br /&gt;
e.g. : have a look at XRequest array in vcl/unx/source/app/saldata.cxx =&amp;gt; all calls are for Xlib (X11).  Ok, useless there, but interesting:-)&lt;br /&gt;
&lt;br /&gt;
[FIXME]: use Windows implementation could be a good starting point. Nothing is the same, but the current aquavcl cws uses similar objects, and it works very correctly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
saldatax.cxx uses classes SalInstance, SalObject, SalFrame, SalVirtualDevice, SalPrinter and fontList.&lt;br /&gt;
&lt;br /&gt;
Current list of possible objects who can be instantiated/released:&lt;br /&gt;
&lt;br /&gt;
structure SalData: does contain pointers on all kind of objects from other classes used in saldata.&lt;br /&gt;
&lt;br /&gt;
inline functions: [FIXME]: complete the description&lt;br /&gt;
&lt;br /&gt;
- SetSalData:&lt;br /&gt;
- GetSalData:&lt;br /&gt;
- GetAppSalData:&lt;br /&gt;
&lt;br /&gt;
==== salinst ====&lt;br /&gt;
&lt;br /&gt;
=&amp;gt; implemented in vcl/aqua/source/app/salinst.cxx&lt;br /&gt;
&lt;br /&gt;
Role: &lt;br /&gt;
&lt;br /&gt;
* get environment, mutexes, instantiate AquaSalInstance (Ctor, Dtor),&lt;br /&gt;
&lt;br /&gt;
* instantiates/releases a lot of other objects using Get() / CreateObject() / DestroyObject() methods.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Current list of possible objects who can be instantiated/released:&lt;br /&gt;
&lt;br /&gt;
 * VirtualDevice [FIXME]: exact role?&lt;br /&gt;
&lt;br /&gt;
 *Printer  &lt;br /&gt;
&lt;br /&gt;
- GetDefaultPrinter/ CreatePrinter() / DestroyPrinter - what a name ;-) -&lt;br /&gt;
&lt;br /&gt;
- InfoPrinter (Get/Create/Delete)&lt;br /&gt;
&lt;br /&gt;
- PrinterQueue (DeletePrinterQueueInfo / GetPrinterQueueInfo / GetPrinterQueueState)&lt;br /&gt;
&lt;br /&gt;
 * System (Create / Delete) [FIXME]: what means system here?&lt;br /&gt;
&lt;br /&gt;
 * Events: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::SetEventCallback()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::SetErrorEvenCallback()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::GetConnectionIdentifier()&lt;br /&gt;
&lt;br /&gt;
 * Menu / MenuItem: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateMenu() / same for DestroyMenu()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateMenuItem / same DestroyMenuItem()&lt;br /&gt;
&lt;br /&gt;
 * Sound: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateSalSound()  =&amp;gt; object to a pointer of SalSound type&lt;br /&gt;
&lt;br /&gt;
Note: AquaSalInstance::DestroySalSound is not implemented (?)&lt;br /&gt;
&lt;br /&gt;
 * Timer: CreateTimer() /&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance:: DestroyTimer() is not yet implemented (?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Class MacImeStatus: inherits of SalI18NImeStatus&lt;br /&gt;
&lt;br /&gt;
-&amp;gt; only there to see if there is a window to toggle into menubar [FIXME]??&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateI18NImeStatus(): instantiates MacImeStatus&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;For futher informations, see: &amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;[[Content of salinst.cxx]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
([[User:Ericb|Ericb]] 16:11, 20 May 2006 (CEST) )&lt;br /&gt;
&lt;br /&gt;
==== salmain ====&lt;br /&gt;
&lt;br /&gt;
Role: if possible, runs the standard vcl application code SVMain()&lt;br /&gt;
&lt;br /&gt;
([[User:Ericb|Ericb]] 16:15, 20 May 2006 (CEST))&lt;br /&gt;
&lt;br /&gt;
==== salsound ====&lt;br /&gt;
&lt;br /&gt;
==== salsys ====&lt;br /&gt;
&lt;br /&gt;
==== saltimer ====&lt;br /&gt;
&lt;br /&gt;
=== Sal GDI (everything Graphical Display Interface) ===&lt;br /&gt;
&lt;br /&gt;
====salgdinativewidgets====&lt;br /&gt;
&lt;br /&gt;
[[native controls]]&lt;br /&gt;
&lt;br /&gt;
==== salatslayout ====&lt;br /&gt;
&lt;br /&gt;
==&amp;gt; implemented in vcl/aqua/source/gdi/salatslayout.cxx&lt;br /&gt;
&lt;br /&gt;
- Handle text layouting :&lt;br /&gt;
&lt;br /&gt;
    * Use ATSUI (ATSUCreateTextLayoutFromPtr) to layout the text unicode char buffer&lt;br /&gt;
    * Use ATSUI (ATSU..) to get informations about glyphs&lt;br /&gt;
    * Populate different arrays (mpGlyph2Chars, mpChars2Glyph, mpCharsWidths, mpGlyphAdvances)&lt;br /&gt;
      that are used in various methods.&lt;br /&gt;
&lt;br /&gt;
==== salatsuiutils ====&lt;br /&gt;
&lt;br /&gt;
==== salfontutils ====&lt;br /&gt;
&lt;br /&gt;
==== salmathutils ====&lt;br /&gt;
&lt;br /&gt;
==== sal bmp ====&lt;br /&gt;
&lt;br /&gt;
==== salvd ====&lt;br /&gt;
&lt;br /&gt;
==== salpixmaputils====&lt;br /&gt;
&lt;br /&gt;
==== salprn ====&lt;br /&gt;
&lt;br /&gt;
====salrectangle====&lt;br /&gt;
&lt;br /&gt;
==== salvd ====&lt;br /&gt;
&lt;br /&gt;
=== Sal Window===&lt;br /&gt;
&lt;br /&gt;
==== salframe ====&lt;br /&gt;
Documentation in progress, from damiend :&lt;br /&gt;
[[User:Damiend]]&lt;br /&gt;
&lt;br /&gt;
====salobj====&lt;br /&gt;
&lt;br /&gt;
== TO BE IMPLEMENTED (missing in Aqua)==&lt;br /&gt;
&lt;br /&gt;
===Audio===&lt;br /&gt;
&lt;br /&gt;
====audioconvert====&lt;br /&gt;
 (obsolete?) &lt;br /&gt;
&lt;br /&gt;
====devaudio====&lt;br /&gt;
(obsolete?)&lt;br /&gt;
&lt;br /&gt;
====native sound====&lt;br /&gt;
&lt;br /&gt;
====salimpsound====&lt;br /&gt;
&lt;br /&gt;
====vsound====&lt;br /&gt;
&lt;br /&gt;
===i18n===&lt;br /&gt;
&lt;br /&gt;
===keysymnames===&lt;br /&gt;
&lt;br /&gt;
===saldisp===&lt;br /&gt;
&lt;br /&gt;
===sm===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[FIXME]: is session manager usefull?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Native Controls&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
====Scrollbar====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Works as expected&amp;#039;&amp;#039;&amp;#039;. The most important work is done&lt;br /&gt;
&lt;br /&gt;
See : [[Mac_OS_X_Porting_-_Native_Controls#ScrollBar]]&lt;br /&gt;
&lt;br /&gt;
====DrawThemeButton() documentation====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Started&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
See : [[Mac_OS_X_Porting_-_Native_Controls#ComboBox]]&lt;br /&gt;
&lt;br /&gt;
Started&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DrawThemeButton&lt;br /&gt;
Draws a button.&lt;br /&gt;
&lt;br /&gt;
OSStatus DrawThemeButton (&lt;br /&gt;
   const Rect * inBounds,&lt;br /&gt;
   ThemeButtonKind inKind,&lt;br /&gt;
   const ThemeButtonDrawInfo * inNewInfo,&lt;br /&gt;
   const ThemeButtonDrawInfo * inPrevInfo,&lt;br /&gt;
   ThemeEraseUPP inEraseProc,&lt;br /&gt;
   ThemeButtonDrawUPP inLabelProc,&lt;br /&gt;
   UInt32 inUserData&lt;br /&gt;
);&lt;br /&gt;
Parameters&lt;br /&gt;
inBounds&lt;br /&gt;
A pointer to a structure of type Rect. Pass a rectangle specifying the boundary of the button, in local coordinates.&lt;br /&gt;
&lt;br /&gt;
inKind&lt;br /&gt;
A value of type ThemeButtonKind. Pass a constant specifying the type of button to draw. &lt;br /&gt;
See “Theme Buttons” for descriptions of possible values.&lt;br /&gt;
&lt;br /&gt;
inNewInfo&lt;br /&gt;
A pointer to a structure of type ThemeButtonDrawInfo. Before calling DrawThemeButton, &lt;br /&gt;
set the structure to contain the new state, value, and adornment for the button. &lt;br /&gt;
DrawThemeButton uses the information passed in the inNewInfo and inPrevInfo parameters&lt;br /&gt;
to apply transitional animation or sound effects as the button state changes, if such are &lt;br /&gt;
specified under the current theme.&lt;br /&gt;
&lt;br /&gt;
inPrevInfo&lt;br /&gt;
A pointer to a structure of type ThemeButtonDrawInfo. If the button state is changing,&lt;br /&gt;
set the structure to contain the previous state, value, and adornment for the button, &lt;br /&gt;
to allow DrawThemeButton to apply any transitional effects. If the button state is not &lt;br /&gt;
changing, you can pass NULL.&lt;br /&gt;
&lt;br /&gt;
inEraseProc&lt;br /&gt;
A value of type ThemeEraseUPP. If you have a custom background, use this parameter to pass&lt;br /&gt;
a universal function pointer to an application-defined function such as that described in &lt;br /&gt;
ThemeEraseProcPtr. DrawThemeButton calls this function to erase the background before drawing&lt;br /&gt;
 the button. If you pass NULL, DrawThemeButton&amp;#039;s default behavior is to erase the background&lt;br /&gt;
 for you.&lt;br /&gt;
&lt;br /&gt;
inLabelProc&lt;br /&gt;
A value of type ThemeButtonDrawUPP. If you pass a universal function pointer to an &lt;br /&gt;
application-defined function such as that described in ThemeButtonDrawProcPtr, DrawThemeButton&lt;br /&gt;
 calls that function to draw the label of the button. If you pass NULL, no label is drawn.&lt;br /&gt;
&lt;br /&gt;
inUserData&lt;br /&gt;
An unsigned 32-bit integer. Provide any data to be passed in to the callback functions specified in &lt;br /&gt;
the inLabelProc and inEraseProc parameters. Pass NULL if you do not wish to provide any data.&lt;br /&gt;
&lt;br /&gt;
Return Value&lt;br /&gt;
A result code. See “Appearance Manager Result Codes”.&lt;br /&gt;
&lt;br /&gt;
Discussion&lt;br /&gt;
The DrawThemeButton function draws a theme-compliant button. If a ThemeEraseProcPtr is &lt;br /&gt;
specified in the inEraseProc parameter, DrawThemeButton uses that function to erase the &lt;br /&gt;
background of the button before drawing the button. After the button is drawn, if a&lt;br /&gt;
ThemeButtonDrawProcPtr is specified in the inLabelProc parameter, DrawThemeButton calls&lt;br /&gt;
that function to draw the button’s label.&lt;br /&gt;
&lt;br /&gt;
Note that DrawThemeButton also draws any appearance adornments for the button and that these&lt;br /&gt;
can extend beyond the button’s basic bounding rectangle, as specified in the inBounds parameter,&lt;br /&gt;
and may be of variable shape. You may therefore wish to call the function&lt;br /&gt;
GetThemeButtonBackgroundBounds to obtain the actual rectangle containing the pixels belonging&lt;br /&gt;
to a button under the current theme.&lt;br /&gt;
&lt;br /&gt;
Version Notes&lt;br /&gt;
This function is available with Appearance Manager 1.1 and later.&lt;br /&gt;
&lt;br /&gt;
Availability&lt;br /&gt;
Available in CarbonLib 1.0 and later when Appearance 1.1 or later is present.&lt;br /&gt;
Available in Mac OS X 10.0 and later.&lt;br /&gt;
Declared In&lt;br /&gt;
Appearance.h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====HIComboBoxCreate() documentation====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
HIComboBoxCreate&lt;br /&gt;
Creates a combo box control.&lt;br /&gt;
&lt;br /&gt;
OSStatus HIComboBoxCreate (&lt;br /&gt;
   const HIRect* boundsRect,&lt;br /&gt;
   CFStringRef text,&lt;br /&gt;
   const ControlFontStyleRec* style,&lt;br /&gt;
   CFArrayRef list,&lt;br /&gt;
   OptionBits inAttributes,&lt;br /&gt;
   HIViewRef* outComboBox&lt;br /&gt;
);&lt;br /&gt;
Parameters&lt;br /&gt;
boundsRect&lt;br /&gt;
The bounding box of the control.&lt;br /&gt;
&lt;br /&gt;
text&lt;br /&gt;
The default text in the editable portion of the control. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
style&lt;br /&gt;
The font style of the both editable text and the text in the disclosure list. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
list&lt;br /&gt;
The default values available in the disclosure list. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
inAttributes&lt;br /&gt;
The default attributes of the combo box. For possible values, see “Combo Box Attributes”.&lt;br /&gt;
&lt;br /&gt;
outComboBox&lt;br /&gt;
On exit, a pointer to a reference for the new control.&lt;br /&gt;
&lt;br /&gt;
Discussion&lt;br /&gt;
The combo box can be used in compositing mode, as well as traditional Control Manager mode.&lt;br /&gt;
When created, this view is invisible. To see the view, you must show the view by calling HIViewSetVisible.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What is used for Linux, Windows, Mac OS X ...build ? ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Description of the dependencies]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Windows]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[MacOS X]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Linux]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Solaris]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Content of Aqua ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Click here to see the complete list]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Content of vcl/inc&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Notes: &lt;br /&gt;
&lt;br /&gt;
1) Where to find includes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;foo/bar.hxx&amp;gt; means you can find bar.hxx in the foo module. The new style file is foo/inc/foo/bar.hxx, old style is foo/inc/bar.hxx and sometimes the file is somewhere else in the tree or generated. The deliver process copies/generates the file into solver at solver/680/build_type/inc/foo. Good for fixing broken builds. ;-)&lt;br /&gt;
&lt;br /&gt;
2) &lt;br /&gt;
suffix .h (for C calls or first version?) or .hxx (C++) &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;A) Family of includes&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
Looking more closely at the list brings to the fore (expression from dictionary ;-) ) that include names are&lt;br /&gt;
informatives. Most of the time, the name gives the function/role.&lt;br /&gt;
What is interesting is the files with name begining with &amp;quot;sal&amp;quot;. sal means System Abstraction Layer + include&amp;#039;s function (or explicit name). &lt;br /&gt;
&lt;br /&gt;
Partial list, for example:&lt;br /&gt;
&lt;br /&gt;
salatype.hxx&lt;br /&gt;
&lt;br /&gt;
salbmp.hxx&lt;br /&gt;
&lt;br /&gt;
salctrlhandle.hxx&lt;br /&gt;
&lt;br /&gt;
salctype.hxx&lt;br /&gt;
&lt;br /&gt;
salframe.hxx&lt;br /&gt;
&lt;br /&gt;
salgdi.hxx&lt;br /&gt;
&lt;br /&gt;
salgeom.hxx&lt;br /&gt;
&lt;br /&gt;
sallayout.hxx (main header for fonts services)&lt;br /&gt;
...&lt;br /&gt;
salmenu&lt;br /&gt;
salnativewidgets&lt;br /&gt;
...etc&lt;br /&gt;
&lt;br /&gt;
Other important families are &amp;quot;sv&amp;quot; and &amp;quot;uno&amp;quot; or &amp;quot;win&amp;quot; (window) prefixed. sal family will be analysed apart.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B) Includes of includes&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Some includes are more important than other. To prove this, just have a look is sufficient: some are always needed, and some more rarely.&lt;br /&gt;
&lt;br /&gt;
To verify, a simple test to do in vcl/inc:&lt;br /&gt;
&lt;br /&gt;
egrep -H &amp;quot;#include&amp;quot; ./* | wc -l  gives me 681 lines ! And some of them are the same...&lt;br /&gt;
&lt;br /&gt;
To know more, the precedent command line can be modified to make appear the numerous call &lt;br /&gt;
to the same includes files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
egrep -H &amp;quot;#include&amp;quot; ./* | cut -d&amp;quot;#&amp;quot; -f2 | sort &amp;gt; liste.txt&lt;br /&gt;
&lt;br /&gt;
The content of liste.txt is explicit: dllapi.h, sv.h and some other are very important, while some other includes are only one or two times used. We can see too that vos includes are numerous, even if vos is deprecated**&lt;br /&gt;
&lt;br /&gt;
 **see http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m nearly sure that a complete analysis of just this result will give us a lot of information.&lt;br /&gt;
&lt;br /&gt;
I propose to change the order of analysis starting with dllapi.h and sv.h.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[to be continued]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B1) &amp;quot;sal&amp;quot; includes family&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[salinst.hxx]] This seems to be the main include file&lt;br /&gt;
&lt;br /&gt;
[[salatype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salctrlhandle.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salctype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salframe.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salgdi.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salgeom.hxx]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[ sallayout.hxx ]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;-- see Native Fonts implementation&lt;br /&gt;
&lt;br /&gt;
[[salgtype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[vcl/inc/salobj.hxx]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B2) Classicals includes&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
file: abstdlg.hxx [ means abstract dialog ]&lt;br /&gt;
&lt;br /&gt;
This includes does contain the following classes definitions:&lt;br /&gt;
&lt;br /&gt;
[FIXME] : choose a precise presentation template for classes &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
VclAbstractDialog,&lt;br /&gt;
&lt;br /&gt;
VclAbstractTerminateDialog, &lt;br /&gt;
&lt;br /&gt;
VclAbstractRefreshableDialog,&lt;br /&gt;
 &lt;br /&gt;
VclAbstractDialogFactory, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
uses &amp;lt;tools/solar.h&amp;gt; , &amp;lt;tools/string.hxx&amp;gt; + &lt;br /&gt;
&lt;br /&gt;
&amp;quot;dllapi.h&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note : dllapi.h is very interesting because when we have to find (for example) a library suffix, SAL_DLLEXTENSSION can replace all suffixes (every OS&amp;#039;s and archs). Just including sal/config.h does it ! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
Window -&amp;gt; what? [FIXME]&lt;br /&gt;
ResId -&amp;gt; what?&lt;br /&gt;
&lt;br /&gt;
Does contain the prototype of VclAbstractDialog, inherit of VCL_DLLPUBLIC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
file: dllapi.h [ dll for dynamic linked library ]&lt;br /&gt;
Uses: &amp;lt;sal/config.h&amp;gt; and &amp;gt;sal/types/h&amp;gt;&lt;br /&gt;
includes: VCL_DLLPUBLIC macro&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
file: accel.h [ means accelerator ]&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
Accelerator &lt;br /&gt;
{&lt;br /&gt;
}&lt;br /&gt;
ImplAccelEntry &lt;br /&gt;
{&lt;br /&gt;
public members: &lt;br /&gt;
&lt;br /&gt;
Names&lt;br /&gt;
&lt;br /&gt;
mnId&lt;br /&gt;
maKeyCode&lt;br /&gt;
mpAccel&lt;br /&gt;
mpAutoAccel&lt;br /&gt;
mbEnabled&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function / returns / parameters&lt;br /&gt;
&lt;br /&gt;
ImplGetKeyCode / void / KeyFuncType eFunc, ref rCode1 , ref rCode2, ref rCode3&lt;br /&gt;
&lt;br /&gt;
file: accel.hxx &lt;br /&gt;
&lt;br /&gt;
Uses: &amp;lt;sv.h&amp;gt; , &amp;quot;dllapi.h&amp;quot; ,&amp;lt;tools/resid.hxx&amp;gt;, &amp;lt;&amp;lt;tools/rc.hxx&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
ImplAccelData;&lt;br /&gt;
ImplAccelEntry;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Progressive implementation]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Font server Implementation&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;[[Mac OS X Porting - Native Fonts]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Sound Implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native Audio and Video]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Printing Implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native_Printing]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Drag and Drop implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native Drag and drop]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Data Acquisition&amp;#039;&amp;#039;&amp;#039; : [[Mac OS X Porting - Data Acquisition]]&lt;br /&gt;
&lt;br /&gt;
This work is part of http://wiki.services.openoffice.org/wiki/Mac_OS_X_Porting_-_Work_Areas/Todo%27s&lt;br /&gt;
&lt;br /&gt;
[to be continued:-) ]&lt;br /&gt;
&lt;br /&gt;
== Keyboard comparizon between OpenOffice.org / Mac OS X  application ==&lt;br /&gt;
&lt;br /&gt;
[FIXME] redo a cleanest array &lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:centered; background-color:#F0F0F0;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#99CCFF; font-weight:bold;&amp;quot; &lt;br /&gt;
| Modifier||+ key  || Result || TextEdit  returns&lt;br /&gt;
|-&lt;br /&gt;
|ALT|| a||æ ||æ &lt;br /&gt;
|-&lt;br /&gt;
|ALT||b||ß ||ß&lt;br /&gt;
|-&lt;br /&gt;
|ALT||c||© ||©&lt;br /&gt;
|-&lt;br /&gt;
|ALT||d||∂ ||∂&lt;br /&gt;
|-&lt;br /&gt;
|ALT||e||ê ||ê&lt;br /&gt;
|-&lt;br /&gt;
|ALT||f||ƒ ||ƒ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||g ||ﬁ ||ﬁ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||h ||Ì ||Ì&lt;br /&gt;
|-&lt;br /&gt;
|ALT||i ||î ||î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||j ||Ï ||Ï&lt;br /&gt;
|-&lt;br /&gt;
|ALT||k ||È ||È&lt;br /&gt;
|-&lt;br /&gt;
|ALT||l ||¬ ||¬&lt;br /&gt;
|-&lt;br /&gt;
|ALT||m ||µ ||µ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||n ||~ ||~&lt;br /&gt;
|-&lt;br /&gt;
|ALT||o ||œ ||œ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||p ||π ||π&lt;br /&gt;
|-&lt;br /&gt;
|ALT||q ||‡ ||‡&lt;br /&gt;
|-&lt;br /&gt;
|ALT||r ||® ||®&lt;br /&gt;
|-&lt;br /&gt;
|ALT||s ||Ò ||Ò&lt;br /&gt;
|-&lt;br /&gt;
|ALT||t ||† ||†&lt;br /&gt;
|-&lt;br /&gt;
|ALT||u ||º ||º&lt;br /&gt;
|-&lt;br /&gt;
|ALT||v ||◊ ||◊&lt;br /&gt;
|-&lt;br /&gt;
|ALT||w ||‹ ||‹&lt;br /&gt;
|-&lt;br /&gt;
|ALT||x ||≈ ||≈&lt;br /&gt;
|-&lt;br /&gt;
|ALT||y ||Ú ||Ú&lt;br /&gt;
|-&lt;br /&gt;
|ALT||z ||Â ||Â&lt;br /&gt;
|-&lt;br /&gt;
|ALT||A ||Æ ||Æ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||B ||∫ ||∫&lt;br /&gt;
|-&lt;br /&gt;
|ALT||C ||¢ ||¢&lt;br /&gt;
|-&lt;br /&gt;
|ALT||D||∆||∆&lt;br /&gt;
|-&lt;br /&gt;
|ALT||F ||· ||·&lt;br /&gt;
|-&lt;br /&gt;
|ALT||G ||ﬂ ||ﬂ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||H ||Î ||Î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||I ||Î ||Î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||J ||Í ||Í&lt;br /&gt;
|-&lt;br /&gt;
|ALT||K ||Ë ||Ë&lt;br /&gt;
|-&lt;br /&gt;
|ALT||L || &amp;lt;pre&amp;gt;|&amp;lt;/pre&amp;gt; ||&amp;lt;pre&amp;gt;|&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|ALT||M ||Ó ||Ó&lt;br /&gt;
|-&lt;br /&gt;
|ALT||N ||ı ||ı&lt;br /&gt;
|-&lt;br /&gt;
|ALT||O ||Œ ||Œ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||P ||∏ ||∏&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Q ||Ω ||Ω&lt;br /&gt;
|-&lt;br /&gt;
|ALT||R ||‚ ||‚&lt;br /&gt;
|-&lt;br /&gt;
|ALT||S ||∑ ||∑&lt;br /&gt;
|-&lt;br /&gt;
|ALT||T ||™ ||™&lt;br /&gt;
|-&lt;br /&gt;
|ALT||U ||ª ||ª&lt;br /&gt;
|-&lt;br /&gt;
|ALT||V ||√ ||√&lt;br /&gt;
|-&lt;br /&gt;
|ALT||W ||› ||›&lt;br /&gt;
|-&lt;br /&gt;
|ALT||X ||⁄ ||⁄&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Y ||Ÿ ||Ÿ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Z ||Å ||Å&lt;br /&gt;
|-&lt;br /&gt;
|ALT||$ ||€ ||€&lt;br /&gt;
|-&lt;br /&gt;
|ALT||` ||@ ||@&lt;br /&gt;
|-&lt;br /&gt;
|ALT||£ ||# ||#&lt;br /&gt;
|-&lt;br /&gt;
|ALT||* ||¥ ||¥&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Sous réserve d&amp;#039;erreur ou omission [[User:Ericb|Ericb]] 00:05, 14 January 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Ericb|Ericb]] 15:00, 22 Jul 2005 (EDT)&lt;br /&gt;
&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:MacOSX]]&lt;br /&gt;
[[Category:Aqua]]&lt;/div&gt;</summary>
		<author><name>Damiend</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Damiend&amp;diff=25529</id>
		<title>User:Damiend</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Damiend&amp;diff=25529"/>
		<updated>2007-02-20T14:57:49Z</updated>

		<summary type="html">&lt;p&gt;Damiend: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= I&amp;#039;m not very well with English, so if you see some language errors, correct me ;-) =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=&amp;#039;&amp;#039;My contributions :&amp;#039;&amp;#039;=&lt;br /&gt;
==Trying to documentate SalFrame.cxx :==&lt;br /&gt;
&lt;br /&gt;
[[salframe]]&lt;/div&gt;</summary>
		<author><name>Damiend</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Ericb&amp;diff=25528</id>
		<title>User:Ericb</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Ericb&amp;diff=25528"/>
		<updated>2007-02-20T14:29:22Z</updated>

		<summary type="html">&lt;p&gt;Damiend: /* Sal Window */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Public Documentation License Notice==&lt;br /&gt;
&lt;br /&gt;
The contents of this Documentation (excepted Native Port Roadmap),are subject to the Public Documentation License Version 1.0 (the &amp;quot;License&amp;quot;); you may only use this Documentation if you comply with the terms of this License. A copy of the License is available at http://www.openoffice.org/licenses/PDL.html.&lt;br /&gt;
The Original Documentation is &amp;quot;Mac OS X native port&amp;quot;. The Initial Writer of the Original Documentation is (JCA) Eric Bachard (C) 2005-2006. All Rights Reserved. (Initial Writer contact(s): ericb@openoffice.org.)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Mac OS X Native port&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;messagebox cleanup metadata&amp;quot; style=&amp;quot;border:1px solid blue;background-color:#B3FFF5;padding:7px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The first Mac OS X native port objective is make OpenOffice.org run without X11 use, to make it a real Mac application.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The second one is respect Aqua Human interface Guidelines&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; This is a long term work, and every help and/or contributions, like donations** are welcome.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 **see http://contributing.openoffice.org/index.html&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Native Port Roadmap&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
===&amp;#039;&amp;#039;&amp;#039;2006&amp;#039;&amp;#039;&amp;#039;===&lt;br /&gt;
&lt;br /&gt;
* June 2006: work in progress &lt;br /&gt;
&lt;br /&gt;
- Basis: frame, instances, threads, drawing, painting, resizing (Stephan Schaefer, Tino Rachui)&lt;br /&gt;
&lt;br /&gt;
 Done: &lt;br /&gt;
 implement threads&lt;br /&gt;
 create, manage instance&lt;br /&gt;
 create, manage windows (including parents)&lt;br /&gt;
 create, manage events&lt;br /&gt;
 create manage drawing, resizing&lt;br /&gt;
 create, add menus (Pavel Janik)&lt;br /&gt;
 toggle window fullscreen (Pierre de Filippis)&lt;br /&gt;
 make font server work (Stephan Schaefer)&lt;br /&gt;
&lt;br /&gt;
* Current status font support (Stephan Schaefer, 2006/07/28): the following features are basically working now&lt;br /&gt;
** font selection&lt;br /&gt;
** font size&lt;br /&gt;
** simple font attributes (bold, italic)&lt;br /&gt;
&lt;br /&gt;
 Next step: document first part, and propose design&lt;br /&gt;
&lt;br /&gt;
- native filepicker (Pavel Janik, Florian Heckl)&lt;br /&gt;
&lt;br /&gt;
- native printing implementation (Oliver?)&lt;br /&gt;
&lt;br /&gt;
- native font implementation (Eric Bachard)&lt;br /&gt;
&lt;br /&gt;
* September 2006: &lt;br /&gt;
&lt;br /&gt;
- first proofs of concept: fonts, filepicker .. (more?)&lt;br /&gt;
- show the results (OOoCon 2006?)&lt;br /&gt;
&lt;br /&gt;
===&amp;#039;&amp;#039;&amp;#039;2007&amp;#039;&amp;#039;&amp;#039;===&lt;br /&gt;
&lt;br /&gt;
* January 2007: first alpha implementation&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Strategy for native port&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Possible Actions&amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
Identify us:&lt;br /&gt;
&lt;br /&gt;
#Complete the arrays below&lt;br /&gt;
#Update photos on frapr.com?&lt;br /&gt;
&lt;br /&gt;
Share the work:&lt;br /&gt;
&lt;br /&gt;
#Divide the work between little Teams&lt;br /&gt;
#Update Todo list regularly -&amp;gt; needs some love these days ... [http://wiki.services.openoffice.org/wiki/Mac_OS_X_Porting_-_Work_Areas/Todo%27s]&lt;br /&gt;
&lt;br /&gt;
Help:&lt;br /&gt;
&lt;br /&gt;
#Teach tools between us&lt;br /&gt;
#Do a debug party on IRC&lt;br /&gt;
#write documentation&lt;br /&gt;
&lt;br /&gt;
Meet us:&lt;br /&gt;
&lt;br /&gt;
#IRC&lt;br /&gt;
#Mac Meeting (like nov2005 in Hamburg?)&lt;br /&gt;
&lt;br /&gt;
Inform:&lt;br /&gt;
&lt;br /&gt;
#Update website regularly&lt;br /&gt;
#Blogs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHO&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
Mac Team:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:left; background-color:#efefef;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#d6d6d6;font-weight:bold;&amp;quot; &lt;br /&gt;
|Developer \ skills || build || write code || code review || debug/trace (higher is better) || contribute to documentation ||&lt;br /&gt;
|-&lt;br /&gt;
|ericb|| x || x || || 1 || x ||&lt;br /&gt;
|-&lt;br /&gt;
|pjanik|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|ssa|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|maho|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|tinor|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|schmidtm|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|ebischoff|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|obr|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|cl|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|aliscafo|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|fheckl|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Fridrich|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|plipli|| || x || || || x ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Other resources&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
fonts: ?&lt;br /&gt;
&lt;br /&gt;
events: ?&lt;br /&gt;
&lt;br /&gt;
QA: ?&lt;br /&gt;
&lt;br /&gt;
graphical: ?&lt;br /&gt;
&lt;br /&gt;
Communication: ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHAT&amp;#039;&amp;#039;&amp;#039;: Status of most important tasks&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:left; background-color:#efefef;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#d6d6d6;font-weight:bold;&amp;quot; &lt;br /&gt;
| Task || Names|| Urgency (1=higher)|| Work in Progress || Done || Code review || Debug || Integration || &lt;br /&gt;
|-&lt;br /&gt;
|Get rid of X11||done || 1 || x || x || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Bundle|| || 1 || x || || || || | ||&lt;br /&gt;
|-&lt;br /&gt;
|Drawing|| || 1 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Fonts||plipli || 1 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Events management|| || 2 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Controls (see list) ||ericb, aliscafo || 2 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native FilePicker||Florian Heckl, Pavel Janik || 3 || x || x || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native Printing||Yvan Barthelemy || 3 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native SpellChecker|| || 4 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Player||Mox Soini || 4 || x || || || || || ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other tasks:&lt;br /&gt;
&lt;br /&gt;
Help for writing bug lists, status of bugs ..etc&lt;br /&gt;
&lt;br /&gt;
Write howto use gdb, leaks, other tools&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHEN&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
From Christian Lippka (last meeting, 25th of august 2006): &lt;br /&gt;
 Aug 26 00:21:38 ChristianL&lt;br /&gt;
 from my point of view what is missing for point 1:&lt;br /&gt;
 text layout, complete font support, keyboard support,&lt;br /&gt;
 fixing repaint issues, having aqua install and run out of the box&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;September 2006&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Present the current state of the project at the 2006 OpenOffice conference in Lyon and Paris&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Late 2006&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
fix OpenOffice.org launch&lt;br /&gt;
fix drawing (repainting)&lt;br /&gt;
Implement missing methods and fix most important bugs (mainly the one leading to crash) in:&lt;br /&gt;
ATS&lt;br /&gt;
Salgraphics&lt;br /&gt;
Salinstance&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;January or February 2007&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
make Java work (works partially)&lt;br /&gt;
make intensive debug&lt;br /&gt;
present something working as alpha&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;June 2007	&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Implementation of:&lt;br /&gt;
native filepicker&lt;br /&gt;
native printing&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;2nd Mac porters meeting&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[2nd Mac porters meeting]]&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;IRC Mac port meetings&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[MacOSXPortMeetings]].&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Mac OS X (X11) Quality Assurance&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[Mac OS X ( X11) Quality Assurance]]&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Debug OpenOffice.org using XCode &amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
[[ MacOSX Debug OpenOffice.org using XCode]]&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Description of the Native Port problem&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
=== How does OpenOffice.org work on Mac OS X? ===&lt;br /&gt;
&lt;br /&gt;
Currently, on Mac OS X, OpenOffice.org uses X11, as &amp;quot;client&amp;quot;: X11 is a graphical server, coming from Unix world, and able to run under Linux, *BSD, Solaris, Mac OS X.&lt;br /&gt;
&lt;br /&gt;
 - X11 is run as an application, managed like other Apple applications.&lt;br /&gt;
 - All unix like applications are managed by X11, and from Aqua environment, only X11 is seen as only one applicatiion, &lt;br /&gt;
  even if other Unix/Linux (e.g.) applications are runing.&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org asks X11 to display a window, waits for X11 acknowledgment, and OpenOffice.org displays the window. All transactions use the network, locally or not. the same mechanism is used for everything to be displayed.&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
=== Issues and known problems ===&lt;br /&gt;
&lt;br /&gt;
All events are managed by OpenOffice.org and X11, using the Xlib&lt;br /&gt;
&lt;br /&gt;
Only .ttf fonts type is currently available. Note: &amp;#039;&amp;#039;&amp;#039;system fonts are available &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The rendering is made by X11, not by Mac OS X rendering engine.&lt;br /&gt;
&lt;br /&gt;
X11 and all its clients are seen as one application only: drag and drop protocol does not work because of that (solution: Pasteboard Manager)&lt;br /&gt;
&lt;br /&gt;
==== Other links ====&lt;br /&gt;
&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/List_of_OpenOffice.org_Mac_OS_X_issues_and_problems#&lt;br /&gt;
&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Printing_problems_with_OpenOffice.org_2.0_for_Mac_OS_X#Reporting_printing_problems&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== What do we have to do?==&lt;br /&gt;
&lt;br /&gt;
* Implement direct access to Apple graphical engine, using Apple API: Quartz2D/CoreGraphics (and replacing Xlib use)&lt;br /&gt;
&lt;br /&gt;
like: instantiate, manage events and threads for a graphical instance + all needed objects, drawing: manage all drawing cases&lt;br /&gt;
&lt;br /&gt;
* Implement native events management, using CarbonEventManager (replacing Xlib management)&lt;br /&gt;
&lt;br /&gt;
* Implement native font use, using Apple Type Server and ATSUI (for Unicode Imagery) (replacing X11 management)&lt;br /&gt;
&lt;br /&gt;
Work in progress: [[Mac OS X Porting - Native Fonts]]&lt;br /&gt;
&lt;br /&gt;
* Implement native sound, using QuickTime (replacing Java Media Framework): [[Mac OS X Porting - Native Audio and Video]]&lt;br /&gt;
&lt;br /&gt;
* Implement native Drag and drop, Implementing Pasteboard Manager: [[Mac OS X Porting - Native Drag and drop]]&lt;br /&gt;
&lt;br /&gt;
* Implement Native Filepicker&lt;br /&gt;
&lt;br /&gt;
* Implement Native Printing: current uses cups, but native printing is mandatory: [[Mac OS X Porting - Native_Printing]]&lt;br /&gt;
&lt;br /&gt;
* Implement Apple Spellchecker&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Where is located the code to be modified?&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
Most of the changes are located in vcl (Visual Class Layer), for everything graphical, events, fonts, rendering and printing.&lt;br /&gt;
&lt;br /&gt;
Other, for sound and movies will be in avmedia (where the player is implemented in OpenOffice.org sources).&lt;br /&gt;
&lt;br /&gt;
For drag and drop, dtrans is concerned (Pasteboard Manager implementation)&lt;br /&gt;
&lt;br /&gt;
[FIXME]: Filepicker? Apple Spellchecker?&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;How will the new implementation be tested?==&lt;br /&gt;
&lt;br /&gt;
Currently, all openOffice.org code can be compiled without using the Xlib. but of course, a lot of features are missing,&lt;br /&gt;
&lt;br /&gt;
and the final package simply won&amp;#039;t work&lt;br /&gt;
&lt;br /&gt;
In vcl module&amp;quot;, a &amp;#039;&amp;#039;&amp;#039;toy&amp;#039;&amp;#039;&amp;#039; called svdem is built at buildtime. This binary is linked to libvcl* and so all new stuff can be tested.&lt;br /&gt;
&lt;br /&gt;
e.g. : draw anti-aliased lines works well. &lt;br /&gt;
&lt;br /&gt;
Everything implemented in aqua vcl code will be included in libvclplug_aqua, and svdem source code will contain a specific part to proceed tests.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;messagebox cleanup metadata&amp;quot; style=&amp;quot;border:1px solid blue;background-color:#B3FFF5;padding:7px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The magic is: when all needed features will work with svdem, it will work in the new version of OpenOffice.org !!&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[FIXME]: add more complete list of features to implement and test.&lt;br /&gt;
&lt;br /&gt;
== AquaVCL 01 cws ==&lt;br /&gt;
&lt;br /&gt;
[[http://qa.openoffice.org/issues/buglist.cgi?keywords=aqua Top 10 of Aqua issues]]&lt;br /&gt;
&lt;br /&gt;
[[Aquavcl01 tasks]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===recent changes ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recent Changes &lt;br /&gt;
&lt;br /&gt;
[done] fix nRepeat in text entry  (ssa)&lt;br /&gt;
&lt;br /&gt;
[done] fix missing mouse events  (pjanik)&lt;br /&gt;
&lt;br /&gt;
[done] pushbutton where not correctly drawn (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] fix alpha channel in pixmaps (ismael)&lt;br /&gt;
&lt;br /&gt;
[done] fix correct size for main window (GetOoptimaWindowSize()  ) (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] replace obsolete code in salframe.cxx with (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] add new feature for Aqua windows, to allow QuickTime player use( mox )&lt;br /&gt;
&lt;br /&gt;
[done] add mouse drag events  ( pjanik )&lt;br /&gt;
&lt;br /&gt;
[done] modify libsalsystools.dylib to be correctly loaded with the bundle  (ericb, + pjanik)&lt;br /&gt;
&lt;br /&gt;
[done] implement mapfiles for Mac OS X (Stephan Bergmann, Daniel Boelzle, Tino Rachui , Pavel Janik)&lt;br /&gt;
&lt;br /&gt;
[done] fix scrollbar buttons (implement correct methods to retrieve dimensions)&lt;br /&gt;
&lt;br /&gt;
[done] fix checkbuttons and radiobuttons issues: offsets, redrawing of the check marks ( ericb) &lt;br /&gt;
&lt;br /&gt;
[done, not commited] implement UpdateSettings()   (ericb) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Work in progress : &lt;br /&gt;
&lt;br /&gt;
Bitmaps : ( isma87) &lt;br /&gt;
&lt;br /&gt;
Crashes : (tino, pjanik, ericb, isma87 )&lt;br /&gt;
&lt;br /&gt;
Drag and drop :   (vijay)&lt;br /&gt;
&lt;br /&gt;
Printing   (ybart)  &lt;br /&gt;
&lt;br /&gt;
Drawing/ windowing  ( tino )&lt;br /&gt;
&lt;br /&gt;
Implement cursor (ericb) &lt;br /&gt;
&lt;br /&gt;
Native Controls  (ericb) &lt;br /&gt;
&lt;br /&gt;
[work in progress] partial multiline sallayout  (plipli )&lt;br /&gt;
&lt;br /&gt;
To do : &lt;br /&gt;
&lt;br /&gt;
(started, Oliver) - modify the tree to make the bundle start without hack ( issue fixed during buildtime) &lt;br /&gt;
&lt;br /&gt;
(started, Florian Heckl)  verify Native FilePicker implementation ( works , tested in Hamburg  )&lt;br /&gt;
&lt;br /&gt;
(started Ismaek Merzaq)  implement blit functions in salgdi  ( important fix:  probably apha version to be tested once done) &lt;br /&gt;
&lt;br /&gt;
( started Sebastien Plisson- update the missing functions list ( fonts ... ask hdu &amp;amp; cl    ) &lt;br /&gt;
&lt;br /&gt;
( started, ericb, Mox Soini, Sebastien Plisson)  continue to replace obsolete code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
URGENT :&lt;br /&gt;
&lt;br /&gt;
(work in progress) event issue when tips is enabled causes crashes ( well known window / handler  / window desctructor / event loop bug )&lt;br /&gt;
&lt;br /&gt;
fix crashes with menus  (started : tino ) &lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Sort of documentation about VCL around Native Mac OS X port&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Do we really need to understand how it works? ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
vcl content:&lt;br /&gt;
&lt;br /&gt;
ls -laR | wc -l&lt;br /&gt;
  1750&lt;br /&gt;
&lt;br /&gt;
-&amp;gt; Uff 1750 files to analyse :-/&lt;br /&gt;
&lt;br /&gt;
Our purpose is to describe the vcl organisation. The content of vcl is so important, that at the begining, the content will looks a bit confused. e.g. class names ..etc have nothing to do, only description with words and sense, but this will need some time before we can understand everything.&lt;br /&gt;
&lt;br /&gt;
How analyse with more efficiency? After some months to anlalyse &amp;#039;&amp;#039;&amp;#039;&amp;quot;horizontaly&amp;quot;&amp;#039;&amp;#039;&amp;#039;, it appears that list all the content of a directory is not the solution. Of course, we learned a lot, but we now have to complete with &amp;#039;&amp;#039;&amp;#039;&amp;quot;orthogonal&amp;quot;&amp;#039;&amp;#039;&amp;#039; method (compared to the previous one). The first method wasn&amp;#039;t obviously not the good/best way to describe vcl.&lt;br /&gt;
 &lt;br /&gt;
[UPDATE] After some investigations, the use of Design patterns seems to be the most efficient approach to describe vcl. Will try to do so asap.&lt;br /&gt;
&lt;br /&gt;
[FIXME] a different approach (will ask confirmation to Philipp Lohman), could be a description of how it work in runtime. First define what an instance is, a frame, and what exactly is concerned by such &amp;quot;objects&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
With that, we can write a list of different objects all using the same scheme: empty boxes (means pure virtual methods and classes in generic libvvcl), really implemented in the specific part, and finally, the API &amp;quot;encapsulated&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The most difficult is to see where the API is used. But for all the parts, this is the same.&lt;br /&gt;
&lt;br /&gt;
Finally, &amp;#039;&amp;#039;&amp;#039;what is important is the design of vcl&amp;#039;&amp;#039;&amp;#039;. Which &amp;#039;&amp;#039;&amp;#039;patterns&amp;#039;&amp;#039;&amp;#039; are used? What are the dependencies, how works the stack for the events, how works the scheduler, the timers too is very important, even fundamental for Aqua implementation. Will have a look at gsl mailing list, and other resources. Probably everything is already (randomly) written somewhere.&lt;br /&gt;
&lt;br /&gt;
=== VCL organisation ===&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s to Philipp Lohmann for this short, but precise description:&lt;br /&gt;
&lt;br /&gt;
Basically vcl is divided in the system dependent and the system independent part. The interface between these two is mostly the Sal interface (every interface name Sal*: SalInstance, SalFrame, SalGraphics, SalPrinter, etc.).&lt;br /&gt;
&lt;br /&gt;
SalInstance is a factory that can create all the other abstracted interfaces of the system dependent part. It also provides the main loop SalInstance::Yield()&lt;br /&gt;
&lt;br /&gt;
SalFrame abstracts any kind of system window.&lt;br /&gt;
&lt;br /&gt;
SalVirtualDevice abstracts an offscreen window (e.g. a Pixmap on X11)&lt;br /&gt;
&lt;br /&gt;
SalPrinter and SalInfoPrinter abstract the system print queues where SalInfoPrinter is for querying and SalPrinter for actual printing.&lt;br /&gt;
&lt;br /&gt;
SalGraphics is an interface produced by either SalFrame, SalVirtualDevice or SalPrinter which is used for actual drawing operations (text, bitmaps, vector graphics)&lt;br /&gt;
&lt;br /&gt;
SalSound is for sound playing.&lt;br /&gt;
&lt;br /&gt;
SalBitmap provides memory for bitmap graphics as well as methods converting this memory to a system handle (e.g. a Pixmap on X11).&lt;br /&gt;
&lt;br /&gt;
SalOpenGL provides OpenGL functionality if available.&lt;br /&gt;
&lt;br /&gt;
SalTimer is an interface for periodically triggering the event queue (to timer implementation).&lt;br /&gt;
&lt;br /&gt;
SalI18NImeStatus handles how the status window of an Input Method Editor (IME) should display (this is mainly X11 specific).&lt;br /&gt;
&lt;br /&gt;
SalSystem has some system specific methods that did not belong anywhere else:-)&lt;br /&gt;
&lt;br /&gt;
Of all these there interfaces is at least one implementation per system (Windows, X11 or Mac). The Unix implementation also has a plugin concept to allow for integration of different native toolkits (currently gtk and Qt) which became necessary for the implementation of Native Widget Framework (NWF) to display controls like their normal desktop counterparts.&lt;br /&gt;
&lt;br /&gt;
Basically the independent part (what is beneath vcl/source directory) has generic methods for drawing, window handling and stuff which it brings into a suitable form and then delegates to the system specific implementation (located beneath vcl/win for Windows and vcl/unx for the X11 platforms).&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 16:12, 1 July 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
===Sub-directories description ===&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;Organisation of vcl directories&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
&lt;br /&gt;
[[Image:aquavcl_organisation_complete_02.jpg]]&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;Directories in vcl. Short description&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; aqua &amp;#039;&amp;#039;&amp;#039;: The name Aqua means Apple look and feel, and is well known as [http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGIntro/chapter_1_section_1.html Aqua Human Interface Guidelines]. This look and feel means Mac OS X. The work was begun by (probably) P. luby, Dan Williams Herbert Duerr (most of fonts stuff) and Ed Peterlin. Currently in ruin, this directory does contain a lot of ideas to investigate. The most important part of needed changes for native version (3.0) will be done inside aqua dir inc: does contain all vcl relative includes [PART1]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; prj &amp;#039;&amp;#039;&amp;#039;: Does contain build.lst and d.lst build.lst give us dependencies: probably a lot for vcl, build 98th module over ~148. Everything graphical depends in vcl. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; qa &amp;#039;&amp;#039;&amp;#039; does contain all quality assurancy stuff&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;source&amp;#039;&amp;#039;&amp;#039;: the most important:-) This directory contains common sources for all architectures and OS. Mainly: Windows, Unix: Linux , Mac OS X (X11), Solaris, including generic, kde and gtk plugins, and Aqua (Mac OS X without X11, work currently in progress). &lt;br /&gt;
&lt;br /&gt;
Depending on the OS and the architecture, binaries are built or not.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; test &amp;#039;&amp;#039;&amp;#039;: This directory does contain all the needed stuff for tests. As example, in qa/testdocuments, you&amp;#039;ll find three documents (one writer, one calc and one impress) for tests purpose. &lt;br /&gt;
Other available tests are about memcheck and persistent window state. &lt;br /&gt;
 &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; unx &amp;#039;&amp;#039;&amp;#039;: this directory does contain all unixes stuff. We have to understand what is inside to implement aqua port. For example, a lot of classes/strutures and objects use Xlib calls we have to replace with Carbon/Cocoa call (at least at first time) for Mac OS X native port.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; win &amp;#039;&amp;#039;&amp;#039;: Doing Mac OS X native port, I first believed this directory was not interesting for us, but I was wrong: OpenOffice.org roots are inside this directory, and a lot of comments and resources are inside. Mainly interesting if Carbon is used.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;workben&amp;#039;&amp;#039;&amp;#039;: Does contain a toy called &amp;quot;svdem&amp;quot;. svdem is a binary, used for new implementations. For example, actual aqua development uses svdem intensively, to verify all important properties we need: &lt;br /&gt;
&lt;br /&gt;
- display a window first (al least ...:)) &lt;br /&gt;
&lt;br /&gt;
- close cleanly this window&lt;br /&gt;
&lt;br /&gt;
- display a point&lt;br /&gt;
&lt;br /&gt;
- trace a line&lt;br /&gt;
&lt;br /&gt;
- trace an area &lt;br /&gt;
&lt;br /&gt;
- superpose two areas doing some important graphical operations, (like xor),&lt;br /&gt;
&lt;br /&gt;
- display a character&lt;br /&gt;
&lt;br /&gt;
- display a menu. &lt;br /&gt;
&lt;br /&gt;
- intercept events correctly.&lt;br /&gt;
&lt;br /&gt;
[FIXME] add more tests&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 13:21, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Naming convention&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* Class names start with upper case letters, to improve readability.&lt;br /&gt;
&lt;br /&gt;
* Implemented Class names are derived from the virtual classes but can of course take arbitrary names.&lt;br /&gt;
To increase readability, it&amp;#039;s recommended to closely follow the base class name.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Impl prefix: means Implementation details&amp;#039;&amp;#039;&amp;#039;. The concerned class or method or function is not used outside of this module, so no external code (or other libraries) can see it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[ Events types using Carbon API (Mac OS X): ]]&amp;#039;&amp;#039;&amp;#039; A lot of events have to be managed in runtime. Here is a short description&lt;br /&gt;
&lt;br /&gt;
- do not freeze because bad event loops&lt;br /&gt;
&lt;br /&gt;
- event types implementation: currently, they are defined in vcl/aqua/inc/aquavclevents.hxx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Apart: exact sense of hedabu? -&amp;gt; [FIXME] as far as I understood it: it is like &amp;quot;copy&amp;quot; to deliver software into the solver, with extra magic. The header files for example are manipulated so paths need not be exact. &amp;quot;headabu&amp;quot; is supposed to disappear little by little.&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;What do we have to build in vcl?&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
Two libraries, corresponding ressources (localized) and a toy so called « svdem »&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Common part&amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
in grey on right. The result will be a non architecture dependant library, built in all cases: for instance, libvcl680mxi.dylib on Mac Intel.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Specific part  &amp;quot; a plugin &amp;quot; &amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
Light yellow: aqua part will only concern Mac OS X (non X11) the name will probably be libvcl_aqua680mxi.dylib &lt;br /&gt;
&lt;br /&gt;
As you can see, win means windows part, in blue&lt;br /&gt;
&lt;br /&gt;
For Unix build (Linux, Solaris or current Mac OS X X11), in purple.&lt;br /&gt;
&lt;br /&gt;
Result will be:&lt;br /&gt;
&lt;br /&gt;
libvclplug_PLUGIN680mxi.DLLSUFFIX , where PLUGIN can be iether gen (generic) or gtk (using gtk+) or kde (using qt), and DLLSUFFIX can be either .so (linux) or .dylib (Mac OS X) ...etc (I&amp;#039;m not sure for other cases).&lt;br /&gt;
&lt;br /&gt;
Example: libvcl680mxi.dylib and libvclplug_aqua680mxi.dylib&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In runtime&amp;#039;&amp;#039;&amp;#039;, libvclplug_aqua will be linked to libvcl680. the first one will contain the real implementation (respecting the API, e.g. Carbon) while the generic libvcl will only contain pure virtual methods ...etc like &amp;quot;empty boxes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Current Aqua content ===&lt;br /&gt;
&lt;br /&gt;
A more complete description of aqua (Mac OS X / no X11 specific): [[Image:Vcl_aqua_organisation_02_tree.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==EXISTING objects to build in aqua==&lt;br /&gt;
&lt;br /&gt;
===Sal APP &amp;quot;everything application&amp;quot;===&lt;br /&gt;
&lt;br /&gt;
[FIXME] add all objects descriptions&lt;br /&gt;
&lt;br /&gt;
==== saldata ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Defined in plugin exclusively&amp;#039;&amp;#039;&amp;#039; (i.e. for headers)&lt;br /&gt;
&lt;br /&gt;
Unix: unx/source/app/saldata.cxx (header in unx/inc)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Aqua: aqua/source/app/saldata.cxx (header in win/inc)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Windows: win/source/app/saldata.cxx (header in aqua/inc)&lt;br /&gt;
&lt;br /&gt;
* Role: saldata contains various kind of data used by the implementation for the concerned platform. &amp;#039;&amp;#039;&amp;#039;It is a bunch of global data collections reserved for the platform&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
It is just completely platform dependent, and nobody except this plugin can see it.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Saldata is something like a &amp;quot;second sal&amp;quot;, but providing an abstraction regarding windowing and graphics&amp;#039;&amp;#039;&amp;#039;, while SAL module provides an abstraction more Operating System oriented) &lt;br /&gt;
&lt;br /&gt;
e.g. : have a look at XRequest array in vcl/unx/source/app/saldata.cxx =&amp;gt; all calls are for Xlib (X11).  Ok, useless there, but interesting:-)&lt;br /&gt;
&lt;br /&gt;
[FIXME]: use Windows implementation could be a good starting point. Nothing is the same, but the current aquavcl cws uses similar objects, and it works very correctly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
saldatax.cxx uses classes SalInstance, SalObject, SalFrame, SalVirtualDevice, SalPrinter and fontList.&lt;br /&gt;
&lt;br /&gt;
Current list of possible objects who can be instantiated/released:&lt;br /&gt;
&lt;br /&gt;
structure SalData: does contain pointers on all kind of objects from other classes used in saldata.&lt;br /&gt;
&lt;br /&gt;
inline functions: [FIXME]: complete the description&lt;br /&gt;
&lt;br /&gt;
- SetSalData:&lt;br /&gt;
- GetSalData:&lt;br /&gt;
- GetAppSalData:&lt;br /&gt;
&lt;br /&gt;
==== salinst ====&lt;br /&gt;
&lt;br /&gt;
=&amp;gt; implemented in vcl/aqua/source/app/salinst.cxx&lt;br /&gt;
&lt;br /&gt;
Role: &lt;br /&gt;
&lt;br /&gt;
* get environment, mutexes, instantiate AquaSalInstance (Ctor, Dtor),&lt;br /&gt;
&lt;br /&gt;
* instantiates/releases a lot of other objects using Get() / CreateObject() / DestroyObject() methods.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Current list of possible objects who can be instantiated/released:&lt;br /&gt;
&lt;br /&gt;
 * VirtualDevice [FIXME]: exact role?&lt;br /&gt;
&lt;br /&gt;
 *Printer  &lt;br /&gt;
&lt;br /&gt;
- GetDefaultPrinter/ CreatePrinter() / DestroyPrinter - what a name ;-) -&lt;br /&gt;
&lt;br /&gt;
- InfoPrinter (Get/Create/Delete)&lt;br /&gt;
&lt;br /&gt;
- PrinterQueue (DeletePrinterQueueInfo / GetPrinterQueueInfo / GetPrinterQueueState)&lt;br /&gt;
&lt;br /&gt;
 * System (Create / Delete) [FIXME]: what means system here?&lt;br /&gt;
&lt;br /&gt;
 * Events: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::SetEventCallback()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::SetErrorEvenCallback()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::GetConnectionIdentifier()&lt;br /&gt;
&lt;br /&gt;
 * Menu / MenuItem: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateMenu() / same for DestroyMenu()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateMenuItem / same DestroyMenuItem()&lt;br /&gt;
&lt;br /&gt;
 * Sound: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateSalSound()  =&amp;gt; object to a pointer of SalSound type&lt;br /&gt;
&lt;br /&gt;
Note: AquaSalInstance::DestroySalSound is not implemented (?)&lt;br /&gt;
&lt;br /&gt;
 * Timer: CreateTimer() /&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance:: DestroyTimer() is not yet implemented (?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Class MacImeStatus: inherits of SalI18NImeStatus&lt;br /&gt;
&lt;br /&gt;
-&amp;gt; only there to see if there is a window to toggle into menubar [FIXME]??&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateI18NImeStatus(): instantiates MacImeStatus&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;For futher informations, see: &amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;[[Content of salinst.cxx]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
([[User:Ericb|Ericb]] 16:11, 20 May 2006 (CEST) )&lt;br /&gt;
&lt;br /&gt;
==== salmain ====&lt;br /&gt;
&lt;br /&gt;
Role: if possible, runs the standard vcl application code SVMain()&lt;br /&gt;
&lt;br /&gt;
([[User:Ericb|Ericb]] 16:15, 20 May 2006 (CEST))&lt;br /&gt;
&lt;br /&gt;
==== salsound ====&lt;br /&gt;
&lt;br /&gt;
==== salsys ====&lt;br /&gt;
&lt;br /&gt;
==== saltimer ====&lt;br /&gt;
&lt;br /&gt;
=== Sal GDI (everything Graphical Display Interface) ===&lt;br /&gt;
&lt;br /&gt;
====salgdinativewidgets====&lt;br /&gt;
&lt;br /&gt;
[[native controls]]&lt;br /&gt;
&lt;br /&gt;
==== salatslayout ====&lt;br /&gt;
&lt;br /&gt;
==&amp;gt; implemented in vcl/aqua/source/gdi/salatslayout.cxx&lt;br /&gt;
&lt;br /&gt;
- Handle text layouting :&lt;br /&gt;
&lt;br /&gt;
    * Use ATSUI (ATSUCreateTextLayoutFromPtr) to layout the text unicode char buffer&lt;br /&gt;
    * Use ATSUI (ATSU..) to get informations about glyphs&lt;br /&gt;
    * Populate different arrays (mpGlyph2Chars, mpChars2Glyph, mpCharsWidths, mpGlyphAdvances)&lt;br /&gt;
      that are used in various methods.&lt;br /&gt;
&lt;br /&gt;
==== salatsuiutils ====&lt;br /&gt;
&lt;br /&gt;
==== salfontutils ====&lt;br /&gt;
&lt;br /&gt;
==== salmathutils ====&lt;br /&gt;
&lt;br /&gt;
==== sal bmp ====&lt;br /&gt;
&lt;br /&gt;
==== salvd ====&lt;br /&gt;
&lt;br /&gt;
==== salpixmaputils====&lt;br /&gt;
&lt;br /&gt;
==== salprn ====&lt;br /&gt;
&lt;br /&gt;
====salrectangle====&lt;br /&gt;
&lt;br /&gt;
==== salvd ====&lt;br /&gt;
&lt;br /&gt;
=== Sal Window===&lt;br /&gt;
&lt;br /&gt;
==== salframe ====&lt;br /&gt;
&lt;br /&gt;
====salobj====&lt;br /&gt;
&lt;br /&gt;
== TO BE IMPLEMENTED (missing in Aqua)==&lt;br /&gt;
&lt;br /&gt;
===Audio===&lt;br /&gt;
&lt;br /&gt;
====audioconvert====&lt;br /&gt;
 (obsolete?) &lt;br /&gt;
&lt;br /&gt;
====devaudio====&lt;br /&gt;
(obsolete?)&lt;br /&gt;
&lt;br /&gt;
====native sound====&lt;br /&gt;
&lt;br /&gt;
====salimpsound====&lt;br /&gt;
&lt;br /&gt;
====vsound====&lt;br /&gt;
&lt;br /&gt;
===i18n===&lt;br /&gt;
&lt;br /&gt;
===keysymnames===&lt;br /&gt;
&lt;br /&gt;
===saldisp===&lt;br /&gt;
&lt;br /&gt;
===sm===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[FIXME]: is session manager usefull?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Native Controls&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
====Scrollbar====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Works as expected&amp;#039;&amp;#039;&amp;#039;. The most important work is done&lt;br /&gt;
&lt;br /&gt;
See : [[Mac_OS_X_Porting_-_Native_Controls#ScrollBar]]&lt;br /&gt;
&lt;br /&gt;
====DrawThemeButton() documentation====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Started&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
See : [[Mac_OS_X_Porting_-_Native_Controls#ComboBox]]&lt;br /&gt;
&lt;br /&gt;
Started&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DrawThemeButton&lt;br /&gt;
Draws a button.&lt;br /&gt;
&lt;br /&gt;
OSStatus DrawThemeButton (&lt;br /&gt;
   const Rect * inBounds,&lt;br /&gt;
   ThemeButtonKind inKind,&lt;br /&gt;
   const ThemeButtonDrawInfo * inNewInfo,&lt;br /&gt;
   const ThemeButtonDrawInfo * inPrevInfo,&lt;br /&gt;
   ThemeEraseUPP inEraseProc,&lt;br /&gt;
   ThemeButtonDrawUPP inLabelProc,&lt;br /&gt;
   UInt32 inUserData&lt;br /&gt;
);&lt;br /&gt;
Parameters&lt;br /&gt;
inBounds&lt;br /&gt;
A pointer to a structure of type Rect. Pass a rectangle specifying the boundary of the button, in local coordinates.&lt;br /&gt;
&lt;br /&gt;
inKind&lt;br /&gt;
A value of type ThemeButtonKind. Pass a constant specifying the type of button to draw. &lt;br /&gt;
See “Theme Buttons” for descriptions of possible values.&lt;br /&gt;
&lt;br /&gt;
inNewInfo&lt;br /&gt;
A pointer to a structure of type ThemeButtonDrawInfo. Before calling DrawThemeButton, &lt;br /&gt;
set the structure to contain the new state, value, and adornment for the button. &lt;br /&gt;
DrawThemeButton uses the information passed in the inNewInfo and inPrevInfo parameters&lt;br /&gt;
to apply transitional animation or sound effects as the button state changes, if such are &lt;br /&gt;
specified under the current theme.&lt;br /&gt;
&lt;br /&gt;
inPrevInfo&lt;br /&gt;
A pointer to a structure of type ThemeButtonDrawInfo. If the button state is changing,&lt;br /&gt;
set the structure to contain the previous state, value, and adornment for the button, &lt;br /&gt;
to allow DrawThemeButton to apply any transitional effects. If the button state is not &lt;br /&gt;
changing, you can pass NULL.&lt;br /&gt;
&lt;br /&gt;
inEraseProc&lt;br /&gt;
A value of type ThemeEraseUPP. If you have a custom background, use this parameter to pass&lt;br /&gt;
a universal function pointer to an application-defined function such as that described in &lt;br /&gt;
ThemeEraseProcPtr. DrawThemeButton calls this function to erase the background before drawing&lt;br /&gt;
 the button. If you pass NULL, DrawThemeButton&amp;#039;s default behavior is to erase the background&lt;br /&gt;
 for you.&lt;br /&gt;
&lt;br /&gt;
inLabelProc&lt;br /&gt;
A value of type ThemeButtonDrawUPP. If you pass a universal function pointer to an &lt;br /&gt;
application-defined function such as that described in ThemeButtonDrawProcPtr, DrawThemeButton&lt;br /&gt;
 calls that function to draw the label of the button. If you pass NULL, no label is drawn.&lt;br /&gt;
&lt;br /&gt;
inUserData&lt;br /&gt;
An unsigned 32-bit integer. Provide any data to be passed in to the callback functions specified in &lt;br /&gt;
the inLabelProc and inEraseProc parameters. Pass NULL if you do not wish to provide any data.&lt;br /&gt;
&lt;br /&gt;
Return Value&lt;br /&gt;
A result code. See “Appearance Manager Result Codes”.&lt;br /&gt;
&lt;br /&gt;
Discussion&lt;br /&gt;
The DrawThemeButton function draws a theme-compliant button. If a ThemeEraseProcPtr is &lt;br /&gt;
specified in the inEraseProc parameter, DrawThemeButton uses that function to erase the &lt;br /&gt;
background of the button before drawing the button. After the button is drawn, if a&lt;br /&gt;
ThemeButtonDrawProcPtr is specified in the inLabelProc parameter, DrawThemeButton calls&lt;br /&gt;
that function to draw the button’s label.&lt;br /&gt;
&lt;br /&gt;
Note that DrawThemeButton also draws any appearance adornments for the button and that these&lt;br /&gt;
can extend beyond the button’s basic bounding rectangle, as specified in the inBounds parameter,&lt;br /&gt;
and may be of variable shape. You may therefore wish to call the function&lt;br /&gt;
GetThemeButtonBackgroundBounds to obtain the actual rectangle containing the pixels belonging&lt;br /&gt;
to a button under the current theme.&lt;br /&gt;
&lt;br /&gt;
Version Notes&lt;br /&gt;
This function is available with Appearance Manager 1.1 and later.&lt;br /&gt;
&lt;br /&gt;
Availability&lt;br /&gt;
Available in CarbonLib 1.0 and later when Appearance 1.1 or later is present.&lt;br /&gt;
Available in Mac OS X 10.0 and later.&lt;br /&gt;
Declared In&lt;br /&gt;
Appearance.h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====HIComboBoxCreate() documentation====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
HIComboBoxCreate&lt;br /&gt;
Creates a combo box control.&lt;br /&gt;
&lt;br /&gt;
OSStatus HIComboBoxCreate (&lt;br /&gt;
   const HIRect* boundsRect,&lt;br /&gt;
   CFStringRef text,&lt;br /&gt;
   const ControlFontStyleRec* style,&lt;br /&gt;
   CFArrayRef list,&lt;br /&gt;
   OptionBits inAttributes,&lt;br /&gt;
   HIViewRef* outComboBox&lt;br /&gt;
);&lt;br /&gt;
Parameters&lt;br /&gt;
boundsRect&lt;br /&gt;
The bounding box of the control.&lt;br /&gt;
&lt;br /&gt;
text&lt;br /&gt;
The default text in the editable portion of the control. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
style&lt;br /&gt;
The font style of the both editable text and the text in the disclosure list. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
list&lt;br /&gt;
The default values available in the disclosure list. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
inAttributes&lt;br /&gt;
The default attributes of the combo box. For possible values, see “Combo Box Attributes”.&lt;br /&gt;
&lt;br /&gt;
outComboBox&lt;br /&gt;
On exit, a pointer to a reference for the new control.&lt;br /&gt;
&lt;br /&gt;
Discussion&lt;br /&gt;
The combo box can be used in compositing mode, as well as traditional Control Manager mode.&lt;br /&gt;
When created, this view is invisible. To see the view, you must show the view by calling HIViewSetVisible.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What is used for Linux, Windows, Mac OS X ...build ? ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Description of the dependencies]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Windows]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[MacOS X]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Linux]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Solaris]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Content of Aqua ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Click here to see the complete list]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Content of vcl/inc&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Notes: &lt;br /&gt;
&lt;br /&gt;
1) Where to find includes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;foo/bar.hxx&amp;gt; means you can find bar.hxx in the foo module. The new style file is foo/inc/foo/bar.hxx, old style is foo/inc/bar.hxx and sometimes the file is somewhere else in the tree or generated. The deliver process copies/generates the file into solver at solver/680/build_type/inc/foo. Good for fixing broken builds. ;-)&lt;br /&gt;
&lt;br /&gt;
2) &lt;br /&gt;
suffix .h (for C calls or first version?) or .hxx (C++) &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;A) Family of includes&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
Looking more closely at the list brings to the fore (expression from dictionary ;-) ) that include names are&lt;br /&gt;
informatives. Most of the time, the name gives the function/role.&lt;br /&gt;
What is interesting is the files with name begining with &amp;quot;sal&amp;quot;. sal means System Abstraction Layer + include&amp;#039;s function (or explicit name). &lt;br /&gt;
&lt;br /&gt;
Partial list, for example:&lt;br /&gt;
&lt;br /&gt;
salatype.hxx&lt;br /&gt;
&lt;br /&gt;
salbmp.hxx&lt;br /&gt;
&lt;br /&gt;
salctrlhandle.hxx&lt;br /&gt;
&lt;br /&gt;
salctype.hxx&lt;br /&gt;
&lt;br /&gt;
salframe.hxx&lt;br /&gt;
&lt;br /&gt;
salgdi.hxx&lt;br /&gt;
&lt;br /&gt;
salgeom.hxx&lt;br /&gt;
&lt;br /&gt;
sallayout.hxx (main header for fonts services)&lt;br /&gt;
...&lt;br /&gt;
salmenu&lt;br /&gt;
salnativewidgets&lt;br /&gt;
...etc&lt;br /&gt;
&lt;br /&gt;
Other important families are &amp;quot;sv&amp;quot; and &amp;quot;uno&amp;quot; or &amp;quot;win&amp;quot; (window) prefixed. sal family will be analysed apart.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B) Includes of includes&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Some includes are more important than other. To prove this, just have a look is sufficient: some are always needed, and some more rarely.&lt;br /&gt;
&lt;br /&gt;
To verify, a simple test to do in vcl/inc:&lt;br /&gt;
&lt;br /&gt;
egrep -H &amp;quot;#include&amp;quot; ./* | wc -l  gives me 681 lines ! And some of them are the same...&lt;br /&gt;
&lt;br /&gt;
To know more, the precedent command line can be modified to make appear the numerous call &lt;br /&gt;
to the same includes files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
egrep -H &amp;quot;#include&amp;quot; ./* | cut -d&amp;quot;#&amp;quot; -f2 | sort &amp;gt; liste.txt&lt;br /&gt;
&lt;br /&gt;
The content of liste.txt is explicit: dllapi.h, sv.h and some other are very important, while some other includes are only one or two times used. We can see too that vos includes are numerous, even if vos is deprecated**&lt;br /&gt;
&lt;br /&gt;
 **see http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m nearly sure that a complete analysis of just this result will give us a lot of information.&lt;br /&gt;
&lt;br /&gt;
I propose to change the order of analysis starting with dllapi.h and sv.h.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[to be continued]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B1) &amp;quot;sal&amp;quot; includes family&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[salinst.hxx]] This seems to be the main include file&lt;br /&gt;
&lt;br /&gt;
[[salatype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salctrlhandle.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salctype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salframe.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salgdi.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salgeom.hxx]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[ sallayout.hxx ]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;-- see Native Fonts implementation&lt;br /&gt;
&lt;br /&gt;
[[salgtype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[vcl/inc/salobj.hxx]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B2) Classicals includes&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
file: abstdlg.hxx [ means abstract dialog ]&lt;br /&gt;
&lt;br /&gt;
This includes does contain the following classes definitions:&lt;br /&gt;
&lt;br /&gt;
[FIXME] : choose a precise presentation template for classes &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
VclAbstractDialog,&lt;br /&gt;
&lt;br /&gt;
VclAbstractTerminateDialog, &lt;br /&gt;
&lt;br /&gt;
VclAbstractRefreshableDialog,&lt;br /&gt;
 &lt;br /&gt;
VclAbstractDialogFactory, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
uses &amp;lt;tools/solar.h&amp;gt; , &amp;lt;tools/string.hxx&amp;gt; + &lt;br /&gt;
&lt;br /&gt;
&amp;quot;dllapi.h&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note : dllapi.h is very interesting because when we have to find (for example) a library suffix, SAL_DLLEXTENSSION can replace all suffixes (every OS&amp;#039;s and archs). Just including sal/config.h does it ! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
Window -&amp;gt; what? [FIXME]&lt;br /&gt;
ResId -&amp;gt; what?&lt;br /&gt;
&lt;br /&gt;
Does contain the prototype of VclAbstractDialog, inherit of VCL_DLLPUBLIC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
file: dllapi.h [ dll for dynamic linked library ]&lt;br /&gt;
Uses: &amp;lt;sal/config.h&amp;gt; and &amp;gt;sal/types/h&amp;gt;&lt;br /&gt;
includes: VCL_DLLPUBLIC macro&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
file: accel.h [ means accelerator ]&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
Accelerator &lt;br /&gt;
{&lt;br /&gt;
}&lt;br /&gt;
ImplAccelEntry &lt;br /&gt;
{&lt;br /&gt;
public members: &lt;br /&gt;
&lt;br /&gt;
Names&lt;br /&gt;
&lt;br /&gt;
mnId&lt;br /&gt;
maKeyCode&lt;br /&gt;
mpAccel&lt;br /&gt;
mpAutoAccel&lt;br /&gt;
mbEnabled&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function / returns / parameters&lt;br /&gt;
&lt;br /&gt;
ImplGetKeyCode / void / KeyFuncType eFunc, ref rCode1 , ref rCode2, ref rCode3&lt;br /&gt;
&lt;br /&gt;
file: accel.hxx &lt;br /&gt;
&lt;br /&gt;
Uses: &amp;lt;sv.h&amp;gt; , &amp;quot;dllapi.h&amp;quot; ,&amp;lt;tools/resid.hxx&amp;gt;, &amp;lt;&amp;lt;tools/rc.hxx&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
ImplAccelData;&lt;br /&gt;
ImplAccelEntry;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Progressive implementation]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Font server Implementation&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;[[Mac OS X Porting - Native Fonts]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Sound Implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native Audio and Video]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Printing Implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native_Printing]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Drag and Drop implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native Drag and drop]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Data Acquisition&amp;#039;&amp;#039;&amp;#039; : [[Mac OS X Porting - Data Acquisition]]&lt;br /&gt;
&lt;br /&gt;
This work is part of http://wiki.services.openoffice.org/wiki/Mac_OS_X_Porting_-_Work_Areas/Todo%27s&lt;br /&gt;
&lt;br /&gt;
[to be continued:-) ]&lt;br /&gt;
&lt;br /&gt;
== Keyboard comparizon between OpenOffice.org / Mac OS X  application ==&lt;br /&gt;
&lt;br /&gt;
[FIXME] redo a cleanest array &lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:centered; background-color:#F0F0F0;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#99CCFF; font-weight:bold;&amp;quot; &lt;br /&gt;
| Modifier||+ key  || Result || TextEdit  returns&lt;br /&gt;
|-&lt;br /&gt;
|ALT|| a||æ ||æ &lt;br /&gt;
|-&lt;br /&gt;
|ALT||b||ß ||ß&lt;br /&gt;
|-&lt;br /&gt;
|ALT||c||© ||©&lt;br /&gt;
|-&lt;br /&gt;
|ALT||d||∂ ||∂&lt;br /&gt;
|-&lt;br /&gt;
|ALT||e||ê ||ê&lt;br /&gt;
|-&lt;br /&gt;
|ALT||f||ƒ ||ƒ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||g ||ﬁ ||ﬁ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||h ||Ì ||Ì&lt;br /&gt;
|-&lt;br /&gt;
|ALT||i ||î ||î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||j ||Ï ||Ï&lt;br /&gt;
|-&lt;br /&gt;
|ALT||k ||È ||È&lt;br /&gt;
|-&lt;br /&gt;
|ALT||l ||¬ ||¬&lt;br /&gt;
|-&lt;br /&gt;
|ALT||m ||µ ||µ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||n ||~ ||~&lt;br /&gt;
|-&lt;br /&gt;
|ALT||o ||œ ||œ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||p ||π ||π&lt;br /&gt;
|-&lt;br /&gt;
|ALT||q ||‡ ||‡&lt;br /&gt;
|-&lt;br /&gt;
|ALT||r ||® ||®&lt;br /&gt;
|-&lt;br /&gt;
|ALT||s ||Ò ||Ò&lt;br /&gt;
|-&lt;br /&gt;
|ALT||t ||† ||†&lt;br /&gt;
|-&lt;br /&gt;
|ALT||u ||º ||º&lt;br /&gt;
|-&lt;br /&gt;
|ALT||v ||◊ ||◊&lt;br /&gt;
|-&lt;br /&gt;
|ALT||w ||‹ ||‹&lt;br /&gt;
|-&lt;br /&gt;
|ALT||x ||≈ ||≈&lt;br /&gt;
|-&lt;br /&gt;
|ALT||y ||Ú ||Ú&lt;br /&gt;
|-&lt;br /&gt;
|ALT||z ||Â ||Â&lt;br /&gt;
|-&lt;br /&gt;
|ALT||A ||Æ ||Æ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||B ||∫ ||∫&lt;br /&gt;
|-&lt;br /&gt;
|ALT||C ||¢ ||¢&lt;br /&gt;
|-&lt;br /&gt;
|ALT||D||∆||∆&lt;br /&gt;
|-&lt;br /&gt;
|ALT||F ||· ||·&lt;br /&gt;
|-&lt;br /&gt;
|ALT||G ||ﬂ ||ﬂ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||H ||Î ||Î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||I ||Î ||Î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||J ||Í ||Í&lt;br /&gt;
|-&lt;br /&gt;
|ALT||K ||Ë ||Ë&lt;br /&gt;
|-&lt;br /&gt;
|ALT||L || &amp;lt;pre&amp;gt;|&amp;lt;/pre&amp;gt; ||&amp;lt;pre&amp;gt;|&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|ALT||M ||Ó ||Ó&lt;br /&gt;
|-&lt;br /&gt;
|ALT||N ||ı ||ı&lt;br /&gt;
|-&lt;br /&gt;
|ALT||O ||Œ ||Œ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||P ||∏ ||∏&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Q ||Ω ||Ω&lt;br /&gt;
|-&lt;br /&gt;
|ALT||R ||‚ ||‚&lt;br /&gt;
|-&lt;br /&gt;
|ALT||S ||∑ ||∑&lt;br /&gt;
|-&lt;br /&gt;
|ALT||T ||™ ||™&lt;br /&gt;
|-&lt;br /&gt;
|ALT||U ||ª ||ª&lt;br /&gt;
|-&lt;br /&gt;
|ALT||V ||√ ||√&lt;br /&gt;
|-&lt;br /&gt;
|ALT||W ||› ||›&lt;br /&gt;
|-&lt;br /&gt;
|ALT||X ||⁄ ||⁄&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Y ||Ÿ ||Ÿ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Z ||Å ||Å&lt;br /&gt;
|-&lt;br /&gt;
|ALT||$ ||€ ||€&lt;br /&gt;
|-&lt;br /&gt;
|ALT||` ||@ ||@&lt;br /&gt;
|-&lt;br /&gt;
|ALT||£ ||# ||#&lt;br /&gt;
|-&lt;br /&gt;
|ALT||* ||¥ ||¥&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Sous réserve d&amp;#039;erreur ou omission [[User:Ericb|Ericb]] 00:05, 14 January 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Ericb|Ericb]] 15:00, 22 Jul 2005 (EDT)&lt;br /&gt;
&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:MacOSX]]&lt;br /&gt;
[[Category:Aqua]]&lt;/div&gt;</summary>
		<author><name>Damiend</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Ericb&amp;diff=25527</id>
		<title>User:Ericb</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Ericb&amp;diff=25527"/>
		<updated>2007-02-20T14:28:36Z</updated>

		<summary type="html">&lt;p&gt;Damiend: /* salframe */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Public Documentation License Notice==&lt;br /&gt;
&lt;br /&gt;
The contents of this Documentation (excepted Native Port Roadmap),are subject to the Public Documentation License Version 1.0 (the &amp;quot;License&amp;quot;); you may only use this Documentation if you comply with the terms of this License. A copy of the License is available at http://www.openoffice.org/licenses/PDL.html.&lt;br /&gt;
The Original Documentation is &amp;quot;Mac OS X native port&amp;quot;. The Initial Writer of the Original Documentation is (JCA) Eric Bachard (C) 2005-2006. All Rights Reserved. (Initial Writer contact(s): ericb@openoffice.org.)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Mac OS X Native port&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;messagebox cleanup metadata&amp;quot; style=&amp;quot;border:1px solid blue;background-color:#B3FFF5;padding:7px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The first Mac OS X native port objective is make OpenOffice.org run without X11 use, to make it a real Mac application.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The second one is respect Aqua Human interface Guidelines&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; This is a long term work, and every help and/or contributions, like donations** are welcome.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 **see http://contributing.openoffice.org/index.html&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Native Port Roadmap&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
===&amp;#039;&amp;#039;&amp;#039;2006&amp;#039;&amp;#039;&amp;#039;===&lt;br /&gt;
&lt;br /&gt;
* June 2006: work in progress &lt;br /&gt;
&lt;br /&gt;
- Basis: frame, instances, threads, drawing, painting, resizing (Stephan Schaefer, Tino Rachui)&lt;br /&gt;
&lt;br /&gt;
 Done: &lt;br /&gt;
 implement threads&lt;br /&gt;
 create, manage instance&lt;br /&gt;
 create, manage windows (including parents)&lt;br /&gt;
 create, manage events&lt;br /&gt;
 create manage drawing, resizing&lt;br /&gt;
 create, add menus (Pavel Janik)&lt;br /&gt;
 toggle window fullscreen (Pierre de Filippis)&lt;br /&gt;
 make font server work (Stephan Schaefer)&lt;br /&gt;
&lt;br /&gt;
* Current status font support (Stephan Schaefer, 2006/07/28): the following features are basically working now&lt;br /&gt;
** font selection&lt;br /&gt;
** font size&lt;br /&gt;
** simple font attributes (bold, italic)&lt;br /&gt;
&lt;br /&gt;
 Next step: document first part, and propose design&lt;br /&gt;
&lt;br /&gt;
- native filepicker (Pavel Janik, Florian Heckl)&lt;br /&gt;
&lt;br /&gt;
- native printing implementation (Oliver?)&lt;br /&gt;
&lt;br /&gt;
- native font implementation (Eric Bachard)&lt;br /&gt;
&lt;br /&gt;
* September 2006: &lt;br /&gt;
&lt;br /&gt;
- first proofs of concept: fonts, filepicker .. (more?)&lt;br /&gt;
- show the results (OOoCon 2006?)&lt;br /&gt;
&lt;br /&gt;
===&amp;#039;&amp;#039;&amp;#039;2007&amp;#039;&amp;#039;&amp;#039;===&lt;br /&gt;
&lt;br /&gt;
* January 2007: first alpha implementation&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Strategy for native port&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Possible Actions&amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
Identify us:&lt;br /&gt;
&lt;br /&gt;
#Complete the arrays below&lt;br /&gt;
#Update photos on frapr.com?&lt;br /&gt;
&lt;br /&gt;
Share the work:&lt;br /&gt;
&lt;br /&gt;
#Divide the work between little Teams&lt;br /&gt;
#Update Todo list regularly -&amp;gt; needs some love these days ... [http://wiki.services.openoffice.org/wiki/Mac_OS_X_Porting_-_Work_Areas/Todo%27s]&lt;br /&gt;
&lt;br /&gt;
Help:&lt;br /&gt;
&lt;br /&gt;
#Teach tools between us&lt;br /&gt;
#Do a debug party on IRC&lt;br /&gt;
#write documentation&lt;br /&gt;
&lt;br /&gt;
Meet us:&lt;br /&gt;
&lt;br /&gt;
#IRC&lt;br /&gt;
#Mac Meeting (like nov2005 in Hamburg?)&lt;br /&gt;
&lt;br /&gt;
Inform:&lt;br /&gt;
&lt;br /&gt;
#Update website regularly&lt;br /&gt;
#Blogs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHO&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
Mac Team:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:left; background-color:#efefef;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#d6d6d6;font-weight:bold;&amp;quot; &lt;br /&gt;
|Developer \ skills || build || write code || code review || debug/trace (higher is better) || contribute to documentation ||&lt;br /&gt;
|-&lt;br /&gt;
|ericb|| x || x || || 1 || x ||&lt;br /&gt;
|-&lt;br /&gt;
|pjanik|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|ssa|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|maho|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|tinor|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|schmidtm|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|ebischoff|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|obr|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|cl|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|aliscafo|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|fheckl|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Fridrich|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|plipli|| || x || || || x ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Other resources&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
fonts: ?&lt;br /&gt;
&lt;br /&gt;
events: ?&lt;br /&gt;
&lt;br /&gt;
QA: ?&lt;br /&gt;
&lt;br /&gt;
graphical: ?&lt;br /&gt;
&lt;br /&gt;
Communication: ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHAT&amp;#039;&amp;#039;&amp;#039;: Status of most important tasks&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:left; background-color:#efefef;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#d6d6d6;font-weight:bold;&amp;quot; &lt;br /&gt;
| Task || Names|| Urgency (1=higher)|| Work in Progress || Done || Code review || Debug || Integration || &lt;br /&gt;
|-&lt;br /&gt;
|Get rid of X11||done || 1 || x || x || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Bundle|| || 1 || x || || || || | ||&lt;br /&gt;
|-&lt;br /&gt;
|Drawing|| || 1 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Fonts||plipli || 1 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Events management|| || 2 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Controls (see list) ||ericb, aliscafo || 2 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native FilePicker||Florian Heckl, Pavel Janik || 3 || x || x || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native Printing||Yvan Barthelemy || 3 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native SpellChecker|| || 4 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Player||Mox Soini || 4 || x || || || || || ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other tasks:&lt;br /&gt;
&lt;br /&gt;
Help for writing bug lists, status of bugs ..etc&lt;br /&gt;
&lt;br /&gt;
Write howto use gdb, leaks, other tools&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHEN&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
From Christian Lippka (last meeting, 25th of august 2006): &lt;br /&gt;
 Aug 26 00:21:38 ChristianL&lt;br /&gt;
 from my point of view what is missing for point 1:&lt;br /&gt;
 text layout, complete font support, keyboard support,&lt;br /&gt;
 fixing repaint issues, having aqua install and run out of the box&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;September 2006&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Present the current state of the project at the 2006 OpenOffice conference in Lyon and Paris&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Late 2006&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
fix OpenOffice.org launch&lt;br /&gt;
fix drawing (repainting)&lt;br /&gt;
Implement missing methods and fix most important bugs (mainly the one leading to crash) in:&lt;br /&gt;
ATS&lt;br /&gt;
Salgraphics&lt;br /&gt;
Salinstance&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;January or February 2007&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
make Java work (works partially)&lt;br /&gt;
make intensive debug&lt;br /&gt;
present something working as alpha&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;June 2007	&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Implementation of:&lt;br /&gt;
native filepicker&lt;br /&gt;
native printing&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;2nd Mac porters meeting&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[2nd Mac porters meeting]]&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;IRC Mac port meetings&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[MacOSXPortMeetings]].&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Mac OS X (X11) Quality Assurance&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[Mac OS X ( X11) Quality Assurance]]&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Debug OpenOffice.org using XCode &amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
[[ MacOSX Debug OpenOffice.org using XCode]]&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Description of the Native Port problem&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
=== How does OpenOffice.org work on Mac OS X? ===&lt;br /&gt;
&lt;br /&gt;
Currently, on Mac OS X, OpenOffice.org uses X11, as &amp;quot;client&amp;quot;: X11 is a graphical server, coming from Unix world, and able to run under Linux, *BSD, Solaris, Mac OS X.&lt;br /&gt;
&lt;br /&gt;
 - X11 is run as an application, managed like other Apple applications.&lt;br /&gt;
 - All unix like applications are managed by X11, and from Aqua environment, only X11 is seen as only one applicatiion, &lt;br /&gt;
  even if other Unix/Linux (e.g.) applications are runing.&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org asks X11 to display a window, waits for X11 acknowledgment, and OpenOffice.org displays the window. All transactions use the network, locally or not. the same mechanism is used for everything to be displayed.&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
=== Issues and known problems ===&lt;br /&gt;
&lt;br /&gt;
All events are managed by OpenOffice.org and X11, using the Xlib&lt;br /&gt;
&lt;br /&gt;
Only .ttf fonts type is currently available. Note: &amp;#039;&amp;#039;&amp;#039;system fonts are available &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The rendering is made by X11, not by Mac OS X rendering engine.&lt;br /&gt;
&lt;br /&gt;
X11 and all its clients are seen as one application only: drag and drop protocol does not work because of that (solution: Pasteboard Manager)&lt;br /&gt;
&lt;br /&gt;
==== Other links ====&lt;br /&gt;
&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/List_of_OpenOffice.org_Mac_OS_X_issues_and_problems#&lt;br /&gt;
&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Printing_problems_with_OpenOffice.org_2.0_for_Mac_OS_X#Reporting_printing_problems&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== What do we have to do?==&lt;br /&gt;
&lt;br /&gt;
* Implement direct access to Apple graphical engine, using Apple API: Quartz2D/CoreGraphics (and replacing Xlib use)&lt;br /&gt;
&lt;br /&gt;
like: instantiate, manage events and threads for a graphical instance + all needed objects, drawing: manage all drawing cases&lt;br /&gt;
&lt;br /&gt;
* Implement native events management, using CarbonEventManager (replacing Xlib management)&lt;br /&gt;
&lt;br /&gt;
* Implement native font use, using Apple Type Server and ATSUI (for Unicode Imagery) (replacing X11 management)&lt;br /&gt;
&lt;br /&gt;
Work in progress: [[Mac OS X Porting - Native Fonts]]&lt;br /&gt;
&lt;br /&gt;
* Implement native sound, using QuickTime (replacing Java Media Framework): [[Mac OS X Porting - Native Audio and Video]]&lt;br /&gt;
&lt;br /&gt;
* Implement native Drag and drop, Implementing Pasteboard Manager: [[Mac OS X Porting - Native Drag and drop]]&lt;br /&gt;
&lt;br /&gt;
* Implement Native Filepicker&lt;br /&gt;
&lt;br /&gt;
* Implement Native Printing: current uses cups, but native printing is mandatory: [[Mac OS X Porting - Native_Printing]]&lt;br /&gt;
&lt;br /&gt;
* Implement Apple Spellchecker&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Where is located the code to be modified?&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
Most of the changes are located in vcl (Visual Class Layer), for everything graphical, events, fonts, rendering and printing.&lt;br /&gt;
&lt;br /&gt;
Other, for sound and movies will be in avmedia (where the player is implemented in OpenOffice.org sources).&lt;br /&gt;
&lt;br /&gt;
For drag and drop, dtrans is concerned (Pasteboard Manager implementation)&lt;br /&gt;
&lt;br /&gt;
[FIXME]: Filepicker? Apple Spellchecker?&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;How will the new implementation be tested?==&lt;br /&gt;
&lt;br /&gt;
Currently, all openOffice.org code can be compiled without using the Xlib. but of course, a lot of features are missing,&lt;br /&gt;
&lt;br /&gt;
and the final package simply won&amp;#039;t work&lt;br /&gt;
&lt;br /&gt;
In vcl module&amp;quot;, a &amp;#039;&amp;#039;&amp;#039;toy&amp;#039;&amp;#039;&amp;#039; called svdem is built at buildtime. This binary is linked to libvcl* and so all new stuff can be tested.&lt;br /&gt;
&lt;br /&gt;
e.g. : draw anti-aliased lines works well. &lt;br /&gt;
&lt;br /&gt;
Everything implemented in aqua vcl code will be included in libvclplug_aqua, and svdem source code will contain a specific part to proceed tests.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;messagebox cleanup metadata&amp;quot; style=&amp;quot;border:1px solid blue;background-color:#B3FFF5;padding:7px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The magic is: when all needed features will work with svdem, it will work in the new version of OpenOffice.org !!&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[FIXME]: add more complete list of features to implement and test.&lt;br /&gt;
&lt;br /&gt;
== AquaVCL 01 cws ==&lt;br /&gt;
&lt;br /&gt;
[[http://qa.openoffice.org/issues/buglist.cgi?keywords=aqua Top 10 of Aqua issues]]&lt;br /&gt;
&lt;br /&gt;
[[Aquavcl01 tasks]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===recent changes ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recent Changes &lt;br /&gt;
&lt;br /&gt;
[done] fix nRepeat in text entry  (ssa)&lt;br /&gt;
&lt;br /&gt;
[done] fix missing mouse events  (pjanik)&lt;br /&gt;
&lt;br /&gt;
[done] pushbutton where not correctly drawn (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] fix alpha channel in pixmaps (ismael)&lt;br /&gt;
&lt;br /&gt;
[done] fix correct size for main window (GetOoptimaWindowSize()  ) (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] replace obsolete code in salframe.cxx with (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] add new feature for Aqua windows, to allow QuickTime player use( mox )&lt;br /&gt;
&lt;br /&gt;
[done] add mouse drag events  ( pjanik )&lt;br /&gt;
&lt;br /&gt;
[done] modify libsalsystools.dylib to be correctly loaded with the bundle  (ericb, + pjanik)&lt;br /&gt;
&lt;br /&gt;
[done] implement mapfiles for Mac OS X (Stephan Bergmann, Daniel Boelzle, Tino Rachui , Pavel Janik)&lt;br /&gt;
&lt;br /&gt;
[done] fix scrollbar buttons (implement correct methods to retrieve dimensions)&lt;br /&gt;
&lt;br /&gt;
[done] fix checkbuttons and radiobuttons issues: offsets, redrawing of the check marks ( ericb) &lt;br /&gt;
&lt;br /&gt;
[done, not commited] implement UpdateSettings()   (ericb) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Work in progress : &lt;br /&gt;
&lt;br /&gt;
Bitmaps : ( isma87) &lt;br /&gt;
&lt;br /&gt;
Crashes : (tino, pjanik, ericb, isma87 )&lt;br /&gt;
&lt;br /&gt;
Drag and drop :   (vijay)&lt;br /&gt;
&lt;br /&gt;
Printing   (ybart)  &lt;br /&gt;
&lt;br /&gt;
Drawing/ windowing  ( tino )&lt;br /&gt;
&lt;br /&gt;
Implement cursor (ericb) &lt;br /&gt;
&lt;br /&gt;
Native Controls  (ericb) &lt;br /&gt;
&lt;br /&gt;
[work in progress] partial multiline sallayout  (plipli )&lt;br /&gt;
&lt;br /&gt;
To do : &lt;br /&gt;
&lt;br /&gt;
(started, Oliver) - modify the tree to make the bundle start without hack ( issue fixed during buildtime) &lt;br /&gt;
&lt;br /&gt;
(started, Florian Heckl)  verify Native FilePicker implementation ( works , tested in Hamburg  )&lt;br /&gt;
&lt;br /&gt;
(started Ismaek Merzaq)  implement blit functions in salgdi  ( important fix:  probably apha version to be tested once done) &lt;br /&gt;
&lt;br /&gt;
( started Sebastien Plisson- update the missing functions list ( fonts ... ask hdu &amp;amp; cl    ) &lt;br /&gt;
&lt;br /&gt;
( started, ericb, Mox Soini, Sebastien Plisson)  continue to replace obsolete code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
URGENT :&lt;br /&gt;
&lt;br /&gt;
(work in progress) event issue when tips is enabled causes crashes ( well known window / handler  / window desctructor / event loop bug )&lt;br /&gt;
&lt;br /&gt;
fix crashes with menus  (started : tino ) &lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Sort of documentation about VCL around Native Mac OS X port&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Do we really need to understand how it works? ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
vcl content:&lt;br /&gt;
&lt;br /&gt;
ls -laR | wc -l&lt;br /&gt;
  1750&lt;br /&gt;
&lt;br /&gt;
-&amp;gt; Uff 1750 files to analyse :-/&lt;br /&gt;
&lt;br /&gt;
Our purpose is to describe the vcl organisation. The content of vcl is so important, that at the begining, the content will looks a bit confused. e.g. class names ..etc have nothing to do, only description with words and sense, but this will need some time before we can understand everything.&lt;br /&gt;
&lt;br /&gt;
How analyse with more efficiency? After some months to anlalyse &amp;#039;&amp;#039;&amp;#039;&amp;quot;horizontaly&amp;quot;&amp;#039;&amp;#039;&amp;#039;, it appears that list all the content of a directory is not the solution. Of course, we learned a lot, but we now have to complete with &amp;#039;&amp;#039;&amp;#039;&amp;quot;orthogonal&amp;quot;&amp;#039;&amp;#039;&amp;#039; method (compared to the previous one). The first method wasn&amp;#039;t obviously not the good/best way to describe vcl.&lt;br /&gt;
 &lt;br /&gt;
[UPDATE] After some investigations, the use of Design patterns seems to be the most efficient approach to describe vcl. Will try to do so asap.&lt;br /&gt;
&lt;br /&gt;
[FIXME] a different approach (will ask confirmation to Philipp Lohman), could be a description of how it work in runtime. First define what an instance is, a frame, and what exactly is concerned by such &amp;quot;objects&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
With that, we can write a list of different objects all using the same scheme: empty boxes (means pure virtual methods and classes in generic libvvcl), really implemented in the specific part, and finally, the API &amp;quot;encapsulated&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The most difficult is to see where the API is used. But for all the parts, this is the same.&lt;br /&gt;
&lt;br /&gt;
Finally, &amp;#039;&amp;#039;&amp;#039;what is important is the design of vcl&amp;#039;&amp;#039;&amp;#039;. Which &amp;#039;&amp;#039;&amp;#039;patterns&amp;#039;&amp;#039;&amp;#039; are used? What are the dependencies, how works the stack for the events, how works the scheduler, the timers too is very important, even fundamental for Aqua implementation. Will have a look at gsl mailing list, and other resources. Probably everything is already (randomly) written somewhere.&lt;br /&gt;
&lt;br /&gt;
=== VCL organisation ===&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s to Philipp Lohmann for this short, but precise description:&lt;br /&gt;
&lt;br /&gt;
Basically vcl is divided in the system dependent and the system independent part. The interface between these two is mostly the Sal interface (every interface name Sal*: SalInstance, SalFrame, SalGraphics, SalPrinter, etc.).&lt;br /&gt;
&lt;br /&gt;
SalInstance is a factory that can create all the other abstracted interfaces of the system dependent part. It also provides the main loop SalInstance::Yield()&lt;br /&gt;
&lt;br /&gt;
SalFrame abstracts any kind of system window.&lt;br /&gt;
&lt;br /&gt;
SalVirtualDevice abstracts an offscreen window (e.g. a Pixmap on X11)&lt;br /&gt;
&lt;br /&gt;
SalPrinter and SalInfoPrinter abstract the system print queues where SalInfoPrinter is for querying and SalPrinter for actual printing.&lt;br /&gt;
&lt;br /&gt;
SalGraphics is an interface produced by either SalFrame, SalVirtualDevice or SalPrinter which is used for actual drawing operations (text, bitmaps, vector graphics)&lt;br /&gt;
&lt;br /&gt;
SalSound is for sound playing.&lt;br /&gt;
&lt;br /&gt;
SalBitmap provides memory for bitmap graphics as well as methods converting this memory to a system handle (e.g. a Pixmap on X11).&lt;br /&gt;
&lt;br /&gt;
SalOpenGL provides OpenGL functionality if available.&lt;br /&gt;
&lt;br /&gt;
SalTimer is an interface for periodically triggering the event queue (to timer implementation).&lt;br /&gt;
&lt;br /&gt;
SalI18NImeStatus handles how the status window of an Input Method Editor (IME) should display (this is mainly X11 specific).&lt;br /&gt;
&lt;br /&gt;
SalSystem has some system specific methods that did not belong anywhere else:-)&lt;br /&gt;
&lt;br /&gt;
Of all these there interfaces is at least one implementation per system (Windows, X11 or Mac). The Unix implementation also has a plugin concept to allow for integration of different native toolkits (currently gtk and Qt) which became necessary for the implementation of Native Widget Framework (NWF) to display controls like their normal desktop counterparts.&lt;br /&gt;
&lt;br /&gt;
Basically the independent part (what is beneath vcl/source directory) has generic methods for drawing, window handling and stuff which it brings into a suitable form and then delegates to the system specific implementation (located beneath vcl/win for Windows and vcl/unx for the X11 platforms).&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 16:12, 1 July 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
===Sub-directories description ===&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;Organisation of vcl directories&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
&lt;br /&gt;
[[Image:aquavcl_organisation_complete_02.jpg]]&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;Directories in vcl. Short description&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; aqua &amp;#039;&amp;#039;&amp;#039;: The name Aqua means Apple look and feel, and is well known as [http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGIntro/chapter_1_section_1.html Aqua Human Interface Guidelines]. This look and feel means Mac OS X. The work was begun by (probably) P. luby, Dan Williams Herbert Duerr (most of fonts stuff) and Ed Peterlin. Currently in ruin, this directory does contain a lot of ideas to investigate. The most important part of needed changes for native version (3.0) will be done inside aqua dir inc: does contain all vcl relative includes [PART1]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; prj &amp;#039;&amp;#039;&amp;#039;: Does contain build.lst and d.lst build.lst give us dependencies: probably a lot for vcl, build 98th module over ~148. Everything graphical depends in vcl. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; qa &amp;#039;&amp;#039;&amp;#039; does contain all quality assurancy stuff&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;source&amp;#039;&amp;#039;&amp;#039;: the most important:-) This directory contains common sources for all architectures and OS. Mainly: Windows, Unix: Linux , Mac OS X (X11), Solaris, including generic, kde and gtk plugins, and Aqua (Mac OS X without X11, work currently in progress). &lt;br /&gt;
&lt;br /&gt;
Depending on the OS and the architecture, binaries are built or not.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; test &amp;#039;&amp;#039;&amp;#039;: This directory does contain all the needed stuff for tests. As example, in qa/testdocuments, you&amp;#039;ll find three documents (one writer, one calc and one impress) for tests purpose. &lt;br /&gt;
Other available tests are about memcheck and persistent window state. &lt;br /&gt;
 &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; unx &amp;#039;&amp;#039;&amp;#039;: this directory does contain all unixes stuff. We have to understand what is inside to implement aqua port. For example, a lot of classes/strutures and objects use Xlib calls we have to replace with Carbon/Cocoa call (at least at first time) for Mac OS X native port.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; win &amp;#039;&amp;#039;&amp;#039;: Doing Mac OS X native port, I first believed this directory was not interesting for us, but I was wrong: OpenOffice.org roots are inside this directory, and a lot of comments and resources are inside. Mainly interesting if Carbon is used.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;workben&amp;#039;&amp;#039;&amp;#039;: Does contain a toy called &amp;quot;svdem&amp;quot;. svdem is a binary, used for new implementations. For example, actual aqua development uses svdem intensively, to verify all important properties we need: &lt;br /&gt;
&lt;br /&gt;
- display a window first (al least ...:)) &lt;br /&gt;
&lt;br /&gt;
- close cleanly this window&lt;br /&gt;
&lt;br /&gt;
- display a point&lt;br /&gt;
&lt;br /&gt;
- trace a line&lt;br /&gt;
&lt;br /&gt;
- trace an area &lt;br /&gt;
&lt;br /&gt;
- superpose two areas doing some important graphical operations, (like xor),&lt;br /&gt;
&lt;br /&gt;
- display a character&lt;br /&gt;
&lt;br /&gt;
- display a menu. &lt;br /&gt;
&lt;br /&gt;
- intercept events correctly.&lt;br /&gt;
&lt;br /&gt;
[FIXME] add more tests&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 13:21, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Naming convention&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* Class names start with upper case letters, to improve readability.&lt;br /&gt;
&lt;br /&gt;
* Implemented Class names are derived from the virtual classes but can of course take arbitrary names.&lt;br /&gt;
To increase readability, it&amp;#039;s recommended to closely follow the base class name.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Impl prefix: means Implementation details&amp;#039;&amp;#039;&amp;#039;. The concerned class or method or function is not used outside of this module, so no external code (or other libraries) can see it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[ Events types using Carbon API (Mac OS X): ]]&amp;#039;&amp;#039;&amp;#039; A lot of events have to be managed in runtime. Here is a short description&lt;br /&gt;
&lt;br /&gt;
- do not freeze because bad event loops&lt;br /&gt;
&lt;br /&gt;
- event types implementation: currently, they are defined in vcl/aqua/inc/aquavclevents.hxx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Apart: exact sense of hedabu? -&amp;gt; [FIXME] as far as I understood it: it is like &amp;quot;copy&amp;quot; to deliver software into the solver, with extra magic. The header files for example are manipulated so paths need not be exact. &amp;quot;headabu&amp;quot; is supposed to disappear little by little.&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;What do we have to build in vcl?&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
Two libraries, corresponding ressources (localized) and a toy so called « svdem »&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Common part&amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
in grey on right. The result will be a non architecture dependant library, built in all cases: for instance, libvcl680mxi.dylib on Mac Intel.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Specific part  &amp;quot; a plugin &amp;quot; &amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
Light yellow: aqua part will only concern Mac OS X (non X11) the name will probably be libvcl_aqua680mxi.dylib &lt;br /&gt;
&lt;br /&gt;
As you can see, win means windows part, in blue&lt;br /&gt;
&lt;br /&gt;
For Unix build (Linux, Solaris or current Mac OS X X11), in purple.&lt;br /&gt;
&lt;br /&gt;
Result will be:&lt;br /&gt;
&lt;br /&gt;
libvclplug_PLUGIN680mxi.DLLSUFFIX , where PLUGIN can be iether gen (generic) or gtk (using gtk+) or kde (using qt), and DLLSUFFIX can be either .so (linux) or .dylib (Mac OS X) ...etc (I&amp;#039;m not sure for other cases).&lt;br /&gt;
&lt;br /&gt;
Example: libvcl680mxi.dylib and libvclplug_aqua680mxi.dylib&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In runtime&amp;#039;&amp;#039;&amp;#039;, libvclplug_aqua will be linked to libvcl680. the first one will contain the real implementation (respecting the API, e.g. Carbon) while the generic libvcl will only contain pure virtual methods ...etc like &amp;quot;empty boxes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Current Aqua content ===&lt;br /&gt;
&lt;br /&gt;
A more complete description of aqua (Mac OS X / no X11 specific): [[Image:Vcl_aqua_organisation_02_tree.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==EXISTING objects to build in aqua==&lt;br /&gt;
&lt;br /&gt;
===Sal APP &amp;quot;everything application&amp;quot;===&lt;br /&gt;
&lt;br /&gt;
[FIXME] add all objects descriptions&lt;br /&gt;
&lt;br /&gt;
==== saldata ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Defined in plugin exclusively&amp;#039;&amp;#039;&amp;#039; (i.e. for headers)&lt;br /&gt;
&lt;br /&gt;
Unix: unx/source/app/saldata.cxx (header in unx/inc)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Aqua: aqua/source/app/saldata.cxx (header in win/inc)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Windows: win/source/app/saldata.cxx (header in aqua/inc)&lt;br /&gt;
&lt;br /&gt;
* Role: saldata contains various kind of data used by the implementation for the concerned platform. &amp;#039;&amp;#039;&amp;#039;It is a bunch of global data collections reserved for the platform&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
It is just completely platform dependent, and nobody except this plugin can see it.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Saldata is something like a &amp;quot;second sal&amp;quot;, but providing an abstraction regarding windowing and graphics&amp;#039;&amp;#039;&amp;#039;, while SAL module provides an abstraction more Operating System oriented) &lt;br /&gt;
&lt;br /&gt;
e.g. : have a look at XRequest array in vcl/unx/source/app/saldata.cxx =&amp;gt; all calls are for Xlib (X11).  Ok, useless there, but interesting:-)&lt;br /&gt;
&lt;br /&gt;
[FIXME]: use Windows implementation could be a good starting point. Nothing is the same, but the current aquavcl cws uses similar objects, and it works very correctly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
saldatax.cxx uses classes SalInstance, SalObject, SalFrame, SalVirtualDevice, SalPrinter and fontList.&lt;br /&gt;
&lt;br /&gt;
Current list of possible objects who can be instantiated/released:&lt;br /&gt;
&lt;br /&gt;
structure SalData: does contain pointers on all kind of objects from other classes used in saldata.&lt;br /&gt;
&lt;br /&gt;
inline functions: [FIXME]: complete the description&lt;br /&gt;
&lt;br /&gt;
- SetSalData:&lt;br /&gt;
- GetSalData:&lt;br /&gt;
- GetAppSalData:&lt;br /&gt;
&lt;br /&gt;
==== salinst ====&lt;br /&gt;
&lt;br /&gt;
=&amp;gt; implemented in vcl/aqua/source/app/salinst.cxx&lt;br /&gt;
&lt;br /&gt;
Role: &lt;br /&gt;
&lt;br /&gt;
* get environment, mutexes, instantiate AquaSalInstance (Ctor, Dtor),&lt;br /&gt;
&lt;br /&gt;
* instantiates/releases a lot of other objects using Get() / CreateObject() / DestroyObject() methods.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Current list of possible objects who can be instantiated/released:&lt;br /&gt;
&lt;br /&gt;
 * VirtualDevice [FIXME]: exact role?&lt;br /&gt;
&lt;br /&gt;
 *Printer  &lt;br /&gt;
&lt;br /&gt;
- GetDefaultPrinter/ CreatePrinter() / DestroyPrinter - what a name ;-) -&lt;br /&gt;
&lt;br /&gt;
- InfoPrinter (Get/Create/Delete)&lt;br /&gt;
&lt;br /&gt;
- PrinterQueue (DeletePrinterQueueInfo / GetPrinterQueueInfo / GetPrinterQueueState)&lt;br /&gt;
&lt;br /&gt;
 * System (Create / Delete) [FIXME]: what means system here?&lt;br /&gt;
&lt;br /&gt;
 * Events: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::SetEventCallback()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::SetErrorEvenCallback()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::GetConnectionIdentifier()&lt;br /&gt;
&lt;br /&gt;
 * Menu / MenuItem: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateMenu() / same for DestroyMenu()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateMenuItem / same DestroyMenuItem()&lt;br /&gt;
&lt;br /&gt;
 * Sound: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateSalSound()  =&amp;gt; object to a pointer of SalSound type&lt;br /&gt;
&lt;br /&gt;
Note: AquaSalInstance::DestroySalSound is not implemented (?)&lt;br /&gt;
&lt;br /&gt;
 * Timer: CreateTimer() /&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance:: DestroyTimer() is not yet implemented (?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Class MacImeStatus: inherits of SalI18NImeStatus&lt;br /&gt;
&lt;br /&gt;
-&amp;gt; only there to see if there is a window to toggle into menubar [FIXME]??&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateI18NImeStatus(): instantiates MacImeStatus&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;For futher informations, see: &amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;[[Content of salinst.cxx]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
([[User:Ericb|Ericb]] 16:11, 20 May 2006 (CEST) )&lt;br /&gt;
&lt;br /&gt;
==== salmain ====&lt;br /&gt;
&lt;br /&gt;
Role: if possible, runs the standard vcl application code SVMain()&lt;br /&gt;
&lt;br /&gt;
([[User:Ericb|Ericb]] 16:15, 20 May 2006 (CEST))&lt;br /&gt;
&lt;br /&gt;
==== salsound ====&lt;br /&gt;
&lt;br /&gt;
==== salsys ====&lt;br /&gt;
&lt;br /&gt;
==== saltimer ====&lt;br /&gt;
&lt;br /&gt;
=== Sal GDI (everything Graphical Display Interface) ===&lt;br /&gt;
&lt;br /&gt;
====salgdinativewidgets====&lt;br /&gt;
&lt;br /&gt;
[[native controls]]&lt;br /&gt;
&lt;br /&gt;
==== salatslayout ====&lt;br /&gt;
&lt;br /&gt;
==&amp;gt; implemented in vcl/aqua/source/gdi/salatslayout.cxx&lt;br /&gt;
&lt;br /&gt;
- Handle text layouting :&lt;br /&gt;
&lt;br /&gt;
    * Use ATSUI (ATSUCreateTextLayoutFromPtr) to layout the text unicode char buffer&lt;br /&gt;
    * Use ATSUI (ATSU..) to get informations about glyphs&lt;br /&gt;
    * Populate different arrays (mpGlyph2Chars, mpChars2Glyph, mpCharsWidths, mpGlyphAdvances)&lt;br /&gt;
      that are used in various methods.&lt;br /&gt;
&lt;br /&gt;
==== salatsuiutils ====&lt;br /&gt;
&lt;br /&gt;
==== salfontutils ====&lt;br /&gt;
&lt;br /&gt;
==== salmathutils ====&lt;br /&gt;
&lt;br /&gt;
==== sal bmp ====&lt;br /&gt;
&lt;br /&gt;
==== salvd ====&lt;br /&gt;
&lt;br /&gt;
==== salpixmaputils====&lt;br /&gt;
&lt;br /&gt;
==== salprn ====&lt;br /&gt;
&lt;br /&gt;
====salrectangle====&lt;br /&gt;
&lt;br /&gt;
==== salvd ====&lt;br /&gt;
&lt;br /&gt;
=== Sal Window===&lt;br /&gt;
&lt;br /&gt;
testing wiki... (from damiend)&lt;br /&gt;
&lt;br /&gt;
====salobj====&lt;br /&gt;
&lt;br /&gt;
== TO BE IMPLEMENTED (missing in Aqua)==&lt;br /&gt;
&lt;br /&gt;
===Audio===&lt;br /&gt;
&lt;br /&gt;
====audioconvert====&lt;br /&gt;
 (obsolete?) &lt;br /&gt;
&lt;br /&gt;
====devaudio====&lt;br /&gt;
(obsolete?)&lt;br /&gt;
&lt;br /&gt;
====native sound====&lt;br /&gt;
&lt;br /&gt;
====salimpsound====&lt;br /&gt;
&lt;br /&gt;
====vsound====&lt;br /&gt;
&lt;br /&gt;
===i18n===&lt;br /&gt;
&lt;br /&gt;
===keysymnames===&lt;br /&gt;
&lt;br /&gt;
===saldisp===&lt;br /&gt;
&lt;br /&gt;
===sm===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[FIXME]: is session manager usefull?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Native Controls&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
====Scrollbar====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Works as expected&amp;#039;&amp;#039;&amp;#039;. The most important work is done&lt;br /&gt;
&lt;br /&gt;
See : [[Mac_OS_X_Porting_-_Native_Controls#ScrollBar]]&lt;br /&gt;
&lt;br /&gt;
====DrawThemeButton() documentation====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Started&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
See : [[Mac_OS_X_Porting_-_Native_Controls#ComboBox]]&lt;br /&gt;
&lt;br /&gt;
Started&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DrawThemeButton&lt;br /&gt;
Draws a button.&lt;br /&gt;
&lt;br /&gt;
OSStatus DrawThemeButton (&lt;br /&gt;
   const Rect * inBounds,&lt;br /&gt;
   ThemeButtonKind inKind,&lt;br /&gt;
   const ThemeButtonDrawInfo * inNewInfo,&lt;br /&gt;
   const ThemeButtonDrawInfo * inPrevInfo,&lt;br /&gt;
   ThemeEraseUPP inEraseProc,&lt;br /&gt;
   ThemeButtonDrawUPP inLabelProc,&lt;br /&gt;
   UInt32 inUserData&lt;br /&gt;
);&lt;br /&gt;
Parameters&lt;br /&gt;
inBounds&lt;br /&gt;
A pointer to a structure of type Rect. Pass a rectangle specifying the boundary of the button, in local coordinates.&lt;br /&gt;
&lt;br /&gt;
inKind&lt;br /&gt;
A value of type ThemeButtonKind. Pass a constant specifying the type of button to draw. &lt;br /&gt;
See “Theme Buttons” for descriptions of possible values.&lt;br /&gt;
&lt;br /&gt;
inNewInfo&lt;br /&gt;
A pointer to a structure of type ThemeButtonDrawInfo. Before calling DrawThemeButton, &lt;br /&gt;
set the structure to contain the new state, value, and adornment for the button. &lt;br /&gt;
DrawThemeButton uses the information passed in the inNewInfo and inPrevInfo parameters&lt;br /&gt;
to apply transitional animation or sound effects as the button state changes, if such are &lt;br /&gt;
specified under the current theme.&lt;br /&gt;
&lt;br /&gt;
inPrevInfo&lt;br /&gt;
A pointer to a structure of type ThemeButtonDrawInfo. If the button state is changing,&lt;br /&gt;
set the structure to contain the previous state, value, and adornment for the button, &lt;br /&gt;
to allow DrawThemeButton to apply any transitional effects. If the button state is not &lt;br /&gt;
changing, you can pass NULL.&lt;br /&gt;
&lt;br /&gt;
inEraseProc&lt;br /&gt;
A value of type ThemeEraseUPP. If you have a custom background, use this parameter to pass&lt;br /&gt;
a universal function pointer to an application-defined function such as that described in &lt;br /&gt;
ThemeEraseProcPtr. DrawThemeButton calls this function to erase the background before drawing&lt;br /&gt;
 the button. If you pass NULL, DrawThemeButton&amp;#039;s default behavior is to erase the background&lt;br /&gt;
 for you.&lt;br /&gt;
&lt;br /&gt;
inLabelProc&lt;br /&gt;
A value of type ThemeButtonDrawUPP. If you pass a universal function pointer to an &lt;br /&gt;
application-defined function such as that described in ThemeButtonDrawProcPtr, DrawThemeButton&lt;br /&gt;
 calls that function to draw the label of the button. If you pass NULL, no label is drawn.&lt;br /&gt;
&lt;br /&gt;
inUserData&lt;br /&gt;
An unsigned 32-bit integer. Provide any data to be passed in to the callback functions specified in &lt;br /&gt;
the inLabelProc and inEraseProc parameters. Pass NULL if you do not wish to provide any data.&lt;br /&gt;
&lt;br /&gt;
Return Value&lt;br /&gt;
A result code. See “Appearance Manager Result Codes”.&lt;br /&gt;
&lt;br /&gt;
Discussion&lt;br /&gt;
The DrawThemeButton function draws a theme-compliant button. If a ThemeEraseProcPtr is &lt;br /&gt;
specified in the inEraseProc parameter, DrawThemeButton uses that function to erase the &lt;br /&gt;
background of the button before drawing the button. After the button is drawn, if a&lt;br /&gt;
ThemeButtonDrawProcPtr is specified in the inLabelProc parameter, DrawThemeButton calls&lt;br /&gt;
that function to draw the button’s label.&lt;br /&gt;
&lt;br /&gt;
Note that DrawThemeButton also draws any appearance adornments for the button and that these&lt;br /&gt;
can extend beyond the button’s basic bounding rectangle, as specified in the inBounds parameter,&lt;br /&gt;
and may be of variable shape. You may therefore wish to call the function&lt;br /&gt;
GetThemeButtonBackgroundBounds to obtain the actual rectangle containing the pixels belonging&lt;br /&gt;
to a button under the current theme.&lt;br /&gt;
&lt;br /&gt;
Version Notes&lt;br /&gt;
This function is available with Appearance Manager 1.1 and later.&lt;br /&gt;
&lt;br /&gt;
Availability&lt;br /&gt;
Available in CarbonLib 1.0 and later when Appearance 1.1 or later is present.&lt;br /&gt;
Available in Mac OS X 10.0 and later.&lt;br /&gt;
Declared In&lt;br /&gt;
Appearance.h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====HIComboBoxCreate() documentation====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
HIComboBoxCreate&lt;br /&gt;
Creates a combo box control.&lt;br /&gt;
&lt;br /&gt;
OSStatus HIComboBoxCreate (&lt;br /&gt;
   const HIRect* boundsRect,&lt;br /&gt;
   CFStringRef text,&lt;br /&gt;
   const ControlFontStyleRec* style,&lt;br /&gt;
   CFArrayRef list,&lt;br /&gt;
   OptionBits inAttributes,&lt;br /&gt;
   HIViewRef* outComboBox&lt;br /&gt;
);&lt;br /&gt;
Parameters&lt;br /&gt;
boundsRect&lt;br /&gt;
The bounding box of the control.&lt;br /&gt;
&lt;br /&gt;
text&lt;br /&gt;
The default text in the editable portion of the control. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
style&lt;br /&gt;
The font style of the both editable text and the text in the disclosure list. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
list&lt;br /&gt;
The default values available in the disclosure list. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
inAttributes&lt;br /&gt;
The default attributes of the combo box. For possible values, see “Combo Box Attributes”.&lt;br /&gt;
&lt;br /&gt;
outComboBox&lt;br /&gt;
On exit, a pointer to a reference for the new control.&lt;br /&gt;
&lt;br /&gt;
Discussion&lt;br /&gt;
The combo box can be used in compositing mode, as well as traditional Control Manager mode.&lt;br /&gt;
When created, this view is invisible. To see the view, you must show the view by calling HIViewSetVisible.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What is used for Linux, Windows, Mac OS X ...build ? ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Description of the dependencies]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Windows]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[MacOS X]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Linux]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Solaris]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Content of Aqua ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Click here to see the complete list]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Content of vcl/inc&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Notes: &lt;br /&gt;
&lt;br /&gt;
1) Where to find includes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;foo/bar.hxx&amp;gt; means you can find bar.hxx in the foo module. The new style file is foo/inc/foo/bar.hxx, old style is foo/inc/bar.hxx and sometimes the file is somewhere else in the tree or generated. The deliver process copies/generates the file into solver at solver/680/build_type/inc/foo. Good for fixing broken builds. ;-)&lt;br /&gt;
&lt;br /&gt;
2) &lt;br /&gt;
suffix .h (for C calls or first version?) or .hxx (C++) &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;A) Family of includes&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
Looking more closely at the list brings to the fore (expression from dictionary ;-) ) that include names are&lt;br /&gt;
informatives. Most of the time, the name gives the function/role.&lt;br /&gt;
What is interesting is the files with name begining with &amp;quot;sal&amp;quot;. sal means System Abstraction Layer + include&amp;#039;s function (or explicit name). &lt;br /&gt;
&lt;br /&gt;
Partial list, for example:&lt;br /&gt;
&lt;br /&gt;
salatype.hxx&lt;br /&gt;
&lt;br /&gt;
salbmp.hxx&lt;br /&gt;
&lt;br /&gt;
salctrlhandle.hxx&lt;br /&gt;
&lt;br /&gt;
salctype.hxx&lt;br /&gt;
&lt;br /&gt;
salframe.hxx&lt;br /&gt;
&lt;br /&gt;
salgdi.hxx&lt;br /&gt;
&lt;br /&gt;
salgeom.hxx&lt;br /&gt;
&lt;br /&gt;
sallayout.hxx (main header for fonts services)&lt;br /&gt;
...&lt;br /&gt;
salmenu&lt;br /&gt;
salnativewidgets&lt;br /&gt;
...etc&lt;br /&gt;
&lt;br /&gt;
Other important families are &amp;quot;sv&amp;quot; and &amp;quot;uno&amp;quot; or &amp;quot;win&amp;quot; (window) prefixed. sal family will be analysed apart.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B) Includes of includes&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Some includes are more important than other. To prove this, just have a look is sufficient: some are always needed, and some more rarely.&lt;br /&gt;
&lt;br /&gt;
To verify, a simple test to do in vcl/inc:&lt;br /&gt;
&lt;br /&gt;
egrep -H &amp;quot;#include&amp;quot; ./* | wc -l  gives me 681 lines ! And some of them are the same...&lt;br /&gt;
&lt;br /&gt;
To know more, the precedent command line can be modified to make appear the numerous call &lt;br /&gt;
to the same includes files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
egrep -H &amp;quot;#include&amp;quot; ./* | cut -d&amp;quot;#&amp;quot; -f2 | sort &amp;gt; liste.txt&lt;br /&gt;
&lt;br /&gt;
The content of liste.txt is explicit: dllapi.h, sv.h and some other are very important, while some other includes are only one or two times used. We can see too that vos includes are numerous, even if vos is deprecated**&lt;br /&gt;
&lt;br /&gt;
 **see http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m nearly sure that a complete analysis of just this result will give us a lot of information.&lt;br /&gt;
&lt;br /&gt;
I propose to change the order of analysis starting with dllapi.h and sv.h.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[to be continued]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B1) &amp;quot;sal&amp;quot; includes family&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[salinst.hxx]] This seems to be the main include file&lt;br /&gt;
&lt;br /&gt;
[[salatype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salctrlhandle.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salctype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salframe.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salgdi.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salgeom.hxx]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[ sallayout.hxx ]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;-- see Native Fonts implementation&lt;br /&gt;
&lt;br /&gt;
[[salgtype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[vcl/inc/salobj.hxx]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B2) Classicals includes&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
file: abstdlg.hxx [ means abstract dialog ]&lt;br /&gt;
&lt;br /&gt;
This includes does contain the following classes definitions:&lt;br /&gt;
&lt;br /&gt;
[FIXME] : choose a precise presentation template for classes &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
VclAbstractDialog,&lt;br /&gt;
&lt;br /&gt;
VclAbstractTerminateDialog, &lt;br /&gt;
&lt;br /&gt;
VclAbstractRefreshableDialog,&lt;br /&gt;
 &lt;br /&gt;
VclAbstractDialogFactory, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
uses &amp;lt;tools/solar.h&amp;gt; , &amp;lt;tools/string.hxx&amp;gt; + &lt;br /&gt;
&lt;br /&gt;
&amp;quot;dllapi.h&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note : dllapi.h is very interesting because when we have to find (for example) a library suffix, SAL_DLLEXTENSSION can replace all suffixes (every OS&amp;#039;s and archs). Just including sal/config.h does it ! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
Window -&amp;gt; what? [FIXME]&lt;br /&gt;
ResId -&amp;gt; what?&lt;br /&gt;
&lt;br /&gt;
Does contain the prototype of VclAbstractDialog, inherit of VCL_DLLPUBLIC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
file: dllapi.h [ dll for dynamic linked library ]&lt;br /&gt;
Uses: &amp;lt;sal/config.h&amp;gt; and &amp;gt;sal/types/h&amp;gt;&lt;br /&gt;
includes: VCL_DLLPUBLIC macro&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
file: accel.h [ means accelerator ]&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
Accelerator &lt;br /&gt;
{&lt;br /&gt;
}&lt;br /&gt;
ImplAccelEntry &lt;br /&gt;
{&lt;br /&gt;
public members: &lt;br /&gt;
&lt;br /&gt;
Names&lt;br /&gt;
&lt;br /&gt;
mnId&lt;br /&gt;
maKeyCode&lt;br /&gt;
mpAccel&lt;br /&gt;
mpAutoAccel&lt;br /&gt;
mbEnabled&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function / returns / parameters&lt;br /&gt;
&lt;br /&gt;
ImplGetKeyCode / void / KeyFuncType eFunc, ref rCode1 , ref rCode2, ref rCode3&lt;br /&gt;
&lt;br /&gt;
file: accel.hxx &lt;br /&gt;
&lt;br /&gt;
Uses: &amp;lt;sv.h&amp;gt; , &amp;quot;dllapi.h&amp;quot; ,&amp;lt;tools/resid.hxx&amp;gt;, &amp;lt;&amp;lt;tools/rc.hxx&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
ImplAccelData;&lt;br /&gt;
ImplAccelEntry;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Progressive implementation]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Font server Implementation&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;[[Mac OS X Porting - Native Fonts]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Sound Implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native Audio and Video]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Printing Implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native_Printing]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Drag and Drop implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native Drag and drop]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Data Acquisition&amp;#039;&amp;#039;&amp;#039; : [[Mac OS X Porting - Data Acquisition]]&lt;br /&gt;
&lt;br /&gt;
This work is part of http://wiki.services.openoffice.org/wiki/Mac_OS_X_Porting_-_Work_Areas/Todo%27s&lt;br /&gt;
&lt;br /&gt;
[to be continued:-) ]&lt;br /&gt;
&lt;br /&gt;
== Keyboard comparizon between OpenOffice.org / Mac OS X  application ==&lt;br /&gt;
&lt;br /&gt;
[FIXME] redo a cleanest array &lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:centered; background-color:#F0F0F0;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#99CCFF; font-weight:bold;&amp;quot; &lt;br /&gt;
| Modifier||+ key  || Result || TextEdit  returns&lt;br /&gt;
|-&lt;br /&gt;
|ALT|| a||æ ||æ &lt;br /&gt;
|-&lt;br /&gt;
|ALT||b||ß ||ß&lt;br /&gt;
|-&lt;br /&gt;
|ALT||c||© ||©&lt;br /&gt;
|-&lt;br /&gt;
|ALT||d||∂ ||∂&lt;br /&gt;
|-&lt;br /&gt;
|ALT||e||ê ||ê&lt;br /&gt;
|-&lt;br /&gt;
|ALT||f||ƒ ||ƒ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||g ||ﬁ ||ﬁ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||h ||Ì ||Ì&lt;br /&gt;
|-&lt;br /&gt;
|ALT||i ||î ||î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||j ||Ï ||Ï&lt;br /&gt;
|-&lt;br /&gt;
|ALT||k ||È ||È&lt;br /&gt;
|-&lt;br /&gt;
|ALT||l ||¬ ||¬&lt;br /&gt;
|-&lt;br /&gt;
|ALT||m ||µ ||µ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||n ||~ ||~&lt;br /&gt;
|-&lt;br /&gt;
|ALT||o ||œ ||œ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||p ||π ||π&lt;br /&gt;
|-&lt;br /&gt;
|ALT||q ||‡ ||‡&lt;br /&gt;
|-&lt;br /&gt;
|ALT||r ||® ||®&lt;br /&gt;
|-&lt;br /&gt;
|ALT||s ||Ò ||Ò&lt;br /&gt;
|-&lt;br /&gt;
|ALT||t ||† ||†&lt;br /&gt;
|-&lt;br /&gt;
|ALT||u ||º ||º&lt;br /&gt;
|-&lt;br /&gt;
|ALT||v ||◊ ||◊&lt;br /&gt;
|-&lt;br /&gt;
|ALT||w ||‹ ||‹&lt;br /&gt;
|-&lt;br /&gt;
|ALT||x ||≈ ||≈&lt;br /&gt;
|-&lt;br /&gt;
|ALT||y ||Ú ||Ú&lt;br /&gt;
|-&lt;br /&gt;
|ALT||z ||Â ||Â&lt;br /&gt;
|-&lt;br /&gt;
|ALT||A ||Æ ||Æ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||B ||∫ ||∫&lt;br /&gt;
|-&lt;br /&gt;
|ALT||C ||¢ ||¢&lt;br /&gt;
|-&lt;br /&gt;
|ALT||D||∆||∆&lt;br /&gt;
|-&lt;br /&gt;
|ALT||F ||· ||·&lt;br /&gt;
|-&lt;br /&gt;
|ALT||G ||ﬂ ||ﬂ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||H ||Î ||Î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||I ||Î ||Î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||J ||Í ||Í&lt;br /&gt;
|-&lt;br /&gt;
|ALT||K ||Ë ||Ë&lt;br /&gt;
|-&lt;br /&gt;
|ALT||L || &amp;lt;pre&amp;gt;|&amp;lt;/pre&amp;gt; ||&amp;lt;pre&amp;gt;|&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|ALT||M ||Ó ||Ó&lt;br /&gt;
|-&lt;br /&gt;
|ALT||N ||ı ||ı&lt;br /&gt;
|-&lt;br /&gt;
|ALT||O ||Œ ||Œ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||P ||∏ ||∏&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Q ||Ω ||Ω&lt;br /&gt;
|-&lt;br /&gt;
|ALT||R ||‚ ||‚&lt;br /&gt;
|-&lt;br /&gt;
|ALT||S ||∑ ||∑&lt;br /&gt;
|-&lt;br /&gt;
|ALT||T ||™ ||™&lt;br /&gt;
|-&lt;br /&gt;
|ALT||U ||ª ||ª&lt;br /&gt;
|-&lt;br /&gt;
|ALT||V ||√ ||√&lt;br /&gt;
|-&lt;br /&gt;
|ALT||W ||› ||›&lt;br /&gt;
|-&lt;br /&gt;
|ALT||X ||⁄ ||⁄&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Y ||Ÿ ||Ÿ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Z ||Å ||Å&lt;br /&gt;
|-&lt;br /&gt;
|ALT||$ ||€ ||€&lt;br /&gt;
|-&lt;br /&gt;
|ALT||` ||@ ||@&lt;br /&gt;
|-&lt;br /&gt;
|ALT||£ ||# ||#&lt;br /&gt;
|-&lt;br /&gt;
|ALT||* ||¥ ||¥&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Sous réserve d&amp;#039;erreur ou omission [[User:Ericb|Ericb]] 00:05, 14 January 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Ericb|Ericb]] 15:00, 22 Jul 2005 (EDT)&lt;br /&gt;
&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:MacOSX]]&lt;br /&gt;
[[Category:Aqua]]&lt;/div&gt;</summary>
		<author><name>Damiend</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Ericb&amp;diff=25526</id>
		<title>User:Ericb</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Ericb&amp;diff=25526"/>
		<updated>2007-02-20T14:26:01Z</updated>

		<summary type="html">&lt;p&gt;Damiend: /* Sal GDI (everything Graphical Display Interface) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Public Documentation License Notice==&lt;br /&gt;
&lt;br /&gt;
The contents of this Documentation (excepted Native Port Roadmap),are subject to the Public Documentation License Version 1.0 (the &amp;quot;License&amp;quot;); you may only use this Documentation if you comply with the terms of this License. A copy of the License is available at http://www.openoffice.org/licenses/PDL.html.&lt;br /&gt;
The Original Documentation is &amp;quot;Mac OS X native port&amp;quot;. The Initial Writer of the Original Documentation is (JCA) Eric Bachard (C) 2005-2006. All Rights Reserved. (Initial Writer contact(s): ericb@openoffice.org.)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Mac OS X Native port&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;messagebox cleanup metadata&amp;quot; style=&amp;quot;border:1px solid blue;background-color:#B3FFF5;padding:7px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The first Mac OS X native port objective is make OpenOffice.org run without X11 use, to make it a real Mac application.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The second one is respect Aqua Human interface Guidelines&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; This is a long term work, and every help and/or contributions, like donations** are welcome.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 **see http://contributing.openoffice.org/index.html&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Native Port Roadmap&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
===&amp;#039;&amp;#039;&amp;#039;2006&amp;#039;&amp;#039;&amp;#039;===&lt;br /&gt;
&lt;br /&gt;
* June 2006: work in progress &lt;br /&gt;
&lt;br /&gt;
- Basis: frame, instances, threads, drawing, painting, resizing (Stephan Schaefer, Tino Rachui)&lt;br /&gt;
&lt;br /&gt;
 Done: &lt;br /&gt;
 implement threads&lt;br /&gt;
 create, manage instance&lt;br /&gt;
 create, manage windows (including parents)&lt;br /&gt;
 create, manage events&lt;br /&gt;
 create manage drawing, resizing&lt;br /&gt;
 create, add menus (Pavel Janik)&lt;br /&gt;
 toggle window fullscreen (Pierre de Filippis)&lt;br /&gt;
 make font server work (Stephan Schaefer)&lt;br /&gt;
&lt;br /&gt;
* Current status font support (Stephan Schaefer, 2006/07/28): the following features are basically working now&lt;br /&gt;
** font selection&lt;br /&gt;
** font size&lt;br /&gt;
** simple font attributes (bold, italic)&lt;br /&gt;
&lt;br /&gt;
 Next step: document first part, and propose design&lt;br /&gt;
&lt;br /&gt;
- native filepicker (Pavel Janik, Florian Heckl)&lt;br /&gt;
&lt;br /&gt;
- native printing implementation (Oliver?)&lt;br /&gt;
&lt;br /&gt;
- native font implementation (Eric Bachard)&lt;br /&gt;
&lt;br /&gt;
* September 2006: &lt;br /&gt;
&lt;br /&gt;
- first proofs of concept: fonts, filepicker .. (more?)&lt;br /&gt;
- show the results (OOoCon 2006?)&lt;br /&gt;
&lt;br /&gt;
===&amp;#039;&amp;#039;&amp;#039;2007&amp;#039;&amp;#039;&amp;#039;===&lt;br /&gt;
&lt;br /&gt;
* January 2007: first alpha implementation&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Strategy for native port&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Possible Actions&amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
Identify us:&lt;br /&gt;
&lt;br /&gt;
#Complete the arrays below&lt;br /&gt;
#Update photos on frapr.com?&lt;br /&gt;
&lt;br /&gt;
Share the work:&lt;br /&gt;
&lt;br /&gt;
#Divide the work between little Teams&lt;br /&gt;
#Update Todo list regularly -&amp;gt; needs some love these days ... [http://wiki.services.openoffice.org/wiki/Mac_OS_X_Porting_-_Work_Areas/Todo%27s]&lt;br /&gt;
&lt;br /&gt;
Help:&lt;br /&gt;
&lt;br /&gt;
#Teach tools between us&lt;br /&gt;
#Do a debug party on IRC&lt;br /&gt;
#write documentation&lt;br /&gt;
&lt;br /&gt;
Meet us:&lt;br /&gt;
&lt;br /&gt;
#IRC&lt;br /&gt;
#Mac Meeting (like nov2005 in Hamburg?)&lt;br /&gt;
&lt;br /&gt;
Inform:&lt;br /&gt;
&lt;br /&gt;
#Update website regularly&lt;br /&gt;
#Blogs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHO&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
Mac Team:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:left; background-color:#efefef;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#d6d6d6;font-weight:bold;&amp;quot; &lt;br /&gt;
|Developer \ skills || build || write code || code review || debug/trace (higher is better) || contribute to documentation ||&lt;br /&gt;
|-&lt;br /&gt;
|ericb|| x || x || || 1 || x ||&lt;br /&gt;
|-&lt;br /&gt;
|pjanik|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|ssa|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|maho|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|tinor|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|schmidtm|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|ebischoff|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|obr|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|cl|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|aliscafo|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|fheckl|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Fridrich|| || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|plipli|| || x || || || x ||&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Other resources&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
fonts: ?&lt;br /&gt;
&lt;br /&gt;
events: ?&lt;br /&gt;
&lt;br /&gt;
QA: ?&lt;br /&gt;
&lt;br /&gt;
graphical: ?&lt;br /&gt;
&lt;br /&gt;
Communication: ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHAT&amp;#039;&amp;#039;&amp;#039;: Status of most important tasks&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:left; background-color:#efefef;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#d6d6d6;font-weight:bold;&amp;quot; &lt;br /&gt;
| Task || Names|| Urgency (1=higher)|| Work in Progress || Done || Code review || Debug || Integration || &lt;br /&gt;
|-&lt;br /&gt;
|Get rid of X11||done || 1 || x || x || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Bundle|| || 1 || x || || || || | ||&lt;br /&gt;
|-&lt;br /&gt;
|Drawing|| || 1 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Fonts||plipli || 1 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Events management|| || 2 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Controls (see list) ||ericb, aliscafo || 2 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native FilePicker||Florian Heckl, Pavel Janik || 3 || x || x || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native Printing||Yvan Barthelemy || 3 || x || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Native SpellChecker|| || 4 || || || || || || ||&lt;br /&gt;
|-&lt;br /&gt;
|Player||Mox Soini || 4 || x || || || || || ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other tasks:&lt;br /&gt;
&lt;br /&gt;
Help for writing bug lists, status of bugs ..etc&lt;br /&gt;
&lt;br /&gt;
Write howto use gdb, leaks, other tools&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WHEN&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
From Christian Lippka (last meeting, 25th of august 2006): &lt;br /&gt;
 Aug 26 00:21:38 ChristianL&lt;br /&gt;
 from my point of view what is missing for point 1:&lt;br /&gt;
 text layout, complete font support, keyboard support,&lt;br /&gt;
 fixing repaint issues, having aqua install and run out of the box&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;September 2006&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Present the current state of the project at the 2006 OpenOffice conference in Lyon and Paris&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Late 2006&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
fix OpenOffice.org launch&lt;br /&gt;
fix drawing (repainting)&lt;br /&gt;
Implement missing methods and fix most important bugs (mainly the one leading to crash) in:&lt;br /&gt;
ATS&lt;br /&gt;
Salgraphics&lt;br /&gt;
Salinstance&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;January or February 2007&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
make Java work (works partially)&lt;br /&gt;
make intensive debug&lt;br /&gt;
present something working as alpha&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;June 2007	&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Implementation of:&lt;br /&gt;
native filepicker&lt;br /&gt;
native printing&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;2nd Mac porters meeting&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[2nd Mac porters meeting]]&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;IRC Mac port meetings&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[MacOSXPortMeetings]].&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Mac OS X (X11) Quality Assurance&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
This section has been moved to [[Mac OS X ( X11) Quality Assurance]]&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Debug OpenOffice.org using XCode &amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
[[ MacOSX Debug OpenOffice.org using XCode]]&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Description of the Native Port problem&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
=== How does OpenOffice.org work on Mac OS X? ===&lt;br /&gt;
&lt;br /&gt;
Currently, on Mac OS X, OpenOffice.org uses X11, as &amp;quot;client&amp;quot;: X11 is a graphical server, coming from Unix world, and able to run under Linux, *BSD, Solaris, Mac OS X.&lt;br /&gt;
&lt;br /&gt;
 - X11 is run as an application, managed like other Apple applications.&lt;br /&gt;
 - All unix like applications are managed by X11, and from Aqua environment, only X11 is seen as only one applicatiion, &lt;br /&gt;
  even if other Unix/Linux (e.g.) applications are runing.&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org asks X11 to display a window, waits for X11 acknowledgment, and OpenOffice.org displays the window. All transactions use the network, locally or not. the same mechanism is used for everything to be displayed.&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
=== Issues and known problems ===&lt;br /&gt;
&lt;br /&gt;
All events are managed by OpenOffice.org and X11, using the Xlib&lt;br /&gt;
&lt;br /&gt;
Only .ttf fonts type is currently available. Note: &amp;#039;&amp;#039;&amp;#039;system fonts are available &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The rendering is made by X11, not by Mac OS X rendering engine.&lt;br /&gt;
&lt;br /&gt;
X11 and all its clients are seen as one application only: drag and drop protocol does not work because of that (solution: Pasteboard Manager)&lt;br /&gt;
&lt;br /&gt;
==== Other links ====&lt;br /&gt;
&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/List_of_OpenOffice.org_Mac_OS_X_issues_and_problems#&lt;br /&gt;
&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Printing_problems_with_OpenOffice.org_2.0_for_Mac_OS_X#Reporting_printing_problems&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== What do we have to do?==&lt;br /&gt;
&lt;br /&gt;
* Implement direct access to Apple graphical engine, using Apple API: Quartz2D/CoreGraphics (and replacing Xlib use)&lt;br /&gt;
&lt;br /&gt;
like: instantiate, manage events and threads for a graphical instance + all needed objects, drawing: manage all drawing cases&lt;br /&gt;
&lt;br /&gt;
* Implement native events management, using CarbonEventManager (replacing Xlib management)&lt;br /&gt;
&lt;br /&gt;
* Implement native font use, using Apple Type Server and ATSUI (for Unicode Imagery) (replacing X11 management)&lt;br /&gt;
&lt;br /&gt;
Work in progress: [[Mac OS X Porting - Native Fonts]]&lt;br /&gt;
&lt;br /&gt;
* Implement native sound, using QuickTime (replacing Java Media Framework): [[Mac OS X Porting - Native Audio and Video]]&lt;br /&gt;
&lt;br /&gt;
* Implement native Drag and drop, Implementing Pasteboard Manager: [[Mac OS X Porting - Native Drag and drop]]&lt;br /&gt;
&lt;br /&gt;
* Implement Native Filepicker&lt;br /&gt;
&lt;br /&gt;
* Implement Native Printing: current uses cups, but native printing is mandatory: [[Mac OS X Porting - Native_Printing]]&lt;br /&gt;
&lt;br /&gt;
* Implement Apple Spellchecker&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Where is located the code to be modified?&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
Most of the changes are located in vcl (Visual Class Layer), for everything graphical, events, fonts, rendering and printing.&lt;br /&gt;
&lt;br /&gt;
Other, for sound and movies will be in avmedia (where the player is implemented in OpenOffice.org sources).&lt;br /&gt;
&lt;br /&gt;
For drag and drop, dtrans is concerned (Pasteboard Manager implementation)&lt;br /&gt;
&lt;br /&gt;
[FIXME]: Filepicker? Apple Spellchecker?&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 11:39, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;How will the new implementation be tested?==&lt;br /&gt;
&lt;br /&gt;
Currently, all openOffice.org code can be compiled without using the Xlib. but of course, a lot of features are missing,&lt;br /&gt;
&lt;br /&gt;
and the final package simply won&amp;#039;t work&lt;br /&gt;
&lt;br /&gt;
In vcl module&amp;quot;, a &amp;#039;&amp;#039;&amp;#039;toy&amp;#039;&amp;#039;&amp;#039; called svdem is built at buildtime. This binary is linked to libvcl* and so all new stuff can be tested.&lt;br /&gt;
&lt;br /&gt;
e.g. : draw anti-aliased lines works well. &lt;br /&gt;
&lt;br /&gt;
Everything implemented in aqua vcl code will be included in libvclplug_aqua, and svdem source code will contain a specific part to proceed tests.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;messagebox cleanup metadata&amp;quot; style=&amp;quot;border:1px solid blue;background-color:#B3FFF5;padding:7px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The magic is: when all needed features will work with svdem, it will work in the new version of OpenOffice.org !!&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[FIXME]: add more complete list of features to implement and test.&lt;br /&gt;
&lt;br /&gt;
== AquaVCL 01 cws ==&lt;br /&gt;
&lt;br /&gt;
[[http://qa.openoffice.org/issues/buglist.cgi?keywords=aqua Top 10 of Aqua issues]]&lt;br /&gt;
&lt;br /&gt;
[[Aquavcl01 tasks]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===recent changes ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Recent Changes &lt;br /&gt;
&lt;br /&gt;
[done] fix nRepeat in text entry  (ssa)&lt;br /&gt;
&lt;br /&gt;
[done] fix missing mouse events  (pjanik)&lt;br /&gt;
&lt;br /&gt;
[done] pushbutton where not correctly drawn (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] fix alpha channel in pixmaps (ismael)&lt;br /&gt;
&lt;br /&gt;
[done] fix correct size for main window (GetOoptimaWindowSize()  ) (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] replace obsolete code in salframe.cxx with (ericb)&lt;br /&gt;
&lt;br /&gt;
[done] add new feature for Aqua windows, to allow QuickTime player use( mox )&lt;br /&gt;
&lt;br /&gt;
[done] add mouse drag events  ( pjanik )&lt;br /&gt;
&lt;br /&gt;
[done] modify libsalsystools.dylib to be correctly loaded with the bundle  (ericb, + pjanik)&lt;br /&gt;
&lt;br /&gt;
[done] implement mapfiles for Mac OS X (Stephan Bergmann, Daniel Boelzle, Tino Rachui , Pavel Janik)&lt;br /&gt;
&lt;br /&gt;
[done] fix scrollbar buttons (implement correct methods to retrieve dimensions)&lt;br /&gt;
&lt;br /&gt;
[done] fix checkbuttons and radiobuttons issues: offsets, redrawing of the check marks ( ericb) &lt;br /&gt;
&lt;br /&gt;
[done, not commited] implement UpdateSettings()   (ericb) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Work in progress : &lt;br /&gt;
&lt;br /&gt;
Bitmaps : ( isma87) &lt;br /&gt;
&lt;br /&gt;
Crashes : (tino, pjanik, ericb, isma87 )&lt;br /&gt;
&lt;br /&gt;
Drag and drop :   (vijay)&lt;br /&gt;
&lt;br /&gt;
Printing   (ybart)  &lt;br /&gt;
&lt;br /&gt;
Drawing/ windowing  ( tino )&lt;br /&gt;
&lt;br /&gt;
Implement cursor (ericb) &lt;br /&gt;
&lt;br /&gt;
Native Controls  (ericb) &lt;br /&gt;
&lt;br /&gt;
[work in progress] partial multiline sallayout  (plipli )&lt;br /&gt;
&lt;br /&gt;
To do : &lt;br /&gt;
&lt;br /&gt;
(started, Oliver) - modify the tree to make the bundle start without hack ( issue fixed during buildtime) &lt;br /&gt;
&lt;br /&gt;
(started, Florian Heckl)  verify Native FilePicker implementation ( works , tested in Hamburg  )&lt;br /&gt;
&lt;br /&gt;
(started Ismaek Merzaq)  implement blit functions in salgdi  ( important fix:  probably apha version to be tested once done) &lt;br /&gt;
&lt;br /&gt;
( started Sebastien Plisson- update the missing functions list ( fonts ... ask hdu &amp;amp; cl    ) &lt;br /&gt;
&lt;br /&gt;
( started, ericb, Mox Soini, Sebastien Plisson)  continue to replace obsolete code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
URGENT :&lt;br /&gt;
&lt;br /&gt;
(work in progress) event issue when tips is enabled causes crashes ( well known window / handler  / window desctructor / event loop bug )&lt;br /&gt;
&lt;br /&gt;
fix crashes with menus  (started : tino ) &lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Sort of documentation about VCL around Native Mac OS X port&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Do we really need to understand how it works? ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
vcl content:&lt;br /&gt;
&lt;br /&gt;
ls -laR | wc -l&lt;br /&gt;
  1750&lt;br /&gt;
&lt;br /&gt;
-&amp;gt; Uff 1750 files to analyse :-/&lt;br /&gt;
&lt;br /&gt;
Our purpose is to describe the vcl organisation. The content of vcl is so important, that at the begining, the content will looks a bit confused. e.g. class names ..etc have nothing to do, only description with words and sense, but this will need some time before we can understand everything.&lt;br /&gt;
&lt;br /&gt;
How analyse with more efficiency? After some months to anlalyse &amp;#039;&amp;#039;&amp;#039;&amp;quot;horizontaly&amp;quot;&amp;#039;&amp;#039;&amp;#039;, it appears that list all the content of a directory is not the solution. Of course, we learned a lot, but we now have to complete with &amp;#039;&amp;#039;&amp;#039;&amp;quot;orthogonal&amp;quot;&amp;#039;&amp;#039;&amp;#039; method (compared to the previous one). The first method wasn&amp;#039;t obviously not the good/best way to describe vcl.&lt;br /&gt;
 &lt;br /&gt;
[UPDATE] After some investigations, the use of Design patterns seems to be the most efficient approach to describe vcl. Will try to do so asap.&lt;br /&gt;
&lt;br /&gt;
[FIXME] a different approach (will ask confirmation to Philipp Lohman), could be a description of how it work in runtime. First define what an instance is, a frame, and what exactly is concerned by such &amp;quot;objects&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
With that, we can write a list of different objects all using the same scheme: empty boxes (means pure virtual methods and classes in generic libvvcl), really implemented in the specific part, and finally, the API &amp;quot;encapsulated&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The most difficult is to see where the API is used. But for all the parts, this is the same.&lt;br /&gt;
&lt;br /&gt;
Finally, &amp;#039;&amp;#039;&amp;#039;what is important is the design of vcl&amp;#039;&amp;#039;&amp;#039;. Which &amp;#039;&amp;#039;&amp;#039;patterns&amp;#039;&amp;#039;&amp;#039; are used? What are the dependencies, how works the stack for the events, how works the scheduler, the timers too is very important, even fundamental for Aqua implementation. Will have a look at gsl mailing list, and other resources. Probably everything is already (randomly) written somewhere.&lt;br /&gt;
&lt;br /&gt;
=== VCL organisation ===&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s to Philipp Lohmann for this short, but precise description:&lt;br /&gt;
&lt;br /&gt;
Basically vcl is divided in the system dependent and the system independent part. The interface between these two is mostly the Sal interface (every interface name Sal*: SalInstance, SalFrame, SalGraphics, SalPrinter, etc.).&lt;br /&gt;
&lt;br /&gt;
SalInstance is a factory that can create all the other abstracted interfaces of the system dependent part. It also provides the main loop SalInstance::Yield()&lt;br /&gt;
&lt;br /&gt;
SalFrame abstracts any kind of system window.&lt;br /&gt;
&lt;br /&gt;
SalVirtualDevice abstracts an offscreen window (e.g. a Pixmap on X11)&lt;br /&gt;
&lt;br /&gt;
SalPrinter and SalInfoPrinter abstract the system print queues where SalInfoPrinter is for querying and SalPrinter for actual printing.&lt;br /&gt;
&lt;br /&gt;
SalGraphics is an interface produced by either SalFrame, SalVirtualDevice or SalPrinter which is used for actual drawing operations (text, bitmaps, vector graphics)&lt;br /&gt;
&lt;br /&gt;
SalSound is for sound playing.&lt;br /&gt;
&lt;br /&gt;
SalBitmap provides memory for bitmap graphics as well as methods converting this memory to a system handle (e.g. a Pixmap on X11).&lt;br /&gt;
&lt;br /&gt;
SalOpenGL provides OpenGL functionality if available.&lt;br /&gt;
&lt;br /&gt;
SalTimer is an interface for periodically triggering the event queue (to timer implementation).&lt;br /&gt;
&lt;br /&gt;
SalI18NImeStatus handles how the status window of an Input Method Editor (IME) should display (this is mainly X11 specific).&lt;br /&gt;
&lt;br /&gt;
SalSystem has some system specific methods that did not belong anywhere else:-)&lt;br /&gt;
&lt;br /&gt;
Of all these there interfaces is at least one implementation per system (Windows, X11 or Mac). The Unix implementation also has a plugin concept to allow for integration of different native toolkits (currently gtk and Qt) which became necessary for the implementation of Native Widget Framework (NWF) to display controls like their normal desktop counterparts.&lt;br /&gt;
&lt;br /&gt;
Basically the independent part (what is beneath vcl/source directory) has generic methods for drawing, window handling and stuff which it brings into a suitable form and then delegates to the system specific implementation (located beneath vcl/win for Windows and vcl/unx for the X11 platforms).&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 16:12, 1 July 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
===Sub-directories description ===&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;Organisation of vcl directories&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
&lt;br /&gt;
[[Image:aquavcl_organisation_complete_02.jpg]]&lt;br /&gt;
&lt;br /&gt;
==== &amp;#039;&amp;#039;&amp;#039;Directories in vcl. Short description&amp;#039;&amp;#039;&amp;#039; ====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; aqua &amp;#039;&amp;#039;&amp;#039;: The name Aqua means Apple look and feel, and is well known as [http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGIntro/chapter_1_section_1.html Aqua Human Interface Guidelines]. This look and feel means Mac OS X. The work was begun by (probably) P. luby, Dan Williams Herbert Duerr (most of fonts stuff) and Ed Peterlin. Currently in ruin, this directory does contain a lot of ideas to investigate. The most important part of needed changes for native version (3.0) will be done inside aqua dir inc: does contain all vcl relative includes [PART1]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; prj &amp;#039;&amp;#039;&amp;#039;: Does contain build.lst and d.lst build.lst give us dependencies: probably a lot for vcl, build 98th module over ~148. Everything graphical depends in vcl. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; qa &amp;#039;&amp;#039;&amp;#039; does contain all quality assurancy stuff&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;source&amp;#039;&amp;#039;&amp;#039;: the most important:-) This directory contains common sources for all architectures and OS. Mainly: Windows, Unix: Linux , Mac OS X (X11), Solaris, including generic, kde and gtk plugins, and Aqua (Mac OS X without X11, work currently in progress). &lt;br /&gt;
&lt;br /&gt;
Depending on the OS and the architecture, binaries are built or not.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; test &amp;#039;&amp;#039;&amp;#039;: This directory does contain all the needed stuff for tests. As example, in qa/testdocuments, you&amp;#039;ll find three documents (one writer, one calc and one impress) for tests purpose. &lt;br /&gt;
Other available tests are about memcheck and persistent window state. &lt;br /&gt;
 &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; unx &amp;#039;&amp;#039;&amp;#039;: this directory does contain all unixes stuff. We have to understand what is inside to implement aqua port. For example, a lot of classes/strutures and objects use Xlib calls we have to replace with Carbon/Cocoa call (at least at first time) for Mac OS X native port.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; win &amp;#039;&amp;#039;&amp;#039;: Doing Mac OS X native port, I first believed this directory was not interesting for us, but I was wrong: OpenOffice.org roots are inside this directory, and a lot of comments and resources are inside. Mainly interesting if Carbon is used.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;workben&amp;#039;&amp;#039;&amp;#039;: Does contain a toy called &amp;quot;svdem&amp;quot;. svdem is a binary, used for new implementations. For example, actual aqua development uses svdem intensively, to verify all important properties we need: &lt;br /&gt;
&lt;br /&gt;
- display a window first (al least ...:)) &lt;br /&gt;
&lt;br /&gt;
- close cleanly this window&lt;br /&gt;
&lt;br /&gt;
- display a point&lt;br /&gt;
&lt;br /&gt;
- trace a line&lt;br /&gt;
&lt;br /&gt;
- trace an area &lt;br /&gt;
&lt;br /&gt;
- superpose two areas doing some important graphical operations, (like xor),&lt;br /&gt;
&lt;br /&gt;
- display a character&lt;br /&gt;
&lt;br /&gt;
- display a menu. &lt;br /&gt;
&lt;br /&gt;
- intercept events correctly.&lt;br /&gt;
&lt;br /&gt;
[FIXME] add more tests&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 13:21, 3 June 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Naming convention&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* Class names start with upper case letters, to improve readability.&lt;br /&gt;
&lt;br /&gt;
* Implemented Class names are derived from the virtual classes but can of course take arbitrary names.&lt;br /&gt;
To increase readability, it&amp;#039;s recommended to closely follow the base class name.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Impl prefix: means Implementation details&amp;#039;&amp;#039;&amp;#039;. The concerned class or method or function is not used outside of this module, so no external code (or other libraries) can see it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[ Events types using Carbon API (Mac OS X): ]]&amp;#039;&amp;#039;&amp;#039; A lot of events have to be managed in runtime. Here is a short description&lt;br /&gt;
&lt;br /&gt;
- do not freeze because bad event loops&lt;br /&gt;
&lt;br /&gt;
- event types implementation: currently, they are defined in vcl/aqua/inc/aquavclevents.hxx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Apart: exact sense of hedabu? -&amp;gt; [FIXME] as far as I understood it: it is like &amp;quot;copy&amp;quot; to deliver software into the solver, with extra magic. The header files for example are manipulated so paths need not be exact. &amp;quot;headabu&amp;quot; is supposed to disappear little by little.&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;What do we have to build in vcl?&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
Two libraries, corresponding ressources (localized) and a toy so called « svdem »&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Common part&amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
in grey on right. The result will be a non architecture dependant library, built in all cases: for instance, libvcl680mxi.dylib on Mac Intel.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Specific part  &amp;quot; a plugin &amp;quot; &amp;#039;&amp;#039;&amp;#039;: &lt;br /&gt;
&lt;br /&gt;
Light yellow: aqua part will only concern Mac OS X (non X11) the name will probably be libvcl_aqua680mxi.dylib &lt;br /&gt;
&lt;br /&gt;
As you can see, win means windows part, in blue&lt;br /&gt;
&lt;br /&gt;
For Unix build (Linux, Solaris or current Mac OS X X11), in purple.&lt;br /&gt;
&lt;br /&gt;
Result will be:&lt;br /&gt;
&lt;br /&gt;
libvclplug_PLUGIN680mxi.DLLSUFFIX , where PLUGIN can be iether gen (generic) or gtk (using gtk+) or kde (using qt), and DLLSUFFIX can be either .so (linux) or .dylib (Mac OS X) ...etc (I&amp;#039;m not sure for other cases).&lt;br /&gt;
&lt;br /&gt;
Example: libvcl680mxi.dylib and libvclplug_aqua680mxi.dylib&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In runtime&amp;#039;&amp;#039;&amp;#039;, libvclplug_aqua will be linked to libvcl680. the first one will contain the real implementation (respecting the API, e.g. Carbon) while the generic libvcl will only contain pure virtual methods ...etc like &amp;quot;empty boxes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Current Aqua content ===&lt;br /&gt;
&lt;br /&gt;
A more complete description of aqua (Mac OS X / no X11 specific): [[Image:Vcl_aqua_organisation_02_tree.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==EXISTING objects to build in aqua==&lt;br /&gt;
&lt;br /&gt;
===Sal APP &amp;quot;everything application&amp;quot;===&lt;br /&gt;
&lt;br /&gt;
[FIXME] add all objects descriptions&lt;br /&gt;
&lt;br /&gt;
==== saldata ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Defined in plugin exclusively&amp;#039;&amp;#039;&amp;#039; (i.e. for headers)&lt;br /&gt;
&lt;br /&gt;
Unix: unx/source/app/saldata.cxx (header in unx/inc)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Aqua: aqua/source/app/saldata.cxx (header in win/inc)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Windows: win/source/app/saldata.cxx (header in aqua/inc)&lt;br /&gt;
&lt;br /&gt;
* Role: saldata contains various kind of data used by the implementation for the concerned platform. &amp;#039;&amp;#039;&amp;#039;It is a bunch of global data collections reserved for the platform&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
It is just completely platform dependent, and nobody except this plugin can see it.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Saldata is something like a &amp;quot;second sal&amp;quot;, but providing an abstraction regarding windowing and graphics&amp;#039;&amp;#039;&amp;#039;, while SAL module provides an abstraction more Operating System oriented) &lt;br /&gt;
&lt;br /&gt;
e.g. : have a look at XRequest array in vcl/unx/source/app/saldata.cxx =&amp;gt; all calls are for Xlib (X11).  Ok, useless there, but interesting:-)&lt;br /&gt;
&lt;br /&gt;
[FIXME]: use Windows implementation could be a good starting point. Nothing is the same, but the current aquavcl cws uses similar objects, and it works very correctly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
saldatax.cxx uses classes SalInstance, SalObject, SalFrame, SalVirtualDevice, SalPrinter and fontList.&lt;br /&gt;
&lt;br /&gt;
Current list of possible objects who can be instantiated/released:&lt;br /&gt;
&lt;br /&gt;
structure SalData: does contain pointers on all kind of objects from other classes used in saldata.&lt;br /&gt;
&lt;br /&gt;
inline functions: [FIXME]: complete the description&lt;br /&gt;
&lt;br /&gt;
- SetSalData:&lt;br /&gt;
- GetSalData:&lt;br /&gt;
- GetAppSalData:&lt;br /&gt;
&lt;br /&gt;
==== salinst ====&lt;br /&gt;
&lt;br /&gt;
=&amp;gt; implemented in vcl/aqua/source/app/salinst.cxx&lt;br /&gt;
&lt;br /&gt;
Role: &lt;br /&gt;
&lt;br /&gt;
* get environment, mutexes, instantiate AquaSalInstance (Ctor, Dtor),&lt;br /&gt;
&lt;br /&gt;
* instantiates/releases a lot of other objects using Get() / CreateObject() / DestroyObject() methods.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Current list of possible objects who can be instantiated/released:&lt;br /&gt;
&lt;br /&gt;
 * VirtualDevice [FIXME]: exact role?&lt;br /&gt;
&lt;br /&gt;
 *Printer  &lt;br /&gt;
&lt;br /&gt;
- GetDefaultPrinter/ CreatePrinter() / DestroyPrinter - what a name ;-) -&lt;br /&gt;
&lt;br /&gt;
- InfoPrinter (Get/Create/Delete)&lt;br /&gt;
&lt;br /&gt;
- PrinterQueue (DeletePrinterQueueInfo / GetPrinterQueueInfo / GetPrinterQueueState)&lt;br /&gt;
&lt;br /&gt;
 * System (Create / Delete) [FIXME]: what means system here?&lt;br /&gt;
&lt;br /&gt;
 * Events: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::SetEventCallback()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::SetErrorEvenCallback()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::GetConnectionIdentifier()&lt;br /&gt;
&lt;br /&gt;
 * Menu / MenuItem: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateMenu() / same for DestroyMenu()&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateMenuItem / same DestroyMenuItem()&lt;br /&gt;
&lt;br /&gt;
 * Sound: &lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateSalSound()  =&amp;gt; object to a pointer of SalSound type&lt;br /&gt;
&lt;br /&gt;
Note: AquaSalInstance::DestroySalSound is not implemented (?)&lt;br /&gt;
&lt;br /&gt;
 * Timer: CreateTimer() /&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance:: DestroyTimer() is not yet implemented (?)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Class MacImeStatus: inherits of SalI18NImeStatus&lt;br /&gt;
&lt;br /&gt;
-&amp;gt; only there to see if there is a window to toggle into menubar [FIXME]??&lt;br /&gt;
&lt;br /&gt;
AquaSalInstance::CreateI18NImeStatus(): instantiates MacImeStatus&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;For futher informations, see: &amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;[[Content of salinst.cxx]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
([[User:Ericb|Ericb]] 16:11, 20 May 2006 (CEST) )&lt;br /&gt;
&lt;br /&gt;
==== salmain ====&lt;br /&gt;
&lt;br /&gt;
Role: if possible, runs the standard vcl application code SVMain()&lt;br /&gt;
&lt;br /&gt;
([[User:Ericb|Ericb]] 16:15, 20 May 2006 (CEST))&lt;br /&gt;
&lt;br /&gt;
==== salsound ====&lt;br /&gt;
&lt;br /&gt;
==== salsys ====&lt;br /&gt;
&lt;br /&gt;
==== saltimer ====&lt;br /&gt;
&lt;br /&gt;
=== Sal GDI (everything Graphical Display Interface) ===&lt;br /&gt;
&lt;br /&gt;
====salgdinativewidgets====&lt;br /&gt;
&lt;br /&gt;
[[native controls]]&lt;br /&gt;
&lt;br /&gt;
==== salatslayout ====&lt;br /&gt;
&lt;br /&gt;
==&amp;gt; implemented in vcl/aqua/source/gdi/salatslayout.cxx&lt;br /&gt;
&lt;br /&gt;
- Handle text layouting :&lt;br /&gt;
&lt;br /&gt;
    * Use ATSUI (ATSUCreateTextLayoutFromPtr) to layout the text unicode char buffer&lt;br /&gt;
    * Use ATSUI (ATSU..) to get informations about glyphs&lt;br /&gt;
    * Populate different arrays (mpGlyph2Chars, mpChars2Glyph, mpCharsWidths, mpGlyphAdvances)&lt;br /&gt;
      that are used in various methods.&lt;br /&gt;
&lt;br /&gt;
==== salatsuiutils ====&lt;br /&gt;
&lt;br /&gt;
==== salfontutils ====&lt;br /&gt;
&lt;br /&gt;
==== salmathutils ====&lt;br /&gt;
&lt;br /&gt;
==== sal bmp ====&lt;br /&gt;
&lt;br /&gt;
==== salvd ====&lt;br /&gt;
&lt;br /&gt;
==== salpixmaputils====&lt;br /&gt;
&lt;br /&gt;
==== salprn ====&lt;br /&gt;
&lt;br /&gt;
====salrectangle====&lt;br /&gt;
&lt;br /&gt;
==== salvd ====&lt;br /&gt;
&lt;br /&gt;
=== Sal Window===&lt;br /&gt;
&lt;br /&gt;
==== salframe ====&lt;br /&gt;
&lt;br /&gt;
====salobj====&lt;br /&gt;
&lt;br /&gt;
== TO BE IMPLEMENTED (missing in Aqua)==&lt;br /&gt;
&lt;br /&gt;
===Audio===&lt;br /&gt;
&lt;br /&gt;
====audioconvert====&lt;br /&gt;
 (obsolete?) &lt;br /&gt;
&lt;br /&gt;
====devaudio====&lt;br /&gt;
(obsolete?)&lt;br /&gt;
&lt;br /&gt;
====native sound====&lt;br /&gt;
&lt;br /&gt;
====salimpsound====&lt;br /&gt;
&lt;br /&gt;
====vsound====&lt;br /&gt;
&lt;br /&gt;
===i18n===&lt;br /&gt;
&lt;br /&gt;
===keysymnames===&lt;br /&gt;
&lt;br /&gt;
===saldisp===&lt;br /&gt;
&lt;br /&gt;
===sm===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[FIXME]: is session manager usefull?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&amp;#039;&amp;#039;&amp;#039;Native Controls&amp;#039;&amp;#039;&amp;#039;==&lt;br /&gt;
&lt;br /&gt;
====Scrollbar====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Works as expected&amp;#039;&amp;#039;&amp;#039;. The most important work is done&lt;br /&gt;
&lt;br /&gt;
See : [[Mac_OS_X_Porting_-_Native_Controls#ScrollBar]]&lt;br /&gt;
&lt;br /&gt;
====DrawThemeButton() documentation====&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Started&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
See : [[Mac_OS_X_Porting_-_Native_Controls#ComboBox]]&lt;br /&gt;
&lt;br /&gt;
Started&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DrawThemeButton&lt;br /&gt;
Draws a button.&lt;br /&gt;
&lt;br /&gt;
OSStatus DrawThemeButton (&lt;br /&gt;
   const Rect * inBounds,&lt;br /&gt;
   ThemeButtonKind inKind,&lt;br /&gt;
   const ThemeButtonDrawInfo * inNewInfo,&lt;br /&gt;
   const ThemeButtonDrawInfo * inPrevInfo,&lt;br /&gt;
   ThemeEraseUPP inEraseProc,&lt;br /&gt;
   ThemeButtonDrawUPP inLabelProc,&lt;br /&gt;
   UInt32 inUserData&lt;br /&gt;
);&lt;br /&gt;
Parameters&lt;br /&gt;
inBounds&lt;br /&gt;
A pointer to a structure of type Rect. Pass a rectangle specifying the boundary of the button, in local coordinates.&lt;br /&gt;
&lt;br /&gt;
inKind&lt;br /&gt;
A value of type ThemeButtonKind. Pass a constant specifying the type of button to draw. &lt;br /&gt;
See “Theme Buttons” for descriptions of possible values.&lt;br /&gt;
&lt;br /&gt;
inNewInfo&lt;br /&gt;
A pointer to a structure of type ThemeButtonDrawInfo. Before calling DrawThemeButton, &lt;br /&gt;
set the structure to contain the new state, value, and adornment for the button. &lt;br /&gt;
DrawThemeButton uses the information passed in the inNewInfo and inPrevInfo parameters&lt;br /&gt;
to apply transitional animation or sound effects as the button state changes, if such are &lt;br /&gt;
specified under the current theme.&lt;br /&gt;
&lt;br /&gt;
inPrevInfo&lt;br /&gt;
A pointer to a structure of type ThemeButtonDrawInfo. If the button state is changing,&lt;br /&gt;
set the structure to contain the previous state, value, and adornment for the button, &lt;br /&gt;
to allow DrawThemeButton to apply any transitional effects. If the button state is not &lt;br /&gt;
changing, you can pass NULL.&lt;br /&gt;
&lt;br /&gt;
inEraseProc&lt;br /&gt;
A value of type ThemeEraseUPP. If you have a custom background, use this parameter to pass&lt;br /&gt;
a universal function pointer to an application-defined function such as that described in &lt;br /&gt;
ThemeEraseProcPtr. DrawThemeButton calls this function to erase the background before drawing&lt;br /&gt;
 the button. If you pass NULL, DrawThemeButton&amp;#039;s default behavior is to erase the background&lt;br /&gt;
 for you.&lt;br /&gt;
&lt;br /&gt;
inLabelProc&lt;br /&gt;
A value of type ThemeButtonDrawUPP. If you pass a universal function pointer to an &lt;br /&gt;
application-defined function such as that described in ThemeButtonDrawProcPtr, DrawThemeButton&lt;br /&gt;
 calls that function to draw the label of the button. If you pass NULL, no label is drawn.&lt;br /&gt;
&lt;br /&gt;
inUserData&lt;br /&gt;
An unsigned 32-bit integer. Provide any data to be passed in to the callback functions specified in &lt;br /&gt;
the inLabelProc and inEraseProc parameters. Pass NULL if you do not wish to provide any data.&lt;br /&gt;
&lt;br /&gt;
Return Value&lt;br /&gt;
A result code. See “Appearance Manager Result Codes”.&lt;br /&gt;
&lt;br /&gt;
Discussion&lt;br /&gt;
The DrawThemeButton function draws a theme-compliant button. If a ThemeEraseProcPtr is &lt;br /&gt;
specified in the inEraseProc parameter, DrawThemeButton uses that function to erase the &lt;br /&gt;
background of the button before drawing the button. After the button is drawn, if a&lt;br /&gt;
ThemeButtonDrawProcPtr is specified in the inLabelProc parameter, DrawThemeButton calls&lt;br /&gt;
that function to draw the button’s label.&lt;br /&gt;
&lt;br /&gt;
Note that DrawThemeButton also draws any appearance adornments for the button and that these&lt;br /&gt;
can extend beyond the button’s basic bounding rectangle, as specified in the inBounds parameter,&lt;br /&gt;
and may be of variable shape. You may therefore wish to call the function&lt;br /&gt;
GetThemeButtonBackgroundBounds to obtain the actual rectangle containing the pixels belonging&lt;br /&gt;
to a button under the current theme.&lt;br /&gt;
&lt;br /&gt;
Version Notes&lt;br /&gt;
This function is available with Appearance Manager 1.1 and later.&lt;br /&gt;
&lt;br /&gt;
Availability&lt;br /&gt;
Available in CarbonLib 1.0 and later when Appearance 1.1 or later is present.&lt;br /&gt;
Available in Mac OS X 10.0 and later.&lt;br /&gt;
Declared In&lt;br /&gt;
Appearance.h&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====HIComboBoxCreate() documentation====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
HIComboBoxCreate&lt;br /&gt;
Creates a combo box control.&lt;br /&gt;
&lt;br /&gt;
OSStatus HIComboBoxCreate (&lt;br /&gt;
   const HIRect* boundsRect,&lt;br /&gt;
   CFStringRef text,&lt;br /&gt;
   const ControlFontStyleRec* style,&lt;br /&gt;
   CFArrayRef list,&lt;br /&gt;
   OptionBits inAttributes,&lt;br /&gt;
   HIViewRef* outComboBox&lt;br /&gt;
);&lt;br /&gt;
Parameters&lt;br /&gt;
boundsRect&lt;br /&gt;
The bounding box of the control.&lt;br /&gt;
&lt;br /&gt;
text&lt;br /&gt;
The default text in the editable portion of the control. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
style&lt;br /&gt;
The font style of the both editable text and the text in the disclosure list. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
list&lt;br /&gt;
The default values available in the disclosure list. Can be NULL.&lt;br /&gt;
&lt;br /&gt;
inAttributes&lt;br /&gt;
The default attributes of the combo box. For possible values, see “Combo Box Attributes”.&lt;br /&gt;
&lt;br /&gt;
outComboBox&lt;br /&gt;
On exit, a pointer to a reference for the new control.&lt;br /&gt;
&lt;br /&gt;
Discussion&lt;br /&gt;
The combo box can be used in compositing mode, as well as traditional Control Manager mode.&lt;br /&gt;
When created, this view is invisible. To see the view, you must show the view by calling HIViewSetVisible.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What is used for Linux, Windows, Mac OS X ...build ? ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Description of the dependencies]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Windows]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[MacOS X]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Linux]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Solaris]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Content of Aqua ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Click here to see the complete list]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Content of vcl/inc&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Notes: &lt;br /&gt;
&lt;br /&gt;
1) Where to find includes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;foo/bar.hxx&amp;gt; means you can find bar.hxx in the foo module. The new style file is foo/inc/foo/bar.hxx, old style is foo/inc/bar.hxx and sometimes the file is somewhere else in the tree or generated. The deliver process copies/generates the file into solver at solver/680/build_type/inc/foo. Good for fixing broken builds. ;-)&lt;br /&gt;
&lt;br /&gt;
2) &lt;br /&gt;
suffix .h (for C calls or first version?) or .hxx (C++) &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;A) Family of includes&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
Looking more closely at the list brings to the fore (expression from dictionary ;-) ) that include names are&lt;br /&gt;
informatives. Most of the time, the name gives the function/role.&lt;br /&gt;
What is interesting is the files with name begining with &amp;quot;sal&amp;quot;. sal means System Abstraction Layer + include&amp;#039;s function (or explicit name). &lt;br /&gt;
&lt;br /&gt;
Partial list, for example:&lt;br /&gt;
&lt;br /&gt;
salatype.hxx&lt;br /&gt;
&lt;br /&gt;
salbmp.hxx&lt;br /&gt;
&lt;br /&gt;
salctrlhandle.hxx&lt;br /&gt;
&lt;br /&gt;
salctype.hxx&lt;br /&gt;
&lt;br /&gt;
salframe.hxx&lt;br /&gt;
&lt;br /&gt;
salgdi.hxx&lt;br /&gt;
&lt;br /&gt;
salgeom.hxx&lt;br /&gt;
&lt;br /&gt;
sallayout.hxx (main header for fonts services)&lt;br /&gt;
...&lt;br /&gt;
salmenu&lt;br /&gt;
salnativewidgets&lt;br /&gt;
...etc&lt;br /&gt;
&lt;br /&gt;
Other important families are &amp;quot;sv&amp;quot; and &amp;quot;uno&amp;quot; or &amp;quot;win&amp;quot; (window) prefixed. sal family will be analysed apart.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B) Includes of includes&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Some includes are more important than other. To prove this, just have a look is sufficient: some are always needed, and some more rarely.&lt;br /&gt;
&lt;br /&gt;
To verify, a simple test to do in vcl/inc:&lt;br /&gt;
&lt;br /&gt;
egrep -H &amp;quot;#include&amp;quot; ./* | wc -l  gives me 681 lines ! And some of them are the same...&lt;br /&gt;
&lt;br /&gt;
To know more, the precedent command line can be modified to make appear the numerous call &lt;br /&gt;
to the same includes files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
egrep -H &amp;quot;#include&amp;quot; ./* | cut -d&amp;quot;#&amp;quot; -f2 | sort &amp;gt; liste.txt&lt;br /&gt;
&lt;br /&gt;
The content of liste.txt is explicit: dllapi.h, sv.h and some other are very important, while some other includes are only one or two times used. We can see too that vos includes are numerous, even if vos is deprecated**&lt;br /&gt;
&lt;br /&gt;
 **see http://wiki.services.openoffice.org/wiki/Source_code_directories&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m nearly sure that a complete analysis of just this result will give us a lot of information.&lt;br /&gt;
&lt;br /&gt;
I propose to change the order of analysis starting with dllapi.h and sv.h.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[to be continued]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B1) &amp;quot;sal&amp;quot; includes family&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[salinst.hxx]] This seems to be the main include file&lt;br /&gt;
&lt;br /&gt;
[[salatype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salctrlhandle.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salctype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salframe.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salgdi.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[salgeom.hxx]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[ sallayout.hxx ]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;-- see Native Fonts implementation&lt;br /&gt;
&lt;br /&gt;
[[salgtype.hxx]]&lt;br /&gt;
&lt;br /&gt;
[[vcl/inc/salobj.hxx]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;B2) Classicals includes&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
file: abstdlg.hxx [ means abstract dialog ]&lt;br /&gt;
&lt;br /&gt;
This includes does contain the following classes definitions:&lt;br /&gt;
&lt;br /&gt;
[FIXME] : choose a precise presentation template for classes &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
VclAbstractDialog,&lt;br /&gt;
&lt;br /&gt;
VclAbstractTerminateDialog, &lt;br /&gt;
&lt;br /&gt;
VclAbstractRefreshableDialog,&lt;br /&gt;
 &lt;br /&gt;
VclAbstractDialogFactory, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
uses &amp;lt;tools/solar.h&amp;gt; , &amp;lt;tools/string.hxx&amp;gt; + &lt;br /&gt;
&lt;br /&gt;
&amp;quot;dllapi.h&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note : dllapi.h is very interesting because when we have to find (for example) a library suffix, SAL_DLLEXTENSSION can replace all suffixes (every OS&amp;#039;s and archs). Just including sal/config.h does it ! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
Window -&amp;gt; what? [FIXME]&lt;br /&gt;
ResId -&amp;gt; what?&lt;br /&gt;
&lt;br /&gt;
Does contain the prototype of VclAbstractDialog, inherit of VCL_DLLPUBLIC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
file: dllapi.h [ dll for dynamic linked library ]&lt;br /&gt;
Uses: &amp;lt;sal/config.h&amp;gt; and &amp;gt;sal/types/h&amp;gt;&lt;br /&gt;
includes: VCL_DLLPUBLIC macro&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
file: accel.h [ means accelerator ]&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
Accelerator &lt;br /&gt;
{&lt;br /&gt;
}&lt;br /&gt;
ImplAccelEntry &lt;br /&gt;
{&lt;br /&gt;
public members: &lt;br /&gt;
&lt;br /&gt;
Names&lt;br /&gt;
&lt;br /&gt;
mnId&lt;br /&gt;
maKeyCode&lt;br /&gt;
mpAccel&lt;br /&gt;
mpAutoAccel&lt;br /&gt;
mbEnabled&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function / returns / parameters&lt;br /&gt;
&lt;br /&gt;
ImplGetKeyCode / void / KeyFuncType eFunc, ref rCode1 , ref rCode2, ref rCode3&lt;br /&gt;
&lt;br /&gt;
file: accel.hxx &lt;br /&gt;
&lt;br /&gt;
Uses: &amp;lt;sv.h&amp;gt; , &amp;quot;dllapi.h&amp;quot; ,&amp;lt;tools/resid.hxx&amp;gt;, &amp;lt;&amp;lt;tools/rc.hxx&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Classes:&lt;br /&gt;
&lt;br /&gt;
ImplAccelData;&lt;br /&gt;
ImplAccelEntry;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Progressive implementation]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Font server Implementation&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;[[Mac OS X Porting - Native Fonts]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Sound Implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native Audio and Video]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Native Printing Implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native_Printing]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Drag and Drop implementation&amp;#039;&amp;#039;&amp;#039;: [[Mac OS X Porting - Native Drag and drop]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Data Acquisition&amp;#039;&amp;#039;&amp;#039; : [[Mac OS X Porting - Data Acquisition]]&lt;br /&gt;
&lt;br /&gt;
This work is part of http://wiki.services.openoffice.org/wiki/Mac_OS_X_Porting_-_Work_Areas/Todo%27s&lt;br /&gt;
&lt;br /&gt;
[to be continued:-) ]&lt;br /&gt;
&lt;br /&gt;
== Keyboard comparizon between OpenOffice.org / Mac OS X  application ==&lt;br /&gt;
&lt;br /&gt;
[FIXME] redo a cleanest array &lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;vertical-align:top; text-align:centered; background-color:#F0F0F0;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#99CCFF; font-weight:bold;&amp;quot; &lt;br /&gt;
| Modifier||+ key  || Result || TextEdit  returns&lt;br /&gt;
|-&lt;br /&gt;
|ALT|| a||æ ||æ &lt;br /&gt;
|-&lt;br /&gt;
|ALT||b||ß ||ß&lt;br /&gt;
|-&lt;br /&gt;
|ALT||c||© ||©&lt;br /&gt;
|-&lt;br /&gt;
|ALT||d||∂ ||∂&lt;br /&gt;
|-&lt;br /&gt;
|ALT||e||ê ||ê&lt;br /&gt;
|-&lt;br /&gt;
|ALT||f||ƒ ||ƒ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||g ||ﬁ ||ﬁ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||h ||Ì ||Ì&lt;br /&gt;
|-&lt;br /&gt;
|ALT||i ||î ||î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||j ||Ï ||Ï&lt;br /&gt;
|-&lt;br /&gt;
|ALT||k ||È ||È&lt;br /&gt;
|-&lt;br /&gt;
|ALT||l ||¬ ||¬&lt;br /&gt;
|-&lt;br /&gt;
|ALT||m ||µ ||µ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||n ||~ ||~&lt;br /&gt;
|-&lt;br /&gt;
|ALT||o ||œ ||œ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||p ||π ||π&lt;br /&gt;
|-&lt;br /&gt;
|ALT||q ||‡ ||‡&lt;br /&gt;
|-&lt;br /&gt;
|ALT||r ||® ||®&lt;br /&gt;
|-&lt;br /&gt;
|ALT||s ||Ò ||Ò&lt;br /&gt;
|-&lt;br /&gt;
|ALT||t ||† ||†&lt;br /&gt;
|-&lt;br /&gt;
|ALT||u ||º ||º&lt;br /&gt;
|-&lt;br /&gt;
|ALT||v ||◊ ||◊&lt;br /&gt;
|-&lt;br /&gt;
|ALT||w ||‹ ||‹&lt;br /&gt;
|-&lt;br /&gt;
|ALT||x ||≈ ||≈&lt;br /&gt;
|-&lt;br /&gt;
|ALT||y ||Ú ||Ú&lt;br /&gt;
|-&lt;br /&gt;
|ALT||z ||Â ||Â&lt;br /&gt;
|-&lt;br /&gt;
|ALT||A ||Æ ||Æ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||B ||∫ ||∫&lt;br /&gt;
|-&lt;br /&gt;
|ALT||C ||¢ ||¢&lt;br /&gt;
|-&lt;br /&gt;
|ALT||D||∆||∆&lt;br /&gt;
|-&lt;br /&gt;
|ALT||F ||· ||·&lt;br /&gt;
|-&lt;br /&gt;
|ALT||G ||ﬂ ||ﬂ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||H ||Î ||Î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||I ||Î ||Î&lt;br /&gt;
|-&lt;br /&gt;
|ALT||J ||Í ||Í&lt;br /&gt;
|-&lt;br /&gt;
|ALT||K ||Ë ||Ë&lt;br /&gt;
|-&lt;br /&gt;
|ALT||L || &amp;lt;pre&amp;gt;|&amp;lt;/pre&amp;gt; ||&amp;lt;pre&amp;gt;|&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|ALT||M ||Ó ||Ó&lt;br /&gt;
|-&lt;br /&gt;
|ALT||N ||ı ||ı&lt;br /&gt;
|-&lt;br /&gt;
|ALT||O ||Œ ||Œ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||P ||∏ ||∏&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Q ||Ω ||Ω&lt;br /&gt;
|-&lt;br /&gt;
|ALT||R ||‚ ||‚&lt;br /&gt;
|-&lt;br /&gt;
|ALT||S ||∑ ||∑&lt;br /&gt;
|-&lt;br /&gt;
|ALT||T ||™ ||™&lt;br /&gt;
|-&lt;br /&gt;
|ALT||U ||ª ||ª&lt;br /&gt;
|-&lt;br /&gt;
|ALT||V ||√ ||√&lt;br /&gt;
|-&lt;br /&gt;
|ALT||W ||› ||›&lt;br /&gt;
|-&lt;br /&gt;
|ALT||X ||⁄ ||⁄&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Y ||Ÿ ||Ÿ&lt;br /&gt;
|-&lt;br /&gt;
|ALT||Z ||Å ||Å&lt;br /&gt;
|-&lt;br /&gt;
|ALT||$ ||€ ||€&lt;br /&gt;
|-&lt;br /&gt;
|ALT||` ||@ ||@&lt;br /&gt;
|-&lt;br /&gt;
|ALT||£ ||# ||#&lt;br /&gt;
|-&lt;br /&gt;
|ALT||* ||¥ ||¥&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Sous réserve d&amp;#039;erreur ou omission [[User:Ericb|Ericb]] 00:05, 14 January 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Ericb|Ericb]] 15:00, 22 Jul 2005 (EDT)&lt;br /&gt;
&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:MacOSX]]&lt;br /&gt;
[[Category:Aqua]]&lt;/div&gt;</summary>
		<author><name>Damiend</name></author>
	</entry>
</feed>