Re: Blog about sidebar

2013-06-03 Thread Andre Fischer

Thank you, everybody, for your help.

I have just published the blog 
(https://blogs.apache.org/OOo/entry/the_sidebar_new_and_improved).


-Andre

On 31.05.2013 15:10, Andre Fischer wrote:

Hi,

I am writing a blog post about the sidebar.  Please have a look at 
[1].  Any comments are welcome.


The images are a work in progress.  Please disregard them at the moment.

-Andre


[1] 
https://blogs.apache.org/preview/OOo/?previewEntry=the_sidebar_new_and_improved



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Apache OpenOffice Building Guide

2013-06-03 Thread Guillermo Calzada
Hello, I've been working on apache OpenOffice Building Guide, I've dowload
the source, but i have problems whit the ./bootstrap... I've read the
fedora build instructions but I still have the problem with the
./bootstrap

the problem is that when i use it it gives me back a error that says that
the ./bootstrap doesnt exist...

Im using Fedora 13.

Thanks for your time


Re: More information on C++ compiler in Build Guide

2013-06-03 Thread Alexandro Colorado
IMO we should re-wire and update the specific information for builds and
distros. or go the other way and move this info into the original build
guide.
http://wiki.openoffice.org/wiki/Documentation/Building_Guide


On Mon, Jun 3, 2013 at 7:05 PM, Kay Schenk  wrote:

> Do we need some further explanation on C++ compiler capabilities in our
> Build Guide
>
> http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO
>
> given recent discussions on this list? One of the reasons I'm brining this
> up is in my own experience, weird C issues can really drive you off the
> deep end.
>
> Thanks to anyone willing to edit this section.
>
> --
>
> 
> MzK
>
> "You can't believe one thing and do another.
>  What you believe and what you do are the same thing."
>  -- Leonard Peltier
>



-- 
Alexandro Colorado
Apache OpenOffice Contributor
http://es.openoffice.org


Re: [QA][Test Report] Weekly Status Update as of 20130531

2013-06-03 Thread Liu Ping
hi,Yuzhen Kay


According final suggestion ,I create a shared query condition and limit
Issue Type = DEFECT

here's a link to the query and already upload QA weekly report in  wiki (
http://wiki.openoffice.org/wiki/QA/Report/WeeklyReport/20130531)

https://issues.apache.org/ooo/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=NeedConfirm_DEFECT&sharer_id=249289



On Tue, Jun 4, 2013 at 6:18 AM, Kay Schenk  wrote:

> On Mon, Jun 3, 2013 at 1:01 AM, Yuzhen Fan  wrote:
>
> > Thanks for the information, if we also eliminate "Patch" or "Task" items,
> > the number will be smaller again, "2736". We will include this in report
> > link in case anyone is interested.
> >
> > Regards,
> > Yu Zhen
> >
>
> good idea...I think this change will be better.
>
>
>
>
> >
> >
> > On Mon, Jun 3, 2013 at 7:09 AM, Kay Schenk  wrote:
> >
> > > On Fri, May 31, 2013 at 5:50 AM, Yuzhen Fan 
> wrote:
> > >
> > > > Hi All,
> > > >
> > > > We continue doing the AOO 4.0 Full Regression test this week, here is
> > the
> > > > weekly update (5/28 - 5/31), please find more detail statistics in
> > wiki:
> > > > http://wiki.openoffice.org/wiki/QA/Report/WeeklyReport/20130531
> > > >
> > > > *Test execution: *
> > > > We have assigned 1732 text executions to about 20 volunteers(4 more
> > this
> > > > week), and completed about 43% in execution so far. 35% Mac test
> > > executions
> > > > have been done compared 0% last week! The target is to %100 attempted
> > > 1000
> > > > test executions (741 so far) before June 6 providing all volunteers
> > > > complete their assignments before that date.
> > > >
> > > > *Defect summary:*
> > > > 1. 30 defects were opened and 19 defects were resolved this week, so
> we
> > > > have 11 (30-19) net new defects added in the backlog
> > > > 2. Expose 2 Mac specific defects during quick testing on Mac 10.8
> with
> > > > 64-bit Java, Bug 122418 (fail to display color bar in color dropdown
> > > list)
> > > > need to set priority as it frustrates user to select color visibly
> > > >
> > > > *Issues & quality highlight:*
> > > > 1. Encourage volunteers to continue executing test cases in TestLink
> to
> > > > achieve their assignment
> > > > 2. Redhat is with risk as less testing done on them - inform/remind
> > Linux
> > > > test team assignees make progress on this platform
> > > > 3. Do general use testing on Mac for assessment - no crash/hung/data
> > > > lose/open file fail issues, but 2 Mac specific defects discovered,
> need
> > > set
> > > > priority for the first one
> > > > (1) Bug 122418 -[Mac]Fail to show color or display incorrectly in
> Color
> > > > Dropdown Menu --- Special on Mac
> > > > (2) Bug 122420 -Can't Copy and Paste Hyperlink on Mac --- Special on
> > Mac
> > > > (3) Bug 122419 -The Second Slide can't apply footer/page number when
> > > select
> > > > "Don't show first slide" option -- Both on Mac and Win7
> > > > (4) Bug 122421 -Shape remain group when change from ungroup to group
> > > until
> > > > double click shape -- Both on Mac and Win7
> > > > 4. Critical defects are waiting for fix - need more Dev volunteers to
> > > > involve
> > > > 5. QAs are reminded to make sure to perform all test cases with
> > > navigation
> > > > and accelerators, and make sure to specify defect numbers in Testlink
> > for
> > > > failed test executions
> > > > *
> > > > Volunteer status: *
> > > > 1. We have 4 more volunteers joining test executions, all are for Mac
> > > > 2. No new volunteers(total 6 so far) on defect work, need more to
> clean
> > > > backlog of unconfirmed and resolved defects
> > > > *
> > > > Plan for next week:*
> > > > 1. Prioritize critical defects and assign them to Dev volunteers
> > > > 2. Confirm left ~100 critical defects which are not confirmed yet
> > > > 3. Achieve the target (June 6) to complete 1000 test executions in
> AOO
> > > 4.0
> > > > Full Regression test with the support from volunteers
> > > >
> > > > Thanks you all for effort this week, it is a great community here, if
> > we
> > > do
> > > > a little bit more then we will get an awesome achievement. Thanks!!
> > > >
> > > > Regards,
> > > > Yu Zhen
> > > >
> > >
> > > Checking on the "Need to Confirm" entries, You might note that many of
> > > these items are not actually "bug" reports but ideas or wish lists
> > items. I
> > > produced a similar report but eliminated anything that was "not a
> > FEATURE"
> > > or "not an ENHANCEMENT" and got a smaller number. Still 2834 but some
> > > improvement in case anyone is interested.
> > >
> > > here's a link to the query:
> > >
> > >
> > >
> >
> https://issues.apache.org/ooo/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=UNCONF_not_new&sharer_id=7
> > >
> > > --
> > >
> > >
> >
> 
> > > MzK
> > >
> > > "You can't believe one thing and do another.
> > >  What you believe and what you do are the same thing."
> > >  -- Leonard Peltier
> > >
> 

RE: [VOTE][DISCUSS] Logo selection for Apache OpenOffice 4.0

2013-06-03 Thread Dennis E. Hamilton
I think if the "Apache" is made thicker by using Bold and a touch darker grey, 
it will work much better, at least as positioned in the Rottensteiner Stage 2 
refinement.  It also gives "Apache" more (symbolic) weight without overpowering 
the "OpenOffice" part.

I agree one wants to use the best of resampled PNG and regenerated SVG at the 
lower size.  Also, if the SVG has hints about the visually-intended size (at 
whatever pixel resolution), the fonts may be adjusted automatically to avoid 
excessive thinning at smaller presentation sizes.  Then there are the tricks 
needed when rasterization also becomes significant.

 - Dennis

I don't have enough personal knowledge about SVG implementations and font 
hinting (although Adobe has information about it).  I do know that Knuth had to 
introduce anomorphic scaling into his fonts because the smaller ones would 
become visually too thin at the smaller point sizes if simply scaled 
geometrically.  It's a human vision thing.  He was producing images for 
production publishing systems and had a luxury of pixels; there was more 
involved that nudging pixel alignments.

-Original Message-
From: Kay Schenk [mailto:kay.sch...@gmail.com] 
Sent: Monday, June 3, 2013 04:54 PM
To: dev@openoffice.apache.org
Subject: Re: [VOTE][DISCUSS] Logo selection for Apache OpenOffice 4.0

On Mon, Jun 3, 2013 at 3:35 PM, Rob Weir  wrote:

> Staring a [VOTE][DISCUSS] thread parallel to the [VOTE] thread.
>
> On Mon, Jun 3, 2013 at 6:12 PM, Kay Schenk  wrote:
>
> .
> .
> .
> >
> > My comments with some very preliminary testing: the VERY LIGHT gray
> > "Apache" in any form doesn't scale well going smaller.  The very thin
> > letters also don't scale well going smaller.
> >
>
> How did you scale the image?  By resizing the PNG file?  If so that
> probably doesn't give the optimal quality.


yes, this is what I did...


>  If we resize from the SVG
> source, and if the SVG references a vector font with "hinting", then
> it is possible that the text will be clearer at smaller sizes.  In
> theory that should help with the letter scaling.  Not sure about the
> light gray.
>

Well maybe someone could  resize appropriately. Our current "web" logo is
only 200 x 100. I actually used 300 x ??? (kept the aspect ratio) and
things were not great on any of these with that very light gray
"Apache"...even slightly darker would help I think.


> -Rob
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


-- 

MzK

"You can't believe one thing and do another.
 What you believe and what you do are the same thing."
 -- Leonard Peltier


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



More information on C++ compiler in Build Guide

2013-06-03 Thread Kay Schenk
Do we need some further explanation on C++ compiler capabilities in our
Build Guide

http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO

given recent discussions on this list? One of the reasons I'm brining this
up is in my own experience, weird C issues can really drive you off the
deep end.

Thanks to anyone willing to edit this section.

-- 

MzK

"You can't believe one thing and do another.
 What you believe and what you do are the same thing."
 -- Leonard Peltier


Re: [VOTE][DISCUSS] Logo selection for Apache OpenOffice 4.0

2013-06-03 Thread Kay Schenk
On Mon, Jun 3, 2013 at 3:35 PM, Rob Weir  wrote:

> Staring a [VOTE][DISCUSS] thread parallel to the [VOTE] thread.
>
> On Mon, Jun 3, 2013 at 6:12 PM, Kay Schenk  wrote:
>
> .
> .
> .
> >
> > My comments with some very preliminary testing: the VERY LIGHT gray
> > "Apache" in any form doesn't scale well going smaller.  The very thin
> > letters also don't scale well going smaller.
> >
>
> How did you scale the image?  By resizing the PNG file?  If so that
> probably doesn't give the optimal quality.


yes, this is what I did...


>  If we resize from the SVG
> source, and if the SVG references a vector font with "hinting", then
> it is possible that the text will be clearer at smaller sizes.  In
> theory that should help with the letter scaling.  Not sure about the
> light gray.
>

Well maybe someone could  resize appropriately. Our current "web" logo is
only 200 x 100. I actually used 300 x ??? (kept the aspect ratio) and
things were not great on any of these with that very light gray
"Apache"...even slightly darker would help I think.


> -Rob
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


-- 

MzK

"You can't believe one thing and do another.
 What you believe and what you do are the same thing."
 -- Leonard Peltier


Re: [RELEASE]: new snapshot build based on trunk revision 1488886

2013-06-03 Thread Albino B Neto
2013/6/3 Jürgen Schmidt :
> I would like to propose a new snapshot build based on trunk revision
> 146 (related snapshot tag revision 148).

+1

   Albino

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



[VOTE][DISCUSS] Logo selection for Apache OpenOffice 4.0

2013-06-03 Thread Rob Weir
Staring a [VOTE][DISCUSS] thread parallel to the [VOTE] thread.

On Mon, Jun 3, 2013 at 6:12 PM, Kay Schenk  wrote:

.
.
.
>
> My comments with some very preliminary testing: the VERY LIGHT gray
> "Apache" in any form doesn't scale well going smaller.  The very thin
> letters also don't scale well going smaller.
>

How did you scale the image?  By resizing the PNG file?  If so that
probably doesn't give the optimal quality.  If we resize from the SVG
source, and if the SVG references a vector font with "hinting", then
it is possible that the text will be clearer at smaller sizes.  In
theory that should help with the letter scaling.  Not sure about the
light gray.

-Rob

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [QA][Test Report] Weekly Status Update as of 20130531

2013-06-03 Thread Kay Schenk
On Mon, Jun 3, 2013 at 1:01 AM, Yuzhen Fan  wrote:

> Thanks for the information, if we also eliminate "Patch" or "Task" items,
> the number will be smaller again, "2736". We will include this in report
> link in case anyone is interested.
>
> Regards,
> Yu Zhen
>

good idea...I think this change will be better.




>
>
> On Mon, Jun 3, 2013 at 7:09 AM, Kay Schenk  wrote:
>
> > On Fri, May 31, 2013 at 5:50 AM, Yuzhen Fan  wrote:
> >
> > > Hi All,
> > >
> > > We continue doing the AOO 4.0 Full Regression test this week, here is
> the
> > > weekly update (5/28 - 5/31), please find more detail statistics in
> wiki:
> > > http://wiki.openoffice.org/wiki/QA/Report/WeeklyReport/20130531
> > >
> > > *Test execution: *
> > > We have assigned 1732 text executions to about 20 volunteers(4 more
> this
> > > week), and completed about 43% in execution so far. 35% Mac test
> > executions
> > > have been done compared 0% last week! The target is to %100 attempted
> > 1000
> > > test executions (741 so far) before June 6 providing all volunteers
> > > complete their assignments before that date.
> > >
> > > *Defect summary:*
> > > 1. 30 defects were opened and 19 defects were resolved this week, so we
> > > have 11 (30-19) net new defects added in the backlog
> > > 2. Expose 2 Mac specific defects during quick testing on Mac 10.8 with
> > > 64-bit Java, Bug 122418 (fail to display color bar in color dropdown
> > list)
> > > need to set priority as it frustrates user to select color visibly
> > >
> > > *Issues & quality highlight:*
> > > 1. Encourage volunteers to continue executing test cases in TestLink to
> > > achieve their assignment
> > > 2. Redhat is with risk as less testing done on them - inform/remind
> Linux
> > > test team assignees make progress on this platform
> > > 3. Do general use testing on Mac for assessment - no crash/hung/data
> > > lose/open file fail issues, but 2 Mac specific defects discovered, need
> > set
> > > priority for the first one
> > > (1) Bug 122418 -[Mac]Fail to show color or display incorrectly in Color
> > > Dropdown Menu --- Special on Mac
> > > (2) Bug 122420 -Can't Copy and Paste Hyperlink on Mac --- Special on
> Mac
> > > (3) Bug 122419 -The Second Slide can't apply footer/page number when
> > select
> > > "Don't show first slide" option -- Both on Mac and Win7
> > > (4) Bug 122421 -Shape remain group when change from ungroup to group
> > until
> > > double click shape -- Both on Mac and Win7
> > > 4. Critical defects are waiting for fix - need more Dev volunteers to
> > > involve
> > > 5. QAs are reminded to make sure to perform all test cases with
> > navigation
> > > and accelerators, and make sure to specify defect numbers in Testlink
> for
> > > failed test executions
> > > *
> > > Volunteer status: *
> > > 1. We have 4 more volunteers joining test executions, all are for Mac
> > > 2. No new volunteers(total 6 so far) on defect work, need more to clean
> > > backlog of unconfirmed and resolved defects
> > > *
> > > Plan for next week:*
> > > 1. Prioritize critical defects and assign them to Dev volunteers
> > > 2. Confirm left ~100 critical defects which are not confirmed yet
> > > 3. Achieve the target (June 6) to complete 1000 test executions in AOO
> > 4.0
> > > Full Regression test with the support from volunteers
> > >
> > > Thanks you all for effort this week, it is a great community here, if
> we
> > do
> > > a little bit more then we will get an awesome achievement. Thanks!!
> > >
> > > Regards,
> > > Yu Zhen
> > >
> >
> > Checking on the "Need to Confirm" entries, You might note that many of
> > these items are not actually "bug" reports but ideas or wish lists
> items. I
> > produced a similar report but eliminated anything that was "not a
> FEATURE"
> > or "not an ENHANCEMENT" and got a smaller number. Still 2834 but some
> > improvement in case anyone is interested.
> >
> > here's a link to the query:
> >
> >
> >
> https://issues.apache.org/ooo/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=UNCONF_not_new&sharer_id=7
> >
> > --
> >
> >
> 
> > MzK
> >
> > "You can't believe one thing and do another.
> >  What you believe and what you do are the same thing."
> >  -- Leonard Peltier
> >
>



-- 

MzK

"You can't believe one thing and do another.
 What you believe and what you do are the same thing."
 -- Leonard Peltier


Re: [VOTE] Logo selection for Apache OpenOffice 4.0

2013-06-03 Thread Kay Schenk
On Mon, Jun 3, 2013 at 7:57 AM, Rob Weir  wrote:

> This is a vote to pick the logo for Apache OpenOffice 4.0.  This is
> the next step in a a multi-month long process that saw over 40 logos
> submitted, weeks of discussion, several iterations of refinement, and
> a poll of over 5000 users.
>
> Voters are asked to indicate their top 5 choices, with the 1st Choice
> being the one that you prefer the most, the 2nd choice being your
> alternate preference, etc.  The votes will be scored using the
> Instant Run-Off  Voting procedure [1].
>
> Please use enter your preferences using logo names from one of the
> following sources:
>
> A)  The logos that were refined by their designers after the logo survey:
>
>
> https://cwiki.apache.org/confluence/display/OOOUSERS/Stage+2+Logo+Refinement
>
> B) The table of all logos used in the survey:
>
> http://survey.openoffice.org/reports/aoo40-logo-poll/
>
> C) A URL to any other logo that you prefer
>
> D) The string "none of the above" if you prefer not to change the logo
> at all from what we have in AOO 3.4.1.
>
> For example, a voter might vote:
>
> 1st Choice: Kevin Grignon B
>
> 2nd Choice: Chris Rottensteiner
>
> 3rd Choice:  Logo-37
>
> 4th Choice: "none of the above"
>
> 5th Choice: http://www.robweir.com/blog/images/s1097.png
>
> The vote will run for 72-hours, until 1100 EDT on June 6th.
>
> Everyone is welcome to vote, though only PMC votes are binding.
>
> Regards,
>
> -Rob
>
> [1] http://en.wikipedia.org/wiki/Instant-runoff_voting
>
>
> --
>
>
PMC/binding


