MAProceduralReportDataViewControllerBase

Description

The MAProceduralReportDataViewControllerBase class is used to work with a regular report sheet viewer view.

Inheritance Hierarchy

          NSObject

          UIResponder

          UIViewController

          MADataViewController

          MAProceduralReportDataViewControllerBase

Supported Protocols

<BaseSettingsDelegate>

<MADataViewControllerProtocol>

<NSCoding>

<NSObject>

<PageSelectorDelegate>

<ProceduralDelegate>

<UIAppearanceContainer>

<UIBarPositioningDelegate>

<UIPopoverControllerDelegate>

<UIScrollViewDelegate>

<UISearchBarDelegate>

<UIWebViewDelegate>

Comments

The class is a base one for the following classes:

The button for adding and removing a regular report page bookmark looks as follows:

Properties

bookmarkButtonItem. The button for adding and removing a regular report page bookmark.

delegate. Data view controller delegate.

inSearching. Indicates whether viewer is in the search mode.

isSearchAvaliable. Indicates whether text search is available.

mode. Viewer mode.

pageSelector. Page selection view.

pdfView. Document display.

reportController. Parent report controller.

searchDelegate. Search delegate.

Properties inherited from <MADataViewControllerProtocol>

barButtonItems. Determines array of buttons for executing operations on the view controller.

dataViewTitle. Determines view title.

delegate. Determines the object executing delegated operations on the view controller.

hasAppeared. Determines whether controller displayed data.

hasControls. Determines whether there are view controls.

hasSettingsController. Determines whether there is a view settings controller.

isAvailable. Determines whether view controller is available for interaction.

isDataViewTitleVisible. Determines view title visibility.

isDoingCalculations. Determines whether controller executes calculations.

settingsController. Determines view settings controller.

tag. It is a controller property used to store additional custom data.

title. Determines view controller title.

view. Controller view.

Methods

hidePageLabel. Hides a page number tooltip.

initWithDataSource:. Creates an instance of the MAProceduralReportDataViewControllerBase class.

prepareScreenshotOfTheFirstPage. Returns PNG data of the regular report first page for a screenshot.

searchText:. Starts string search.

stopSearching. Stops search.

toggleBookmark. Adds or removes a bookmark.

updateViewWithFrame:. Refreshes regular report position on a mobile device screen.

workspacePNGData. Returns PNG data for the current workspace display on a mobile device screen for a screenshot.

Methods inherited from <BaseSettingsDelegate>

historyUpdatedFromController. Refreshes controller view.

performSettingsAction:. Executes operation by key.

performSettingsAction:withParameter:. Executes operation by key with specified parameter.

setSettingsBoolValue:forKey:. Sets logical value for view parameter by key.

setSettingsDoubleValue:forKey:. Sets real value for view parameter by key.

setSettingsIntValue:forKey:. Sets integer value for view parameter by key.

setSettingsValue:forKey:. Sets value for view parameter by key.

settingsBoolValueForKey:. Returns logical value of view parameter by key.

settingsControlEnabledForKey:. Returns whether value of view parameter by key can be edited.

settingsControlVisibleForKey:. Returns whether edited value of view parameter by key is displayed.

settingsDoubleValueForKey:. Returns real value of view parameter by key.

settingsIconForKey:. Returns icon by key.

settingsIntValueForKey:. Returns integer value of view parameter by key.

settingsMaxValueForKey:. Returns maximum value of view parameter by key.

settingsMinValueForKey:. Returns minimum value of view parameter by key.

settingsTextForKey:withValue:. Returns text for view parameter value by key.

settingsValueForKey:. Returns view parameter value by key.

settingsValuesDictForKey:. Returns dictionary of possible pairs "text-value" for view parameter by key.

settingsValuesEnumForKey:. Returns value options of view parameter by key.

Methods inherited from <MADataViewControllerProtocol>

canGeneratePDFContent. Returns whether view contents can be generated as a PDF file.

captureScreenshotToContext:. Displays screenshot in specified drawing context.

generatePDFWithCompletionBlock:. Generates view contents as a PDF file.

loadState. Loads view state.

reloadData. Reloads source data.

saveState. Saves view state.

screenshot. Returns controller contents screenshot.

settingsControllerClosed:. Closes settings bar.

startInteraction. Locks user interaction with controller.

stopInteraction. Unlocks user interaction with controller.

updateDataWithGridSelection. Refreshes data after setting of selection.

Methods inherited from <PageSelectorDelegate>

changePage:. Displays specified sheet page in regular report.

thumbnailByIndex:. Returns regular report sheet page thumbnail by specified index.

Methods inherited from <ProceduralDelegate>

addBookmark. Adds a bookmark for the current regular report document page.

addNote:withText:timestamp:. Adds a note to the current regular report document.

bookmarkAtIndex:. Returns the specified bookmark from the current regular report document.

bookmarksCount. Returns the number of bookmarks in the current regular report document.

cancelNote. Cancels changing of note in the current regular report document.

currentDocumentIndex. Returns index of the current regular report document.

currentPage. Returns index of the current regular report document page.

documentNameAtIndex:. Returns name of the specified regular report document.

documentsCount. Returns the number of regular report documents.

editNoteAtIndex:point:text:timestamp:. Changes specified selection in the current regular report document.

jumpToPage:. Scrolls the current regular report document to the specified page.

noteByIndex:. Returns note by its index in the array of notes of the current regular report document.

notesCount. Returns the number of notes in the current regular report document.

openBookmark:. Opens the specified bookmark in the current regular report document.

openDocumentAtIndex:. Opens the specified regular report document.

openNoteAtIndex:. Opens specified bookmark of the current regular report document for edit.

pagesCount. Returns the number of pages in the current regular report document.

removeBookmarkWithIndex:. Removes the specified bookmark from the current regular report document.

removeNoteWithIndex:. Removes the specified note from the current regular report document.

searchFinished. Called on ending of search in the current regular report document.

searchResultsCount. Returns the number of search results in the current regular report document.

urlForCurrentDocument. Returns URL of the current regular report document.

See also:

Classes. The Mobile Application Component