[dev] OO.o Document template hierarchy !?

2007-08-23 Thread Thomas Kashofer
Hi guys,

not a pure dev question, but way to deep for any manual.

I have a problem with the document templates and the hierarchy they use.

I just read the 0210WG-WorkingWithTemplatesInWriter.pdf
(http://documentation.openoffice.org/manuals/oooauthors/), but nothing
is said about document template hierarchies (and I could not find any
other documentation on that subject).

In some German wiki (http://www.ooowiki.de/DokumentVorlagen) I read a
small paragraph (way at the bottom), where it was stated, that every
template knows its predecessor (but I could not find anything in the
XML files of the child-template .ott). This way it shall be possible to
create a template hierarchy, where you can propagate changes from a
master-template down to child templates (and even multiple-levels
shall be possible).

On Ubuntu 6.06.01 with OO.o 2.0.2 as well as Windows XP and OO.o 2.1 I
could not get changes to be propagated.
I saved the templates with Edit - Templates - Save and made changes
via Edit -
Templates - Organize... - Edit.
Is this just a misunderstanding of the forum writer or am I doing
something wrong?

I tried creating the child-template in two variations:
First via editing the master-/parent-template and saving that as
child-template. Second via making changes to a parent document and then
creating the child-template from that document.

I have no clue. Any help is appreciated

Best regards,
Thomas

-- 
---
Thomas Kashofer
Software-development, Teamlead

InnoviData GmbHPhone +49 711 88770-169
Lilienthalstraße 2/1   Fax   +49 711 88770-299
70825 Korntal/StuttgartCell  +49 175 5752469
http://www.innovidata.com  [EMAIL PROTECTED]
---

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] OO 2.3: How to add a submenu to an OfficeMenuBar ?

2007-08-23 Thread Steffen Grund

Hi again,

ok, here it is, a Addons.xcu file for a menu structure with two commands 
in a sub menu. I used NetBeans and the mentioned plugin to create this - 
took about 2 minutes. I added a separator between the commands as a 
benefit ;-).


Regards, Steffen

?xml version='1.0' encoding='UTF-8'?

oor:component-data xmlns:oor=http://openoffice.org/2001/registry; 
xmlns:xs=http://www.w3.org/2001/XMLSchema; oor:name=Addons 
oor:package=org.openoffice.Office

  node oor:name=AddonUI
node oor:name=OfficeMenuBar
  node oor:name=com.example.addon1 oor:op=replace
prop oor:name=Title oor:type=xs:string
  value/
  value xml:lang=enAddOn Menu/value
/prop
prop oor:name=Target oor:type=xs:string
  value_self/value
/prop
prop oor:name=ImageIdentifier oor:type=xs:string
  value/
/prop
node oor:name=Submenu
  node oor:name=m1 oor:op=replace
prop oor:name=URL oor:type=xs:string
  value/
/prop
prop oor:name=ImageIdentifier oor:type=xs:string
  value/
/prop
prop oor:name=Target oor:type=xs:string
  value_self/value
/prop
prop oor:name=Title oor:type=xs:string
  value/
  value xml:lang=enMenu1/value
/prop
  node oor:name=Submenu
node oor:name=m2 oor:op=replace
  prop oor:name=URL oor:type=xs:string
valuecom.example.addon1:Command0/value
  /prop
  prop oor:name=ImageIdentifier oor:type=xs:string
value/
  /prop
  prop oor:name=Target oor:type=xs:string
value_self/value
  /prop
  prop oor:name=Context oor:type=xs:string
value/
  /prop
  prop oor:name=Title oor:type=xs:string
value/
value xml:lang=enCommand0/value
  /prop
/node
node oor:name=m3 oor:op=replace
  prop oor:name=URL oor:type=xs:string
valueprivate:separator/value
  /prop
/node
node oor:name=m4 oor:op=replace
  prop oor:name=URL oor:type=xs:string
valuecom.example.addon1:Command1/value
  /prop
  prop oor:name=ImageIdentifier oor:type=xs:string
value/
  /prop
  prop oor:name=Target oor:type=xs:string
value_self/value
  /prop
  prop oor:name=Context oor:type=xs:string
value/
  /prop
  prop oor:name=Title oor:type=xs:string
value/
value xml:lang=enCommand1/value
  /prop
