. . 1.Introduction. 1.1 Objective :. This document is intended to capture the understanding of the Pronovos application gained by the galaxy team during the Knowledge Acquisition phase. The objective of this doc is the understanding, comfort level and effectiveness of the Knowledge acquisition phase and decide the readiness of proceeding to subsequent phases in the Knowledge acquisition phase..
. . 2.2 Application Domain / Functional Knowledge.
. . 4.2 Tools.framework:. 1 Tools framework uses to edit pdf files.
. . 4.3 Tools Description:. S. No. Tool Tool name Description.
. . Description 2. Description Move tools property declaration in .h file.
. . [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(setDefaultIcon:) name:@"setDefaultIcon" object:nil]; self.barTintColor = [UIColor whiteColor]; self.clipsToBounds = YES; //PDFCHNAGE := END.
. . Description 6. Description Update condition to return loop when selected type is erase or read only.
. . Description 9. Description To save style changes after select any style in style ViewController.
. . Changes. //PDFCHNAGE := START comment added by vijay UIButton *closeButton = [UIButton buttonWithType:UIButtonTypeCustom]; UIImage *image = [PTToolsUtil toolImageNamed:@"ic_close_white_24dp"]; [closeButton setImage:image forState:UIControlStateNormal]; [closeButton addTarget:self action:@selector(cancelEditing:) forControlEvents:UIControlEventTouchUpInside]; _cancelButton = [[UIBarButtonItem alloc] initWithCustomView:closeButton]; // _cancelButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCancel // target:self // action:@selector(cancelEditing:)]; UIButton *saveButton = [UIButton buttonWithType:UIButtonTypeCustom]; UIImage *images = [PTToolsUtil toolImageNamed:@"ic_check_black_24dp"]; [saveButton setImage:images forState:UIControlStateNormal]; [saveButton addTarget:self action:@selector(commitEdits:) forControlEvents:UIControlEventTouchUpInside]; _saveButton = [[UIBarButtonItem alloc] initWithCustomView:saveButton]; // _saveButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemSave // target:self // action:@selector(commitEdits:)]; //PDFCHNAGE := END comment added by vijay.
. . _isDismiss = FALSE; //PDFCHNAGE := END Added by vijay to resolve issue.
. . // // @"#ffcccc", @"#ffe5cc", @"#ffffcc", @"#ccffcc", @"#dcffff", @"#ccccff", @"#ffccff", // ]; // // colors = [NSMutableArray arrayWithCapacity:hexColors.count]; // for (NSString *hexColor in hexColors) // } //PDFCHNAGE := END add end comment by vijay _colorPickerViewController = [[PTColorPickerViewController allocOverridden] initWithTransitionStyle:UIPageViewControllerTransitionStyleScroll navigationOrientation:UIPageViewControllerNavigationOrientationHorizontal options:nil colors:[colors copy]];.
. . } // //PDFCHNAGE := END. Description 4. Description To manage current rect in annotation.
. . // // } // } // @catch (NSException *exception) // @finally // // [self annotationRemoved:self.currentAnnotation onPageNumber:self.annotationPageNumber]; // self.currentAnnotation = Nil; // self.annotationPageNumber = 0; // [self cancelMenu]; // [self.selectionRectContainerView setHidden:YES]; [[NSNotificationCenter defaultCenter] postNotificationName:@"ReloadPdf" object:nil]; //PDFCHNAGE := END.
. . } // menuItem = [[UIMenuItem alloc] initWithTitle:PTLocalizedString(@"Note", @"") action:@selector(editSelectedAnnotationNote)]; // [menuItems addObject:menuItem]; //PDFCHNAGE := END.
. . // // items commented out below are compatible with free text annotations, uncomment if desired. // //// menuItem = [[UIMenuItem alloc] initWithTitle:PTLocalizedString(@"Note", @"Note tool name") action:@selector(editSelectedAnnotationNote)]; //// [menuItems addObject:menuItem]; // // // if ([self.toolManager tool:self hasEditPermissionForAnnot:self.currentAnnotation]).
. . // UIMenuItem* menuItem; // // if ([self.toolManager tool:self hasEditPermissionForAnnot:self.currentAnnotation]) UIMenuItem* menuItem;.
. . Variables/ Functions - (void) attachInitialMenuItemsForAnnotType: (PTExtendedAnnotType) annotType.
. . Changes. //PDFCHNAGE := START BOOL isReadOnly = [self.currentAnnotation GetFlag:e_ptannot_read_only]; if (isReadOnly == true) // if (![annot IsValid]) //PDFCHNAGE := END.
. . Description 23. Description Comment unused code.
. . 4.5.11 PTFreeTextCreate.m:. Description 1. Description Set free text thickness to 0.0 and comment default code.
. . // });. NSString* uriDestination = [uriObj GetAsPDFText]; //uriDestination = [PTLink GetNormalizedUrl:uriDestination]; NSDictionary *urlDict = [[NSDictionary alloc] initWithObjectsAndKeys:uriDestination,@"drawingId", nil]; [[NSNotificationCenter defaultCenter] postNotificationName:@"drawingLinkClicked" object:nil userInfo:urlDict]; // dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.4 * NSEC_PER_SEC), dispatch_get_main_queue(), ^); //PDFCHNAGE := END.
. . if (self.currentAnnotation == nil) {. [[NSNotificationCenter defaultCenter] postNotificationName:@"PunchStoreExplicitly" object:@]; return; } number = num; NSLog(@"Uniq=======================Uniq"); NSString *punchlistIds = [NSString stringWithFormat:@"punch_id = %@, punch_id_mobile = %@, punch_status = %@, punch_number = %@, title = %@ ",[dict valueForKey:@"punch_lists_id"],[dict valueForKey:@"punch_lists_id_mobile"],[dict valueForKey:@"status"],[dict valueForKey:@"item_number"],title]; [self.currentAnnotation SetContents:punchlistIds]; // NoteEditController* noteEditController = [[NoteEditController alloc] initWithDelegate:self annotType:[self.currentAnnotation GetType]]; // [self noteEditController:noteEditController saveNewNoteForMovingAnnotationWithString:@"punch_lists_id"]; // [self annotationModified:self.currentAnnotation onPageNumber:self.annotationPageNumber]; // [self performSelector:@selector(updatePunch) withObject:nil afterDelay:0.5]; } //PDFCHNAGE := END.
. . [date SetCurrentTime]; [annotation SetDate:date]; } @catch (NSException *exception) @finally } // //PDFCHNAGE := END.
. . 5.2 Project List:. 1 The Project main screen is the project list it shows projects of logged users in a list..
. . 6.1 OverView Module:. 6.1.1 OverView Flow. 6.1.2Overview.
. . 6.1.3 Overview Files:. * Database Table:. Table Name Description.
. . Create Album Flow. Edit Album Flow. 6.2.2 Overview:.
. . * Database Files:. Swift File Name Description.
. . Image Detail. MVVM File Name Description UI Image.
. . CameraViewModel Define functionality to manage captured images data..
. . 6.3.2 Overview:. 1 The Drawings module shows a list of drawing albums in a table view..
. . * Database Files:. Swift File Name Description.
. . DrawingDetails. MVVM File Name Description UI Image.
. . 6.4.2 Overview:. 1 The Daily report module manages daily reports of a project.
. . 3.4.1 Users can watch all the created work impact records in a list.
. . Daily Report. MVVM File Name Description UI Image.
. . Crew. MVVM File Name Description UI Image. CrewViewModel Define functions that call the APIs and create links between database and UI to show crew records in the daily report module..
. . Work. MVVM File Name Description UI Image. AddWorkViewModel.
. . WorkImpactModel. Define functions that call the APIs and create links between database and UI to show work impact records in the daily report module..
. . Documents Documents Files Save in Document directory Files.
. . 6.5.2 Overview:. 1 Users can view the files and folders which is available on the web same as a file manager in the.
. . 6.6 Punch List Module: 6.6.1 Punch List Flow.
. . 6.6.2 Overview:. 1 Users can view the punch lists in a table view..
. . Punch List. MVVM File Name Description UI Image.
. . AddPunch. AddPunchListModel Define functions that create a punch list in the punch list and drawing modules and save data in the local and server Database..
. . PunchlistAttachmentPreview VC. Define functions to show images in full screen with delete and zoom functionality.
. . 6.7.2 Overview:. 1 Users can view all the sync or created forms in the list view tab..
. . 6.7.3 Forms Files:. * Database Table:. Table Name Description.
. . * MVVM Files:. FormList. MVVM File Name Description UIImage.
. . * Inventory. * Transfer Log. 6.8.2 Overview:.