> HERE IS THE BALLOT:
>
> My ranked preferences for the AOO 4.0 logo are:
>
> 1st Choice: Logo-28
>
> 2nd Choice: Logo-31
>
> 3rd Choice: Kevin Grignon B
>
> 4th Choice: Chris Rottensteiner
>
> 5th Choice: "none of the above"
>

My comments with some very preliminary testing: the VERY LIGHT gray
"Apache" in any form doesn't scale well going smaller.  The very thin
letters also don't scale well going smaller.


> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


-- 

MzK

"You can't believe one thing and do another.
 What you believe and what you do are the same thing."
 -- Leonard Peltier


Fwd: [Discuss][Wiki]"Synchronizing" (or not) localized wiki sites [was: Fwd: [UserGuide]My "roadmap"]

2013-06-03 Thread RGB ES
Ops! I forgot to add dev and doc as CC...

-- Forwarded message --
From: RGB ES 
Date: 2013/6/3
Subject: Re: [Discuss][Wiki]"Synchronizing" (or not) localized wiki sites
[was: Fwd: [UserGuide]My "roadmap"]
To: l...@openoffice.apache.org


2013/6/3 Andrea Pescetti 

> On 02/06/2013 RGB ES wrote:
>
>> (Top posting, CC to dev, doc and l10n, not sure on which one it is better
>> to continue the discussion)
>> Do we want to "clone", for example, the documentation section on all the
>> localized sites, just translating it? On Sun times that was the idea, with
>> sub sites ("portals") like
>> http://wiki.services.**openoffice.org/wiki/**Documentation
>> http://wiki.services.**openoffice.org/wiki/DE/**Documentation
>> http://wiki.services.**openoffice.org/wiki/FR/**Documentation
>> etc looking almost the same on all languages.
>>
>
> This can work. We also have this other infrastructure in place
> http://wiki.openoffice.org/**wiki/Main_Test
> added by Claudio a few months ago. See
> http://wiki.openoffice.org/**wiki/Template:Lang
> to see how it works. I don't know which approach is best for our case.
>
> As for keeping subsites synchronized, in theory this allows to have a
> "Master copy" in English and then translate it in the various languages as
> volunteers become available. In practice, we can't stop someone from
> editing or creating a translated page to add new content in a language
> only, but ideally this would imply that the English version is updated to
> reflect the changes too.
>
>
>  AFAIK, right now the only of those sub sites updated recently is the
>> French
>> one, though: several of those "portals" do not see activity since years.
>>
>
> Yes, but this does not mean that they are completely outdated: information
> in those pages is still current and relevant in most cases, and I think it
> makes sense to continue using it rather than "starting clean" there too
> (unless there are plans for a major rewrite).
>

All those "portal" pages are under PDL license (look at the categories at
the bottom of those pages). If we want to promote new wiki content under
Apache license, this means a problem. If I read this page right

http://www.openoffice.org/licenses/PDL.html

PDL is a sort of "copyleft" license.

Re-license those pages is not possible without the explicit consent of the
author, and those pages are so old that contact the authors is almost
impossible. Suppose we update those pages to point to the new material. A
potential contributor (or just a casual reader) will see the PDL notice on
the portal page, and no notice on the new pages: from the user perspective,
does this means that the new page is also under PDL? We know it isn't, but
this could be a cause of confusion, IMO. So, which is the best way to work
around this problem? Reimplement those pages, making a clear separation
between new material (under Apache) and legacy content?

Regards
Ricardo



>
> Regards,
>   Andrea.
>
> --**--**-
> To unsubscribe, e-mail: 
> l10n-unsubscribe@openoffice.**apache.org
> For additional commands, e-mail: 
> l10n-help@openoffice.apache.**org
>
>


Re: Openoffice API - UCP

2013-06-03 Thread Rajath Shashidhara
Hello,

I wrote my own openoffice client application to test my ucp.
Code:
try {
// get the remote office component context
XComponentContext xContext = Bootstrap.bootstrap();
if (xContext == null) {
System.err.println("ERROR: Could not bootstrap default
Office.");
}
XMultiComponentFactory xmcf = xContext.getServiceManager();
//XMultiServiceFactory xServiceFactory = (XMultiServiceFactory)
xContext.getServiceManager();
XInterface xUCB;

String keys[] = new String[2];
keys[0] = "Local";
keys[1] = "Office";

xUCB = (XInterface)
xmcf.createInstanceWithArgumentsAndContext("com.sun.star.ucb.UniversalContentBroker",
keys,xContext);
XContentIdentifierFactory xIDFactory =
(XContentIdentifierFactory)UnoRuntime.queryInterface(XContentIdentifierFactory.class,
xUCB);
XContentProvider ucp =
(XContentProvider)UnoRuntime.queryInterface(XContentProvider.class, xUCB);
XContentIdentifier id =
xIDFactory.createContentIdentifier("cmis:///CMISUpload.odt");
XContent cmisContent = ucp.queryContent(id);
XCommandProcessor xcp =
(XCommandProcessor)UnoRuntime.queryInterface(XCommandProcessor.class,
cmisContent);
System.out.println(cmisContent.getContentType());
Command cmd = new Command();
cmd.Name = "haha";
cmd.Handle = 0;
cmd.Argument = null;
xcp.execute(cmd, 0, null);



cmd- "haha" was a test command.
I obtained the expected result.
Also getContentType() also produced the expected output.!


On Tue, Jun 4, 2013 at 1:39 AM, Rajath Shashidhara <
rajaths.raja...@gmail.com> wrote:

> Hello,
>
> My print statements were not shown because .xcu configuration file was
> missing.
>
>
> On Tue, Jun 4, 2013 at 1:06 AM, Rajath Shashidhara <
> rajaths.raja...@gmail.com> wrote:
>
>> Hello,
>> when macro security button is clicked this exception is raised:
>>
>> terminate called after throwing an instance of 
>> 'com::sun::star::loader::CannotActivateFactoryException'
>>
>>
>>
>>
>>
>> On Tue, Jun 4, 2013 at 12:40 AM, Rajath Shashidhara <
>> rajaths.raja...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> After so much discussion, questions and effort, I have decided to
>>> approach this in a more systematic manner.
>>>
>>> Now, Before asking any more questions I'll read the documentation
>>> properly starting from now.
>>>
>>> My first question:
>>> How to test my ucp?
>>> How do I know if my ucp is called?
>>> I added some dummy debug statements like System.out.println("***) in my
>>> queryContent() method. I tried to access a file through open dialog with
>>> address starting cmis://,
>>> but nothing appeared on my terminal.
>>> Also,
>>> I built my office with --enable-category-b switch.
>>> I'm not able to run the macro.
>>> I dont know what is there in the Ariel's macro.
>>>
>>> Sorry, for troubling with too many questions.
>>> I want to get this properly.
>>> Please help.
>>>  --
>>> Rajath S,
>>> M.Sc(Hons.) Physics,
>>> Birla Institute of Technology and Science - Pilani,
>>> Pilani
>>>
>>
>>
>>
>> --
>> Rajath S,
>> M.Sc(Hons.) Physics,
>> Birla Institute of Technology and Science - Pilani,
>> Pilani
>>
>
>
>
> --
> Rajath S,
> M.Sc(Hons.) Physics,
> Birla Institute of Technology and Science - Pilani,
> Pilani
>



-- 
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani


Re: glosary/terminology files in pootle

2013-06-03 Thread Claudio Filho
Hi

2013/6/2 janI :
> On 2 June 2013 15:37, Andrea Pescetti  wrote:
>> Adding terminology seems fine, of course. Requiring the review step is in
>> principle OK for me too, but I wonder how it will work for languages where
>> we don't have native speakers as committers: does it require that strings
>> are explicitly marked as reviewed, or is it enough to ask volunteers to
>> check the warnings generated by Pootle and then send a note to the l10n
>> list saying that they have considered/ignored warnings appropriately?
>>
>
> Asking volunteers to that would be a significant step in getting better
> quality.
>
> The nice thing about pootle review is that it can be done be everyone. My
> idea was to say something like "before moving po files back to svn, the
> committer must run a pootle review, if there are errors/warnings not
> explained by the translators on the mailing list, the files will not be
> transferred".  I know it puts a little burden on the person who does the
> transfer, but similar to receiving a code patch.

I think that we have some mistake about the "review".

One thing is to generate all strings in the source lang, like en_US.
When you do it, you can give any inconsistent problems, like use
differents terms in differents parts doing the same thing. IMHO, the
translation team from Sun did a incredible work about this interchange
about UI and help contents.

Other step is to translate it for many langs, like StarOffice/OOo/AOO.
A good practice is the use of glossary/terminology, giving to team a
way to translate in the same way. Is possible to do this work without
the glossary/terminology, but is possible that you will have a UI/help
with differents terms for SAME thing, or some thing worse, like
differents parts of UI with differents strings for the SAME thing.

IMO, we are in this edge between the good and acceptable, and now, we
can start a revision of all work. An example: pivot table, in pt_BR,
was translated for "Assistente de dados" (data wizard?) instead
"Tabela dinâmica". Before, all strings was consistent with the first
option, that is good, but isn't the good choice of term. Today, (i
believe that) all UI/help are aligned with the second term, that is
more appropriate.

When i did the translation, i found some original strings that could
be written in other way or using other example. So, you can see 2
review to do: one for original strings and other for evolve the
translations.

In this time, if we implement the terminology practice, the new
translations can do first the translation of glossary, and after load
in pootle and provide for them translators the po file (to offline
translations), giving a tool for a better and consistent translation.
Who already did his translation, can review the work, giving a better
quality for his translated AOO through revising the glossary and
reflecting this work in the UI/help. Is possible too ignore this
practice and do it freely. :-)

Anyway, i think/suggest to start the process revision after 4.0[.1?].
Today, only provide the resource and the use is free to all teams.

About the Pootle, i can help in admin it, if necessary (backup admin?). ;-)

Cheer
Claudio

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [Discuss][Wiki]"Synchronizing" (or not) localized wiki sites [was: Fwd: [UserGuide]My "roadmap"]

2013-06-03 Thread Andrea Pescetti

On 02/06/2013 RGB ES wrote:

(Top posting, CC to dev, doc and l10n, not sure on which one it is better
to continue the discussion)
Do we want to "clone", for example, the documentation section on all the
localized sites, just translating it? On Sun times that was the idea, with
sub sites ("portals") like
http://wiki.services.openoffice.org/wiki/Documentation
http://wiki.services.openoffice.org/wiki/DE/Documentation
http://wiki.services.openoffice.org/wiki/FR/Documentation
etc looking almost the same on all languages.


This can work. We also have this other infrastructure in place
http://wiki.openoffice.org/wiki/Main_Test
added by Claudio a few months ago. See
http://wiki.openoffice.org/wiki/Template:Lang
to see how it works. I don't know which approach is best for our case.

As for keeping subsites synchronized, in theory this allows to have a 
"Master copy" in English and then translate it in the various languages 
as volunteers become available. In practice, we can't stop someone from 
editing or creating a translated page to add new content in a language 
only, but ideally this would imply that the English version is updated 
to reflect the changes too.



AFAIK, right now the only of those sub sites updated recently is the French
one, though: several of those "portals" do not see activity since years.


Yes, but this does not mean that they are completely outdated: 
information in those pages is still current and relevant in most cases, 
and I think it makes sense to continue using it rather than "starting 
clean" there too (unless there are plans for a major rewrite).


Regards,
  Andrea.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [VOTE] Logo selection for Apache OpenOffice 4.0

2013-06-03 Thread RGB ES
2013/6/3 Rob Weir 

