Hi Tanya,
The document metadata is defined at the document level in
the class:
src/textptbl/xp/pd_Document.cpp:setMetaDataProp( const std::string & key,
const std::string & value )
You can set arbitrary key/value pairs so adding additional metadata
properties is no problem at all.
Currently abiword has an UI to edit, import and export the following
document metadata properties:
Title
Subject
Author
Publisher
CoAuthor
Category
Keywords
Languages
Description
Source
Relation
Coverage
Rights
As defined in src/wp/ap/xp/ap_Dialog_MetaData.h
You should also look to expand our UI to display and edit these new
metadata attributes if you implement them.
Cheers
Martin
On Sun, Mar 25, 2012 at 10:07 PM, Tanya Guza <tanya.guza@gmail.com> wrote:
> Hi Martin,
>
> Currently I'm working on
> http://bugzilla.abisource.com/show_bug.cgi?id=12154 bug. Though it's
> said in this bug that opendocument plugin doesn't append creation and
> last change date and time, I found out that problem is that this
> metadata is not set before plugin writes it. In fact, if I've
> understood everything correctly, currently there is no common place
> where this metadata is set. I wanted to ask if it is possible to add
> setting of this values in some place which will be common for all
> plugins - e.g. before saving. Maybe you could suggest where should I
> add it? At this moment I'm thinking about somewhere in ap_EditMethods.
> What do you think about it?
>
> --
> Best regards,
> Tanya
Received on Mon Mar 26 14:06:54 2012
This archive was generated by hypermail 2.1.8 : Mon Mar 26 2012 - 14:06:54 CEST