| View previous topic :: View next topic |
| Author |
Message |
CedricG General User

Joined: 21 May 2007 Posts: 6
|
Posted: Mon May 21, 2007 5:18 am Post subject: [Issue] User fields with linked sections or change record |
|
|
This topic lead to the creation of 2 bugs issues in OOo : 77713 and 77714
http://www.openoffice.org/issues/show_bug.cgi?id=77713
http://www.openoffice.org/issues/show_bug.cgi?id=77714
1)I use a section in document A linked to a section in a document B. The section in document B contains user fields. When I change the value of user field, the section in document B is updated, but the field in the related section of document A is not updated at all... It seems that the field in the linked section of document A is a copy of the field of document B created when the section is inserted.
How can I create automatic text in document B, in a way that it will be updated in document B and in every document having a linked section to document B containing a reference to this automatic text ?
Last edited by CedricG on Wed May 23, 2007 5:43 am; edited 3 times in total |
|
| Back to top |
|
 |
JohnV Administrator

Joined: 07 Mar 2003 Posts: 8984 Location: Lexinton, Kentucky, USA
|
Posted: Mon May 21, 2007 6:26 am Post subject: |
|
|
If you simply Link to a section in DocB then you can update the field in DocA with Edit > Links > Update or Tools > Update > Fields.
If you want an automatic update then also check DDE* when you Link and insert a DDE command that looks something like this:
soffice C:/DocB.odt Section1
* I don't think DDE is available in Linux |
|
| Back to top |
|
 |
CedricG General User

Joined: 21 May 2007 Posts: 6
|
Posted: Mon May 21, 2007 6:41 am Post subject: |
|
|
Thank your answer and for the DDE command
For the update of the field : that doesn't work ! I's the purpose of my post.. I don't write correct english, do you want me to join example files ?
The field in doc B has changed, but the field in doc A remains the same... |
|
| Back to top |
|
 |
Hagar Delest Super User


Joined: 06 Feb 2006 Posts: 5167 Location: France
|
Posted: Mon May 21, 2007 6:46 am Post subject: |
|
|
| JohnV wrote: | | I don't think DDE is available in Linux |
Of course it is !!
I just made some tries and it works fine. User fields are also updated. Are you sure you've saved the documents ?
Can you upload a sample (a zip with both the 2 documents) on a file sharing web site (like Mytempdir.com) ? _________________ Now on the EN user community forum |
|
| Back to top |
|
 |
JohnV Administrator

Joined: 07 Mar 2003 Posts: 8984 Location: Lexinton, Kentucky, USA
|
Posted: Mon May 21, 2007 7:37 am Post subject: |
|
|
| Quote: | Of course it is !!
| Great. Is this fairly new? Back in 2004 this was posted.
| Quote: | cwchia
Super User
Super User
Joined: 09 Jan 2003
Posts: 1006
Location: Malaysia
PostPosted: Tue Mar 16, 2004 10:43 pm
Hi John,
After having all my DDE links set-up in my template and transfer to my MDK 9.2 box, I just found out that DDE is not available under Linux (stupid me, DDE was created by MS right?). Now is there a get around to this? Have to admit that DDE suits my need quearely and perfectly.
Thanks. |
|
|
| Back to top |
|
 |
Hagar Delest Super User


Joined: 06 Feb 2006 Posts: 5167 Location: France
|
Posted: Mon May 21, 2007 12:25 pm Post subject: |
|
|
| JohnV wrote: | | Great. Is this fairly new? |
Not so easy to find out and the answer is rather strange : I get the answer in the Chapter 4 of the Migration guide :
| Quote: | Publication date and software version
Published 7 May 2006. Based on OpenOffice.org 2.0.2. |
| Quote: | Object linking between files
For information on Object Linking and Embedding (OLE), and what happens with imported
files containing DDE links, see Chapter 2, “Sharing Files with MSO Users” in this guide.
In the Windows version of OOo you can copy and paste-special cells from a Calc spreadsheet
into a Writer document as a Dynamic Data Exchange (DDE) link. In the Windows version
you can create a DDE field. Neither of these options is available in the Linux version.
Opening a file from the Windows version in a Linux version works, although some
modification of the file location may be necessary. If you would like to know more, see
http://www.openoffice.org/issues/show_bug.cgi?id=5317.
Regardless of operating system, it is not possible to have a link to a chart. |
But Issue 5317 has been fixed mid of 2004 ! _________________ Now on the EN user community forum |
|
| Back to top |
|
 |