> This is a vote to pick the logo for Apache OpenOffice 4.0.  This is
> the next step in a a multi-month long process that saw over 40 logos
> submitted, weeks of discussion, several iterations of refinement, and
> a poll of over 5000 users.
>
> Voters are asked to indicate their top 5 choices, with the 1st Choice
> being the one that you prefer the most, the 2nd choice being your
> alternate preference, etc.  The votes will be scored using the
> Instant Run-Off  Voting procedure [1].
>
> Please use enter your preferences using logo names from one of the
> following sources:
>
> A)  The logos that were refined by their designers after the logo survey:
>
>
> https://cwiki.apache.org/confluence/display/OOOUSERS/Stage+2+Logo+Refinement
>
> B) The table of all logos used in the survey:
>
> http://survey.openoffice.org/reports/aoo40-logo-poll/
>
> C) A URL to any other logo that you prefer
>
> D) The string "none of the above" if you prefer not to change the logo
> at all from what we have in AOO 3.4.1.
>
> For example, a voter might vote:
>
> 1st Choice: Kevin Grignon B
>
> 2nd Choice: Chris Rottensteiner
>
> 3rd Choice:  Logo-37
>
> 4th Choice: "none of the above"
>
> 5th Choice: http://www.robweir.com/blog/images/s1097.png
>
> The vote will run for 72-hours, until 1100 EDT on June 6th.
>
> Everyone is welcome to vote, though only PMC votes are binding.
>
> Regards,
>
> -Rob
>
> [1] http://en.wikipedia.org/wiki/Instant-runoff_voting
>
>
> --
>
> HERE IS THE BALLOT:
>
> My ranked preferences for the AOO 4.0 logo are:
>
> 1st Choice:
>
> 2nd Choice:
>
> 3rd Choice:
>
> 4th Choice:
>
> 5th Choice:
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>

1st Choice: Non of the above (still prefer the current one)

2nd Choice: *Samer Mansour*

3rd Choice: *Chris Rottensteiner*

4th Choice: *Kevin Grignon A*

5th Choice: *Kevin Grignon B*

Regards
Ricardo


Re: Openoffice API - UCP

2013-06-03 Thread Rajath Shashidhara
Hello,

My print statements were not shown because .xcu configuration file was
missing.


On Tue, Jun 4, 2013 at 1:06 AM, Rajath Shashidhara <
rajaths.raja...@gmail.com> wrote:

> Hello,
> when macro security button is clicked this exception is raised:
>
> terminate called after throwing an instance of 
> 'com::sun::star::loader::CannotActivateFactoryException'
>
>
>
>
> On Tue, Jun 4, 2013 at 12:40 AM, Rajath Shashidhara <
> rajaths.raja...@gmail.com> wrote:
>
>> Hello,
>>
>> After so much discussion, questions and effort, I have decided to
>> approach this in a more systematic manner.
>>
>> Now, Before asking any more questions I'll read the documentation
>> properly starting from now.
>>
>> My first question:
>> How to test my ucp?
>> How do I know if my ucp is called?
>> I added some dummy debug statements like System.out.println("***) in my
>> queryContent() method. I tried to access a file through open dialog with
>> address starting cmis://,
>> but nothing appeared on my terminal.
>> Also,
>> I built my office with --enable-category-b switch.
>> I'm not able to run the macro.
>> I dont know what is there in the Ariel's macro.
>>
>> Sorry, for troubling with too many questions.
>> I want to get this properly.
>> Please help.
>>  --
>> Rajath S,
>> M.Sc(Hons.) Physics,
>> Birla Institute of Technology and Science - Pilani,
>> Pilani
>>
>
>
>
> --
> Rajath S,
> M.Sc(Hons.) Physics,
> Birla Institute of Technology and Science - Pilani,
> Pilani
>



-- 
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani


HelpID on ToolBox needed?

2013-06-03 Thread Regina Henschel

Hi,

in main\svx\source\sidebar\text\TextPropertyPanel.src
I notice, that the container ToolBox has a HelpID, but the commands are 
in ToolBoxItem. For example:

ToolBox TB_FONTCOLOR
{
  HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONT_COLOR;
  SVLook = TRUE ;
  Pos = MAP_APPFONT (X3, THIRD_LINE_Y) ;
  Size = MAP_APPFONT (TOOLBOX_ITEM_DD_WIDTH ,TOOLBOX_ITEM_HEIGHT ) ;
  TabStop = TRUE ;
  ItemList =
  {
ToolBoxItem
{
  Identifier = TBI_FONTCOLOR ;
  HelpID = HID_PPROPERTYPANEL_TEXT_TBI_FONT_COLOR;
  DropDown = TRUE ;
  Command = ".uno:Color";
};
  };
};

If I move the mouse around that field, I get no spot, where I see 
HID_PPROPERTYPANEL_TEXT_TBX_FONT_COLOR;

Therefore my question, is this HelpID for ToolBox needed at all?

Kind regards
Regina


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: CMS diff: Apache OpenOffice � Die freie Office Suite (DE)

2013-06-03 Thread Rob Weir
Committed.  Thanks for the patch.

-Rob

On Mon, Jun 3, 2013 at 3:09 PM, Anonymous CMS User  wrote:
> Clone URL (Committers only):
> https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://ooo-site.apache.org/de%2Findex.html
>
>
>
> Index: trunk/content/de/index.html
> ===
> --- trunk/content/de/index.html (revision 1488813)
> +++ trunk/content/de/index.html (working copy)
> @@ -9,7 +9,7 @@
>  
>  https://plus.google.com/+openoffice"; rel="publisher" />
>   media="screen" />
> -Apache OpenOffice � Die freie Office Suite (DE)
> +Apache OpenOffice | Die freie Office Suite (DE)
>  

Re: [RELEASE]: new snapshot build based on trunk revision 1488886

2013-06-03 Thread Ariel Constenla-Haile
On Mon, Jun 3, 2013 at 4:41 PM, Herbert Duerr  wrote:
> The __builtin_isfinite() is used for for GCC as GCC's bug 14608 [1] prevents
> the common isfinite() macro from working reliably. The builtin should work
> according to the gcc documentation [2]: "GCC provides fpclassify, isfinite,
> isinf_sign and isnormal built-ins used with __builtin_ prefixed."
>
> [1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14608
> [2] http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
>
> Looking through gcc's sources the builtin was introduced in [3] from
> 2007-7-18 for gcc 4.3. I'm afraid we'll have to check for older gcc's there
> and add another case for the ifdef GCC part.
>
> [3] http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=126725
>
> Considering that isfinite() was in the C99, C++99, SUSv3, etc standards for
> almost fifteen years now it is amazing how much trouble such a two-bit
> function can still introduce.

This CentOS has

g++ --version
g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Openoffice API - UCP

2013-06-03 Thread Rajath Shashidhara
Hello,
when macro security button is clicked this exception is raised:

terminate called after throwing an instance of
'com::sun::star::loader::CannotActivateFactoryException'




On Tue, Jun 4, 2013 at 12:40 AM, Rajath Shashidhara <
rajaths.raja...@gmail.com> wrote:

> Hello,
>
> After so much discussion, questions and effort, I have decided to approach
> this in a more systematic manner.
>
> Now, Before asking any more questions I'll read the documentation properly
> starting from now.
>
> My first question:
> How to test my ucp?
> How do I know if my ucp is called?
> I added some dummy debug statements like System.out.println("***) in my
> queryContent() method. I tried to access a file through open dialog with
> address starting cmis://,
> but nothing appeared on my terminal.
> Also,
> I built my office with --enable-category-b switch.
> I'm not able to run the macro.
> I dont know what is there in the Ariel's macro.
>
> Sorry, for troubling with too many questions.
> I want to get this properly.
> Please help.
> --
> Rajath S,
> M.Sc(Hons.) Physics,
> Birla Institute of Technology and Science - Pilani,
> Pilani
>



-- 
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani


Re: [RELEASE]: new snapshot build based on trunk revision 1488886

2013-06-03 Thread Herbert Duerr

On 06/03/2013 08:42 PM, Ariel Constenla-Haile wrote:

[...]
Build is broken in three places (CentOS x86-64):

1) sal/inc/rtl/math.hxx:

../../inc/rtl/math.hxx: In function 'bool rtl::math::isFinite(double)':
../../inc/rtl/math.hxx:313: error: '__builtin_isfinite' was not declared
in this scope
../../inc/rtl/math.hxx: In function 'bool rtl::math::isInf(double)':
../../inc/rtl/math.hxx:325: error: '__builtin_isfinite' was not declared
in this scope
../../inc/rtl/math.hxx: In function 'bool rtl::math::isNan(double)':
../../inc/rtl/math.hxx:336: error: '__builtin_isfinite' was not declared
in this scope
dmake:  Error code 1, while making '../../unxlngi6.pro/obj/math.obj'

In CentOS __GNUC__ seems defined, I see Jürgen added a fix for MACOSX,
so the logic of the defines might be simply not working at all.


The __builtin_isfinite() is used for for GCC as GCC's bug 14608 [1] 
prevents the common isfinite() macro from working reliably. The builtin 
should work according to the gcc documentation [2]: "GCC provides 
fpclassify, isfinite, isinf_sign and isnormal built-ins used with 
__builtin_ prefixed."


[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14608
[2] http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html

Looking through gcc's sources the builtin was introduced in [3] from 
2007-7-18 for gcc 4.3. I'm afraid we'll have to check for older gcc's 
there and add another case for the ifdef GCC part.


[3] http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=126725

Considering that isfinite() was in the C99, C++99, SUSv3, etc standards 
for almost fifteen years now it is amazing how much trouble such a 
two-bit function can still introduce.



2) graphite:

In file included from ../include/graphite/GrCommon.h:35,
  from ../src/segment/Main.h:31,
  from ../src/font/FileFont.cpp:16:
/build/aoo/src/clean/svn-trunk/main/solver/400/unxlngi6.pro/inc/stl/vector:31:33:
error: boost/tr1/tr1/vector: No such file or directory

Missing module dependency on boost.


Thanks! I added a dependency of stlport to boost.

Herbert

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Openoffice API - UCP

2013-06-03 Thread Rajath Shashidhara
Hello,

After so much discussion, questions and effort, I have decided to approach
this in a more systematic manner.

Now, Before asking any more questions I'll read the documentation properly
starting from now.

My first question:
How to test my ucp?
How do I know if my ucp is called?
I added some dummy debug statements like System.out.println("***) in my
queryContent() method. I tried to access a file through open dialog with
address starting cmis://,
but nothing appeared on my terminal.
Also,
I built my office with --enable-category-b switch.
I'm not able to run the macro.
I dont know what is there in the Ariel's macro.

Sorry, for troubling with too many questions.
I want to get this properly.
Please help.
-- 
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani


CMS diff: Apache OpenOffice � Die freie Office Suite (DE)

2013-06-03 Thread Anonymous CMS User
Clone URL (Committers only):
https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://ooo-site.apache.org/de%2Findex.html



Index: trunk/content/de/index.html
===
--- trunk/content/de/index.html (revision 1488813)
+++ trunk/content/de/index.html (working copy)
@@ -9,7 +9,7 @@
 
 https://plus.google.com/+openoffice"; rel="publisher" />
 
-Apache OpenOffice � Die freie Office Suite (DE)
+Apache OpenOffice | Die freie Office Suite (DE)
 

Re: [RELEASE]: new snapshot build based on trunk revision 1488886

2013-06-03 Thread Jürgen Schmidt
On 6/3/13 8:42 PM, Ariel Constenla-Haile wrote:
> On Mon, Jun 03, 2013 at 10:29:22AM +0200, Jürgen Schmidt wrote:
>> Hi,
>> 
>> I would like to propose a new snapshot build based on trunk
>> revision 146 (related snapshot tag revision 148).
>> 
>> This snapshot should provide a SDK as well that should work with
>> the reworked (3layer) directory structure of the office.
>> 
>> @Ariel, please use the configure switch --without-stlport to
>> trigger the stlport related change from Herbert.
>> 
>> I will start to integrate the first language updates and will
>> provide further builds later this week for testing the
>> translations.
> 
> Build is broken in three places (CentOS x86-64):
> 
> 1) sal/inc/rtl/math.hxx:
> 
> ../../inc/rtl/math.hxx: In function 'bool
> rtl::math::isFinite(double)': ../../inc/rtl/math.hxx:313: error:
> '__builtin_isfinite' was not declared in this scope 
> ../../inc/rtl/math.hxx: In function 'bool
> rtl::math::isInf(double)': ../../inc/rtl/math.hxx:325: error:
> '__builtin_isfinite' was not declared in this scope 
> ../../inc/rtl/math.hxx: In function 'bool
> rtl::math::isNan(double)': ../../inc/rtl/math.hxx:336: error:
> '__builtin_isfinite' was not declared in this scope dmake:  Error
> code 1, while making '../../unxlngi6.pro/obj/math.obj'
> 
> In CentOS __GNUC__ seems defined, I see Jürgen added a fix for
> MACOSX, so the logic of the defines might be simply not working at
> all.

Ariel can you give us the details of your system

CentOS -> version ?
gcc - < version ?
...

I know Herbert did builds on older RedHats enterprise Linux version ?
(an older one), I built on Ubuntu 12.04

And we haven't had this problems, Herbert can tell us hopefully more

Juergen

> 
> 
> 2) graphite:
> 
> In file included from ../include/graphite/GrCommon.h:35, from
> ../src/segment/Main.h:31, from ../src/font/FileFont.cpp:16: 
> /build/aoo/src/clean/svn-trunk/main/solver/400/unxlngi6.pro/inc/stl/vector:31:33:
>
> 
error: boost/tr1/tr1/vector: No such file or directory
> 
> Missing module dependency on boost.
> 
> 
> 3) main/i18npool/source/localedata/data: segfault in saxparser
> 
> /bin/bash: line 1: 32487 Segmentation fault 
> LD_LIBRARY_PATH=/build/aoo/src/clean/svn-trunk/main/solver/400/unxlngi6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
>
> 
../../../unxlngi6.pro/bin/saxparser en_BZ en_BZ.xml
> ../../../unxlngi6.pro/misc/localedata_en_BZ.cxx 
> file:///build/aoo/src/clean/svn-trunk/main/i18npool/source/localedata/data/../../../unxlngi6.pro/misc/saxparser.rdb
>
> 
/build/aoo/src/clean/svn-trunk/main/solver/400/unxlngi6.pro/bin/types.rdb
> -env:OOO_INBUILD_SHAREDLIB_DIR=file:///build/aoo/src/clean/svn-trunk/main/solver/400/unxlngi6.pro/lib
>
> 
dmake:  Error code 139, while making
> '../../../unxlngi6.pro/misc/localedata_en_BZ.cxx'
> 
> The crash is with any of the localedata files. This needs
> debugging, I'll take a look later (I don't even have gdb on
> CentOS).
> 
> 
> Regards
> 


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Serf 1.2.1 has been released

2013-06-03 Thread Greg Stein
Hello everyone!

We have just made a release of serf 1.2.1. This fixes a number of
bugs, including a pretty bad bug in digest authentication on a single,
shared connection (issue 102). You can see all the changes at:
  http://serf.googlecode.com/svn/tags/1.2.1/CHANGES

Download details are at:
  http://code.google.com/p/serf/downloads/list

Direct links:

  http://serf.googlecode.com/files/serf-1.2.1.tar.bz2
  SHA1: f65fbbd72926c8e7cf0dbd4ada03b0d226f461fd

  http://serf.googlecode.com/files/serf-1.2.1.zip
  SHA1: f0617809c13539be601aa433a03f365d44c78b5c


Please report any problems to serf-...@googlegroups.com

Cheers,
-g

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: CMIS UCP

2013-06-03 Thread Ariel Constenla-Haile
Hi Rajath,

