Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@

iWorkFileInspector/Externals/intermediate
iWorkFileInspector/Externals/packages
iWorkFileInspector/Externals/prebuilt
iWorkFileInspector/Externals/build

iWorkFileInspector/Externals/proto*
iWorkFileInspector/Externals/snappy*

# OSX Specific System Files
.DS_Store
*.swp
.Spotlight-V100
.Trashes

# Win Specific System Files
ehthumbs.db
Thumbs.db
Desktop.ini
$RECYCLE.BIN/

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app
*.ipa

# Xcode Specific Files
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
*.xcworkspace
!default.xcworkspace
xcuserdata
*.moved-aside
*.xccheckout

# CMake build-system
CMakeCache.txt
CMakeFiles
Makefile
install_manifest.txt
cmake_install.cmake
cmake_uninstall.cmake

# Subversion files
.svn
Binary file modified iWorkFileInspector/Externals/prebuilt/bin/protoc
Binary file not shown.
Binary file modified iWorkFileInspector/Externals/prebuilt/lib/libprotobuf.a
Binary file not shown.
Binary file modified iWorkFileInspector/Externals/prebuilt/lib/libsnappy.a
Binary file not shown.
1,517 changes: 1,078 additions & 439 deletions iWorkFileInspector/iWorkFileInspector/Messages/KNArchives.pb.cc

Large diffs are not rendered by default.

1,129 changes: 851 additions & 278 deletions iWorkFileInspector/iWorkFileInspector/Messages/KNArchives.pb.h

Large diffs are not rendered by default.

2,943 changes: 2,002 additions & 941 deletions iWorkFileInspector/iWorkFileInspector/Messages/KNCommandArchives.pb.cc

Large diffs are not rendered by default.

1,164 changes: 970 additions & 194 deletions iWorkFileInspector/iWorkFileInspector/Messages/KNCommandArchives.pb.h

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ message TransitionAttributesArchive {
optional bool custom_magic_move_fade_unmatched_objects = 13;
optional .KN.TransitionAttributesArchive.TransitionCustomAttributesTimingCurveType custom_timing_curve = 15;
optional .KN.TransitionAttributesArchive.TransitionCustomAttributesTextDeliveryType custom_text_delivery_type = 16;
optional string database_animationType = 1;
optional string database_effect = 2;
optional double database_duration = 3;
optional uint32 database_direction = 4;
optional float database_delay = 5;
optional .TSP.Color database_color = 7;
optional bool custom_motion_blur = 17;
optional string database_animationType = 1 [deprecated = true];
optional string database_effect = 2 [deprecated = true];
optional double database_duration = 3 [deprecated = true];
optional uint32 database_direction = 4 [deprecated = true];
optional float database_delay = 5 [deprecated = true];
optional .TSP.Color database_color = 7 [deprecated = true];
}

