This file is indexed.

/usr/share/perl5/OpenOffice/OODoc/Manifest.pod is in libopenoffice-oodoc-perl 2.125-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
=head1	NAME

OpenOffice::OODoc::Manifest - Access to document file descriptor

=head1	DESCRIPTION

The OpenOffice::OODoc::manifest class is a specialist derivative of
OpenOffice::OODoc::XPath allowing access to the content descriptor
of an OpenDocument or OpenOffice.org file.

For ordinary content processing applications, it's not absolutely
necessary to control the manifest. Member imports or deletions
(ex: createImageElement() in OpenOffice::OODoc::Image, raw_delete()
in OpenOffice::OODoc::File) may make the real content inconsistent
with the manifest. Up to now, the OpenOffice.org desktop suite don't
worry about that. However, OpenOffice::OODoc::Manifest provides a
few number of easy to use methods to get or set any entry in the
manifest. In addition, it allows the users (at their own risks) to
create or update any kind of special entry or mime type, without
control. There is no automatic consistency check between the manifest
and the real content (but this check and others could be easily
developed with the combination of this module and the other ones).

The manifest (i.e. the "META-INF/manifest.xml" part of an ODF package)
is a special member that describes the MIME types and the full internal
paths of the other members.

=head2	Methods

=head3	Constructor : OpenOffice::OODoc::Manifest->new(<parameters>)

        Short Form: odfManifest(<parameters>)

        See OpenOffice::OODoc::XPath->new

        The XML member loaded by default is 'META-INF/manifest.xml'.

        Example:

            $my manifest = OpenOffice::OODoc::Manifest>new
            			(
				file	=> 'document.odt'
				);

        returns a new object which represents the member list of an
        ODF-compliant "document.odt" file.

=head3	getEntry($entry)

	Returns the element (if any) corresponding to the given member.

	Example:

		my $element = $manifest->getEntry("content.xml");

	Returns the element describing the "content.xml" member of the
	file, if this element is defined.
	
=head3	getMainType()

	Returns the main MIME type of the document.
	For example, this type is
	
		"application/vnd.oasis.opendocument.text"
		
	for an OpenDocument text file or
	
		"application/vnd.oasis.opendocument.presentation"
		
	for an OpenDocument presentation, or
	 
		"application/vnd.sun.xml.writer"
		
	for an OpenOffice.org 1.0 text file, etc.
	
	See the Appendix C in the OASIS OpenDocument 1.0 specification
	for a complete list of OpenDocument-compliant MIME types.

=head3	getType($entry)

	Returns the media (mime) type of the given member.

=head3	removeEntry($entry)

	Deletes the named entry.

=head3	setEntry($entry, $type)

	Sets the mime type of an entry element. If the element was not
	previously existing, it's created.
	Returns the new element in case of success, undef otherwise.

	Example:

		my $element = $manifest->setEntry
					("content.xml", "text/xml");

	This instruction first creates (if needed) an entry for the member
	"content.xml" and sets its media type to "text/xml".

=head3	setMainEntry($type)

	Sets the main MIME type of the document.
	Risky; not for ordinary use. But nobody prevents you from giving
	a presentation or spreadsheet MIME type to a Writer document !

=head2	Properties

        As for OpenOffice::OODoc::XPath

=head2	Exported functions

	None

=head1	NOTES

See OpenOffice::OODoc::Notes(3) for the footnote citations ([n])
included in this page.

=head1	AUTHOR/COPYRIGHT

Developer/Maintainer: Jean-Marie Gouarne L<http://jean.marie.gouarne.online.fr>

Contact: jmgdoc@cpan.org

Copyright 2004-2008 by Genicorp, S.A. L<http://www.genicorp.com>

Initial English version of the reference manual by Graeme A. Hunter
(graeme.hunter@zen.co.uk).

License: GNU Lesser General Public License v2.1

=cut