On Mon, Jun 03, 2013 at 11:36:05PM +0530, Rajath Shashidhara wrote:
> Hello Juergen,
> 
> I have type casted it to Property[].
> This page says that the argument for getPropertyValues is
> sequence type.
> http://www.openoffice.org/api/docs/common/ref/com/sun/star/ucb/Content.html
> 
> I'm not able to define such a variable type  .

Because the IDL reference talks about IDL types. You have to understand
how this IDL types are mapped to Java, the Developer's Guide is your
friend: 
http://wiki.openoffice.org/wiki/Documentation/DevGuide/FirstSteps/Common_Types
http://wiki.openoffice.org/wiki/Documentation/DevGuide/FirstSteps/Any
http://wiki.openoffice.org/wiki/Documentation/DevGuide/FirstSteps/Sequence

http://wiki.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Data_Types

http://wiki.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Java_Language_Binding
http://wiki.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Type_Mappings


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina


pgpKxnsHeKxX2.pgp
Description: PGP signature


Re: CMIS UCP

2013-06-03 Thread Rajath Shashidhara
Hello,

I rebuilt openoffice using this switch --enable-category-b to enable the
macro security dialog box. But, now openoffice exits as soon as I click
Macro security button.

I wont be able to test my work without this. Please help.
Also, Is there any procedure/code to write to register the new UCP to UCB?


On Mon, Jun 3, 2013 at 11:41 PM, Rajath Shashidhara <
rajaths.raja...@gmail.com> wrote:

> Hello Juergen,
> Ok.
>
>
> On Mon, Jun 3, 2013 at 11:40 PM, Jürgen Schmidt wrote:
>
>> On 6/3/13 8:06 PM, Rajath Shashidhara wrote:
>> > Hello Juergen,
>> >
>> > I have type casted it to Property[].
>> > This page says that the argument for getPropertyValues is
>> > sequence type.
>> >
>> http://www.openoffice.org/api/docs/common/ref/com/sun/star/ucb/Content.html
>> >
>> > I'm not able to define such a variable type  .
>> > I'll test my code with the macro sent by Ariel.
>> > Because, executeCommand() helper method calls ucp execute() method with
>> > argument initialized with a type Property[].
>> >
>> > I'll get back to you about what I used anyConverter or typeCast.
>>
>> you should use the AnyConverter to be save and avoid problems
>>
>> Juergen
>>
>> >
>> >
>> > On Mon, Jun 3, 2013 at 11:26 PM, Jürgen Schmidt > >wrote:
>> >
>> >> On 6/3/13 6:46 PM, Rajath Shashidhara wrote:
>> >>> Hello,
>> >>>
>> >>>
>> >>> I have changed the getPropertyValues return type to XRow.
>> >>>
>> >>> One Problem I'm facing is that the stated UNOtype sequence is not
>> >> available
>> >>> for me. I checked com.sun.star.uno package also. I typecasted the
>> >>> command.argument to Property[] because
>> >>> from these two examples:
>> >>>
>> >>
>> http://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Executing_Content_Commands
>> >>>
>> >>
>> http://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Executing_Content_Commands
>> >>>
>> >>> Argument is initialized as com.sun.star.beans.Property[](specifying it
>> >>> particularly because there is a Property type in chemistry api also).
>> >>
>> >> the Command.Argument is of type Any, see and use AnyConverter to
>> convert
>> >> object into Any ->
>> >>
>> >>
>> http://www.openoffice.org/api/docs/java/ref/com/sun/star/uno/AnyConverter.html
>> >>
>> >>
>> >> Juergen
>> >>
>> >>>
>> >>> Again My github:
>> >>> https://github.com/rajaths589/CMISContentProvider.git
>> >>>
>> >>>
>> >>> On Mon, Jun 3, 2013 at 1:00 PM, Jürgen Schmidt > >>> wrote:
>> >>>
>>  Hi Rajath,
>> 
>>  first of all sorry for not answering over the weekend but I try to
>> take
>>  a "real" break over the weekend and focus on some private work items.
>> 
>>  But Ariel gave you very detailed and good advice, it seems that he
>> would
>>  be a better mentor ;-)
>> 
>>  The office API will be of course the more difficult part of this
>> project
>>  because you won't find so much documentation and samples as for Java.
>>  The UCB is a special candidate in the office API and it takes some
>> time
>>  to understand it. Exception are playing a special role in the
>> context of
>>  the UCB and you will learn this over time.
>> 
>>  The SDK contains also an example showing the usage of the UCB API.
>> But
>>  it's a good idea to play around on your own and get some
>> understanding
>>  how it works.
>> 
>>  Juergen
>> 
>> 
>> 
>> 
>>  On 6/3/13 6:59 AM, Rajath Shashidhara wrote:
>> > Hello Ariel,
>> >
>> > Actually, this is my first code using openoffice api.
>> > I'll do these before completing my ucp.
>> >
>> > Sorry. I'll get back to you with the understanding of the general
>> api.
>> >
>> >
>> > On Mon, Jun 3, 2013 at 10:20 AM, Ariel Constenla-Haile <
>> > ariel.constenla.ha...@gmail.com> wrote:
>> >
>> >> Hi Rajath,
>> >>
>> >> On Mon, Jun 03, 2013 at 01:28:24AM +0530, Rajath Shashidhara wrote:
>> >>> Hello everyone,
>> >>>
>> >>> I have completed some part of the CMISUCP.
>> >>>
>> >>> I have made my own implementation of XContent, XContentIdentifier
>> >>> interfaces.
>> >>>
>> >>> I have partially Completed implementation of the following
>> methods:
>> >>> queryContent()
>> >>> execute() -> "getPropertyValues", "open"
>> >>>
>> >>>
>> >>> I was not very clear about the return type of execute method.
>> >>> I might have erred there.
>> >>
>> >> In "open" you are returning a java.io.InputStream.  According to
>> the
>> >> API
>> >> documentation, "For non-folder objects, the OpenCommandArgument2
>> >> struct
>> >> will be prefilled with a data sink object, which will be filled
>> with
>> >> the
>> >> content data."; important point: "OpenCommandArgument::Sink: a
>> sink,
>> >> where the implementation can put the document data into."
>> >>
>> >> And in "getPropertyValues" you are returning
>> >> a java.util.Map. According to the API docs, the
>> return
>> >> type is a 

Re: CMIS UCP

2013-06-03 Thread Rajath Shashidhara
Hello Juergen,
Ok.


On Mon, Jun 3, 2013 at 11:40 PM, Jürgen Schmidt wrote:

> On 6/3/13 8:06 PM, Rajath Shashidhara wrote:
> > Hello Juergen,
> >
> > I have type casted it to Property[].
> > This page says that the argument for getPropertyValues is
> > sequence type.
> >
> http://www.openoffice.org/api/docs/common/ref/com/sun/star/ucb/Content.html
> >
> > I'm not able to define such a variable type  .
> > I'll test my code with the macro sent by Ariel.
> > Because, executeCommand() helper method calls ucp execute() method with
> > argument initialized with a type Property[].
> >
> > I'll get back to you about what I used anyConverter or typeCast.
>
> you should use the AnyConverter to be save and avoid problems
>
> Juergen
>
> >
> >
> > On Mon, Jun 3, 2013 at 11:26 PM, Jürgen Schmidt  >wrote:
> >
> >> On 6/3/13 6:46 PM, Rajath Shashidhara wrote:
> >>> Hello,
> >>>
> >>>
> >>> I have changed the getPropertyValues return type to XRow.
> >>>
> >>> One Problem I'm facing is that the stated UNOtype sequence is not
> >> available
> >>> for me. I checked com.sun.star.uno package also. I typecasted the
> >>> command.argument to Property[] because
> >>> from these two examples:
> >>>
> >>
> http://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Executing_Content_Commands
> >>>
> >>
> http://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Executing_Content_Commands
> >>>
> >>> Argument is initialized as com.sun.star.beans.Property[](specifying it
> >>> particularly because there is a Property type in chemistry api also).
> >>
> >> the Command.Argument is of type Any, see and use AnyConverter to convert
> >> object into Any ->
> >>
> >>
> http://www.openoffice.org/api/docs/java/ref/com/sun/star/uno/AnyConverter.html
> >>
> >>
> >> Juergen
> >>
> >>>
> >>> Again My github:
> >>> https://github.com/rajaths589/CMISContentProvider.git
> >>>
> >>>
> >>> On Mon, Jun 3, 2013 at 1:00 PM, Jürgen Schmidt  >>> wrote:
> >>>
>  Hi Rajath,
> 
>  first of all sorry for not answering over the weekend but I try to
> take
>  a "real" break over the weekend and focus on some private work items.
> 
>  But Ariel gave you very detailed and good advice, it seems that he
> would
>  be a better mentor ;-)
> 
>  The office API will be of course the more difficult part of this
> project
>  because you won't find so much documentation and samples as for Java.
>  The UCB is a special candidate in the office API and it takes some
> time
>  to understand it. Exception are playing a special role in the context
> of
>  the UCB and you will learn this over time.
> 
>  The SDK contains also an example showing the usage of the UCB API. But
>  it's a good idea to play around on your own and get some understanding
>  how it works.
> 
>  Juergen
> 
> 
> 
> 
>  On 6/3/13 6:59 AM, Rajath Shashidhara wrote:
> > Hello Ariel,
> >
> > Actually, this is my first code using openoffice api.
> > I'll do these before completing my ucp.
> >
> > Sorry. I'll get back to you with the understanding of the general
> api.
> >
> >
> > On Mon, Jun 3, 2013 at 10:20 AM, Ariel Constenla-Haile <
> > ariel.constenla.ha...@gmail.com> wrote:
> >
> >> Hi Rajath,
> >>
> >> On Mon, Jun 03, 2013 at 01:28:24AM +0530, Rajath Shashidhara wrote:
> >>> Hello everyone,
> >>>
> >>> I have completed some part of the CMISUCP.
> >>>
> >>> I have made my own implementation of XContent, XContentIdentifier
> >>> interfaces.
> >>>
> >>> I have partially Completed implementation of the following methods:
> >>> queryContent()
> >>> execute() -> "getPropertyValues", "open"
> >>>
> >>>
> >>> I was not very clear about the return type of execute method.
> >>> I might have erred there.
> >>
> >> In "open" you are returning a java.io.InputStream.  According to the
> >> API
> >> documentation, "For non-folder objects, the OpenCommandArgument2
> >> struct
> >> will be prefilled with a data sink object, which will be filled with
> >> the
> >> content data."; important point: "OpenCommandArgument::Sink: a sink,
> >> where the implementation can put the document data into."
> >>
> >> And in "getPropertyValues" you are returning
> >> a java.util.Map. According to the API docs, the
> return
> >> type is a ::com::sun::star::sdbc::XRow (as told in a previous mail).
> >>
> >> Both errors tell me you need a deeper knowledge of the UCB API:
> before
> >> trying to implement your own UCP, you need a general understanding
> of
> >> how the UCB API works, this is something fundamental, and these two
> >> basic errors tell you are missing this point.
> >>
> >> So back to the basics:
> >>
> >> - create client application
> >> - using the UCB API, get some properties of a file/folder
> >> - if the content is a file, execute an "

Re: CMIS UCP

2013-06-03 Thread Jürgen Schmidt
On 6/3/13 8:06 PM, Rajath Shashidhara wrote:
> Hello Juergen,
> 
> I have type casted it to Property[].
> This page says that the argument for getPropertyValues is
> sequence type.
> http://www.openoffice.org/api/docs/common/ref/com/sun/star/ucb/Content.html
> 
> I'm not able to define such a variable type  .
> I'll test my code with the macro sent by Ariel.
> Because, executeCommand() helper method calls ucp execute() method with
> argument initialized with a type Property[].
> 
> I'll get back to you about what I used anyConverter or typeCast.

you should use the AnyConverter to be save and avoid problems

Juergen

> 
> 
> On Mon, Jun 3, 2013 at 11:26 PM, Jürgen Schmidt wrote:
> 
>> On 6/3/13 6:46 PM, Rajath Shashidhara wrote:
>>> Hello,
>>>
>>>
>>> I have changed the getPropertyValues return type to XRow.
>>>
>>> One Problem I'm facing is that the stated UNOtype sequence is not
>> available
>>> for me. I checked com.sun.star.uno package also. I typecasted the
>>> command.argument to Property[] because
>>> from these two examples:
>>>
>> http://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Executing_Content_Commands
>>>
>> http://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Executing_Content_Commands
>>>
>>> Argument is initialized as com.sun.star.beans.Property[](specifying it
>>> particularly because there is a Property type in chemistry api also).
>>
>> the Command.Argument is of type Any, see and use AnyConverter to convert
>> object into Any ->
>>
>> http://www.openoffice.org/api/docs/java/ref/com/sun/star/uno/AnyConverter.html
>>
>>
>> Juergen
>>
>>>
>>> Again My github:
>>> https://github.com/rajaths589/CMISContentProvider.git
>>>
>>>
>>> On Mon, Jun 3, 2013 at 1:00 PM, Jürgen Schmidt >> wrote:
>>>
 Hi Rajath,

 first of all sorry for not answering over the weekend but I try to take
 a "real" break over the weekend and focus on some private work items.

 But Ariel gave you very detailed and good advice, it seems that he would
 be a better mentor ;-)

 The office API will be of course the more difficult part of this project
 because you won't find so much documentation and samples as for Java.
 The UCB is a special candidate in the office API and it takes some time
 to understand it. Exception are playing a special role in the context of
 the UCB and you will learn this over time.

 The SDK contains also an example showing the usage of the UCB API. But
 it's a good idea to play around on your own and get some understanding
 how it works.

 Juergen




 On 6/3/13 6:59 AM, Rajath Shashidhara wrote:
> Hello Ariel,
>
> Actually, this is my first code using openoffice api.
> I'll do these before completing my ucp.
>
> Sorry. I'll get back to you with the understanding of the general api.
>
>
> On Mon, Jun 3, 2013 at 10:20 AM, Ariel Constenla-Haile <
> ariel.constenla.ha...@gmail.com> wrote:
>
>> Hi Rajath,
>>
>> On Mon, Jun 03, 2013 at 01:28:24AM +0530, Rajath Shashidhara wrote:
>>> Hello everyone,
>>>
>>> I have completed some part of the CMISUCP.
>>>
>>> I have made my own implementation of XContent, XContentIdentifier
>>> interfaces.
>>>
>>> I have partially Completed implementation of the following methods:
>>> queryContent()
>>> execute() -> "getPropertyValues", "open"
>>>
>>>
>>> I was not very clear about the return type of execute method.
>>> I might have erred there.
>>
>> In "open" you are returning a java.io.InputStream.  According to the
>> API
>> documentation, "For non-folder objects, the OpenCommandArgument2
>> struct
>> will be prefilled with a data sink object, which will be filled with
>> the
>> content data."; important point: "OpenCommandArgument::Sink: a sink,
>> where the implementation can put the document data into."
>>
>> And in "getPropertyValues" you are returning
>> a java.util.Map. According to the API docs, the return
>> type is a ::com::sun::star::sdbc::XRow (as told in a previous mail).
>>
>> Both errors tell me you need a deeper knowledge of the UCB API: before
>> trying to implement your own UCP, you need a general understanding of
>> how the UCB API works, this is something fundamental, and these two
>> basic errors tell you are missing this point.
>>
>> So back to the basics:
>>
>> - create client application
>> - using the UCB API, get some properties of a file/folder
>> - if the content is a file, execute an "open" command. If the content
>> is
>>   a folder, list its content.
>> - if the content is a file,
>>   a) store the stream to disk
>>   b) use the stream to load the file inside OpenOffice
>>
>> The code should work using local files/folders, http, webdav, etc. Try
>> with http://demo.owncloud.org/files/webdav.php so that you have t