/node
  /node
  /node
/node
  /node
/node

node oor:name=Images
  node oor:name=com.example.addon1.command0.images oor:op=replace
prop oor:name=URL oor:type=xs:string
  valuecom.example.addon1:Command0/value
/prop
node oor:name=UserDefinedImages
  prop oor:name=ImageSmallURL
value/
  /prop
/node
  /node
  node oor:name=com.example.addon1.command1.images oor:op=replace
prop oor:name=URL oor:type=xs:string
  valuecom.example.addon1:Command1/value
/prop
node oor:name=UserDefinedImages
  prop oor:name=ImageSmallURL
value/
  /prop
/node
  /node
  /node
  /node
/oor:component-data

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] OO 2.3: How to add a submenu to an OfficeMenuBar ?

2007-08-23 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Steffen,

 ok, here it is, a Addons.xcu file for a menu structure with two commands
 in a sub menu. I used NetBeans and the mentioned plugin to create this -
 took about 2 minutes.

thanks a lot, you saved my day :-)

Oliver

- --

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGzVzeTiyrQM/QSkURAioYAJ9Jo3UhhGo1j0z/mmSAoAhiRwg0bACguVlw
veqviysmMp6eT0gykBJXNFI=
=bhW8
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] OO.o Document template hierarchy !?

