'\" t .\" Title: odfimgimport .\" Author: S\(/oren Roug .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 10/12/2014 .\" Manual: User commands .\" Source: odfpy .\" Language: English .\" .TH "ODFIMGIMPORT" "1" "10/12/2014" "odfpy" "User commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" odfimgimport \- Import external images .SH "SYNOPSIS" .HP \w'\fBodfimgimport\fR\ 'u \fBodfimgimport\fR [\-q] [\-o\ \fIoutputfile\fR] [\fIinputfile\fR] .SH "DESCRIPTION" .PP If you copy and paste html from your webbrowser to your word processor, the pictures in the pasted text will still load the images from the Internet\&. This script will import all images into the OpenDocument file\&. .PP If you don\*(Aqt provide an input file, the program will read from stdin\&. If the program reads from stdin, it might not know how to resolve relative filenames\&. If you don\*(Aqt provide an output file, the program will import the pictures into the input file\&. .SH "OPTIONS" .PP \-q .RS 4 If there are images that can\*(Aqt be imported, odfimgimport will write how many has failed\&. The \-q flag will prevent that\&. .RE .PP \-v .RS 4 Verbose: Prints the URL of every image it tries to import and the result\&. .RE .PP \-o \fIoutputfile\fR .RS 4 The file to save the output to\&. "\-" is stdout\&. Defaults to the input file\&. .RE .SH "EXAMPLE" .sp .if n \{\ .RS 4 .\} .nf odfimgimport \-v \-o newfile\&.odt oldfile\&.odt .fi .if n \{\ .RE .\} .SH "AUTHOR" .PP \fBS\(/oren Roug\fR .RS 4 Original author .RE