Re: CMIS UCP

2013-06-03 Thread Rajath Shashidhara
Hello Juergen,

I have type casted it to Property[].
This page says that the argument for getPropertyValues is
sequence type.
http://www.openoffice.org/api/docs/common/ref/com/sun/star/ucb/Content.html

I'm not able to define such a variable type  .
I'll test my code with the macro sent by Ariel.
Because, executeCommand() helper method calls ucp execute() method with
argument initialized with a type Property[].

I'll get back to you about what I used anyConverter or typeCast.


On Mon, Jun 3, 2013 at 11:26 PM, Jürgen Schmidt wrote:

> On 6/3/13 6:46 PM, Rajath Shashidhara wrote:
> > Hello,
> >
> >
> > I have changed the getPropertyValues return type to XRow.
> >
> > One Problem I'm facing is that the stated UNOtype sequence is not
> available
> > for me. I checked com.sun.star.uno package also. I typecasted the
> > command.argument to Property[] because
> > from these two examples:
> >
> http://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Executing_Content_Commands
> >
> http://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Executing_Content_Commands
> >
> > Argument is initialized as com.sun.star.beans.Property[](specifying it
> > particularly because there is a Property type in chemistry api also).
>
> the Command.Argument is of type Any, see and use AnyConverter to convert
> object into Any ->
>
> http://www.openoffice.org/api/docs/java/ref/com/sun/star/uno/AnyConverter.html
>
>
> Juergen
>
> >
> > Again My github:
> > https://github.com/rajaths589/CMISContentProvider.git
> >
> >
> > On Mon, Jun 3, 2013 at 1:00 PM, Jürgen Schmidt  >wrote:
> >
> >> Hi Rajath,
> >>
> >> first of all sorry for not answering over the weekend but I try to take
> >> a "real" break over the weekend and focus on some private work items.
> >>
> >> But Ariel gave you very detailed and good advice, it seems that he would
> >> be a better mentor ;-)
> >>
> >> The office API will be of course the more difficult part of this project
> >> because you won't find so much documentation and samples as for Java.
> >> The UCB is a special candidate in the office API and it takes some time
> >> to understand it. Exception are playing a special role in the context of
> >> the UCB and you will learn this over time.
> >>
> >> The SDK contains also an example showing the usage of the UCB API. But
> >> it's a good idea to play around on your own and get some understanding
> >> how it works.
> >>
> >> Juergen
> >>
> >>
> >>
> >>
> >> On 6/3/13 6:59 AM, Rajath Shashidhara wrote:
> >>> Hello Ariel,
> >>>
> >>> Actually, this is my first code using openoffice api.
> >>> I'll do these before completing my ucp.
> >>>
> >>> Sorry. I'll get back to you with the understanding of the general api.
> >>>
> >>>
> >>> On Mon, Jun 3, 2013 at 10:20 AM, Ariel Constenla-Haile <
> >>> ariel.constenla.ha...@gmail.com> wrote:
> >>>
>  Hi Rajath,
> 
>  On Mon, Jun 03, 2013 at 01:28:24AM +0530, Rajath Shashidhara wrote:
> > Hello everyone,
> >
> > I have completed some part of the CMISUCP.
> >
> > I have made my own implementation of XContent, XContentIdentifier
> > interfaces.
> >
> > I have partially Completed implementation of the following methods:
> > queryContent()
> > execute() -> "getPropertyValues", "open"
> >
> >
> > I was not very clear about the return type of execute method.
> > I might have erred there.
> 
>  In "open" you are returning a java.io.InputStream.  According to the
> API
>  documentation, "For non-folder objects, the OpenCommandArgument2
> struct
>  will be prefilled with a data sink object, which will be filled with
> the
>  content data."; important point: "OpenCommandArgument::Sink: a sink,
>  where the implementation can put the document data into."
> 
>  And in "getPropertyValues" you are returning
>  a java.util.Map. According to the API docs, the return
>  type is a ::com::sun::star::sdbc::XRow (as told in a previous mail).
> 
>  Both errors tell me you need a deeper knowledge of the UCB API: before
>  trying to implement your own UCP, you need a general understanding of
>  how the UCB API works, this is something fundamental, and these two
>  basic errors tell you are missing this point.
> 
>  So back to the basics:
> 
>  - create client application
>  - using the UCB API, get some properties of a file/folder
>  - if the content is a file, execute an "open" command. If the content
> is
>    a folder, list its content.
>  - if the content is a file,
>    a) store the stream to disk
>    b) use the stream to load the file inside OpenOffice
> 
>  The code should work using local files/folders, http, webdav, etc. Try
>  with http://demo.owncloud.org/files/webdav.php so that you have to
> use
>  an interaction handler for authentication (user=test, password=test).
> 
>  This (together with reading the API reference) will give you a first
> 

Re: CMIS UCP

2013-06-03 Thread Jürgen Schmidt
On 6/3/13 6:46 PM, Rajath Shashidhara wrote:
> Hello,
> 
> 
> I have changed the getPropertyValues return type to XRow.
> 
> One Problem I'm facing is that the stated UNOtype sequence is not available
> for me. I checked com.sun.star.uno package also. I typecasted the
> command.argument to Property[] because
> from these two examples:
> http://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Executing_Content_Commands
> http://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Executing_Content_Commands
> 
> Argument is initialized as com.sun.star.beans.Property[](specifying it
> particularly because there is a Property type in chemistry api also).

the Command.Argument is of type Any, see and use AnyConverter to convert
object into Any ->
http://www.openoffice.org/api/docs/java/ref/com/sun/star/uno/AnyConverter.html


Juergen

> 
> Again My github:
> https://github.com/rajaths589/CMISContentProvider.git
> 
> 
> On Mon, Jun 3, 2013 at 1:00 PM, Jürgen Schmidt wrote:
> 
>> Hi Rajath,
>>
>> first of all sorry for not answering over the weekend but I try to take
>> a "real" break over the weekend and focus on some private work items.
>>
>> But Ariel gave you very detailed and good advice, it seems that he would
>> be a better mentor ;-)
>>
>> The office API will be of course the more difficult part of this project
>> because you won't find so much documentation and samples as for Java.
>> The UCB is a special candidate in the office API and it takes some time
>> to understand it. Exception are playing a special role in the context of
>> the UCB and you will learn this over time.
>>
>> The SDK contains also an example showing the usage of the UCB API. But
>> it's a good idea to play around on your own and get some understanding
>> how it works.
>>
>> Juergen
>>
>>
>>
>>
>> On 6/3/13 6:59 AM, Rajath Shashidhara wrote:
>>> Hello Ariel,
>>>
>>> Actually, this is my first code using openoffice api.
>>> I'll do these before completing my ucp.
>>>
>>> Sorry. I'll get back to you with the understanding of the general api.
>>>
>>>
>>> On Mon, Jun 3, 2013 at 10:20 AM, Ariel Constenla-Haile <
>>> ariel.constenla.ha...@gmail.com> wrote:
>>>
 Hi Rajath,

 On Mon, Jun 03, 2013 at 01:28:24AM +0530, Rajath Shashidhara wrote:
> Hello everyone,
>
> I have completed some part of the CMISUCP.
>
> I have made my own implementation of XContent, XContentIdentifier
> interfaces.
>
> I have partially Completed implementation of the following methods:
> queryContent()
> execute() -> "getPropertyValues", "open"
>
>
> I was not very clear about the return type of execute method.
> I might have erred there.

 In "open" you are returning a java.io.InputStream.  According to the API
 documentation, "For non-folder objects, the OpenCommandArgument2 struct
 will be prefilled with a data sink object, which will be filled with the
 content data."; important point: "OpenCommandArgument::Sink: a sink,
 where the implementation can put the document data into."

 And in "getPropertyValues" you are returning
 a java.util.Map. According to the API docs, the return
 type is a ::com::sun::star::sdbc::XRow (as told in a previous mail).

 Both errors tell me you need a deeper knowledge of the UCB API: before
 trying to implement your own UCP, you need a general understanding of
 how the UCB API works, this is something fundamental, and these two
 basic errors tell you are missing this point.

 So back to the basics:

 - create client application
 - using the UCB API, get some properties of a file/folder
 - if the content is a file, execute an "open" command. If the content is
   a folder, list its content.
 - if the content is a file,
   a) store the stream to disk
   b) use the stream to load the file inside OpenOffice

 The code should work using local files/folders, http, webdav, etc. Try
 with http://demo.owncloud.org/files/webdav.php so that you have to use
 an interaction handler for authentication (user=test, password=test).

 This (together with reading the API reference) will give you a first
 idea of how "open" and "getPropertyValues" work.


 Regards
 --
 Ariel Constenla-Haile
 La Plata, Argentina

>>>
>>>
>>>
>>
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>> For additional commands, e-mail: dev-h...@openoffice.apache.org
>>
>>
> 
> 


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [RELEASE]: new snapshot build based on trunk revision 1488886

2013-06-03 Thread Jürgen Schmidt
On 6/3/13 2:09 PM, Herbert Duerr wrote:
> On 03.06.2013 10:29, Jürgen Schmidt wrote:
>> I would like to propose a new snapshot build based on trunk revision
>> 146 (related snapshot tag revision 148).
> 
> +1
> 
>> This snapshot should provide a SDK as well that should work with the
>> reworked (3layer) directory structure of the office.
>>
>> @Ariel, please use the configure switch --without-stlport to trigger the
>> stlport related change from Herbert.
> 
> Regarding the Windows build environment: MSVC2008 is/was a requirement.
> Please be aware that for building with --without-stlport its Service
> Pack 1 (or newer) is needed, whereas an unpatched MSVC2008 used to
> suffice. As the service pack was already released over five years ago
> (MSVC2008SP1 was released in May 2008) I hope this actualization
> requirement is nothing too unreasonable to ask for. MSVC2008's SP1 was
> already documented as requirement in [1].
> 
> [1]
> http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step#Windows_7
> 
> 

I did a mistake and forgot to check in the changed d.lst for Python
(issue 122010). It's corrected on the snapshot which is now on revision
1489073.

Sorry for the mistake

Juergen

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [VOTE] Logo selection for Apache OpenOffice 4.0

2013-06-03 Thread Regina Henschel

Rob Weir schrieb:

This is a vote to pick the logo for Apache OpenOffice 4.0.  This is
the next step in a a multi-month long process that saw over 40 logos
submitted, weeks of discussion, several iterations of refinement, and
a poll of over 5000 users.

Voters are asked to indicate their top 5 choices, with the 1st Choice
being the one that you prefer the most, the 2nd choice being your
alternate preference, etc.  The votes will be scored using the
Instant Run-Off  Voting procedure [1].

Please use enter your preferences using logo names from one of the
following sources:

A)  The logos that were refined by their designers after the logo survey:

https://cwiki.apache.org/confluence/display/OOOUSERS/Stage+2+Logo+Refinement

B) The table of all logos used in the survey:

http://survey.openoffice.org/reports/aoo40-logo-poll/

C) A URL to any other logo that you prefer

D) The string "none of the above" if you prefer not to change the logo
at all from what we have in AOO 3.4.1.

For example, a voter might vote:

1st Choice: Kevin Grignon B

2nd Choice: Chris Rottensteiner

3rd Choice:  Logo-37

4th Choice: "none of the above"

5th Choice: http://www.robweir.com/blog/images/s1097.png

The vote will run for 72-hours, until 1100 EDT on June 6th.

Everyone is welcome to vote, though only PMC votes are binding.

Regards,

-Rob

[1] http://en.wikipedia.org/wiki/Instant-runoff_voting



--

 HERE IS THE BALLOT:

 My ranked preferences for the AOO 4.0 logo are:

 1st Choice: "non of the above"

 2nd Choice: Chris Rottensteiner

 3rd Choice: Logo-39

 4th Choice: Logo-28

 5th Choice:


Kind regards
Regina


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [VOTE] Logo selection for Apache OpenOffice 4.0

2013-06-03 Thread Donald Whytock
On Mon, Jun 3, 2013 at 10:57 AM, Rob Weir  wrote:

>
> Everyone is welcome to vote, though only PMC votes are binding.
>
>
My non-binding vote...Of the choices offered, putting Kevin's edgier birds
toward the bottom and Chris' bolder font toward the top.  Chris' looks the
most scalably workable, equally attractive on books, CD covers, websites
and convention banners.

My ranked preferences for the AOO 4.0 logo are:

1st Choice: Chris Rottensteiner

2nd Choice: Samer Mansour

3rd Choice: "none of the above"

4th Choice: Kevin Grignon A

5th Choice: Kevin Grignon B



Re: CMIS UCP

2013-06-03 Thread Rajath Shashidhara
Hello,


I have changed the getPropertyValues return type to XRow.

One Problem I'm facing is that the stated UNOtype sequence is not available
for me. I checked com.sun.star.uno package also. I typecasted the
command.argument to Property[] because
from these two examples:
http://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Executing_Content_Commands
http://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Executing_Content_Commands

Argument is initialized as com.sun.star.beans.Property[](specifying it
particularly because there is a Property type in chemistry api also).

Again My github:
https://github.com/rajaths589/CMISContentProvider.git


On Mon, Jun 3, 2013 at 1:00 PM, Jürgen Schmidt wrote:

> Hi Rajath,
>
> first of all sorry for not answering over the weekend but I try to take
> a "real" break over the weekend and focus on some private work items.
>
> But Ariel gave you very detailed and good advice, it seems that he would
> be a better mentor ;-)
>
> The office API will be of course the more difficult part of this project
> because you won't find so much documentation and samples as for Java.
> The UCB is a special candidate in the office API and it takes some time
> to understand it. Exception are playing a special role in the context of
> the UCB and you will learn this over time.
>
> The SDK contains also an example showing the usage of the UCB API. But
> it's a good idea to play around on your own and get some understanding
> how it works.
>
> Juergen
>
>
>
>
> On 6/3/13 6:59 AM, Rajath Shashidhara wrote:
> > Hello Ariel,
> >
> > Actually, this is my first code using openoffice api.
> > I'll do these before completing my ucp.
> >
> > Sorry. I'll get back to you with the understanding of the general api.
> >
> >
> > On Mon, Jun 3, 2013 at 10:20 AM, Ariel Constenla-Haile <
> > ariel.constenla.ha...@gmail.com> wrote:
> >
> >> Hi Rajath,
> >>
> >> On Mon, Jun 03, 2013 at 01:28:24AM +0530, Rajath Shashidhara wrote:
> >>> Hello everyone,
> >>>
> >>> I have completed some part of the CMISUCP.
> >>>
> >>> I have made my own implementation of XContent, XContentIdentifier
> >>> interfaces.
> >>>
> >>> I have partially Completed implementation of the following methods:
> >>> queryContent()
> >>> execute() -> "getPropertyValues", "open"
> >>>
> >>>
> >>> I was not very clear about the return type of execute method.
> >>> I might have erred there.
> >>
> >> In "open" you are returning a java.io.InputStream.  According to the API
> >> documentation, "For non-folder objects, the OpenCommandArgument2 struct
> >> will be prefilled with a data sink object, which will be filled with the
> >> content data."; important point: "OpenCommandArgument::Sink: a sink,
> >> where the implementation can put the document data into."
> >>
> >> And in "getPropertyValues" you are returning
> >> a java.util.Map. According to the API docs, the return
> >> type is a ::com::sun::star::sdbc::XRow (as told in a previous mail).
> >>
> >> Both errors tell me you need a deeper knowledge of the UCB API: before
> >> trying to implement your own UCP, you need a general understanding of
> >> how the UCB API works, this is something fundamental, and these two
> >> basic errors tell you are missing this point.
> >>
> >> So back to the basics:
> >>
> >> - create client application
> >> - using the UCB API, get some properties of a file/folder
> >> - if the content is a file, execute an "open" command. If the content is
> >>   a folder, list its content.
> >> - if the content is a file,
> >>   a) store the stream to disk
> >>   b) use the stream to load the file inside OpenOffice
> >>
> >> The code should work using local files/folders, http, webdav, etc. Try
> >> with http://demo.owncloud.org/files/webdav.php so that you have to use
> >> an interaction handler for authentication (user=test, password=test).
> >>
> >> This (together with reading the API reference) will give you a first
> >> idea of how "open" and "getPropertyValues" work.
> >>
> >>
> >> Regards
> >> --
> >> Ariel Constenla-Haile
> >> La Plata, Argentina
> >>
> >
> >
> >
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


