[EXTENSIONS]: problems with uploading oxt to http://aoo-extensions.sourceforge.net/en/extension/

2012-03-05 Thread Liu Da Li
Dear all,
I build an extension with Netbean6.8 + OpenOffice API plugin, All functions
in the extension work well on the last developer snapshot build.
But when I try to upload it to AOO extension site(
http://aoo-extensions.sourceforge.net/en/extension/upload/), a error
occur.
It said in the upload page: No extension file was provided.
The attachments are the description xml file and issue screenshot.
Do anyone meet this issue before? How to fix it?


http://openoffice.org/extensions/description/2006"; xmlns:xlink="http://www.w3.org/1999/xlink";>






http://www.mytest.com";>My Test












Re: Is any one here familiar with OpenOffice?

2012-03-13 Thread Liu Da Li
I am from Symphony team, the Symphony ISV Enablement Team Lead.
In 2003, I am work as a tester in OpenStorm project which was based on
OpenOffice.org 1.4.
In 2007,the first symphony version be released,  I lead the  Symphony ISV
enablement team to promote Lotus Symphony on the market.
We training customers and bps on how to use Lotus Symphony, hot to build
solutions base on Symphony.
We provide articles about how to build symphony plugins, how to use
symphony in the enterprise.
We provide technical support to customers and bps when they meeting any
questions about symphony.
We help our customers and bps to merge their MS office solution to Symphony
base or Openoffice base.
We help our customers and bps to merge their Symphony plugins to openoffice
extensions.


在 2012年3月12日 下午8:50,Rob Weir 写道:

> I jest,of course.
>
> But seriously, there are some claiming that "all" of the
> OpenOffice.org project went over to LibreOffice and that the Apache
> has zero experience with this code base.  I know this sounds crazy,
> but how can we best refute that statement?
>
> Here's my idea:  Respond to this note and tell me how many years
> experience you have working with OpenOffice.  This could be in any
> capacity, as a coder, tester, documentation, marketing, forum
> volunteer, whatever.  Please count relevant work with related
> projects, such as Symphony, BSD ports, OOo4Kids, ODF, etc. as well.
> How many years were you doing this before the project came to Apache?
>
> If I get a good number of responses I'll put together an infographic on
> this.
>
> Regards,
>
> -Rob
>


[Extension] IBM Connections Extension is ready.

2012-05-09 Thread Liu Da Li
Dear all,

The IBM Connections Extensions lets you to connect IBM Connections easily
when you work in Apach OpenOffice window.
You can add Apache OpenOffice files to an Activity or a Files, create To-Do
items, create Bookmark, post a document to a Blog, or search Profiles data.

If you are IBM 
ConnectionsandApache
Openofficeuser. Please try this extension,
it will improve your productivity. Any
feedback are welcome.

Here is the extension link:

http://extensions.services.openoffice.org/en/project/IBMConnections

IBM Connections
is social
software for business that lets you access everyone in your
professional network, including your colleagues, customers, and partners.
Profiles: Find the people you need by searching across your organization
using tags to identify expertise, current projects, and responsibilities.
Activities: Organize your work, plan your next steps, tap your professional
network, and gather information to meet business objectives.
Blogs: Gather and prioritize community ideas, present your own ideas, and
learn from others.
Wikis: Create web content together, edit, and publish it in a convenient
location with access that you manage.
Communities: Exchange and share information with others through a web
browser, IBM Sametime, or email software.
Files: Post, share, and discover documents, presentations, images, and more.
Bookmarks: Save, share, and discover bookmarks through this social
bookmarking service.


Re: Apache OpenOffice Presentation Template

2012-05-13 Thread Liu Da Li
I have a try on this template, it looks very good!

2012/5/13 Shenfeng Liu 

> I updated the template by adding one more keyword "business".
>
> I also forwarded to ooo-dev, hoping to get more feedback on the template
> (before I make more templates with repeated mistakes inside them...).
>
> One question is that, the upload check forced the template to point to the
> license page http://templates.services.openoffice.org/bsd-license. I
> wonder
> if any one can help to confirm if it is still correct?
>
> Thanks very much!
>
> - Simon
>
>
>
> 2012/5/9 Shenfeng Liu 
>
> > Hi, all,
> >   I just uploaded a presentation template with Apache OpenOffice logo,
> > which I think can be used for AOO promotion events. Please try it:
> >
> > http://templates.services.openoffice.org/en/node/8499
> >
> >   The story is that I saw some one asked for templates previously ( I can
> > not find the mail now unfortunately...). So I talked to Xin Li and Yun
> Chao
> > Xu -- their are UX experts. They designed some background pictures and
> > layouts. Then I implemented one of the design and uploaded it to try the
> > publish process and hope to get feedback.
> >   I'm not a professional template designer, so there are still some
> > problems in the template that I can not resolve. So please try it and
> give
> > me your feedback or tell me if any problem.
> >   Thanks!
> >
> > - Simon
> >
>


[Extension]Issues on using SWT library on MAC

2012-05-15 Thread Liu Da Li
Dear all,

I am trying to build a AOO extension with SWT library.
The extension has a menu, when I click the menu, a SWT shell will be
opened.
The extension works fine on windows and linux. But on MAC, it seems that
something is broken:
When I click the menu, the SWT shell be opened.Do something in the shell
window and close the shell.(All things are fine now.)
I can't quit AOO in normal way now, Command +Q, or Openoffice.org->Quit.
The menus below Openoffice.org don't work anymore.
It seems that the SWT JAVA library, block some messages.

Do anyone know about this issue?
Is there a way to avoid it?


Re: how export write to Macromedia Flash swf format?

2012-05-16 Thread Liu Da Li
It seems that there doesn't exist such filter in Openoffice,export write to
flash.

2012/5/17 jianlizhao 

> OpenOffice.org can export draw and Impress to Macromedia Flash swf format,
> how export write  to Macromedia Flash swf format?
>
>


Re: Apache OpenOffice 3.4 Blows Past 1M Downloads

2012-05-16 Thread Liu Da Li
Congratulations !

2012/5/17 Rob Weir 

> Earlier today we hit the 1 million download mark for Apache OpenOffice
> 3.4.   Congratulations to the AOO project team, and thanks to all the
> users who downloaded this release over the past week, and especially
> to those who took the time to write and offer suggestions or report
> bugs.
>
> You can read more about our strong first week, including more
> statistics and press excerpts,  in this short article:
> http://www.openoffice.org/news/aoo34-1M.html
>
> If you have not yet installed Apache OpenOffice 3.4 you can get it
> here:  http://download.openoffice.org
>
> Regards,
>
> -Rob
>


Re: Windows 8 Compatibility?

2012-06-10 Thread Liu Da Li
There are so many items in the Windows 8 certification list, I try to go
through it and find that there is maybe about 43 TODO items for us to do
the certification. Most of the TODO items  are just a verification jobs,
but some code change jobs maybe are need to do for the sections 4.1,5.1,
9.1, 10.2,11.7.
I have try to verify some items, the result be marked at green.
Herbert1 also go through the list, I put his result at the end of each
section.

Items which maybe need to change some codes

4.1 Your app must handle critical shutdowns appropriately
In a critical shutdown, apps that return FALSE to WM_QUERYENDSESSION will
be sent WM_ENDSESSION and closed, while those that time out in response to
WM_QUERYENDSESSION will be terminated. .
5.1 Your app must properly implement a clean, reversible installation
If the installation fails, the app should be able to roll it back and
restore the machine to its previous state.
9.1 Your app must have a manifest that defines execution levels and tells
the operating system what privileges the app requires in order to run
The app manifest marking only applies to EXEs, not DLLs. This is because
UAC does not inspect DLLs during process creation. It is also worth noting
that UAC rules do not apply to Windows Services. The manifest can be either
embedded or external.
To create a manifest, create a file with the name .exe.manifest
and store it in the same directory as the EXE. Note that any external
manifest is ignored if the app has an internal manifest. For example:
 
10.2 Your app must avoid starting automatically on startup
For example, your app should not set any of the following;
Registry run keys HKLM and, or HKCU under
Software\Microsoft\Windows\CurrentVersion
Registry run keys HKLM, and or HKCU under
Software\Wow6432Node\Microsoft\windows\CurrentVersion
Start Menu AllPrograms > STARTUP
11.7 Your app must check other terminal service (TS) sessions for existing
instances of the app
Note: If an app does not support multiple user sessions or remote access,
it must clearly state this when launched from this kind of session.
--
Full TODO items.

1. Apps are compatible and resilient
1.1 Your app must not take a dependency on Windows compatibility modes,
AppHelp message, and or any other compatibility fixes
TODO 1.1 : Need verification , don't depend.
1.2 Your app must not take a dependency on the VB6 runtime
TODO 1.2 : Need verification , don't depend.
1.3 Your app must not load arbitrary DLLs to intercept Win32 API calls
using HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows
AppInit_dlls.
TODO 1.3 : Need verification , don't load.
Herbert1: Win8 Cert Section 1 : ok

2. Apps must adhere to Windows Security Best Practices
2.1 Your app must use strong and appropriate ACLs to secure executable files
TODO 2.1 : Need verification
2.2 Your app must use strong and appropriate ACLs to secure directories
TODO 2.2 : Need verification
2.3 Your app must use strong and appropriate ACLs to secure registry keys
TODO 2.3 : Need verification
2.4 Your app must use strong and appropriate ACLs to secure directories
that contain objects
TODO 2.4 : Need verification
2.5 Your app must reduce non-administrator access to services that are
vulnerable to tampering
TODO 2.5 : Need verification
2.6 Your app must prevent services with fast restarts from restarting more
than twice every 24 hours
TODO 2.6 : Need verification
Herbert1: Win8 Cert Section 2 : if the MSI based installer does it it is
fine,we are using nsis-2.46 for building the MSI package but Windows itself
does the installation of the MSI packages

3. Apps support Windows security features
3.1 Your app must not use AllowPartiallyTrustedCallersAttribute (APTCA) to
ensure secure access to strong-named assemblies
TODO 3.1 : Need verification,
3.2 Your app must be compiled using the /SafeSEH flag to ensure safe
exceptions handling
TODO 3.2 : Need verification, we use it
3.3 Your app must be compiled using the /NXCOMPAT flag to prevent data
execution
TODO 3.3 : Need verification, we use it
3.4 Your app must be compiled using the /DYNAMICBASE flag for address space
layout randomization (ASLR)
TODO 3.4 : Need verification, we use it
3.5 Your app must not Read/Write Shared PE Sections
TODO 3.5 : Need verification,
Herbert1: Win8 Cert Section 3 : we are running with SafeSEH, NXCOMPAT,
DYNAMICBASE, but the libraries we ship have to be modified to use these
flags too,I'm almost certain that we don't use APTCA,I'm not so sure about
the RW PW Sections, but I guess we do not have any.

4. Apps must adhere to system restart manager messages
4.1 Your app must handle critical shutdowns appropriately
TODO 4.1 : Need verification,
4.2 A GUI app must return TRUE immediately in preparation for a restart
TODO 4.2 : Need verification, we do
4.3 Your app must return 0 within 30 seconds and shut down
TODO 4.3 : Need verific

Re: Windows 8 Compatibility?

2012-06-11 Thread Liu Da Li
I have create five items on Bugzilla to track these issue.

   - Issue 1. Test for "Section 3 Apps support Windows security features"
   is failed.Bugzilla ID 119946 link:
[4]<https://issues.apache.org/ooo/show_bug.cgi?id=119946>


   - Issue 2. Test for "Section 4 Apps must adhere to system restart
   manager messages" is failed. Bugzilla ID 119947 link:
[5]<https://issues.apache.org/ooo/show_bug.cgi?id=119947>


   - Issue 3. Test for "Section 5 Apps must support a clean, reversible
   installation" is failed. Bugzilla ID 119948 link:
[6]<https://issues.apache.org/ooo/show_bug.cgi?id=119948>


   - Issue 4. Test for "Section 6 Apps must digitally sign files and
   drivers" is failed.Bugzilla ID 119949 link:
[7]<https://issues.apache.org/ooo/show_bug.cgi?id=119949>


   - Issue 5. Test for "Section 11 Apps must support multi-user sessions"
   is not tested by Windows App Certification Kit.Bugzilla ID 119950 link:
   [8] <https://issues.apache.org/ooo/show_bug.cgi?id=119950>

Anyone please help to check them, confirm them and fix them.

2012/6/12 XiuLi Xu 

> Hi All,
>
> I upload the detailed test result and Windows 8 related links in the wiki
> document, Windows App Certification Kit Test Results for Apache OpenOffice
> 3.4<
> http://wiki.services.openoffice.org/wiki/Documentation/Windows_App_Certification_Kit_-_Test_Results_for_Apache_OpenOffice_3.4
> >
>
>
> On Mon, Jun 11, 2012 at 2:48 PM, Liu Da Li  wrote:
>
> > There are so many items in the Windows 8 certification list, I try to go
> > through it and find that there is maybe about 43 TODO items for us to do
> > the certification. Most of the TODO items  are just a verification jobs,
> > but some code change jobs maybe are need to do for the sections 4.1,5.1,
> > 9.1, 10.2,11.7.
> > I have try to verify some items, the result be marked at green.
> > Herbert1 also go through the list, I put his result at the end of each
> > section.
> >
> > Items which maybe need to change some codes
> > 
> > 4.1 Your app must handle critical shutdowns appropriately
> > In a critical shutdown, apps that return FALSE to WM_QUERYENDSESSION will
> > be sent WM_ENDSESSION and closed, while those that time out in response
> to
> > WM_QUERYENDSESSION will be terminated. .
> > 5.1 Your app must properly implement a clean, reversible installation
> > If the installation fails, the app should be able to roll it back and
> > restore the machine to its previous state.
> > 9.1 Your app must have a manifest that defines execution levels and tells
> > the operating system what privileges the app requires in order to run
> > The app manifest marking only applies to EXEs, not DLLs. This is because
> > UAC does not inspect DLLs during process creation. It is also worth
> noting
> > that UAC rules do not apply to Windows Services. The manifest can be
> either
> > embedded or external.
> > To create a manifest, create a file with the name .exe.manifest
> > and store it in the same directory as the EXE. Note that any external
> > manifest is ignored if the app has an internal manifest. For example:
> >   > requireAdministrator"" uiAccess=""true|false""/>
> > 10.2 Your app must avoid starting automatically on startup
> > For example, your app should not set any of the following;
> > Registry run keys HKLM and, or HKCU under
> > Software\Microsoft\Windows\CurrentVersion
> > Registry run keys HKLM, and or HKCU under
> > Software\Wow6432Node\Microsoft\windows\CurrentVersion
> > Start Menu AllPrograms > STARTUP
> > 11.7 Your app must check other terminal service (TS) sessions for
> existing
> > instances of the app
> > Note: If an app does not support multiple user sessions or remote access,
> > it must clearly state this when launched from this kind of session.
> >
> >
> --
> > Full TODO items.
> >
> > 1. Apps are compatible and resilient
> > 1.1 Your app must not take a dependency on Windows compatibility modes,
> > AppHelp message, and or any other compatibility fixes
> > TODO 1.1 : Need verification , don't depend.
> > 1.2 Your app must not take a dependency on the VB6 runtime
> > TODO 1.2 : Need verification , don't depend.
> > 1.3 Your app must not load arbitrary DLLs to intercept Win32 API calls
> > using HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows
> > AppInit_dlls.
> > TODO 1.3 : Need verification , don't load.
> > Herbert1: Win8 C

Re: Windows 8 Compatibility?

2012-06-12 Thread Liu Da Li
Base on the Windows 8 certification requirements  and Windows App
Certification Kit (ACK) test result.
It seems that there are only five issues need be resolved  to make Apache
OpenOffice can be put on Windows 8 APP Store.
It seems that it's possible to make Apache Openoffice available  on Windows
8 APP Store.
The details is be updated in the wiki page. It also can be used to track
the owner and status of these issue.
http://wiki.services.openoffice.org/wiki/Documentation/Windows_App_Certification_Kit_-_Test_Results_for_Apache_OpenOffice_3.4

2012/6/12 Liu Da Li 

> I have create five items on Bugzilla to track these issue.
>
>- Issue 1. Test for "Section 3 Apps support Windows security features"
>is failed.Bugzilla ID 119946 link: 
> [4]<https://issues.apache.org/ooo/show_bug.cgi?id=119946>
>
>
>- Issue 2. Test for "Section 4 Apps must adhere to system restart
>manager messages" is failed. Bugzilla ID 119947 link: 
> [5]<https://issues.apache.org/ooo/show_bug.cgi?id=119947>
>
>
>- Issue 3. Test for "Section 5 Apps must support a clean, reversible
>installation" is failed. Bugzilla ID 119948 link: 
> [6]<https://issues.apache.org/ooo/show_bug.cgi?id=119948>
>
>
>- Issue 4. Test for "Section 6 Apps must digitally sign files and
>drivers" is failed.Bugzilla ID 119949 link: 
> [7]<https://issues.apache.org/ooo/show_bug.cgi?id=119949>
>
>
>- Issue 5. Test for "Section 11 Apps must support multi-user sessions"
>is not tested by Windows App Certification Kit.Bugzilla ID 119950 link:
>[8] <https://issues.apache.org/ooo/show_bug.cgi?id=119950>
>
> Anyone please help to check them, confirm them and fix them.
>
>
> 2012/6/12 XiuLi Xu 
>
>> Hi All,
>>
>> I upload the detailed test result and Windows 8 related links in the wiki
>> document, Windows App Certification Kit Test Results for Apache OpenOffice
>> 3.4<
>> http://wiki.services.openoffice.org/wiki/Documentation/Windows_App_Certification_Kit_-_Test_Results_for_Apache_OpenOffice_3.4
>> >
>>
>>
>> On Mon, Jun 11, 2012 at 2:48 PM, Liu Da Li  wrote:
>>
>> > There are so many items in the Windows 8 certification list, I try to go
>> > through it and find that there is maybe about 43 TODO items for us to do
>> > the certification. Most of the TODO items  are just a verification jobs,
>> > but some code change jobs maybe are need to do for the sections 4.1,5.1,
>> > 9.1, 10.2,11.7.
>> > I have try to verify some items, the result be marked at green.
>> > Herbert1 also go through the list, I put his result at the end of each
>> > section.
>> >
>> > Items which maybe need to change some codes
>> > 
>> > 4.1 Your app must handle critical shutdowns appropriately
>> > In a critical shutdown, apps that return FALSE to WM_QUERYENDSESSION
>> will
>> > be sent WM_ENDSESSION and closed, while those that time out in response
>> to
>> > WM_QUERYENDSESSION will be terminated. .
>> > 5.1 Your app must properly implement a clean, reversible installation
>> > If the installation fails, the app should be able to roll it back and
>> > restore the machine to its previous state.
>> > 9.1 Your app must have a manifest that defines execution levels and
>> tells
>> > the operating system what privileges the app requires in order to run
>> > The app manifest marking only applies to EXEs, not DLLs. This is because
>> > UAC does not inspect DLLs during process creation. It is also worth
>> noting
>> > that UAC rules do not apply to Windows Services. The manifest can be
>> either
>> > embedded or external.
>> > To create a manifest, create a file with the name
>> .exe.manifest
>> > and store it in the same directory as the EXE. Note that any external
>> > manifest is ignored if the app has an internal manifest. For example:
>> >  > > requireAdministrator"" uiAccess=""true|false""/>
>> > 10.2 Your app must avoid starting automatically on startup
>> > For example, your app should not set any of the following;
>> > Registry run keys HKLM and, or HKCU under
>> > Software\Microsoft\Windows\CurrentVersion
>> > Registry run keys HKLM, and or HKCU under
>> > Software\Wow6432Node\Microsoft\windows\CurrentVersion
>> > Start Menu AllPrograms > STARTUP
>> > 11.7 Your app must check other terminal service (TS) sessions for
>> existing
>> > instances of 

Re: [HELP] How to install AOO silently on windows?

2012-06-14 Thread Liu Da Li
On windows, after the the AOO install files be unzipped to desktop.
You can try to call setup.exe with /q from the unzipped folder.

2012/6/14 Zhe Liu 

> Hi all,
> I plan to setup several testing machines (including Windows, Ubuntu,
> Suse, Redhat, Mac OS X) to perform daily build verification testing on
> our daily build (placed on
> http://ci.apache.org/projects/openoffice/install/). The testing is
> automated with script. I need a command to install AOO silently on
> windows. Anybody know it? In addition, there is no mac build on
> buildbot. Does anybody work on it?
>
>
> --
> Best Regards
> From aliu...@gmail.com
>


Re: Windows 8 Compatibility?

2012-06-28 Thread Liu Da Li
For issue 2.
>>  - Issue 2. Test for "Section 4 Apps must adhere to system restart
> >   manager messages" is failed. Bugzilla ID 119947 link:
> > <https://issues.apache.org/ooo/show_bug.cgi?id=119947>
It seems that we handle these system restart manager messages in a right
way.
Anyone can have a double check on this?
Here is the codes in main\vcl\win\source\window\salframe.cxx.

..
LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam,
LPARAM lParam, int& rDef )
{
..
 case WM_QUERYENDSESSION:
if( !bInQueryEnd )
{
// handle queryendsession only once
bInQueryEnd = TRUE;
nRet = !ImplHandleShutDownMsg( hWnd );
rDef = FALSE;

// Issue #16314#: ImplHandleShutDownMsg causes 
a PostMessage in
case of allowing shutdown.
// This posted message was never processed and 
cause Windows XP to
hang after log off
// if there are multiple sessions and the 
current session wasn't
the first one started.
// So if shutdown is allowed we assume that a 
post message was
done and retrieve all
// messages in the message queue and dispatch 
them before we
return control to the system.

if ( nRet )
{
MSG msg;

while( PeekMessage( &msg, NULL, 0, 0, 
PM_REMOVE ) )
{
DispatchMessage( &msg );
}
}
}
else
{
ImplSalYieldMutexAcquireWithWait();
ImplSalYieldMutexRelease();
rDef = TRUE;
}
break;

case WM_ENDSESSION:
if( !wParam )
bInQueryEnd = FALSE; // no shutdown: allow 
query again
nRet = FALSE;
rDef = FALSE;
break;
..




2012/6/15 Huaidong Qiu 

> About the fonts AOO installed into the system font directory, I did some
> verification on Windwos XP.
>
> 1. AOO archive package packs those font inside the package, you can find
> them here Basis\share\fonts\truetype.
>
> 2. Install AOO, then remove one of the fonts AOO
> installed, Arimo-Bold.ttf, Arimo-BoldItalic.ttf, Arimo-Italic.ttf,
> Arimo-Regular.ttf,
> from the system font directory. Open installed AOO, the font name
> disappears from the font list of AOO.
>
> 3.Copy  directory Basis\share\fonts\truetype from archive package to the
> install directory. Open installed AOO, the font name come back.
>
> So I think we can pack the needed fonts into  the installer package
> as archive package did. Then we can safely remove those fonts from the
> install directory without affect other applications.
>
> Any ideas?
>
>
> On Thu, Jun 14, 2012 at 4:06 PM, Lin Yuan  wrote:
>
> > About issue5 that support multiple user sessions,  as tested by Yan Ji
> on a
> > Windows 2008 server. When allow one user to remote log in with multiple
> > sessions, AOO 3.4 is not stable and will crash after some operations.
> >
> > To support multiple sessions for one user, I thinkonly  rearchitect
> single
> > IPC to TS session managment is not enough. If allow multiple AOO
> instances
> > can be run isolated for one user, the data in user directory must be
> > synchronized correctly for those AOO instances as they all share the same
> > user directory. The data may inlucde extensions, .xcu and other
> > configuration files. So I think the simplest way to be able to
> cetifiacted
> > with Windows 8 in this section is do below thing mentioned in
> Certification
> > requirements for Windows 8
> >
> > "If an app does not support multiple user sessions or remote access, it
> > must clearly state this when launched from this kind of session"
> >
> > That is, when AOO launched, check if there is another AOO instance in a
> > different TS session but for the same user. If does, popup a warning
> dialog
> > and exit.
> >
> >
> >
> >
> > 2012/6/12 Liu Da Li 
> >
> > > I have create five items on Bugzilla to track these issue.
> > >
> > >   - Issue 1. Test for "Section 3 Apps support Windows secur

Re: Windows 8 Compatibility?

2012-07-05 Thread Liu Da Li
>From the windows certification toolkit test result, we find that  there is
a section named"Single user registry check"
It said:

  Warning: The single user registry test detected the following errors:
Registry key
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{51071D66-D034-4239-94E0-723FCA10B6FE}]
was modified during installation.
Registry key
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{51071D66-D034-4239-94E0-723FCA10B6FE}]
AuthorizedCDFPrefix=String: was modified during installation.

   Registry key
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{51071D66-D034-4239-94E0-723FCA10B6FE}]
VersionMinor=DWord:4 was modified during installation.
Registry key
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{51071D66-D034-4239-94E0-723FCA10B6FE}]
WindowsInstaller=DWord:1 was modified during installation.
Impact if not fixed: The application is available to all users of
the machine.
How to fix: In a Per user installation, should not create or
modify machine wide registry entries (HKLM).





