Skip to content

Commit

Permalink
bug fixes for framework targets
Browse files Browse the repository at this point in the history
updated AEXML
  • Loading branch information
Morten Bertz committed Mar 2, 2021
1 parent a940473 commit 00f1cbe
Show file tree
Hide file tree
Showing 15 changed files with 95 additions and 57 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
DocX.xcodeproj/xcuserdata/mbertz.xcuserdatad
.swiftpm/xcode/xcuserdata
DocX-Examples/DocX-Examples.xcodeproj/xcuserdata
.swiftpm/xcode/package.xcworkspace/xcuserdata
DocX-Examples.xcworkspace/xcuserdata
DocX.xcodeproj/project.xcworkspace/xcuserdata
DocX.xcodeproj/xcuserdata
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repositoryURL": "https://github.com/shinjukunian/AEXML.git",
"state": {
"branch": "master",
"revision": "58d395eaebc1fc43c8831fd23d887dc1a53f2d61",
"revision": "5ce38c72cb10c013145a72137ed8e98ca7e7127f",
"version": null
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
endingColumnNumber = "9223372036854775807"
startingLineNumber = "24"
endingLineNumber = "24"
landmarkName = "unknown"
landmarkType = "0">
landmarkName = "validateMenuItem(_:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
Expand Down Expand Up @@ -304,8 +304,8 @@
endingColumnNumber = "9223372036854775807"
startingLineNumber = "44"
endingLineNumber = "44"
landmarkName = "unknown"
landmarkType = "0">
landmarkName = "saveDocument(_:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
Expand Down Expand Up @@ -359,5 +359,37 @@
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "2BF83C7D-4AF3-422D-A3DC-8A00A4A203BF"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "DocXTests/DocXTests.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "161"
endingLineNumber = "161"
landmarkName = "test&#x5c71;&#x7530;&#x96fb;&#x6c17;FuriganaAttributed_ParagraphStyle_underline()"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "00D5DE7F-FA9D-493A-8315-F7A52F81FF0B"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "DocXTests/DocXTests.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "172"
endingLineNumber = "172"
landmarkName = "test&#x5c71;&#x7530;&#x96fb;&#x6c17;FuriganaAttributed_ParagraphStyle_backgroundColor()"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import DocX
import QuickLook


protocol DocXPreviewing:class,QLPreviewControllerDelegate,QLPreviewControllerDataSource{
protocol DocXPreviewing:QLPreviewControllerDelegate,QLPreviewControllerDataSource{
var documentURL:URL? {get set}
var attributedText:NSAttributedString? {get}
}
Expand Down
8 changes: 5 additions & 3 deletions DocX-Examples/DocX-Examples.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1020;
LastUpgradeCheck = 1100;
LastUpgradeCheck = 1240;
ORGANIZATIONNAME = "telethon k.k.";
TargetAttributes = {
5AE8343A2237AF2600E68343 = {
Expand Down Expand Up @@ -334,6 +334,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand Down Expand Up @@ -395,6 +396,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
Expand Down Expand Up @@ -471,7 +473,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = DVQ96RL2KL;
INFOPLIST_FILE = "DocX-Examples-iOS/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 11.4;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -492,7 +494,7 @@
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = DVQ96RL2KL;
INFOPLIST_FILE = "DocX-Examples-iOS/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 11.4;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1100"
LastUpgradeVersion = "1240"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
26 changes: 6 additions & 20 deletions DocX.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
/* Begin PBXBuildFile section */
5A9754D623606CD90002B521 /* ZipArchive in Frameworks */ = {isa = PBXBuildFile; productRef = 5A9754D523606CD90002B521 /* ZipArchive */; };
5A9754E523606ED80002B521 /* ZipArchive in Frameworks */ = {isa = PBXBuildFile; productRef = 5A9754E423606ED80002B521 /* ZipArchive */; };
5A9A862024A968BC00BAE53E /* libiconv.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A9A861F24A968BC00BAE53E /* libiconv.tbd */; };
5A9F70AA223502D6008E967C /* DocX.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A9F70A0223502D6008E967C /* DocX.framework */; };
5A9F70AF223502D6008E967C /* DocXTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A9F70AE223502D6008E967C /* DocXTests.swift */; };
5A9F70B1223502D6008E967C /* DocX.h in Headers */ = {isa = PBXBuildFile; fileRef = 5A9F70A3223502D6008E967C /* DocX.h */; settings = {ATTRIBUTES = (Public, ); }; };
Expand All @@ -21,9 +20,10 @@
5A9F70F922350DDE008E967C /* AttributeElements.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A9F70F822350DDE008E967C /* AttributeElements.swift */; };
5A9F70FB22354F1C008E967C /* RubyAnnotationElement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A9F70FA22354F1C008E967C /* RubyAnnotationElement.swift */; };
5A9F711D223607A8008E967C /* NSAttributedString+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A9F711C223607A8008E967C /* NSAttributedString+Extensions.swift */; };
5AA95C7424A1C30A005D0645 /* libiconv.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 5AA95C7224A1C04A005D0645 /* libiconv.tbd */; };
5AB10ECE232A451200F0B19F /* AEXML in Frameworks */ = {isa = PBXBuildFile; productRef = 5AB10ECD232A451200F0B19F /* AEXML */; };
5AB10ED0232A45BF00F0B19F /* AEXML in Frameworks */ = {isa = PBXBuildFile; productRef = 5AB10ECF232A45BF00F0B19F /* AEXML */; };
5AE5BE9B25EE283F009A152F /* NSAttributedString+DocX-macOS.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A9F70BE22350300008E967C /* NSAttributedString+DocX-macOS.swift */; };
5AE5BEA025EE2847009A152F /* NSAttributedString+DocX-macOS.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A9F70BE22350300008E967C /* NSAttributedString+DocX-macOS.swift */; };
5AE833CE2236831500E68343 /* DocX.h in Headers */ = {isa = PBXBuildFile; fileRef = 5A9F70A3223502D6008E967C /* DocX.h */; settings = {ATTRIBUTES = (Public, ); }; };
5AE833D02236831500E68343 /* DocumentRoot.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A9F70BF22350300008E967C /* DocumentRoot.swift */; };
5AE833D12236831500E68343 /* NSAttributedString+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A9F711C223607A8008E967C /* NSAttributedString+Extensions.swift */; };
Expand All @@ -46,7 +46,6 @@
5AE8342722377A5B00E68343 /* NSUnderlineStyle+Elements.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5AE8341A22375D9E00E68343 /* NSUnderlineStyle+Elements.swift */; };
5AE83428223781F600E68343 /* NSAttributedString+DocX.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5AE833EB223683F000E68343 /* NSAttributedString+DocX.swift */; };
5AE834292237822B00E68343 /* blank in Resources */ = {isa = PBXBuildFile; fileRef = 5AE833F2223688A400E68343 /* blank */; };
B754D9E024BA0F0900AF320A /* libiconv.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = B754D9DF24BA0EFF00AF320A /* libiconv.tbd */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -67,8 +66,6 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
5A9A861E24A968AD00BAE53E /* libiconv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libiconv.tbd; path = usr/lib/libiconv.tbd; sourceTree = SDKROOT; };
5A9A861F24A968BC00BAE53E /* libiconv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libiconv.tbd; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/lib/libiconv.tbd; sourceTree = DEVELOPER_DIR; };
5A9F70A0223502D6008E967C /* DocX.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DocX.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5A9F70A3223502D6008E967C /* DocX.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DocX.h; sourceTree = "<group>"; };
5A9F70A4223502D6008E967C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand All @@ -84,7 +81,6 @@
5A9F70F822350DDE008E967C /* AttributeElements.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AttributeElements.swift; sourceTree = "<group>"; };
5A9F70FA22354F1C008E967C /* RubyAnnotationElement.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RubyAnnotationElement.swift; sourceTree = "<group>"; };
5A9F711C223607A8008E967C /* NSAttributedString+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NSAttributedString+Extensions.swift"; sourceTree = "<group>"; };
5AA95C7224A1C04A005D0645 /* libiconv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libiconv.tbd; path = usr/lib/libiconv.tbd; sourceTree = SDKROOT; };
5AA95C7524A1C342005D0645 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = SOURCE_ROOT; };
5AE833E32236831500E68343 /* DocX.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DocX.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5AE833EB223683F000E68343 /* NSAttributedString+DocX.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NSAttributedString+DocX.swift"; sourceTree = "<group>"; };
Expand All @@ -97,15 +93,13 @@
5AE8340B22373A5200E68343 /* NSParagraphStyle+Elements.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NSParagraphStyle+Elements.swift"; sourceTree = "<group>"; };
5AE834112237573F00E68343 /* FontElements.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FontElements.swift; sourceTree = "<group>"; };
5AE8341A22375D9E00E68343 /* NSUnderlineStyle+Elements.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NSUnderlineStyle+Elements.swift"; sourceTree = "<group>"; };
B754D9DF24BA0EFF00AF320A /* libiconv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libiconv.tbd; path = usr/lib/libiconv.tbd; sourceTree = SDKROOT; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
5A9F709D223502D6008E967C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
B754D9E024BA0F0900AF320A /* libiconv.tbd in Frameworks */,
5AB10ECE232A451200F0B19F /* AEXML in Frameworks */,
5A9754D623606CD90002B521 /* ZipArchive in Frameworks */,
);
Expand All @@ -123,7 +117,6 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
5A9A862024A968BC00BAE53E /* libiconv.tbd in Frameworks */,
5AB10ED0232A45BF00F0B19F /* AEXML in Frameworks */,
5A9754E523606ED80002B521 /* ZipArchive in Frameworks */,
);
Expand All @@ -148,7 +141,6 @@
5A9F70AD223502D6008E967C /* DocXTests */,
5AE833F922368A4500E68343 /* DocX-iOS-Tests */,
5A9F70A1223502D6008E967C /* Products */,
5A9F70D92235045A008E967C /* Frameworks */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -197,14 +189,6 @@
path = DocXTests;
sourceTree = "<group>";
};
5A9F70D92235045A008E967C /* Frameworks */ = {
isa = PBXGroup;
children = (
B754D9DF24BA0EFF00AF320A /* libiconv.tbd */,
);
name = Frameworks;
sourceTree = "<group>";
};
5AE833F922368A4500E68343 /* DocX-iOS-Tests */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -409,6 +393,7 @@
5A9F70C122350300008E967C /* DocXWriting.swift in Sources */,
5A9F70F922350DDE008E967C /* AttributeElements.swift in Sources */,
5AE8341B22375D9E00E68343 /* NSUnderlineStyle+Elements.swift in Sources */,
5AE5BE9B25EE283F009A152F /* NSAttributedString+DocX-macOS.swift in Sources */,
5A9F70FB22354F1C008E967C /* RubyAnnotationElement.swift in Sources */,
5AE8340C22373A5200E68343 /* NSParagraphStyle+Elements.swift in Sources */,
5A9F70C222350300008E967C /* DocX.swift in Sources */,
Expand Down Expand Up @@ -436,6 +421,7 @@
5AE833D42236831500E68343 /* DocXWriting.swift in Sources */,
5AE833D52236831500E68343 /* AttributeElements.swift in Sources */,
5AE833DA2236831500E68343 /* RubyAnnotationElement.swift in Sources */,
5AE5BEA025EE2847009A152F /* NSAttributedString+DocX-macOS.swift in Sources */,
5AE833EC223683F000E68343 /* NSAttributedString+DocX.swift in Sources */,
5AE8340D22373A5200E68343 /* NSParagraphStyle+Elements.swift in Sources */,
5AE8342722377A5B00E68343 /* NSUnderlineStyle+Elements.swift in Sources */,
Expand Down Expand Up @@ -723,7 +709,7 @@
PRODUCT_NAME = DocX;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MACCATALYST = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down Expand Up @@ -759,7 +745,7 @@
PRODUCT_NAME = DocX;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MACCATALYST = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repositoryURL": "https://github.com/shinjukunian/AEXML.git",
"state": {
"branch": "master",
"revision": "58d395eaebc1fc43c8831fd23d887dc1a53f2d61",
"revision": "5ce38c72cb10c013145a72137ed8e98ca7e7127f",
"version": null
}
},
Expand Down
2 changes: 1 addition & 1 deletion DocX.xcodeproj/xcshareddata/xcschemes/DocX-iOS.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1200"
LastUpgradeVersion = "1240"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion DocX.xcodeproj/xcshareddata/xcschemes/DocX.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1200"
LastUpgradeVersion = "1240"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
timestampString = "574223050.881258"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "63"
endingLineNumber = "63"
landmarkName = "testWriteDocX(attributedString:)"
startingLineNumber = "62"
endingLineNumber = "62"
landmarkName = "testWriteDocX(attributedString:useBuiltin:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
Expand All @@ -32,9 +32,9 @@
timestampString = "574223050.881536"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "71"
endingLineNumber = "71"
landmarkName = "testWriteDocX(attributedString:)"
startingLineNumber = "70"
endingLineNumber = "70"
landmarkName = "testWriteDocX(attributedString:useBuiltin:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
Expand Down Expand Up @@ -66,10 +66,10 @@
timestampString = "574223050.881864"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "32"
endingLineNumber = "32"
landmarkName = "tearDown()"
landmarkType = "7">
startingLineNumber = "31"
endingLineNumber = "31"
landmarkName = "DocXTests"
landmarkType = "3">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
Expand Down Expand Up @@ -161,7 +161,7 @@
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "E243BCA3-C90F-4898-922E-5CEC7EF46238"
shouldBeEnabled = "Yes"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "DocX-iOS-Tests/DocX_iOS_Tests.swift"
Expand Down Expand Up @@ -219,8 +219,8 @@
timestampString = "574223050.882223"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "191"
endingLineNumber = "191"
startingLineNumber = "190"
endingLineNumber = "190"
landmarkName = "testLink()"
landmarkType = "7">
</BreakpointContent>
Expand Down Expand Up @@ -304,8 +304,8 @@
timestampString = "574223050.882542"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "194"
endingLineNumber = "194"
startingLineNumber = "193"
endingLineNumber = "193"
landmarkName = "testLink()"
landmarkType = "7">
</BreakpointContent>
Expand Down Expand Up @@ -354,8 +354,8 @@
filePath = "DocXTests/DocXTests.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "181"
endingLineNumber = "181"
startingLineNumber = "180"
endingLineNumber = "180"
landmarkName = "test&#x5c71;&#x7530;&#x96fb;&#x6c17;FuriganaAttributed_ParagraphStyle_strikethrough()"
landmarkType = "7">
</BreakpointContent>
Expand All @@ -370,8 +370,8 @@
filePath = "DocXTests/DocXTests.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "192"
endingLineNumber = "192"
startingLineNumber = "191"
endingLineNumber = "191"
landmarkName = "testLink()"
landmarkType = "7">
</BreakpointContent>
Expand Down
2 changes: 1 addition & 1 deletion DocX/NSAttributedString+DocX-macOS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import AEXML

// this version is based on in initially using the TextKit docx Writer. Since it doesnt support furigana or links, we might go entirely with our own implementatuion
extension NSAttributedString:DocX{

@objc public func writeDocX(to url: URL) throws {
try self.writeDocX(to: url, useBuiltIn: true)
}


@objc public func writeDocX(to url: URL, useBuiltIn:Bool = true) throws{

let tempURL=try FileManager.default.url(for: .itemReplacementDirectory, in: .userDomainMask, appropriateFor: url, create: true)
Expand Down
Loading

0 comments on commit 00f1cbe

Please sign in to comment.