-- 
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani


Re: Draw, make some changes to gradients

2013-06-03 Thread Regina Henschel

Hi ???,

bugreporte...@hushmail.com schrieb:

Dear Apache Open Office/Libre Office devs,
the reason why I'm writing is, cause I can't code and want to make OO
better.


Coding is not the only way to make AOO better. For example there are 
always people needed to test the product, whether the new features work 
as intended and whether no regressions slipped in. Also usability is a 
topic for non coder, and usability is not about a single design opinion, 
but making tests like the icon test in LO.



Specially the way gradients in Draw works. At the moment the gradients
stuff is rudimentary.
Well I guess little kids may have fun with this but you can't do real
work with that.
So this HAS to be changed.
At least the following things should be added:
- possibility to use more than two colors for the gradient


+1


- set the hight and width of the gradient


Currently the gradient is relative to the shape. Adjustments are done 
with the Border property. With svg it is possible to define the gradient 
relative to the parent of the shape and that is rendered correctly in AOO.



- the percentage of the color should change the transparency and not
the "blackness" of the color
   https://www.libreoffice.org/bugzilla/show_bug.cgi?id=64469


-1

Transparency is an additional feature. You can already combine 
transparency with solid color (I guess from the pdf-file, that you want 
that), but you can also combine transparency with gradients. You need 
not even use the same kind of gradient. It seems you have not yet 
discovered the property 'Gradient' in the Transparency tab of the Area 
dialog.



Because this will break compatibillity with older Versions of OO I
think there should be as much changes as
possible to prevent having to do big changes in the future to the
gradients stuff.
So here is my suggestion to the GUI part (pdf file:
http://temp-share.com/show/f3Ygit6Xn).
The coding part is up to you cause that's out of my scope.


We tend to make the draw stuff more like svg. Already now it is possible 
to use a svg-graphic; and its gradients are rendered nicely.


Besides that, changes have to be compatible with ODF or find its way in 
the next version of ODF.



I would like you guys to think about how this could be implemented and
if there is a better way to
do it on the GUI side (maybe an extra button which will pop-up an
extra window for the editing of
the gradient???).


Area > Gradient is already the dialog page to edit gradients. What 
editing feature do you miss on that page? But keep in mind, that color 
gradient and transparency are independent properties.



Please fuck the licensing issues so the code can be used in both
projects.



If a developer provides his work under AL2, it can be used in both 
projects. So its up to the individual developer. Changes done in AOO can 
always be used in LO.


Kind regards
Regina



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



RE: [VOTE] Logo selection for Apache OpenOffice 4.0

2013-06-03 Thread orcmid


--

HERE IS THE BALLOT:

My ranked preferences for the AOO 4.0 logo are:

1st Choice: Chris Rottensteiner Stage 2 Logo Refinement with bold "Apache" 
(same grey as Mansour)

2nd Choice: Chris Rottensteiner Stage 2 Logo Refinement

3rd Choice: Samer Mansour Stage 2 Logo Refinement

4th Choice: none of the above

5th Choice:

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Draw, make some changes to gradients

2013-06-03 Thread bugreporter99
Dear Apache Open Office/Libre Office devs, 
the reason why I'm writing is, cause I can't code and want to make OO
better. 
Specially the way gradients in Draw works. At the moment the gradients
stuff is rudimentary. 
Well I guess little kids may have fun with this but you can't do real
work with that. 
So this HAS to be changed. 
At least the following things should be added: 
- possibility to use more than two colors for the gradient 
- set the hight and width of the gradient 
- the percentage of the color should change the transparency and not
the "blackness" of the color
  https://www.libreoffice.org/bugzilla/show_bug.cgi?id=64469 
Because this will break compatibillity with older Versions of OO I
think there should be as much changes as 
possible to prevent having to do big changes in the future to the
gradients stuff. 
So here is my suggestion to the GUI part (pdf file:
http://temp-share.com/show/f3Ygit6Xn). 
The coding part is up to you cause that's out of my scope. 
I would like you guys to think about how this could be implemented and
if there is a better way to 
do it on the GUI side (maybe an extra button which will pop-up an
extra window for the editing of 
the gradient???). 
Please fuck the licensing issues so the code can be used in both
projects.



Re: Next steps for AOO 4.0 Logo Selection

2013-06-03 Thread David Gerard
On 28 May 2013 18:12, Dennis E. Hamilton  wrote:

> It never occurred to me that those were flying books.  Taking another look, 
> it still doesn't work.  If made more obviously as books, I'm not sure how 
> that will occur as indicative of an office productivity suite.  (I have no 
> idea how birds in flight do that either, but it is probably better to avoid 
> trying for a literal connection.)


Slightly tangential historical question, if anyone here remembers
authoritatively:

What was the origin of the OpenOffice.org gull motif, way back when?

Is (or was) this documented anywhere?


- d.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [Licence] Contents of the Symphony web page

2013-06-03 Thread Regina Henschel

Hi Guy,

Guy Waterval schrieb:

Hi all,

Is it allowed to use with AOO the templates and cliparts of the web page of
Lotus Symphony :

http://www-03.ibm.com/software/lotus/symphony/gallery.nsf/home ?


Many of the cliparts are included in AOO 4.0, which will be released end 
of June. You can download a snapshot and test it already. Students of 
the course will have the cliparts in their installation of AOO.


Kind regards
Regina


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [VOTE] Logo selection for Apache OpenOffice 4.0

2013-06-03 Thread Rob Weir
PMC/Binding

> HERE IS THE BALLOT:
>
> My ranked preferences for the AOO 4.0 logo are:
>
> 1st Choice: Chris Rottensteiner
>
> 2nd Choice: Kevin Grignon A
>
> 3rd Choice: Kevin Grignon B
>
> 4th Choice: Samer Mansour
>
> 5th Choice:

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



[VOTE] Logo selection for Apache OpenOffice 4.0

2013-06-03 Thread Rob Weir
This is a vote to pick the logo for Apache OpenOffice 4.0.  This is
the next step in a a multi-month long process that saw over 40 logos
submitted, weeks of discussion, several iterations of refinement, and
a poll of over 5000 users.

Voters are asked to indicate their top 5 choices, with the 1st Choice
being the one that you prefer the most, the 2nd choice being your
alternate preference, etc.  The votes will be scored using the
Instant Run-Off  Voting procedure [1].

Please use enter your preferences using logo names from one of the
following sources:

A)  The logos that were refined by their designers after the logo survey:

https://cwiki.apache.org/confluence/display/OOOUSERS/Stage+2+Logo+Refinement

B) The table of all logos used in the survey:

http://survey.openoffice.org/reports/aoo40-logo-poll/

C) A URL to any other logo that you prefer

D) The string "none of the above" if you prefer not to change the logo
at all from what we have in AOO 3.4.1.

For example, a voter might vote:

1st Choice: Kevin Grignon B

2nd Choice: Chris Rottensteiner

3rd Choice:  Logo-37

4th Choice: "none of the above"

5th Choice: http://www.robweir.com/blog/images/s1097.png

The vote will run for 72-hours, until 1100 EDT on June 6th.

Everyone is welcome to vote, though only PMC votes are binding.

Regards,

-Rob

[1] http://en.wikipedia.org/wiki/Instant-runoff_voting

--

HERE IS THE BALLOT:

My ranked preferences for the AOO 4.0 logo are:

1st Choice:

2nd Choice:

3rd Choice:

4th Choice:

5th Choice:

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [Licence] Contents of the Symphony web page

2013-06-03 Thread Rob Weir
On Mon, Jun 3, 2013 at 10:06 AM, Guy Waterval  wrote:
> Hi all,
>
> Is it allowed to use with AOO the templates and cliparts of the web page of
> Lotus Symphony :
>
> http://www-03.ibm.com/software/lotus/symphony/gallery.nsf/home ?
>
> I read the following in the "terms of use" :
>
> [...]
>
> IBM grants you non-exclusive, non-transferable, limited permission to
> access and display the Web pages within this site, solely on your computer
> and for your personal, non-commercial use of this Web site. Content may be
> accompanied by licenses or other agreements, in which case such Content is
> governed solely by the agreements under which they are provided. If you
> obtain Content from this Web site that is not provided under an agreement,
> such Content is not provided as "public domain"; *you may use such Content
> for your personal, non-commercial use only and only in connection with your
> use of Lotus Symphony*. You may not reverse assemble, reverse compile, or
> otherwise *translate the Content into human-readable form* or into another
> program language (except as may be specifically permitted by law without
> the possibility of contractual waiver).
>
> [...]
>
> So, no translation or possible transmission to students in a course on AOO?
>

It also says, "solely on your computer and for your personal,
non-commercial use".  I'm not sure that is compatible with using in a
non-personal work like a class.

But let me check with the Symphony team to see if this content can be
contributed to Apache.

Regards,

-Rob


> If yes, what text should be sent to give credit to IBM for the files?
>
>
>  Regards
>
> --
>
> gw

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Next steps for AOO 4.0 Logo Selection

2013-06-03 Thread Rob Weir
On Mon, May 27, 2013 at 6:22 PM, Rob Weir  wrote:
> What we've done so far:
>
> 1) Called for logo submissions from the community
>
> 2) Many designers responded and we received 40 submissions.  There was
> a lot of "cross-fertilization" of ideas, as designers saw what others
> had come up with, what worked, and borrowed ideas.
>
> 3) We did a survey of user responses to the 40 logo submissions.  Over
> 5000 users offered their ratings and written comments.
>
> 4) Publish report and blog post on the results of the logo survey.
>
> 5) Invited the designers of the top-rated logos to read over the
> survey comments and refine their designs and submit an updated
> version.
>
> That's where we are now.  The updated logos (three of them) are on the wiki 
> now:
>
> https://cwiki.apache.org/confluence/display/OOOUSERS/Stage+2+Logo+Refinement
>
> As you can see there is quite a bit of convergence on a design occurring.
>
> So what next?
>
> I'd like to propose some next steps.
>
> A) Let's discuss the three designs on the mailing list for the next
> week.   The discussion might lead to further refinement.
>
> B) If at the end of the week there is consensus on a single design
> we'll go with that one.
>

One week has passed.  We've had some good discussion, and further
refined one of the logos.  Personally I am seeing convergence of
opinion around one of the logos.   However, some community members
expressed a preference for different logos from the survey (not the
top ones).  One community member (Hagar) suggested not changing the
logo at all, and another one (Graham) wanted to go back to the
OpenOffice.org word mark and logo from OOo 3.3.0.  So I'm not willing
to claim that there is consensus.

Also, my perception is that the discussion is not advancing, and minds
are unlikely to change with further discussion.  So I'll start a
72-hour vote later today.   Since we have more than one option for a
logo, I'll ask PMC members to list their ranked preferences.  The
ballot will be scored via Instant Run-Off  Voting (IRV) rules [1].
I'll include a "don't change the logo" option as well as a position
for a write-in choice.  Everyone will have the opportunity to express
their preference.

[1] http://en.wikipedia.org/wiki/Instant-runoff_voting

Regards,

-Rob


> C) If at the end of the week there is not consensus on a single
> design, and the discussion is not leading us closer toward consensus,
> then we'll have a 72-hour vote of PMC members to pick the logo.
>
> Regards,
>
> -Rob

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



[Licence] Contents of the Symphony web page

2013-06-03 Thread Guy Waterval
Hi all,

Is it allowed to use with AOO the templates and cliparts of the web page of
Lotus Symphony :

http://www-03.ibm.com/software/lotus/symphony/gallery.nsf/home ?

I read the following in the "terms of use" :

[...]

IBM grants you non-exclusive, non-transferable, limited permission to
access and display the Web pages within this site, solely on your computer
and for your personal, non-commercial use of this Web site. Content may be
accompanied by licenses or other agreements, in which case such Content is
governed solely by the agreements under which they are provided. If you
obtain Content from this Web site that is not provided under an agreement,
such Content is not provided as "public domain"; *you may use such Content
for your personal, non-commercial use only and only in connection with your
use of Lotus Symphony*. You may not reverse assemble, reverse compile, or
otherwise *translate the Content into human-readable form* or into another
program language (except as may be specifically permitted by law without
the possibility of contractual waiver).

[...]

So, no translation or possible transmission to students in a course on AOO?

If yes, what text should be sent to give credit to IBM for the files?


 Regards

-- 

gw


Re: Blog about sidebar

2013-06-03 Thread Donald Whytock
On Mon, Jun 3, 2013 at 3:21 AM, Andre Fischer  wrote:

> Changed that to
>
> A little known feature of OpenOffice is that extensions can provide
> panels for the task panel (now called sidebar).
>
> I am not sure if parenthesis and dot/period should be interchanged but
> ".)" just looks too wrong for me.  Shall I change it?
>
> No, ")." is correct.  The bit in parentheses is affecting a piece of the
sentence directly, and therefore is part of the sentence.  It's not like
quotes.

What would really look wrong is ".).".  And that sentence I just typed is
technically wrong too.

Don


Re: updates.openoffice.org

2013-06-03 Thread Rob Weir
On Mon, Jun 3, 2013 at 8:11 AM, Oliver-Rainer Wittmann
 wrote:
> Hi,
>
>
> On 03.06.2013 13:50, janI wrote:
>>
>> On 3 June 2013 11:43, Oliver-Rainer Wittmann
>> wrote:
>>
>>> Hi,
>>>
>>> On 02.06.2013 16:43, janI wrote:
>>>
 Hi.

 I have asked by my infra collegaues, to ensuere we (AOO) have consensus
 on
 how to handle updates.openoffice.org

 I nobody objects I will assume lazy consensus in 72 hours from now and

 1) create trunk/ooo-site/upates