CedricG General User

Joined: 21 May 2007 Posts: 6
|
Posted: Mon May 21, 2007 10:51 pm Post subject: |
|
|
I've updated the files on mytempdir, id : 1335049
FILEB contains the section with the user fields
FILEA contains the section that's not correctly updated when field in FILEB is modified
FILEA2 is the same as FILEA, but contains another field to show that it is possible to modifie the field of FILEB included in section1 of FILEA
This has nothing to do with DDE but simply with user fields and linked sections. Did I forgot to check an option ? |
|
| Back to top |
|
 |
Hagar Delest Super User


Joined: 06 Feb 2006 Posts: 5167 Location: France
|
Posted: Mon May 21, 2007 11:39 pm Post subject: |
|
|
| CedricG wrote: | | I've updated the files on mytempdir, id : 1335049 |
Thanks to give the link to the file next time
| CedricG wrote: | | This has nothing to do with DDE but simply with user fields and linked sections. |
It seems linked sections doesn't work, is it a bug ??? The update button has no effect.
With DDE link, it works fine for me.
NB: there is also the French forum here : http://www.forum-openoffice.org/forum/index.php. _________________ Now on the EN user community forum |
|
| Back to top |
|
 |
CedricG General User

Joined: 21 May 2007 Posts: 6
|
Posted: Tue May 22, 2007 2:02 am Post subject: |
|
|
Oups next time I'll put the link...
In my point of view it is normal, because the first time I link the section of document B in document A, OO re-create the user fields od doc B in doc A. The user fields seen in document A are no longer user fields of document B.
The FILEA2 example show this...
For the DDE, I could'nt manage to make it work under winXP, the command is
soffice <complete file name of B> <Section of B>, no ?
So to link the Cartouche section of FILEB.odt located in dir c:/temp i shall enter the following DDE command : soffice c:/temp/FILEB.odt Cartouche
correct ?[/quote] |
|
| Back to top |
|
 |
Hagar Delest Super User


Joined: 06 Feb 2006 Posts: 5167 Location: France
|
Posted: Tue May 22, 2007 2:08 am Post subject: |
|
|
To avoid doing this manually, just copy the table or the text portion, then paste it as DDE link in the other document. _________________ Now on the EN user community forum |
|
| Back to top |
|
 |
CedricG General User

Joined: 21 May 2007 Posts: 6
|
Posted: Tue May 22, 2007 6:00 am Post subject: |
|
|
Ok the DDE link works but has a drawback : DDE links is absolute ! As my directory structure is on a usb storage, it changes of letters on each machine I use...
Nethertheless, the main problem is still active : It is not possible to use user field with linked sections without using DDE |
|
| Back to top |
|
 |
Hagar Delest Super User


Joined: 06 Feb 2006 Posts: 5167 Location: France
|
|
| Back to top |
|
 |
CedricG General User

Joined: 21 May 2007 Posts: 6
|
Posted: Tue May 22, 2007 6:41 am Post subject: |
|
|
| shall I close this topic ? |
|
| Back to top |
|
 |
Hagar Delest Super User


Joined: 06 Feb 2006 Posts: 5167 Location: France
|
Posted: Tue May 22, 2007 6:59 am Post subject: |
|
|
You could tag it '[Issue]' if you file a bug report and post the link here. It will get more audience. _________________ Now on the EN user community forum |
|
| Back to top |
|
 |
|