FileContext Class

File managing context.

Definition

Namespace: SMath.Controls
Assembly: SMath.Controls (in SMath.Controls.dll) Version: 1.2.9018.0
C#
public class FileContext : ActionContext
Inheritance
Object    DocumentParams    ActionContext    FileContext

Constructors

FileContext(FileContext, String) File context Class constructor.
FileContext(SessionProfile, String) File context Class constructor.

Properties

AbsoluteDefinitions Gets or sets a list of Absolute Definitions (definitions available to read/write anywhere in the Worksheet) for the Worksheet.
Action Text value of the current context usage.
(Inherited from ActionContext)
Async Determines if operations with files should be asynchronous or not.
Cancel Determines if operation requests for canceling.
(Inherited from ActionContext)
Dependencies All plug-in dependences for the current expression evaluation.
(Inherited from ActionContext)
Extension File extension (in lower case).
FileName Current Document full file name.
(Inherited from DocumentParams)
FractionsTypeNumeric Numeric fractions type required for current context.
(Inherited from ActionContext)
GeneratorVersion Version of the application.
(Inherited from ActionContext)
Id Id of the Document.
(Inherited from DocumentParams)
IgnoreImages When the value is embedded images are not handled.
LockedSource Determines if peration should not affect on the source Worksheet.
MetaData Worksheet meta-data.
Mode Presentation mode of the document.
PageModel Print out worksheet parameters.
PagesOptions Worksheets' options.
ReadOnlySource Determines if source file is read-only, so the user should not be able to save changes back to it.
RegionsBounds Overall bounds for the Regions in process.
RequestType Type of the files related operation.
Revision Revision number of the Document.
(Inherited from DocumentParams)
SaveFileName Full path to the file saving should be performed to (can be temporary one).
SaveInTempFile Determines if file should be saved in temporary file first.
SessionProfile Session parameters.
(Inherited from ActionContext)
Shortcut Shortcut for the snippet file for convenient way to insert it to the Worksheet.
SuppressUI Determines whether any interactions with user is not supported.
(Inherited from ActionContext)
WorksheetSize Current worksheet canvas Size.

Methods

AddDependency(AssemblyInfo) Add dependence from specific plug-in.
(Inherited from ActionContext)
AddDependency(IEnumerableAssemblyInfo) Add dependences from specific plug-ins.
(Inherited from ActionContext)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GenerateMetaContext 
GenerateMetaContext(SessionProfile, DocumentParams, DictionaryString, WorksheetInfo) 
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RaiseError Raise an error message.
(Inherited from ActionContext)
RequestPlugins Raise a message about plg-in is requested.
(Inherited from ActionContext)
ToStringReturns a string that represents the current object.
(Inherited from Object)
UpdateFileName Updates a file name in current File managing context. .
UpdateStatus 

Events

ErrorOccured Raises if error occurred while operation in progress.
(Inherited from ActionContext)
OnActionCompleted Raises on input/output operation completed.
PluginsRequested Raises if plug-ins requested.
(Inherited from ActionContext)

Fields

backFileObsolete.
homeFileObsolete.
worksheetStatusObsolete.

See Also