2007-08-23 Thread Mathias Bauer
Thomas Kashofer wrote:

 Hi guys,
 
 not a pure dev question, but way to deep for any manual.
 
 I have a problem with the document templates and the hierarchy they use.
 
 I just read the 0210WG-WorkingWithTemplatesInWriter.pdf
 (http://documentation.openoffice.org/manuals/oooauthors/), but nothing
 is said about document template hierarchies (and I could not find any
 other documentation on that subject).
 
 In some German wiki (http://www.ooowiki.de/DokumentVorlagen) I read a
 small paragraph (way at the bottom), where it was stated, that every
 template knows its predecessor (but I could not find anything in the
 XML files of the child-template .ott). This way it shall be possible to
 create a template hierarchy, where you can propagate changes from a
 master-template down to child templates (and even multiple-levels
 shall be possible).
 
 On Ubuntu 6.06.01 with OO.o 2.0.2 as well as Windows XP and OO.o 2.1 I
 could not get changes to be propagated.
 I saved the templates with Edit - Templates - Save and made changes
 via Edit -
 Templates - Organize... - Edit.
 Is this just a misunderstanding of the forum writer or am I doing
 something wrong?
 
 I tried creating the child-template in two variations:
 First via editing the master-/parent-template and saving that as
 child-template. Second via making changes to a parent document and then
 creating the child-template from that document.
 
 I have no clue. Any help is appreciated

I don't know for sure but I think the german wiki pages is referring to
the general dependency of documents on templates.

If you create a document based on a template the name of the template is
stored inside. Each time when you open the document for editing the
template it is based on is checked for changes. In case it was changed
the user is asked to take over these changes into the document. This way
a document always stays connected to its template until the user cuts
this connection by denying the update.

Templates also are documents. In case you create a new template based on
another one this information should be stored in this new template in
the same way as in a normal document. So here the template knows its
predecessor.

Ciao,
Mathias


-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to [EMAIL PROTECTED].
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] OO.o Document template hierarchy !?

2007-08-23 Thread Uwe Fischer

Hi,

Mathias Bauer wrote:

Thomas Kashofer wrote:


Hi guys,

not a pure dev question, but way to deep for any manual.

I have a problem with the document templates and the hierarchy they use.

I just read the 0210WG-WorkingWithTemplatesInWriter.pdf
(http://documentation.openoffice.org/manuals/oooauthors/), but nothing
is said about document template hierarchies (and I could not find any
other documentation on that subject).

In some German wiki (http://www.ooowiki.de/DokumentVorlagen) I read a
small paragraph (way at the bottom), where it was stated, that every
template knows its predecessor (but I could not find anything in the
XML files of the child-template .ott). This way it shall be possible to
create a template hierarchy, where you can propagate changes from a
master-template down to child templates (and even multiple-levels
shall be possible).

On Ubuntu 6.06.01 with OO.o 2.0.2 as well as Windows XP and OO.o 2.1 I
could not get changes to be propagated.
I saved the templates with Edit - Templates - Save and made changes
via Edit -
Templates - Organize... - Edit.
Is this just a misunderstanding of the forum writer or am I doing
something wrong?

I tried creating the child-template in two variations:
First via editing the master-/parent-template and saving that as
child-template. Second via making changes to a parent document and then
creating the child-template from that document.

I have no clue. Any help is appreciated


I don't know for sure but I think the german wiki pages is referring to
the general dependency of documents on templates.

If you create a document based on a template the name of the template is
stored inside. Each time when you open the document for editing the
template it is based on is checked for changes. In case it was changed
the user is asked to take over these changes into the document. This way
a document always stays connected to its template until the user cuts
this connection by denying the update.

Templates also are documents. In case you create a new template based on
another one this information should be stored in this new template in
the same way as in a normal document. So here the template knows its
predecessor.

Ciao,
Mathias




in German, both the styles and the templates are called Vorlagen. This 
may lead to some confusion. The german term Vorlagen should be 
replaced by either Dokumentvorlagen = templates, or Stilvorlagen = 
styles, in all OOo documentation.


Regards
Uwe
--
  [EMAIL PROTECTED]  -  Technical Writer
  StarOffice - Sun Microsystems, Inc. - Hamburg, Germany
  http://www.sun.com/staroffice
  http://documentation.openoffice.org/online_help/index.html
  http://wiki.services.openoffice.org/wiki/Category:OnlineHelp
  http://blogs.sun.com/oootnt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] OO 2.3: How to add a submenu to an OfficeMenuBar ?

2007-08-23 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

 Is it also possible to create submenu's, if i use the new 
 OfficeMenuBarMerging ?

now i got :-)

?xml version='1.0' encoding='UTF-8'?
oor:component-data oor:name=Addons oor:package=org.openoffice.Office
xmlns:install=http://openoffice.org/2004/installation;
xmlns:oor=http://openoffice.org/2001/registry; 
xmlns:xs=http://www.w3.org/2001/XMLSchema;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
node oor:name=AddonUI
node oor:name=OfficeMenuBarMerging
node oor:name=org.openoffice.test.testcomponent 
oor:op=replace
node oor:name=S1 oor:op=replace
prop oor:name=MergePoint
value.uno:ToolsMenu/value
/prop
prop oor:name=MergeCommand
valueAddAfter/value
/prop
prop oor:name=MergeFallback
valueAddPath/value
/prop
node oor:name=MenuItems
node oor:name=M1 
oor:op=replace
prop oor:name=Title
value 
xml:lang=en-US~Test/value
/prop
node 
oor:name=Submenu
node 
oor:name=M11 oor:op=replace
prop 
oor:name=Title

value xml:lang=en-US~Close/value
/prop
prop 
oor:name=URL

value.uno:CloseDoc/value
/prop
/node
node 
oor:name=M12 oor:op=replace
prop 
oor:name=Title

value xml:lang=en-USHelp/value
/prop
prop 
oor:name=URL

value.uno:HelpIndex/value
/prop
/node
node 
oor:name=M13 oor:op=replace
prop 
oor:name=Title

value xml:lang=en-US~Test/value
/prop
node 
oor:name=Submenu

node oor:name=M131 oor:op=replace

prop oor:name=Title

value xml:lang=en-US~Save/value

/prop

prop oor:name=URL

value.uno:SaveAs/value

/prop

/node

node oor:name=M132 oor:op=replace

prop oor:name=Title

value xml:lang=en-USPrint/value

/prop
  

Re: [dev] Release Engineering IRC chat

2007-08-23 Thread Jörg Jahnke

Hi,

again a reminder: We are going to have another Release Engineering QA 
session tomorrow. The channel will again be #re.openoffice.org, time is 
10 am Hamburg time (which is GMT+2) / 4 pm Beijing time. If you have 
some agenda item(s), please reply to this mail to add them.


Regards,

Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] How to get a list of all CWS in a build?

2007-08-23 Thread Joe Smith
I'm looking at cws impress122 and I want to know if it has been 
integrated in the OOG680_mX builds. How can I do that?


According to EIS, impress122 was integrated in m218 for 2.3:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=SRC680%2Fimpress122 



but that's a different branch (OOF680), and I don't know if the G branch 
will absolutely include all the cws' from the F branch.


The release notes list changed cws' but not all cws'; impress122 may not 
have changed for this release.


I remember seeing somewhere a page that would list all cws integrated in 
a specific release, but now I can't find that page.


Any clues?

Joe

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] How to get a list of all CWS in a build?

