10 More Discussions You Might Find Interesting
1. Ubuntu
I recently bought a new HP Spectre x360 laptop and installed Linux (Ubuntu 16.04 LTS 64 bit) for the first time.
I am seeing various bugs. I don't know if the problems are due to:
(a) Hardware problems with the new laptop.
(b) Software issues, i.e. Ubuntu not working with the other... (1 Reply)
Discussion started by: twelth_hour
1 Replies
2. Red Hat
Hi,
I have been trying to install SWAT on redhat 6 for samba4. The samba server was installed by another administrator but not swat. Please find output of yum install samba-swat in the attached file (2 Replies)
Discussion started by: p2bas
2 Replies
3. Red Hat
Hi guys
I have CentOS installed on my server. I have also installed TFTP server, DHCP server. I am able to install CentOS on remote machines using PXE boot and kickstart cfg file.
I would like to install OpenSUSE using CentOS kickstart file. How do I do it ? I am also fine with any other... (2 Replies)
Discussion started by: msohail
2 Replies
4. Red Hat
HI All,
I am trying to setup DNS on my centOS server.
I am using bind software to setup DNS.
The following errors have getting.
==================================================
Error in named configuration:
zone localdomain/IN: loaded serial 42
zone localhost/IN: loaded serial 42... (4 Replies)
Discussion started by: phpconnect
4 Replies
5. UNIX for Dummies Questions & Answers
I am trying to learn how to install HORDE for work and I found this link:
Installing Horde on Centos 5.x - William Lindley - wlindley.com
I am at this step now:
You'll need to use the MySQL root password. Then, in your database administration screen for MySQL, set the password for the new... (2 Replies)
Discussion started by: mojoman
2 Replies
6. Red Hat
Hi everyone,
I have just installed Linux redhat 9.0, Unfortunately i met a error, it annonced as following when i pressed ENTER at the first step on installation and then i stoped:
PCI: 00:13.2 PCI cache line size set incorrectly (64 bytes) by BIOS/FW
PCI: 00:13.2 cache line size too... (3 Replies)
Discussion started by: RobertPh
3 Replies
7. BSD
Hi all, I'm new to the world of Unix/Linux (though not to computing in general) and I'm having a few issues installing FreeBSD (v6.2).
Firstly, I realise that it's not the most user-friendly of distros, especially for newbies, but it's what I'm required to install so unfortunately I have to... (2 Replies)
Discussion started by: Techmonkey
2 Replies
8. UNIX for Dummies Questions & Answers
This is what happened when I installed my gtkglarea-1.2.3
My GTK+ installation was successful. I installed on a non-standard location
having set all my variables for package config,library and executables
checking for GTK - version >= 0.99.7... ./configure: line 12482:... (0 Replies)
Discussion started by: preyan
0 Replies
9. SCO
Happy new year guys.
I have a inspiron 5100 laptop "Dell"
When i'm trying to install SCO openserver 5.0.7 i get this error right after it goes thru the hardware bootup stage.
The error is (PANIC: wdsetparam: no device info for ctlr 1 drive 0
is ctlr 0 , drive 0 not... (0 Replies)
Discussion started by: josramon
0 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I just wanted to install a red hat on my pc, it says that it can not find a file! and i should click return! When I click ok or I use esc, it does not work! Just the error page returns!!
and then i formated my pc due to this error :(
plz help me! (13 Replies)
Discussion started by: creative
13 Replies
OODoc::Manifest(3pm) User Contributed Perl Documentation OODoc::Manifest(3pm)
NAME
OpenOffice::OODoc::Manifest - Access to document file descriptor
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.
Methods
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.
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.
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.
getType($entry)
Returns the media (mime) type of the given member.
removeEntry($entry)
Deletes the named entry.
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".
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 !
Properties
As for OpenOffice::OODoc::XPath
Exported functions
None
NOTES
See OpenOffice::OODoc::Notes(3) for the footnote citations ([n]) included in this page.
AUTHOR
/COPYRIGHT
Developer/Maintainer: Jean-Marie Gouarne <http://jean.marie.gouarne.online.fr>
Contact: jmgdoc@cpan.org
Copyright 2004-2008 by Genicorp, S.A. <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
perl v5.14.2 2008-09-16 OODoc::Manifest(3pm)