Skip to content

Commit

Permalink
Add xlsx export profile
Browse files Browse the repository at this point in the history
  • Loading branch information
milanvarady committed May 28, 2024
1 parent 88bfd8f commit fe4c692
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Source/Marker Data/Marker Data.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1652,8 +1652,8 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/TheAcharya/MarkersExtractor";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 0.3.6;
branch = main;
kind = branch;
};
};
4155B72A2B668C0D008D3505 /* XCRemoteSwiftPackageReference "swift-log-oslog" */ = {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "ExcelIcon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ struct UnifiedExportProfile: Codable, Hashable, Identifiable, Equatable {
return "NumbersIcon"
case .youtube:
return "YouTubeLogo"
case .xlsx:
return "ExcelIcon"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import MarkersExtractor

extension ExportProfileFormat: Codable {
static var allCasesInUIOrder: [ExportProfileFormat] {
let inUIOrder = [Self.csv, Self.tsv, Self.midi, Self.youtube, Self.notion, Self.airtable]
let inUIOrder = [Self.csv, Self.tsv, Self.xlsx, Self.midi, Self.youtube, Self.notion, Self.airtable]
assert(inUIOrder.count == Self.allCases.count, "ExportProfileFormat.allCasesInUIOrder has invalid number of elements")
return inUIOrder
}
Expand All @@ -29,6 +29,8 @@ extension ExportProfileFormat: Codable {
return "TSV"
case .youtube:
return "YouTube Chapters"
case .xlsx:
return "Excel"
}
}

Expand Down

0 comments on commit fe4c692

Please sign in to comment.