2007-08-23 Thread Rüdiger Timm


Joe Smith wrote:
I'm looking at cws impress122 and I want to know if it has been 
integrated in the OOG680_mX builds. How can I do that?


According to EIS, impress122 was integrated in m218 for 2.3:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=SRC680%2Fimpress122 



but that's a different branch (OOF680), and I don't know if the G branch 
will absolutely include all the cws' from the F branch.


As you wrote, according to EIS cws impress122 got integrated into 
SRC680 m218 (note: SRC680, not OOF680). Master Workspace OOG680 is based 
on SRC680 m225 (see EIS - Master Workspaces - Master Workspace info - 
Parent Milestone). That means, everything which went into SRC680 up to 
milestone m225 is in OOG680, too. Including CWS impress122.




The release notes list changed cws' but not all cws'; impress122 may not 
have changed for this release.


I remember seeing somewhere a page that would list all cws integrated in 
a specific release, but now I can't find that page.


Sorry, that I do not know.



Any clues?

Joe



Rüdiger

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] How to get a list of all CWS in a build?

2007-08-23 Thread Joost Andrae

Hello Joe,

to look at EIS was a good idea...

I'm looking at cws impress122 and I want to know if it has been 
integrated in the OOG680_mX builds. How can I do that?


According to EIS, impress122 was integrated in m218 for 2.3:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=SRC680%2Fimpress122 


have a look at the Master Workspace Info link to get an idea which 
version the OOG680 branch is based on


The parent milestone points to SRC680 m225. SRC680_m255 was the 
version OOG680_m0 was branched off SRC680 (head) codeline and the 
current build on OOG680 is m2.





but that's a different branch (OOF680), and I don't know if the G branch 
will absolutely include all the cws' from the F branch.


OOG680 is the release branch for the upcoming 2.3.x version[s]. OOF680 
was the release branch for version 2.2.0 and 2.2.1.




The release notes list changed cws' but not all cws'; impress122 may not 
have changed for this release.


The release notes for SRC680_m218 lists this CWS as integrated:
http://development.openoffice.org/releases/2.3.m218_snapshot.html



I remember seeing somewhere a page that would list all cws integrated in 
a specific release, but now I can't find that page.


Any clues?


...use eis.services.openoffice.org and use it's CWS search features (esp 
the Milestone integrated after and the Milestone integrated before 
feature.



Kind regards, Joost

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] How to get a list of all CWS in a build?

2007-08-23 Thread Eike Rathke
Hi Joe,

On Thursday, 2007-08-23 11:23:25 -0400, Joe Smith wrote:

 I remember seeing somewhere a page that would list all cws integrated in 
 a specific release, but now I can't find that page.

That's in EIS under Child workspaces - Search, list box Release.
Choose one, e.g. 'OOo 2.3', and from the Status list box select
'integrated', then click the Find button.

  Eike

-- 
 OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
 SunSign   0x87F8D412 : 2F58 5236 DB02 F335 8304  7D6C 65C9 F9B5 87F8 D412
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
 Please don't send personal mail to this [EMAIL PROTECTED] account, which I use 
for
 mailing lists only and don't read from outside Sun. Use [EMAIL PROTECTED] 
Thanks.


pgp0NTuvBHFtm.pgp
Description: PGP signature


[dev] Re: How to get a list of all CWS in a build?

2007-08-23 Thread Joe Smith

Eike Rathke wrote:
I remember seeing somewhere a page that would list all cws integrated in 
a specific release, but now I can't find that page.


That's in EIS under Child workspaces - Search, list box Release.
Choose one, e.g. 'OOo 2.3', and from the Status list box select
'integrated', then click the Find button.


Awesome--that's it. I must've forgot it was an EIS search. This all 
makes my head spin.


So, if I search for Release = 'OOo 2.3' and Status = 'integrated', I see 
all cws ever integrated for the 2.3 branch, correct?


If instead I search for Master = 'OOG680' and Status = 'integrated', I 
get only the cws integrated specifically with that mws, or something 
like that ;-)


Thanks for all the help, folks!

Joe

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]