Created attachment 130851 [details]
Screenshot of dissertation from 2012 (MSO 2010 back then)
MSO allows multiauthors in the documents.
See the screenshot of my 2012 masters dissertation.
If I open it in LO 5.3 the authors are all placed in the same line separated with ";" which makes it look ugly.
Even in 2012 MSO already allowed more than one author.
This is a feature I would like to see in LO.
Sounds fair -> NEW
From the interoperability POV it might be interesting how MS Word handles multiple authors. From the UI POV it's just another field that you add to File > Properties > Custom, either as one of the defaults like Editor or you just type in Author (only the first entry is taken so better Author1, Author2 etc.) Those fields can be used in the document.
Another interesting field is Modified that also provides an Author (haven't tried).
WORKSFORME (despite the question how MS<->LibO works)
[11:56] <@buovjaga> marcoagpinto: what do you think about Heiko's response tdf#105702
[11:57] <@IZBot> LibreOffice-LibreOffice enhancement/medium NEW Allow multiauthors just like Microsoft Office does https://bugs.documentfoundation.org/show_bug.cgi?id=105702
[11:57] <marcoagpinto> buovjaga: let me check
[11:58] <marcoagpinto> buovjaga: I am brain-dead and don't understand what he meant
[11:59] <marcoagpinto> but it is simple: LO shows multiple authors separated with ";"
[11:59] <marcoagpinto> just create string gadgets in LO each for an author name
[11:59] <marcoagpinto> then save as name1;name2;name3;
[11:59] <marcoagpinto> :)
[11:59] <marcoagpinto> this will do it
[12:02] <@buovjaga> marcoagpinto: did you check File - Properties - Custom Properties - Add property - Click dropdown, select Author or input your own custom name, then fill the person's name in Value field
[12:02] <marcoagpinto> no
[12:02] <marcoagpinto> let me check
[12:02] <@buovjaga> that is what Heiko was referring to.. of course it does not look so clean as in MSO
[12:03] <@buovjaga> but then: " Those fields can be used in the document. "
Regina: Is there already a field in ODF that permits the addition of multiple authors to it?
There are the "sender" elements in "7.3.6 Subsequent Author Fields".
In UI it is referenced by the field Insert > Field > More Fielss > tab Document > item "sender". Is has a check box to fix the content. So when the next author save the file, the value of the previous author is not overwritten. But that information is only in the content.xml, not in the meta.xml. LibreOffice gets this information from the user data in Tools > Option of the current user, unless you disable it.
The original author is a different information. It is referenced in tab DocInformation > Created. In file format this field is text:initial-creator. And the current author is referenced in DocInformation > Modified. The current author is always updated. In file format this field is the element text:creator. These two information are stored in attribute meta:initial-creator and dc:creator of element office:meta in file meta.xml. You cannot have several "dc:creator" or "meta:initial-creator" attributes, because that in not possible for attributes.
Besides that you can always create a Custom Property in the Properties dialog of the file and <meta:user-defined> elements in file format, as Heiko already mentioned.
Or you can use arbitrary custom metadate elements inside the <office:meta>. But they are implementation-defined and only allowed in "extended ODF 1.2". Foreign application need not handle those elements at all, besides preserving them. For these elements you need a macro, there is no UI. And I have not tested, whether LibreOffice indeed "preserve" them.
Created attachment 134281 [details]
screenshot of Word 2016 and LO 5.3 explaining how to do it
See the screenshot.
One just needs to add stringgadgets, one for each author, and create an "Add author" button that adds a new stringgadget.
Then just save the odt with a ";" separating each author.
Just don't allow users to use the ";" in each author stringgadget.
This is a very simple way of solving the problem.
MS Word (2010) allows to add multiple authors (issue: cannot enter "Foo,Bar" as the text is taken as comma-delimited string; pro feature: the names can be taken and checked against the address book) and those are saved  and when loaded in LibO (5.4, old master) shown at Document properties as "Tietze, Heiko;Foo;Bar". And the multiple authors are saved correctly  with our odt format.
The use case is to insert a field with many authors. That works in Word  (the part looks like a field in the document) but is loaded as text in LibO . However, inserting the author field works in LibO like a charm.
So I think we should go ahead and implement a simple way to extend the authors.
 core.xml <dc:creator>Tietze, Heiko;Foo;Bar</dc:creator>
 meta.xml <meta:initial-creator>Tietze, Heiko;Foo;Bar</meta:initial-creator><dc:creator>Tietze, Heiko</dc:creator>...
 document.xml <w:t>Tietze, Heiko;Foo;Bar</w:t>
 content.xml <text:span text:style-name="T1">Tietze, Heiko;Foo;Bar</text:span>
Anyway, my whole comment can be simplified in one line of IRC text:
[12:04] <marcoagpinto> to have multi-authors, no need for complex stuff, just have a stringgadget for each author and a "add author" button, then save each with a ";" separating
(In reply to Marco A.G.Pinto from comment #8)
> Anyway, my whole comment can be simplified in one line of IRC text:
> [12:04] <marcoagpinto> to have multi-authors, no need for complex stuff,
> just have a stringgadget for each author and a "add author" button, then
> save each with a ";" separating
Implementing the feature would be very simple, but the ODF specification for <meta:initial-creator> is "The element specifies the name of the initial creator of a document", which doesnt permit the addition of additional authors to the element.
If this is integrated into the file properties dialog, then we would likely need a dedicated line for authors and the ability to modify, add, and delete an author. You should be able to add the current author, as well as an author that can be typed out in a text field.
i get the impression that multiple <meta:initial-creator> elements
are technically allowed by the schema, so a bigger problem is that the
UNO API for this is just a single "string" attribute.