Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PHPOffice/PHPWord
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: OAFCROB/PHPWord
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 2 files changed
  • 2 contributors

Commits on Jun 29, 2015

  1. #260 - A quick hack around

    A quick hack solution I came up with today. This isn't pretty in the
    slightest and is my first pull request so apologise if I've done it
    wrong. I normally work on BitBucket.
    
    Example Usage
    ------------------
    
    $templateProcessor = new
    \PhpOffice\PhpWord\TemplateProcessor('C:\Users\Robert\Desktop\sample.docx');
    
    $templateProcessor->cloneRow('rowValue', 10);
    $templateProcessor->setValue('test#1', htmlspecialchars('Text goes
    here'));
    $templateProcessor->setImageValue('testPhoto#1', 'image3.png',
    'my-other-image.jpg');
    $templateProcessor->setValue('test#2', htmlspecialchars('Text2 goes
    here'));
    $templateProcessor->setImageValue('testPhoto#2', 'image4.png',
    my-image.jpg');
    OAFCROB committed Jun 29, 2015
    Configuration menu
    Copy the full SHA
    ca52b09 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2015

  1. #260 - Added in image sizes

    Image sizes now come from the actual image instead of being hard coded.
    OAFCROB committed Jul 6, 2015
    Configuration menu
    Copy the full SHA
    d7dedf6 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2015

  1. Moved $xml within image count if

    $xml may not be created if there isn't any images causing an error.
    Robert Rosebury committed Aug 11, 2015
    Configuration menu
    Copy the full SHA
    34ba3bf View commit details
    Browse the repository at this point in the history
Loading