RTF
        
        extends AbstractReader
    
    
            
            in package
            
        
    
            
            implements
                            ReaderInterface                    
    
    
RTF Reader class.
Tags
Table of Contents
Interfaces
- ReaderInterface
- Reader interface.
Properties
- $fileHandle : bool|resource
- File pointer.
- $imageLoading : bool
- Load images.
- $readDataOnly : bool
- Read data only?
Methods
- canRead() : bool
- Can the current ReaderInterface read the file?
- hasImageLoading() : bool
- isReadDataOnly() : bool
- Read data only?
- load() : PhpWord
- Loads PhpWord from file.
- setImageLoading() : self
- setReadDataOnly() : self
- Set read data only.
- openFile() : resource
- Open file for reading.
Properties
$fileHandle
File pointer.
    protected
        bool|resource
    $fileHandle
    
    
    
    
    
$imageLoading
Load images.
    protected
        bool
    $imageLoading
     = true
    
    
    
    
$readDataOnly
Read data only?
    protected
        bool
    $readDataOnly
     = true
    
    
    
    
Methods
canRead()
Can the current ReaderInterface read the file?
    public
                    canRead(string $filename) : bool
    Parameters
- $filename : string
Return values
boolhasImageLoading()
    public
                    hasImageLoading() : bool
    Return values
boolisReadDataOnly()
Read data only?
    public
                    isReadDataOnly() : bool
    Return values
boolload()
Loads PhpWord from file.
    public
                    load(string $docFile) : PhpWord
    Parameters
- $docFile : string
Return values
PhpWordsetImageLoading()
    public
                    setImageLoading(bool $value) : self
    Parameters
- $value : bool
Return values
selfsetReadDataOnly()
Set read data only.
    public
                    setReadDataOnly([bool $value = true ]) : self
    Parameters
- $value : bool = true
Return values
selfopenFile()
Open file for reading.
    protected
                    openFile(string $filename) : resource
    Parameters
- $filename : string