message TransitionArchive {
Expand Down Expand Up @@ -99,8 +100,8 @@ message BuildAttributesArchive {
}
optional .KN.AnimationAttributesArchive animationAttributes = 18;
optional uint32 eventTrigger = 4;
optional double delayAutomaticAfter = 6;
optional double delayAutomaticWith = 7;
optional double delayAutomaticAfter = 6 [deprecated = true];
optional double delayAutomaticWith = 7 [deprecated = true];
optional .KN.BuildAttributesArchive.BuildAttributesCurveStyle curveStyle = 14;
optional double ChartRotation3D = 17;
optional uint32 startOffset = 27;
Expand All @@ -118,12 +119,13 @@ message BuildAttributesArchive {
optional uint32 custom_action_repeatCount = 24;
optional double custom_action_scale = 25;
optional .KN.BuildAttributesArchive.ActionBuildAttributesJiggleIntensity custom_action_jiggleIntensity = 26;
optional string database_animationType = 1;
optional string database_effect = 2;
optional uint32 database_direction = 3;
optional double database_delay = 5;
optional double database_duration = 8;
optional .TSP.Color database_color = 16;
optional bool custom_motion_blur = 29;
optional string database_animationType = 1 [deprecated = true];
optional string database_effect = 2 [deprecated = true];
optional uint32 database_direction = 3 [deprecated = true];
optional double database_delay = 5 [deprecated = true];
optional double database_duration = 8 [deprecated = true];
optional .TSP.Color database_color = 16 [deprecated = true];
optional string motionPathString = 15 [deprecated = true];
}

Expand Down Expand Up @@ -174,7 +176,8 @@ message SlideArchive {
optional .TSP.Reference bodyPlaceholder = 6;
optional .TSP.Reference objectPlaceholder = 30;
optional .TSP.Reference slideNumberPlaceholder = 20;
repeated .TSP.Reference drawables = 7;
repeated .TSP.Reference owned_drawables = 7;
repeated .TSP.Reference drawables_z_order = 42;
repeated .KN.SlideArchive.SageTagMapEntry sage_tag_to_info_map = 28;
optional string name = 10;
optional .TSD.GeometryArchive titlePlaceholderGeometry = 11;
Expand All @@ -194,6 +197,7 @@ message SlideArchive {
repeated .TSP.Reference bodyListStyles = 35;
optional string thumbnailTextForTitlePlaceholder = 37;
optional string thumbnailTextForBodyPlaceholder = 38;
optional bool slideObjectsLayerWithMaster = 41 [default = false];
optional .TSP.Reference master = 17;
repeated .TSD.GuideArchive staticGuides = 18;
optional .TSP.Reference userDefinedGuideStorage = 36;
Expand All @@ -214,14 +218,15 @@ message SlideNodeArchive {
required bool isCollapsed = 5 [deprecated = true];
optional bool isCollapsedInOutlineView = 17;
optional bool hasBodyInOutlineView = 19;
required bool hasBuilds = 6;
required bool hasBuilds = 6 [deprecated = true];
required bool hasTransition = 7;
optional bool hasNote = 8;
optional bool isSlideNumberVisible = 18 [default = false];
optional string uniqueIdentifier = 11;
optional string copyFromSlideIdentifier = 12;
optional uint32 slideSpecificHyperlinkCount = 13;
optional uint32 eventCount = 15;
optional bool has_explicit_builds = 20;
optional .TSP.Reference database_thumbnail = 3;
repeated .TSP.Reference database_thumbnails = 9;
}
Expand Down Expand Up @@ -269,6 +274,9 @@ message UIStateArchive {
optional float desktop_navigator_view_width = 22;
optional float desktop_outline_view_width = 23;
optional .TSP.Size desktop_main_content_size = 24;
optional float desktop_presenter_notes_view_height = 25;
optional .TSP.Point desktop_main_window_origin = 26;
optional bool light_table_hides_skipped_slides = 27;
}

message CanvasSelectionArchive {
Expand All @@ -283,6 +291,8 @@ message ThemeArchive {
optional string uuid = 3;
repeated .TSP.Reference classicThemeRecords = 4;
optional .TSP.Reference defaultMasterSlideNode = 5;
optional .TSP.Reference default_master_slide_node_reference = 6;
optional bool default_master_slide_node_is_our_best_guess = 7;
}

message SlideTreeArchive {
Expand Down Expand Up @@ -339,8 +349,11 @@ message PasteboardNativeStorageArchive {
repeated .TSP.Reference builds = 2;
repeated .KN.BuildChunkArchive buildChunks = 3;
repeated .TSP.Reference slideNodes = 4;
repeated .TSP.Reference masterSlideNodes = 9;
optional .TSP.Size originalShowSize = 5;
repeated .TSP.Range titleRanges = 6;
repeated .TSD.GeometryArchive geometries_in_root = 7;
optional string slide_node_unique_identifier = 8;
}

message MasterChangeBlobArchive {
Expand Down Expand Up @@ -390,7 +403,8 @@ message RecordingNavigationEventArchive {
}

message RecordingLaserEventArchive {
optional .TSP.Point unscaled_location = 1;
optional .TSP.Point unscaled_location = 1 [deprecated = true];
optional .TSP.Point unit_location = 2;
}

message RecordingPauseEventArchive {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ message CommandRemoveMasterArchive {
required .TSP.Reference master_slide_node = 3;
required uint32 previous_index = 4;
optional .TSP.Reference master_change_commands = 5;
optional bool default_master_slide_node_was_replaced = 6;
}

message CommandRenameMasterArchive {
Expand Down Expand Up @@ -262,15 +263,17 @@ message CommandBuildSetValueArchive {
required .TSK.CommandArchive super = 1;
required .TSP.Reference build = 2;
required string property = 3;
repeated string effects = 4;
repeated string types = 5;
repeated string effects = 4 [deprecated = true];
repeated string types = 5 [deprecated = true];
repeated string deliveries = 6;
repeated uint32 directions = 7;
repeated double durations = 8;
repeated double delays = 9;
repeated double delayAutomaticAfters = 10;
repeated double delayAutomaticWiths = 11;
repeated bool eventTriggers = 12;
repeated uint32 directions = 7 [deprecated = true];
repeated double durations = 8 [deprecated = true];
repeated double delays = 9 [deprecated = true];
repeated double delayAutomaticAfters = 10 [deprecated = true];
repeated double delayAutomaticWiths = 11 [deprecated = true];
repeated bool eventTriggers = 12 [deprecated = true];
optional .KN.BuildAttributesArchive oldAttributes = 13;
optional .KN.BuildAttributesArchive currentAttributes = 14;
}

message CommandBuildChunkSetValueArchive {
Expand All @@ -281,21 +284,23 @@ message CommandBuildChunkSetValueArchive {
repeated bool automatics = 5;
repeated double durations = 6;
repeated double delays = 7;
optional bool oldOwnsValue = 8;
optional bool oldOwnsValue = 8 [deprecated = true];
}

message CommandTransitionSetValueArchive {
required .TSK.CommandArchive super = 1;
required .TSP.Reference slideNode = 2;
required string property = 3;
repeated string effects = 4;
repeated string unused = 5;
repeated string unused2 = 6;
repeated string unused3 = 7;
repeated double durations = 8;
repeated uint32 directions = 9;
repeated bool isAutomatics = 10;
repeated double delays = 11;
repeated string effects = 4 [deprecated = true];
repeated string unused = 5 [deprecated = true];
repeated string unused2 = 6 [deprecated = true];
repeated string unused3 = 7 [deprecated = true];
repeated double durations = 8 [deprecated = true];
repeated uint32 directions = 9 [deprecated = true];
repeated bool isAutomatics = 10 [deprecated = true];
repeated double delays = 11 [deprecated = true];
optional .KN.TransitionAttributesArchive oldAttributes = 12;
optional .KN.TransitionAttributesArchive currentAttributes = 13;
}

message CommandShowSetSlideNumberVisibilityArchive {
Expand Down Expand Up @@ -327,6 +332,13 @@ message CommandMasterSetBodyStylesArchive {
repeated .TSP.Reference old_list_styles = 6;
}

message CommandMasterSetSlideObjectsLayerWithMasterArchive {
required .TSK.CommandArchive super = 1;
required .TSP.Reference master = 2;
required bool new_value = 3;
required bool old_value = 4;
}

message CommandSlideApplyThemeArchive {
required .TSS.ApplyThemeChildCommandArchive super = 1;
required .KN.MasterChangeBlobArchive blob = 2;
Expand Down Expand Up @@ -371,6 +383,14 @@ message CommandSoundtrackSetValue {
optional .KN.CommandSoundtrackSetValue.PropertyValue new_value = 5;
}

message CommandSlideUpdateMasterDrawables {
required .TSK.CommandArchive super = 1;
required .TSP.Reference slide = 2;
repeated .TSP.Reference drawables_to_insert = 3;
repeated .TSP.Reference sorted_drawables_to_remove = 4;
required .TSP.IndexSet indexes_of_removed_drawables = 5;
}

message SlideCollectionCommandSelectionBehaviorArchive {
enum Type {
kKindSlideSelectionBehaviorTypeGeneral = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ message DocumentArchive {
optional .TSP.Reference tables_custom_format_list = 7;
optional bool needs_movie_compatibility_upgrade = 8;
optional string template_identifier = 9;
optional .TSP.Reference shortcut_controller = 10;
}

message FunctionBrowserStateArchive {
Expand All @@ -30,7 +31,43 @@ message TestDocumentArchive {
optional string value = 2;
}

message ShortcutControllerArchive {
message ShortcutMapEntry {
required string shortcut = 1;
required .TSP.Reference style = 2;
}
repeated .TSA.ShortcutControllerArchive.ShortcutMapEntry entries = 1;
}

message PropagatePresetCommandArchive {
required .TSK.CommandArchive super = 1;
}

message ShortcutCommandArchive {
optional .TSK.CommandArchive super = 1;
optional .TSP.Reference old_style = 2;
optional .TSP.Reference new_style = 3;
optional string old_shortcut = 4;
optional string new_shortcut = 5;
}

message AddCustomFormatCommandArchive {
required .TSK.CommandArchive super = 1;
optional .TSK.CustomFormatArchive custom_format = 2;
optional bool for_replacement = 3;
}

message UpdateCustomFormatCommandArchive {
optional .TSK.CommandArchive super = 1;
optional .TSK.CustomFormatArchive custom_format = 2;
optional .TSK.CustomFormatArchive old_custom_format = 3;
optional uint32 custom_format_id = 4;
}

message ReplaceCustomFormatCommandArchive {
optional .TSK.CommandArchive super = 1;
optional .TSK.CustomFormatArchive custom_format = 2;
optional uint32 custom_format_id = 3;
optional .TSK.FormatStructArchive replacement_format = 4;
}

Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ message VolatileDependenciesArchive {
repeated uint32 volatile_location_cell_row = 6;
repeated uint32 volatile_compass_cell_column = 7;
repeated uint32 volatile_compass_cell_row = 8;
repeated uint32 volatile_sheet_table_name_cell_column = 17;
repeated uint32 volatile_sheet_table_name_cell_row = 18;
repeated uint32 calculated_dependency_cell_column = 9;
repeated uint32 calculated_dependency_cell_row = 10;
repeated .TSCE.CellReferenceArchive volatile_geometry_cell_reference = 13;
Expand Down Expand Up @@ -187,8 +189,8 @@ message OwnerIDMapArchive {

message DependencyTrackerArchive {
repeated .TSCE.FormulaOwnerInfoArchive formula_owner_info = 1;
repeated .TSCE.CellReferenceArchive dirty_leaf = 2;
repeated .TSCE.InternalCellReferenceArchive internal_dirty_leaf = 4;
repeated .TSCE.CellReferenceArchive dirty_leaf = 2 [deprecated = true];
repeated .TSCE.InternalCellReferenceArchive internal_dirty_leaf = 4 [deprecated = true];
optional .TSCE.OwnerIDMapArchive owner_id_map = 3;
}

Expand Down Expand Up @@ -498,7 +500,8 @@ message DateCellValueArchive {

message NumberCellValueArchive {
required double value = 1;
required int32 unit = 2;
optional int32 unit_index = 2;
optional string currency_code = 5;
required .TSK.FormatStructArchive format = 3;
optional bool format_is_implicit = 4 [default = true];
}
Expand Down
Loading