Hi, check out the Javadoc for the Simple API and the use of the Meta class.
It has functions to set and get the EditingDuration. On Tue, Aug 27, 2013 at 1:55 AM, Guzman Rejon (JIRA) <[email protected]>wrote: > Guzman Rejon created ODFTOOLKIT-373: > --------------------------------------- > > Summary: metadata.setEditingDuration > Key: ODFTOOLKIT-373 > URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-373 > Project: ODF Toolkit > Issue Type: Bug > Components: odfdom > Affects Versions: 0.5-incubating > Environment: Windows 7 > Reporter: Guzman Rejon > > > I want to change the time duration with the instructions: > > DatatypeFactory aFactory = DatatypeFactory.newInstance(); > metadata.setEditingDuration(new Duration(aFactory.newDurationDayTime(true, > 1, 1, 1, 1))); > > and when I want to retrieve the values get: > > metadata.getEditingDuration().getValue().toString() return "PT0.020S" > > thanks in advance. > > -- > This message is automatically generated by JIRA. > If you think it was sent incorrectly, please contact your JIRA > administrators > For more information on JIRA, see: http://www.atlassian.com/software/jira > -- Cheers, Ian C