>>>
>>> My understandings of the communication with infra is that
>>> ^/openoffice/updates-site/**trunk/
>>> should be created for holding the needed application update data for AOO
>>> 4.0 and later.
>>>
>>> I am not sure, if my understanding is correct.
>>> Thus, please let us clarify it.
>>>
>>>
>>> Just for your information - the locations for the released versions are:
>>> - ^/openoffice/ooo-site/trunk/**content/projects/update/**aoo341/ used by
>>> UpdateURL http://www.openoffice.org/**projects/update/aoo341/check.**
>>> Update for
>>> AOO 3.4.1
>>> - ^/openoffice/ooo-site/trunk/**content/projects/update38/ used by
>>> UpdateURL http://update38.services.**openoffice.org/**
>>>
>>> ProductUpdateService/check.**Updatefor
>>> AOO 3.4
>>> - ^/openoffice/ooo-site/trunk/**content/projects/update36/ used by
>>> UpdateURL http://update36.services.**openoffice.org/**
>>>
>>> ProductUpdateService/check.**Updatefor
>>> OOo 3.3
>>> - ^/openoffice/ooo-site/trunk/**content/projects/update35/ used by
>>> UpdateURL http://update35.services.**openoffice.org/**
>>>
>>> ProductUpdateService/check.**Updatefor
>>> OOo 3.2.1
>>> - ^/openoffice/ooo-site/trunk/**content/projects/update34/ used by
>>> UpdateURL http://update34.services.**openoffice.org/**
>>>
>>> ProductUpdateService/check.**Updatefor
>>> OOo 3.2
>>>
>>
>> Using that we should make
>> ^/openoffice/ooo-site/trunk/content/projects/update40/
>>   and have updates.o.o point at that.
>
>
> We have already ^/openoffice/ooo-site/trunk/content/projects/aoo40/ for
> current AOO 4.0 trunk builds - as stated in the communication with infra.
>
> I am currently very confused.
> Infra is telling "create ^/openoffice/updates-site/trunk/"
> Jan is proposing "^/openoffice/trunk/ooo-site/upates/"
> We already have "^/openoffice/ooo-site/trunk/content/projects/aoo40/"
>
> If we can use whatever location for URL https://updates.openoffice.org/, why
> does we had a discussion on a new location?
>

I think the concern is this:

1) We want SSL for 4.0.  http://update.openoffice.org is not HTTPS.

2) The URL https://ooo-site.openoffice.apache.org supports SSL, but is
not considered "long term stable".  The URL is an artifact of the CMS

3) We're looking for a stable URL.  One could be
https://updates.openoffice.org, but that requires an SSL cert for
*.openoffice.org.  But will that be supported in time for the AOO 4.0
release?

4) Backup plan is updates.openoffice.apache.org, which could be
supported via SSL today, using the *.apache.org cert.  If we do that
we'd want to map that to its own CMS dir in SVN. so it can be updated
and published via the CMS.

-Rob


>
>>
>> Changing updates.o.o to point at something else is a one line statement so
>> no problem.
>>
>> Would it not be better if the AOO executable always called
>> https://updates.openoffice.org?version=x
>>
>> That way the executable stays stable over versions, and we can have 1
>> server side script that checks the version.
>>
>
> May be it would be better.
> But, somebody would be needed to implement such an adaption in the
> OpenOffice code and to implement the server side script.
>
> Best regards, Oliver.
>
>
>> rgds
>> jan I
>>
>> and have
>>
>>
>>>
>>>
>>>
>>>   2) let https://updates.openoffice.org point to trunk/ooo-site/update


>>>
>>> Yes, https://updates.openoffice.org should point to the new application
>>> update data location.
>>>
>>>
>>> Best regards, Oliver.
>>>
>>> --**--**-
>>> To unsubscribe, e-mail:
>>> dev-unsubscribe@openoffice.**apache.org
>>> For additional commands, e-mail: dev-h...@openoffice.apache.org
>>>
>>>
>>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: question

2013-06-03 Thread Rob Weir
On Mon, Jun 3, 2013 at 7:53 AM, Slam Slam  wrote:
>
> Good day!
>
> I want to know if it would be legal if I write my own software using Apache 
> OpenOffice compoments. I want to sell my software.
>

Hi Slam,

We don't provide legal advice.  However, Apache projects try to make
it easy for 3rd parties to take our source code, enhance it and use it
in their own products, including commercial software.

You can read the license for Apache OpenOffice here:
https://svn.apache.org/repos/asf/openoffice/trunk/main/LICENSE

-Rob


> Thanks for answer!

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: updates.openoffice.org

2013-06-03 Thread Oliver-Rainer Wittmann

Hi,

On 03.06.2013 13:50, janI wrote:

On 3 June 2013 11:43, Oliver-Rainer Wittmann wrote:


Hi,

On 02.06.2013 16:43, janI wrote:


Hi.

I have asked by my infra collegaues, to ensuere we (AOO) have consensus on
how to handle updates.openoffice.org

I nobody objects I will assume lazy consensus in 72 hours from now and

1) create trunk/ooo-site/upates



My understandings of the communication with infra is that
^/openoffice/updates-site/**trunk/
should be created for holding the needed application update data for AOO
4.0 and later.

I am not sure, if my understanding is correct.
Thus, please let us clarify it.


Just for your information - the locations for the released versions are:
- ^/openoffice/ooo-site/trunk/**content/projects/update/**aoo341/ used by
UpdateURL http://www.openoffice.org/**projects/update/aoo341/check.**
Update for AOO 
3.4.1
- ^/openoffice/ooo-site/trunk/**content/projects/update38/ used by
UpdateURL http://update38.services.**openoffice.org/**
ProductUpdateService/check.**Updatefor
 AOO 3.4
- ^/openoffice/ooo-site/trunk/**content/projects/update36/ used by
UpdateURL http://update36.services.**openoffice.org/**
ProductUpdateService/check.**Updatefor
 OOo 3.3
- ^/openoffice/ooo-site/trunk/**content/projects/update35/ used by
UpdateURL http://update35.services.**openoffice.org/**
ProductUpdateService/check.**Updatefor
 OOo 3.2.1
- ^/openoffice/ooo-site/trunk/**content/projects/update34/ used by
UpdateURL http://update34.services.**openoffice.org/**
ProductUpdateService/check.**Updatefor
 OOo 3.2



Using that we should make
^/openoffice/ooo-site/trunk/content/projects/update40/
  and have updates.o.o point at that.


We have already ^/openoffice/ooo-site/trunk/content/projects/aoo40/ for 
current AOO 4.0 trunk builds - as stated in the communication with infra.


I am currently very confused.
Infra is telling "create ^/openoffice/updates-site/trunk/"
Jan is proposing "^/openoffice/trunk/ooo-site/upates/"
We already have "^/openoffice/ooo-site/trunk/content/projects/aoo40/"

If we can use whatever location for URL https://updates.openoffice.org/, 
why does we had a discussion on a new location?




Changing updates.o.o to point at something else is a one line statement so
no problem.

Would it not be better if the AOO executable always called
https://updates.openoffice.org?version=x

That way the executable stays stable over versions, and we can have 1
server side script that checks the version.



May be it would be better.
But, somebody would be needed to implement such an adaption in the 
OpenOffice code and to implement the server side script.


Best regards, Oliver.


rgds
jan I

and have






  2) let https://updates.openoffice.org point to trunk/ooo-site/update




Yes, https://updates.openoffice.org should point to the new application
update data location.


Best regards, Oliver.

--**--**-
To unsubscribe, e-mail: 
dev-unsubscribe@openoffice.**apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org






-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [RELEASE]: new snapshot build based on trunk revision 1488886

2013-06-03 Thread Herbert Duerr

On 03.06.2013 10:29, Jürgen Schmidt wrote:

I would like to propose a new snapshot build based on trunk revision
146 (related snapshot tag revision 148).


+1


This snapshot should provide a SDK as well that should work with the
reworked (3layer) directory structure of the office.

@Ariel, please use the configure switch --without-stlport to trigger the
stlport related change from Herbert.


Regarding the Windows build environment: MSVC2008 is/was a requirement. 
Please be aware that for building with --without-stlport its Service 
Pack 1 (or newer) is needed, whereas an unpatched MSVC2008 used to 
suffice. As the service pack was already released over five years ago 
(MSVC2008SP1 was released in May 2008) I hope this actualization 
requirement is nothing too unreasonable to ask for. MSVC2008's SP1 was 
already documented as requirement in [1].


[1] 
http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step#Windows_7


Herbert

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [RELEASE]: new snapshot build based on trunk revision 1488886

2013-06-03 Thread Herbert Duerr

On 03.06.2013 10:29, Jürgen Schmidt wrote:

I would like to propose a new snapshot build based on trunk revision
146 (related snapshot tag revision 148).


+1


This snapshot should provide a SDK as well that should work with the
reworked (3layer) directory structure of the office.

@Ariel, please use the configure switch --without-stlport to trigger the
stlport related change from Herbert.


Regarding the Windows build environment: MSVC2008 is/was a requirement. 
Please be aware that for building with --without-stlport its Service 
Pack 1 (or newer) is needed, whereas an unpatched MSVC2008 used to 
suffice. As the service pack was already released over five years ago 
(MSVC2008SP1 was released in May 2008) I hope this actualization 
requirement is nothing too unreasonable to ask for. MSVC2008's SP1 was 
already documented as requirement in [1].


[1] 
http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step#Windows_7


Herbert

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



question

2013-06-03 Thread Slam Slam

Good day!

I want to know if it would be legal if I write my own software using Apache 
OpenOffice compoments. I want to sell my software.

Thanks for answer!

Re: updates.openoffice.org

2013-06-03 Thread janI
On 3 June 2013 11:43, Oliver-Rainer Wittmann wrote:

> Hi,
>
> On 02.06.2013 16:43, janI wrote:
>
>> Hi.
>>
>> I have asked by my infra collegaues, to ensuere we (AOO) have consensus on
>> how to handle updates.openoffice.org
>>
>> I nobody objects I will assume lazy consensus in 72 hours from now and
>>
>> 1) create trunk/ooo-site/upates
>>
>
> My understandings of the communication with infra is that
> ^/openoffice/updates-site/**trunk/
> should be created for holding the needed application update data for AOO
> 4.0 and later.
>
> I am not sure, if my understanding is correct.
> Thus, please let us clarify it.
>
>
> Just for your information - the locations for the released versions are:
> - ^/openoffice/ooo-site/trunk/**content/projects/update/**aoo341/ used by
> UpdateURL http://www.openoffice.org/**projects/update/aoo341/check.**
> Update for AOO 
> 3.4.1
> - ^/openoffice/ooo-site/trunk/**content/projects/update38/ used by
> UpdateURL http://update38.services.**openoffice.org/**
> ProductUpdateService/check.**Updatefor
>  AOO 3.4
> - ^/openoffice/ooo-site/trunk/**content/projects/update36/ used by
> UpdateURL http://update36.services.**openoffice.org/**
> ProductUpdateService/check.**Updatefor
>  OOo 3.3
> - ^/openoffice/ooo-site/trunk/**content/projects/update35/ used by
> UpdateURL http://update35.services.**openoffice.org/**
> ProductUpdateService/check.**Updatefor
>  OOo 3.2.1
> - ^/openoffice/ooo-site/trunk/**content/projects/update34/ used by
> UpdateURL http://update34.services.**openoffice.org/**
> ProductUpdateService/check.**Updatefor
>  OOo 3.2
>

Using that we should make
^/openoffice/ooo-site/trunk/content/projects/update40/
 and have updates.o.o point at that.

Changing updates.o.o to point at something else is a one line statement so
no problem.

Would it not be better if the AOO executable always called
https://updates.openoffice.org?version=x

That way the executable stays stable over versions, and we can have 1
server side script that checks the version.

rgds
jan I

and have


>
>
>
>  2) let https://updates.openoffice.org point to trunk/ooo-site/update
>>
>
> Yes, https://updates.openoffice.org should point to the new application
> update data location.
>
>
> Best regards, Oliver.
>
> --**--**-
> To unsubscribe, e-mail: 
> dev-unsubscribe@openoffice.**apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


Re: updates.openoffice.org

2013-06-03 Thread Oliver-Rainer Wittmann

Hi,

On 02.06.2013 16:43, janI wrote:

Hi.

I have asked by my infra collegaues, to ensuere we (AOO) have consensus on
how to handle updates.openoffice.org

I nobody objects I will assume lazy consensus in 72 hours from now and

1) create trunk/ooo-site/upates


My understandings of the communication with infra is that
^/openoffice/updates-site/trunk/
should be created for holding the needed application update data for AOO 
4.0 and later.


I am not sure, if my understanding is correct.
Thus, please let us clarify it.


Just for your information - the locations for the released versions are:
- ^/openoffice/ooo-site/trunk/content/projects/update/aoo341/ used by 
UpdateURL http://www.openoffice.org/projects/update/aoo341/check.Update 
for AOO 3.4.1
- ^/openoffice/ooo-site/trunk/content/projects/update38/ used by 
UpdateURL 
http://update38.services.openoffice.org/ProductUpdateService/check.Update for 
AOO 3.4
- ^/openoffice/ooo-site/trunk/content/projects/update36/ used by 
UpdateURL 
http://update36.services.openoffice.org/ProductUpdateService/check.Update for 
OOo 3.3
- ^/openoffice/ooo-site/trunk/content/projects/update35/ used by 
UpdateURL 
http://update35.services.openoffice.org/ProductUpdateService/check.Update for 
OOo 3.2.1
- ^/openoffice/ooo-site/trunk/content/projects/update34/ used by 
UpdateURL 
http://update34.services.openoffice.org/ProductUpdateService/check.Update for 
OOo 3.2





2) let https://updates.openoffice.org point to trunk/ooo-site/update


Yes, https://updates.openoffice.org should point to the new application 
update data location.



Best regards, Oliver.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [AOO 4.0]: migration of AOO 3.4.x/OOo 3.x user profile data - help needed

2013-06-03 Thread Oliver-Rainer Wittmann

Hi,

small wrap-up at the top:
- nobody prefers to migrate extensions from AOO 3.4.x resp. OOo 3.x

more comments inline.

On 02.06.2013 13:17, Andrea Pescetti wrote:

On 29/05/2013 Oliver-Rainer Wittmann wrote:

On 28.05.2013 18:23, Rob Weir wrote:

Do we need to worry about the "messy" profiles that occurred from OOo
3.3.0 upgrades to AOO 3.4.0? That was when we saw spell checking
breaking, missing dictionaries, and crashes. One of the nice things
about a "clean start" with AOO 4.0 was that we avoid these kinds of
problems.

 From my point of view AOO 3.4.x users which had problems due to a
"messy" profile and had solved these problems, can migrate their profile
to AOO 4.0. AOO 3.4.x users which does not had solved their problems are
able to suppress the migration of their existing profile - see the
corresponding FirstStartWizard page for the user profile migration.


I agree with Rob here that, since we had only a few widely reported bugs
in OpenOffice 3.4.1 and one of them depended on the profile migration,
we should be rather conservative.

I agree it's better not to migrate extensions, since some of them might
not work in OpenOffice 4 and their description.xml file in most cases
will only state that they need "OpenOffice 3.0 or later".


Yes, an easy reset of the user profile would be great.


This would be a very welcome improvement. Maybe technically this could
invalidate the current profile and ask the user to restart OpenOffice,
which would start on a clean profile. This would offer a good user
experience (not optimal, since the optimal one would be triggered by a
reinstallation too), and the right moment for the cleanup would be just
after the code that checks if FirstStartWizard must be run and just
before the profile is loaded and locked (which means that the
"invalidate" bit must be set in a way that does not require profile
access but probably a simple filesystem access... OK, I'll stop here!).


Thus, I assume that the risk of a defect or a regression is low when
solving issue 122398 and 122397 for AOO 4.0, except the issue which
would be "copied" from a "messy" user profile.


This is a case to consider. So I would suggest to set the default answer
to "Don't migrate" for extra safety, especially if we don't have an easy
profile reset mechanism in place.


I agree.
But it will cause translation effort - see screenshot of 
FirstStartWizard migration page [1]
String "...If you do not want to reuse any settings in %PRODUCTNAME 
%PRODUCTVERSION, unmark the check box." will be change to "...If you do 
want to reuse settings in %PRODUCTNAME %PRODUCTVERSION, mark the check box."





Thus, send my your AOO 3.4.x or OOo 3.x user profile in a compressed
form (.zip file or .tar.gz file or ...) or let me know, if you want
to try my builds.


If you had a build available, it would be easier for the QA volunteers
to test.



Yes, that would be the best.

I will make the changes on trunk. Then the buildbot builds and the 
snapshot builds can be tested.
As all changes will contain the ID of the corresponding issue in the 
submit summary, it will be easy to revert these changes.


[1] https://issues.apache.org/ooo/attachment.cgi?id=80738


Best regards, Oliver.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



[RELEASE]: new snapshot build based on trunk revision 1488886

2013-06-03 Thread Jürgen Schmidt
Hi,

I would like to propose a new snapshot build based on trunk revision
146 (related snapshot tag revision 148).

This snapshot should provide a SDK as well that should work with the
reworked (3layer) directory structure of the office.

@Ariel, please use the configure switch --without-stlport to trigger the
stlport related change from Herbert.

I will start to integrate the first language updates and will provide
further builds later this week for testing the translations.

Juergen

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [QA][Test Report] Weekly Status Update as of 20130531

2013-06-03 Thread Yuzhen Fan
Thanks for the information, if we also eliminate "Patch" or "Task" items,
the number will be smaller again, "2736". We will include this in report
link in case anyone is interested.

Regards,
Yu Zhen


On Mon, Jun 3, 2013 at 7:09 AM, Kay Schenk  wrote:

> On Fri, May 31, 2013 at 5:50 AM, Yuzhen Fan  wrote:
>
> > Hi All,
> >
> > We continue doing the AOO 4.0 Full Regression test this week, here is the
> > weekly update (5/28 - 5/31), please find more detail statistics in wiki:
> > http://wiki.openoffice.org/wiki/QA/Report/WeeklyReport/20130531
> >
> > *Test execution: *
> > We have assigned 1732 text executions to about 20 volunteers(4 more this
> > week), and completed about 43% in execution so far. 35% Mac test
> executions
> > have been done compared 0% last week! The target is to %100 attempted
> 1000
> > test executions (741 so far) before June 6 providing all volunteers
> > complete their assignments before that date.
> >
> > *Defect summary:*
> > 1. 30 defects were opened and 19 defects were resolved this week, so we
> > have 11 (30-19) net new defects added in the backlog
> > 2. Expose 2 Mac specific defects during quick testing on Mac 10.8 with
> > 64-bit Java, Bug 122418 (fail to display color bar in color dropdown
> list)
> > need to set priority as it frustrates user to select color visibly
> >
> > *Issues & quality highlight:*
> > 1. Encourage volunteers to continue executing test cases in TestLink to
> > achieve their assignment
> > 2. Redhat is with risk as less testing done on them - inform/remind Linux
> > test team assignees make progress on this platform
> > 3. Do general use testing on Mac for assessment - no crash/hung/data
> > lose/open file fail issues, but 2 Mac specific defects discovered, need
> set
> > priority for the first one
> > (1) Bug 122418 -[Mac]Fail to show color or display incorrectly in Color
> > Dropdown Menu --- Special on Mac
> > (2) Bug 122420 -Can't Copy and Paste Hyperlink on Mac --- Special on Mac
> > (3) Bug 122419 -The Second Slide can't apply footer/page number when
> select
> > "Don't show first slide" option -- Both on Mac and Win7
> > (4) Bug 122421 -Shape remain group when change from ungroup to group
> until
> > double click shape -- Both on Mac and Win7
> > 4. Critical defects are waiting for fix - need more Dev volunteers to
> > involve
> > 5. QAs are reminded to make sure to perform all test cases with
> navigation
> > and accelerators, and make sure to specify defect numbers in Testlink for
> > failed test executions
> > *
> > Volunteer status: *
> > 1. We have 4 more volunteers joining test executions, all are for Mac
> > 2. No new volunteers(total 6 so far) on defect work, need more to clean
> > backlog of unconfirmed and resolved defects
> > *
> > Plan for next week:*
> > 1. Prioritize critical defects and assign them to Dev volunteers
> > 2. Confirm left ~100 critical defects which are not confirmed yet
> > 3. Achieve the target (June 6) to complete 1000 test executions in AOO
> 4.0
> > Full Regression test with the support from volunteers
> >
> > Thanks you all for effort this week, it is a great community here, if we
> do
> > a little bit more then we will get an awesome achievement. Thanks!!
> >
> > Regards,
> > Yu Zhen
> >
>
> Checking on the "Need to Confirm" entries, You might note that many of
> these items are not actually "bug" reports but ideas or wish lists items. I
> produced a similar report but eliminated anything that was "not a FEATURE"
> or "not an ENHANCEMENT" and got a smaller number. Still 2834 but some
> improvement in case anyone is interested.
>
> here's a link to the query:
>
>
> https://issues.apache.org/ooo/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=UNCONF_not_new&sharer_id=7
>
> --
>
> 
> MzK
>
> "You can't believe one thing and do another.
>  What you believe and what you do are the same thing."
>  -- Leonard Peltier
>


Re: Blog about sidebar

2013-06-03 Thread Andre Fischer

On 02.06.2013 17:45, Andrea Pescetti wrote:

On 31/05/2013 Andre Fischer wrote:

I am writing a blog post about the sidebar. Please have a look at [1].
https://blogs.apache.org/preview/OOo/?previewEntry=the_sidebar_new_and_improved 



Good to see it coming out at last!


:-)
I know, should have been sooner.  But it appears that I can only either 
write a blog post *or* implement a new feature :-(




All typos have already been reported, I just wonder whether you 
actually meant to say "but the content did already exist" or "but the 
concept did already exist" in the first paragraph.


content

I am trying to elaborate that part of the sidebar is new while another 
part is not


I changed
but the content did already exist
into
but the content, the panels, did already exist
to make that a little bit more clear.




In the last paragraph, I would replace
"OpenOffice is an open source project.  We don't want your money. You 
can help us by telling us what you don't like and what you miss. Share 
your ideas about how to make the sidebar better."

with something softer (we can use money too!), like
"OpenOffice is an open source project.  You can contribute with 
monetary donations [link: 
http://www.apache.org/foundation/contributing.html ] , but you can 
also contribute by telling us what you don't like and what you miss. 
Share your ideas about how to make the sidebar better."


Obviously, "Share your ideas" should tell how to do it. You mean in 
the comments below the post? To ooo-dev? In Bugzilla? Perhaps the 
comments are the best solution, but anything will be OK provided that 
we mention it.


I have changed the very last paragraph into

"Apache OpenOffice is an open source project.  You can help by telling 
us what you don't like and what you miss. Share your ideas about how to 
make the sidebar better. Write a comment in the comment section below or 
subscribe to our development mailing list 
 
if you are willing to invest a little more time. And we also accept 
donation s 
 (not project 
specific)."




In general, I see you adopted a semi-technical approach, where you 
introduce several important issues and discuss development issues too. 
I see room for another post (don't worry, I'm not asking you for it!) 
where we address the final user only, mainly with screenshots that 
expand on your existing remarks on the user interface and show how to 
use the sidebar. And I see room for a third post too, where we explain 
how extensions developers can use the Sidebar... but let's start with 
this post and the other ones will come.


I do not feel able to provide the second blog post but was already 
thinking about the third.  I would first start with writing a Wiki page 
for sidebar extension developers and then would use a blog post for 
announcing/promoting it.


I would like to encourage everybody to write a blog post about the 
sidebar.  That is not just "my" feature.


-Andre



Regards,
  Andrea.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org





Re: CMIS UCP

2013-06-03 Thread Jürgen Schmidt
Hi Rajath,

first of all sorry for not answering over the weekend but I try to take
a "real" break over the weekend and focus on some private work items.

But Ariel gave you very detailed and good advice, it seems that he would
be a better mentor ;-)

The office API will be of course the more difficult part of this project
because you won't find so much documentation and samples as for Java.
The UCB is a special candidate in the office API and it takes some time
to understand it. Exception are playing a special role in the context of
the UCB and you will learn this over time.

The SDK contains also an example showing the usage of the UCB API. But
it's a good idea to play around on your own and get some understanding
how it works.

Juergen




On 6/3/13 6:59 AM, Rajath Shashidhara wrote:
> Hello Ariel,
> 
> Actually, this is my first code using openoffice api.
> I'll do these before completing my ucp.
> 
> Sorry. I'll get back to you with the understanding of the general api.
> 
> 
> On Mon, Jun 3, 2013 at 10:20 AM, Ariel Constenla-Haile <
> ariel.constenla.ha...@gmail.com> wrote:
> 
>> Hi Rajath,
>>
>> On Mon, Jun 03, 2013 at 01:28:24AM +0530, Rajath Shashidhara wrote:
>>> Hello everyone,
>>>
>>> I have completed some part of the CMISUCP.
>>>
>>> I have made my own implementation of XContent, XContentIdentifier
>>> interfaces.
>>>
>>> I have partially Completed implementation of the following methods:
>>> queryContent()
>>> execute() -> "getPropertyValues", "open"
>>>
>>>
>>> I was not very clear about the return type of execute method.
>>> I might have erred there.
>>
>> In "open" you are returning a java.io.InputStream.  According to the API
>> documentation, "For non-folder objects, the OpenCommandArgument2 struct
>> will be prefilled with a data sink object, which will be filled with the
>> content data."; important point: "OpenCommandArgument::Sink: a sink,
>> where the implementation can put the document data into."
>>
>> And in "getPropertyValues" you are returning
>> a java.util.Map. According to the API docs, the return
>> type is a ::com::sun::star::sdbc::XRow (as told in a previous mail).
>>
>> Both errors tell me you need a deeper knowledge of the UCB API: before
>> trying to implement your own UCP, you need a general understanding of
>> how the UCB API works, this is something fundamental, and these two
>> basic errors tell you are missing this point.
>>
>> So back to the basics:
>>
>> - create client application
>> - using the UCB API, get some properties of a file/folder
>> - if the content is a file, execute an "open" command. If the content is
>>   a folder, list its content.
>> - if the content is a file,
>>   a) store the stream to disk
>>   b) use the stream to load the file inside OpenOffice
>>
>> The code should work using local files/folders, http, webdav, etc. Try
>> with http://demo.owncloud.org/files/webdav.php so that you have to use
>> an interaction handler for authentication (user=test, password=test).
>>
>> This (together with reading the API reference) will give you a first
>> idea of how "open" and "getPropertyValues" work.
>>
>>
>> Regards
>> --
>> Ariel Constenla-Haile
>> La Plata, Argentina
>>
> 
> 
> 


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Blog about sidebar

2013-06-03 Thread Andre Fischer

On 31.05.2013 19:38, V Stuart Foote wrote:

Andre,

Reads really well and I like your treatment of sidebar decks &  panels as
alternatives to toolbars & dialogs--you don't hammer the old GUI, just
describe benefits of implementing the sidebar GUI.


Thank you.



Only editorial feedback would be that in your "We need your input" segment,
as a branding issue, you might prepend Apache to the last paragraph, i.e. to
read  "Apache OpenOffice is..."


Good point.  I have changed that.

-Andre



Stuart



--
View this message in context: 
http://openoffice.2283327.n4.nabble.com/Blog-about-sidebar-tp4644885p4644897.html
Sent from the Development mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org




-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Blog about sidebar

2013-06-03 Thread Andre Fischer

On 31.05.2013 19:32, Donald Whytock wrote:

On Fri, May 31, 2013 at 11:00 AM, Rory O'Farrell  wrote:


On Fri, 31 May 2013 16:52:33 +0200
Andre Fischer  wrote:


I applied the rest of the changes (some of my errors are so
embarrassing).  Thank you very much.

-Andre

If I could write any other language than my own as well as you do, I'd be
very proud!



"something is either new" -> "something either is new"

"both in Apache OpenOffice (and OpenOffice.org before that) as well as in
Symphony." -> "both in Apache OpenOffice (and OpenOffice.org before that)
and in Symphony."
or
"in Apache OpenOffice (and OpenOffice.org before that) as well as in
Symphony."

Paragraph starting with "The property panels that let you for example":
there's a mix of tone here, with the use of "could".  Is it about things
that were done, or things that have yet to be done?  The overall tone of
the section suggests it's about things that were done, so "could" items
don't really fit.

"The third group are non-modal dialogs" -> (recommending, to get around
is/are) "The third group consists of non-modal dialogs"

"extensions can add new decks" -> (suggesting) "extensions can now add new
decks"

" there may no yet be a panel" -> " there may not yet be a panel"

Seconding Rory on the "what the user, you, is currently doing".  Much of
the rest of the article talks in terms of "you", and "you" so close to "is"
looks a bit awkward.  I'd go with "what you are currently doing".


OK.  I changed that.



"where busy getting the project going" -> "were busy getting the project
going"

"Even downstream has started" -- Is "downstream" in this sense as a noun
common usage in the AOO user community?  It may need expansion, such as
"adaptations", "derivative works", etc.


I would like to keep this sentence in but at the same time don't want to 
stress the point by explaining what "downstream" is.  I hope that a 
reader who does not understand the term just ignores the sentence.




"how anyoing" -> "how annoying"

"panels for the sidebar.  The old sidebar." -- Since it wasn't called the
"sidebar" before, this might distract the reader with the question, "WHAT
old sidebar?"  How about "panels for the task pane (the "old sidebar")."


Changed that to

A little known feature of OpenOffice is that extensions can provide 
panels for the task panel (now called sidebar).


I am not sure if parenthesis and dot/period should be interchanged but 
".)" just looks too wrong for me.  Shall I change it?




One last thing...Did you mean for the headers to all be the same size?


Most should.  Only the first two
So, what did you improve?
and
And what is new?
are one level below the others.
But all look much larger than the title. Have to check this.




Don



Thank you very much for your corrections and comments.

-Andre


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Does Help Agent still exist?

2013-06-03 Thread Tsutomu Uchino
Hi,

it is still there but
/org.openoffice.Office.SFX/Help/HelpAgentStarterList [1] should be
updated.
It seems they are the list of slot ids. But recent
SfxHelp::OpenHelpAgent method takes
command in string that is not numerical id anymore.
Once I replace the list in the configuration with
EDITENG_HID_AUTOCORR_HELP_SENT,
the agent popping up at auto correction on Writer document.

[1] 
http://svn.apache.org/viewvc/openoffice/trunk/main/officecfg/registry/data/org/openoffice/Office/SFX.xcu?view=markup

Regards
- Tsutomu

2013/6/3, Regina Henschel :
> Hi all,
>
> I have activated the Help Agent in Tools > Options, but I cannot trigger
> it. In ancient versions a auto correct replacement in Writer or using
> standard filter in Calc triggered the Help Agent.
>
> Should the Help Agent still work? Or was it removed, but some parts were
> forgotten to remove?
>
> Kind regards
> Regina
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org