forked from pixelglow/ZipZap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request pixelglow#26 in LIB/rtfkit from feature/docx-image…
…s to feature/docx * commit '74ff4bf1d7fb140aa78ec097d20e517835d3bc82': Fixes missing content types Adds missing documentation to image writer Updates missing file from last commit Improves content type handling for images Fixes small typo Adds support for page numbers Adds test for page number placeholder Restructures the xml boilderplate for images (ULYSSES-4822) Adds support for images Adds test cases for image support
- Loading branch information
Showing
16 changed files
with
283 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// RKDOCXImageWriter.h | ||
// RTFKit | ||
// | ||
// Created by Lucas Hauswald on 15.04.15. | ||
// Copyright (c) 2015 The Soulmen. All rights reserved. | ||
// | ||
|
||
#import "RKDOCXConversionContext.h" | ||
|
||
/*! | ||
@abstract Generates a run element "<w:r>" with "w:drawing" as child element to be added to the parent paragraph. | ||
@discussion See ISO 29500-1:2012: §20 (DrawingML). | ||
*/ | ||
@interface RKDOCXImageWriter : NSObject | ||
|
||
/*! | ||
@abstract Returns an XML element representing a run with an XML tree representing the given image attribute. | ||
*/ | ||
+ (NSXMLElement *)runElementWithImageAttachment:(RKImageAttachment *)imageAttachment inRunElement:(NSXMLElement *)runElement usingContext:(RKDOCXConversionContext *)context; | ||
|
||
@end |
Oops, something went wrong.