2012/6/28 Rob Weir 

> On Thu, Jun 28, 2012 at 4:02 AM, Liu Da Li  wrote:
> > For issue 2.
> >>>  - Issue 2. Test for "Section 4 Apps must adhere to system restart
> >> >   manager messages" is failed. Bugzilla ID 119947 link:
> >> > <https://issues.apache.org/ooo/show_bug.cgi?id=119947>
> > It seems that we handle these system restart manager messages in a right
> > way.
> > Anyone can have a double check on this?
>
> This would be good to test.  A good test case would be to have a new
> document, or a document with unsaved changes in it.   If we get the
> system restart message, what do we do?  Windows guidelines are that we
> shut down within 30 seconds.  So we can't popup a "Do you want to
> save?" dialog indefinitely.
>
> The scenario Microsoft is thinking of is something like this:  A user
> leaves their machine on at work, and then goes on vacation.  A big
> security problem is found in Windows and a virus is spreading all over
> the world.  Microsoft has a fix that they push out to all machines via
> their update mechanism.  But they cannot apply it on this machine
> because they need to force a reboot.  But applications are refusing to
> shut down cleanly.  That's the scenario we should consider.
>
> I wonder if this should use the existing document restore mechanism
> that OpenOffice has to recover from a crash?
>
> -Rob
>
>
>
> > Here is the codes in main\vcl\win\source\window\salframe.cxx.
> >
> > ..
> > LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam,
> > LPARAM lParam, int& rDef )
> > {
> > ..
> >  case WM_QUERYENDSESSION:
> >if( !bInQueryEnd )
> >{
> >// handle queryendsession only once
> >bInQueryEnd = TRUE;
> >nRet = !ImplHandleShutDownMsg( hWnd );
> >rDef = FALSE;
> >
> >// Issue #16314#: ImplHandleShutDownMsg
> causes a PostMessage in
> > case of allowing shutdown.
> >// This posted message was never
> processed and cause Windows XP to
> > hang after log off
> >// if there are multiple sessions and the
> current session wasn't
> > the first one started.
> >// So if shutdown is allowed we assume
> that a post message was
> > done and retrieve all
> >// messages in the message queue and
> dispatch them before we
> > return control to the system.
> >
> >if ( nRet )
> >{
> >MSG msg;
> >
> >while( PeekMessage( &msg, NULL,
> 0, 0, PM_REMOVE ) )
> >{
> >DispatchMessage( &msg );
> >}
> >}
> >}
> >else
> >{
> >ImplSalYieldMutexAcquireWithWait();
> >ImplSalYieldMutexRelease();
> >rDef = TRUE;
> >}
> >break;
> >
> >case WM_ENDSESSI

Re: Windows 8 Compatibility?

2012-07-05 Thread Liu Da Li
When we install Apache openoffice there is a dialog will let you choose
install this application for "all users" or "only for me". If we choose
"for all users" I think these register string will be fine. If we choose
"only for me", should we still write the register string to HKLM, is it a
better way that write the register string to the current user ?

2012/7/5 Liu Da Li 

> From the windows certification toolkit test result, we find that  there is
> a section named"Single user registry check"
> It said:
>
>   Warning: The single user registry test detected the following errors:
> Registry key 
> [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{51071D66-D034-4239-94E0-723FCA10B6FE}]
>  was modified during installation.
> Registry key 
> [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{51071D66-D034-4239-94E0-723FCA10B6FE}]
>  AuthorizedCDFPrefix=String: was modified during installation.
>
>Registry key 
> [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{51071D66-D034-4239-94E0-723FCA10B6FE}]
>  VersionMinor=DWord:4 was modified during installation.
> Registry key 
> [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{51071D66-D034-4239-94E0-723FCA10B6FE}]
>  WindowsInstaller=DWord:1 was modified during installation.
> Impact if not fixed: The application is available to all users of the 
> machine.
> How to fix: In a Per user installation, should not create or modify 
> machine wide registry entries (HKLM).
>
>
>
>
>
> 2012/6/28 Rob Weir 
>
>> On Thu, Jun 28, 2012 at 4:02 AM, Liu Da Li  wrote:
>> > For issue 2.
>> >>>  - Issue 2. Test for "Section 4 Apps must adhere to system restart
>> >> >   manager messages" is failed. Bugzilla ID 119947 link:
>> >> > <https://issues.apache.org/ooo/show_bug.cgi?id=119947>
>> > It seems that we handle these system restart manager messages in a right
>> > way.
>> > Anyone can have a double check on this?
>>
>> This would be good to test.  A good test case would be to have a new
>> document, or a document with unsaved changes in it.   If we get the
>> system restart message, what do we do?  Windows guidelines are that we
>> shut down within 30 seconds.  So we can't popup a "Do you want to
>> save?" dialog indefinitely.
>>
>> The scenario Microsoft is thinking of is something like this:  A user
>> leaves their machine on at work, and then goes on vacation.  A big
>> security problem is found in Windows and a virus is spreading all over
>> the world.  Microsoft has a fix that they push out to all machines via
>> their update mechanism.  But they cannot apply it on this machine
>> because they need to force a reboot.  But applications are refusing to
>> shut down cleanly.  That's the scenario we should consider.
>>
>> I wonder if this should use the existing document restore mechanism
>> that OpenOffice has to recover from a crash?
>>
>> -Rob
>>
>>
>>
>> > Here is the codes in main\vcl\win\source\window\salframe.cxx.
>> >
>> > ..
>> > LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam,
>> > LPARAM lParam, int& rDef )
>> > {
>> > ..
>> >  case WM_QUERYENDSESSION:
>> >if( !bInQueryEnd )
>> >{
>> >// handle queryendsession only once
>> >bInQueryEnd = TRUE;
>> >nRet = !ImplHandleShutDownMsg( hWnd );
>> >rDef = FALSE;
>> >
>> >// Issue #16314#: ImplHandleShutDownMsg
>> causes a PostMessage in
>> > case of allowing shutdown.
>> >// This posted message was never
>> processed and cause Windows XP to
>> > hang after log off
>> >// if there are multiple sessions and
>> the current session wasn't
>> > the first one started.
>> >// So if shutdown is allowed we assume
>> that a post message was
>> > done and retrieve all
>> >// messages in the message queue and
>> dispatch them before we
>> > return control to the system.
>> >
>> >if ( nRet )
>> >{
>> > 

Re: Call for Papers for ApacheCon Europe 2012 now open!

2012-08-01 Thread Liu Da Li
I have submit one pager on the website, but it was failed to add additional
speaker. It said:
" ApacheCon EU 2012
Oops, we've had a problem on the server. The web team have been informed
and will be looking into it."
Do anyone meet the same issue?

2012/8/2 Donald Harbison 

> Please note that the deadline for submitting a proposal for a talk at
> ApacheCon Europe has been extended to Monday, August 13th. For all the
> detail see:  http://www.apachecon.eu/
>
> On Wed, Jul 25, 2012 at 11:28 AM, Donald Harbison  >wrote:
>
> > Cross posting here in case folks missed this.  I'm putting together a
> blog
> > post and will further amplify the communications of this opportunity to
> our
> > broader community.
> >
> > The primary concern here is the short time to submit your proposal. The
> > deadline is August 3rd. While it may be extended, I do not recommend that
> > you wait.
> >
> > Please share your expert knowledge and experience with the broader
> > community at ApacheCon Europe 2012, November 5 - 9 in Sinsheim, Germany.
> >
> > -- Forwarded message --
> > From: Nick Burch 
> > Date: Thu, Jul 19, 2012 at 2:14 PM
> > Subject: Call for Papers for ApacheCon Europe 2012 now open!
> > To: committ...@apache.org
> >
> >
> > Hi All
> >
> > We're pleased to announce that the Call for Papers for ApacheCon Europe
> > 2012 is finally open!
> >
> > (For those who don't already know, ApacheCon Europe will be taking place
> > between the 5th and the 9th of November this year, in Sinsheim, Germany.)
> >
> > If you'd like to submit a talk proposal, please visit the conference
> > website at  and sign up for a new account.
> Once
> > you've signed up, use your dashboard to enter your speaker bio, then
> submit
> > your talk proposal(s). There's more information on the CFP page on the
> > conference website.
> >
> > We welcome talk proposals from all projects, from right across the bredth
> > of projects at the foundation! To make things easier for talk selection
> and
> > scheduling, we'd ask that you tag your proposal with the track that it
> most
> > closely fits within. The details of the tracks, and what projects they
> > expect to cover, are available at  http://www.apachecon.eu/tracks/>
> > >.
> >
> > (If your project/group of projects was intending to submit a track, and
> > missed the deadline, then please get in touch with us on <
> > apachecon-disc...@apache.org > straight away, so we can work out if it's
> > possible to squeeze you in...)
> >
> > The CFP will close on Friday 3rd August, so you've a little over weeks to
> > send in your talk proposal. Don't put it off! We'll look forward to
> seeing
> > some great ones shortly!
> >
> > Thanks
> > Nick
> > (On behalf of the Conferences committee)
> >
> >
>


Re: [UX]: Help - who can help me to implement these new templates into AOO?

2012-08-02 Thread Liu Da Li
Hi LiXin,

All the attachments have been deleted by Maillist automatically , it's
better that you create a wiki page for tracking this case

2012/8/3 Xin Li 

> Hi,
>
> I have a question about templates. We have designed many new templates for
> AOO. Every template including cover page and content page. Please see some
> examples in the attachments.
>
> As you know, I'm the UX designer and I created all this templates
> background as pictures. I don't know how to implement them into AOO and how
> can we let our user know and make the user experience better. So I ask for
> help, who can help me to implement these new templates into AOO, or could
> you please tell me what should I do?
>
> I think AOO template improvement should be a long-term plan. Maybe
> including:Phase 1, "look and feel" improvement - have nice background
> picture; Phase 2, Make the template easy to use. We start from the "look
> and feel“, we have some new design now and we will continue to design more
> .
>
> Thanks in advance!
> --
> Best regards,
> Xin Li   李欣
> UX designer
>
>


Re: [VOTE] Apache OpenOffice Community Graduation Vote

2012-08-20 Thread Liu Da Li
 +1  Apache OpenOffice community is ready to graduate from the
Apache Incubator.

2012/8/20 Linyi Li 

> +1
> Ready to move on~
>
> On Mon, Aug 20, 2012 at 4:24 PM, Kevin Grignon  >wrote:
>
> > +1 - onward...
> >
> > On Aug 20, 2012, at 4:07 PM, Shenfeng Liu  wrote:
> >
> > > 2012/8/19 Rob Weir 
> > >
> > >> Per the IPMC's "Guide to Successful Graduation" [1] this is the
> > >> optional, but recommended, community vote for us to express our
> > >> willingness/readiness to govern ourselves.  If this vote passes then
> > >> we continue by drafting a charter, submitting it for IPMC endorsement,
> > >> and then to the ASF Board for final approval.   Details can be found
> > >> in the "Guide to Successful Graduation".
> > >>
> > >> Everyone in the community is encouraged to vote.  Votes from PPMC
> > >> members and Mentors are binding.  This vote will run 72-hours.
> > >>
> > >>
> > >> [ ] +1  Apache OpenOffice community is ready to graduate from the
> > >> Apache Incubator.
> > >> [ ] +0 Don't care.
> > >> [ ] -1  Apache OpenOffice community is not ready to graduate from the
> > >> Apache Incubator because...
> > >>
> > >>
> > >> Regards,
> > >>
> > >> -Rob
> > >>
> > >> [1]
> > http://incubator.apache.org/guides/graduation.html#tlp-community-vote
> > >>
> > >
> > > +1  Apache OpenOffice community is ready to graduate from the Apache
> > > Incubator.
> > >
> > > - Simon
> >
>
>
>
> --
> Best wishes.
> Linyi Li
>


Re: [DISCUSS]: I would like to propose a new conversion mode parameter

2012-08-20 Thread Liu Da Li
This is a good idea, the conversion mode can be used in some solutions, the
AOO eco system will be extend.

2012/8/21 Lei Wang 

> On Tue, Aug 21, 2012 at 4:18 AM, Marcus (OOo) 
> wrote:
>
> > Am 08/20/2012 04:54 PM, schrieb Jürgen Schmidt:
> >
> >  OpenOffice is not only used as desktop application but also as hidden
> >> part of other software and often as a conversion engine in the backend.
> >>
> >> OpenOffice has very good filters for many file formats and the usage as
> >> a conversion engine is straight forward. And the conversion from one
> >> format into another can be improved and optimized by some special
> >> handling of parts of the document.
> >>
> >> For example external linked parts can be ignored and don't have to be
> >> loaded during conversion, embedded images can be simply copied etc.
> >>
> >> I would like to improve AOO for this kind of usage by introducing a new
> >> parameter "-conversionmode". It's not comparable with the command line
> >> parameter "-headless" or the "hidden" property for
> loadComponentFromUrl().
> >>
> >> The intention of this new global option is to have it available
> >> everywhere in the underlying code to optimize the performance of the
> >> conversion.
> >>
> >
> > Sounds reasonable. However, especially with the previous paragraph I
> don't
> > know if I understood right. Do you want to simply make the import/export
> of
> > docs faster when AOO isn't running in graphical mode?
> >
> > Would be great if you can fill this with some more details.
>
>
> For some enterprise user, AOO is used as a document conversion service in
> backend. For an example, convert MS 2003 binary file format to ODF file
> format. This conversion service does not need  GUI. And user can not
> interrupt the process, which bring performance improvement opportunity
> which Jurgen mentioned.
>
> >
> >
> >  This should have no influence/impact on the normal workflow but will
> >> help to make AOO potentially more attractive for backend usage. Means it
> >> will help to grow the broader eco-system around AOO.
> >>
> >
> > Thanks
> >
> > Marcus
> >
>