New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DocumentAssembler: Support for images #30
base: vNext
Are you sure you want to change the base?
Commits on Dec 17, 2020
-
DocumentAssembler: Support for Images
Added ability to embed image content in template. Input image can be supplied either as a base64 encoded string or as a path to file. Supports different layout options. For different samples, see unit tests.
Configuration menu - View commit details
-
Copy full SHA for 31cd7e5 - Browse repository at this point
Copy the full SHA 31cd7e5View commit details -
DocumentAssembler: Support for Images
Removed unused "Aspect" attribute
Configuration menu - View commit details
-
Copy full SHA for 43d0658 - Browse repository at this point
Copy the full SHA 43d0658View commit details -
Fix for case with extra character before Image Content Control
It is expected that Image Content Control will immediately follow ImageSelect element, thus containing paragraph as child element. There is a situation where some extra characters apppear before the Image Content Control thus causing a situation where Image Conent Control is inside the paragraph and not vise versa, as expected. In such case, the system should trigger an error. - Added handling of the situation decrribed above - Added unit test to verify proper behavior
Configuration menu - View commit details
-
Copy full SHA for cd67c09 - Browse repository at this point
Copy the full SHA cd67c09View commit details -
Added support for image select in header and footer
- Added ability to use image content control inside header and footer - Added unit tests to verify proper behavior
Configuration menu - View commit details
-
Copy full SHA for 4f0497b - Browse repository at this point
Copy the full SHA 4f0497bView commit details -
Fixed image content improperly working with # notation
Modified document assembler to support # notation. Added unit tests to verify proprer behavior. Tests which are having A suffix (e.g. DA270A-ImageSelect.docx) are duplicates of the original ones, but with # notation used instead.
Configuration menu - View commit details
-
Copy full SHA for b24e7e2 - Browse repository at this point
Copy the full SHA b24e7e2View commit details -
Removed static class variable _docPrId for thread-safety
Removed static variable _docPrId. Now updating images docPr ids at the end of the processing and not during the transform.
Configuration menu - View commit details
-
Copy full SHA for 0a56e1f - Browse repository at this point
Copy the full SHA 0a56e1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f98a2c - Browse repository at this point
Copy the full SHA 2f98a2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0f7a89 - Browse repository at this point
Copy the full SHA e0f7a89View commit details