LibreOffice Module wizards (master) 1
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | List of all members
access2base._BasicObject Class Reference
Inheritance diagram for access2base._BasicObject:
[legend]
Collaboration diagram for access2base._BasicObject:
[legend]

Public Member Functions

def __init__ (self, reference=-1, objtype=None, name='')
 
def __getattr__ (self, name)
 
def __setattr__ (self, name, value)
 
def __repr__ (self)
 
def Name (self)
 
def ObjectType (self)
 
def Dispose (self)
 
def getProperty (self, propertyname, index=acConstants.Missing)
 
def hasProperty (self, propertyname)
 
def Properties (self, index=acConstants.Missing)
 
def setProperty (self, propertyname, value, index=acConstants.Missing)
 

Public Attributes

 objectreference
 
 objecttype
 
 name
 
 internal
 
 localProperties
 
 BOF
 
 EOF
 

Static Public Attributes

 W = _A2B.invokeWrapper
 
tuple internal_attributes = ('objectreference', 'objecttype', 'name', 'internal')
 
def GetProperty = getProperty
 
def HasProperty = hasProperty
 
def SetProperty = setProperty
 

Private Member Functions

def _Reset (self, propertyname, basicreturn=None)
 

Detailed Description

Parent class of Basic objects
Each subclass is identified by its classProperties:
     dictionary with keys = allowed properties, value = True if editable or False
Each instance is identified by its
    - reference in the cache managed by Basic
    - type ('DATABASE', 'COLLECTION', ...)
    - name (form, control, ... name) - may be blank
Properties are got and set following next strategy:
    1. Property names are controlled strictly ('Value' and not 'value')
    2. Getting a property value for the first time is always done via a Basic call
    3. Next occurrences are fetched from the Python dictionary of the instance if the property is read-only, otherwise via a Basic call
    4. Methods output might force the deletion of a property from the dictionary ('MoveNext' changes 'BOF' and 'EOF' properties)
    5. Setting a property value is done via a Basic call, except if self.internal == True

Definition at line 970 of file access2base.py.

Constructor & Destructor Documentation

◆ __init__()

def access2base._BasicObject.__init__ (   self,
  reference = -1,
  objtype = None,
  name = '' 
)

Reimplemented in access2base._Collection, and access2base._Module.

Definition at line 989 of file access2base.py.

Member Function Documentation

◆ __getattr__()

def access2base._BasicObject.__getattr__ (   self,
  name 
)

◆ __repr__()

def access2base._BasicObject.__repr__ (   self)

Definition at line 1022 of file access2base.py.

References codemaker::ExceptionTreeNode.name, comphelper::EventNotifierImpl.name, configmgr::XcsParser::Element.name, configmgr::XcuParser::State.name, pq_sdbc_driver::ColDesc.name, cppu::ContextEntry_Init.name, cppuhelper::ServiceManager::Data::Implementation.name, UpdateDialog::DisabledUpdate.name, UpdateDialog::SpecificError.name, desktop::supported_migration.name, MemberInfo.name, TB.name, TBCMenuSpecific.name, EmPicture.name, Attr.name, CertificateCheckInfo.name, MarItem_.name, hwpfilter::StyleData.name, oox::ppt::Attribute.name, oox::ppt::CommentAuthor.name, ScRawToken.name, pythonscript::DirBrowseNode.name, pythonscript::FileBrowseNode.name, pythonscript::PackageBrowseNode.name, sd::ZeroconfService.name, tools::XmlWalker.name(), http_dav_ucp::ProppatchValue.name, http_dav_ucp::SerfPropName.name, unoidl::AnnotatedReference.name, unoidl::InterfaceTypeEntity::Attribute.name, unoidl::detail::SourceProviderSingleInterfaceBasedServiceEntityPad::Constructor.name, unoidl::SingleInterfaceBasedServiceEntity::Constructor.name, unoidl::detail::SourceProviderInterfaceTypeEntityPad::DirectBase.name, unoidl::detail::MapEntry.name, unoidl::ConstantGroupEntity::Member.name, unoidl::EnumTypeEntity::Member.name, unoidl::ExceptionTypeEntity::Member.name, unoidl::PlainStructTypeEntity::Member.name, unoidl::PolymorphicStructTypeTemplateEntity::Member.name, unoidl::InterfaceTypeEntity::Method.name, unoidl::detail::SourceProviderSingleInterfaceBasedServiceEntityPad::Constructor::Parameter.name, unoidl::InterfaceTypeEntity::Method::Parameter.name, unoidl::SingleInterfaceBasedServiceEntity::Constructor::Parameter.name, unoidl::AccumulationBasedServiceEntity::Property.name, unoidl::detail::SourceProviderType.name, psp::CPDPrinter.name, OpenGLZone.name(), vcl::PngChunk.name, SkiaZone.name(), XPMRGBTab.name, writerperfect::DocumentHandlerFor< OdgGenerator >.name(), writerperfect::DocumentHandlerFor< OdpGenerator >.name(), writerperfect::DocumentHandlerFor< OdsGenerator >.name(), writerperfect::DocumentHandlerFor< OdtGenerator >.name(), IAccessibleAction.name, org::openoffice::xmerge::ConvertData.name, org::openoffice::xmerge::converter::xml::sxc::NameDefinition.name, org::openoffice::xmerge::converter::xml::Style.name, chelp::URLParameter.name(), xmlreader::XmlReader::ElementData.name, access2base._BasicObject.name, scriptforge.SFServices.name, access2base._BasicObject.objectreference, scriptforge.SFServices.objectreference, access2base._BasicObject.objecttype, and scriptforge.SFServices.objecttype.

◆ __setattr__()

def access2base._BasicObject.__setattr__ (   self,
  name,
  value 
)

◆ _Reset()

def access2base._BasicObject._Reset (   self,
  propertyname,
  basicreturn = None 
)
private

◆ Dispose()

def access2base._BasicObject.Dispose (   self)

◆ getProperty()

def access2base._BasicObject.getProperty (   self,
  propertyname,
  index = acConstants.Missing 
)

◆ hasProperty()

def access2base._BasicObject.hasProperty (   self,
  propertyname 
)

◆ Name()

def access2base._BasicObject.Name (   self)

Definition at line 1045 of file access2base.py.

◆ ObjectType()

def access2base._BasicObject.ObjectType (   self)

Definition at line 1047 of file access2base.py.

◆ Properties()

def access2base._BasicObject.Properties (   self,
  index = acConstants.Missing 
)

◆ setProperty()

def access2base._BasicObject.setProperty (   self,
  propertyname,
  value,
  index = acConstants.Missing 
)

Member Data Documentation

◆ BOF

access2base._BasicObject.BOF

Definition at line 1034 of file access2base.py.

◆ EOF

access2base._BasicObject.EOF

Definition at line 1035 of file access2base.py.

◆ GetProperty

def access2base._BasicObject.GetProperty = getProperty
static

Definition at line 1053 of file access2base.py.

Referenced by scriptforge.SFScriptForge.SF_TextStream.AtEndOfStream(), scriptforge.SFScriptForge.SF_Region.Country(), scriptforge.SFScriptForge.SF_Region.Currency(), scriptforge.SFScriptForge.SF_Region.DatePatterns(), scriptforge.SFScriptForge.SF_Region.DateSeparator(), scriptforge.SFScriptForge.SF_Region.DayAbbrevNames(), scriptforge.SFScriptForge.SF_Region.DayNames(), scriptforge.SFScriptForge.SF_Region.DayNarrowNames(), scriptforge.SFScriptForge.SF_Region.DecimalPoint(), scriptforge.SFDocuments.SF_Calc.FirstCell(), scriptforge.SFDocuments.SF_Calc.FirstColumn(), scriptforge.SFDocuments.SF_Calc.FirstRow(), scriptforge.SFDocuments.SF_Calc.Height(), scriptforge.SFScriptForge.SF_Region.Language(), scriptforge.SFDocuments.SF_Calc.LastCell(), scriptforge.SFDocuments.SF_Calc.LastColumn(), scriptforge.SFDocuments.SF_Calc.LastRow(), scriptforge.SFScriptForge.SF_TextStream.Line(), scriptforge.SFScriptForge.SF_Region.ListSeparator(), scriptforge.SFScriptForge.SF_Region.MonthAbbrevNames(), scriptforge.SFScriptForge.SF_Region.MonthNames(), scriptforge.SFScriptForge.SF_Region.MonthNarrowNames(), scriptforge.SFDocuments.SF_Calc.Range(), scriptforge.SFDocuments.SF_Calc.Region(), scriptforge.SFDocuments.SF_Calc.Sheet(), scriptforge.SFDocuments.SF_Calc.SheetName(), scriptforge.SFScriptForge.SF_Region.ThousandSeparator(), scriptforge.SFScriptForge.SF_Region.TimeSeparator(), scriptforge.SFScriptForge.SF_Platform.UserData(), and scriptforge.SFDocuments.SF_Calc.Width().

◆ HasProperty

def access2base._BasicObject.HasProperty = hasProperty
static

Definition at line 1056 of file access2base.py.

◆ internal

access2base._BasicObject.internal

◆ internal_attributes

tuple access2base._BasicObject.internal_attributes = ('objectreference', 'objecttype', 'name', 'internal')
static

◆ localProperties

access2base._BasicObject.localProperties

◆ name

access2base._BasicObject.name

Definition at line 992 of file access2base.py.

Referenced by access2base._BasicObject.__repr__().

◆ objectreference

access2base._BasicObject.objectreference

Definition at line 990 of file access2base.py.

Referenced by access2base._BasicObject.__getattr__(), access2base._BasicObject.__repr__(), scriptforge.SFServices.__repr__(), access2base._BasicObject.__setattr__(), access2base._Collection.Add(), access2base._Control.AddItem(), access2base._Recordset.AddNew(), access2base._Field.AppendChunk(), access2base._Control.BoundField(), access2base._Recordset.CancelUpdate(), access2base._Recordset.Clone(), access2base._Database.Close(), access2base._Form.Close(), access2base._Recordset.Close(), access2base._Database.CloseAllRecordsets(), access2base._Field.Column(), access2base._CommandBar.CommandBarControls(), access2base._Form.Component(), access2base._Database.Connection(), access2base._Form.ContainerWindow(), access2base._Control.ControlModel(), access2base._Control.Controls(), access2base._Form.Controls(), access2base._OptionGroup.Controls(), access2base._Control.ControlView(), access2base._TableDef.CreateField(), access2base._Database.CreateQueryDef(), access2base._Database.CreateTableDef(), scriptforge.SFDialogs.SF_DialogControl.CurrentNode(), access2base._Form.DatabaseForm(), access2base._Database.DAvg(), access2base._Database.DCount(), access2base._Recordset.Delete(), access2base._Collection.Delete(), access2base._BasicObject.Dispose(), scriptforge.SFServices.Dispose(), access2base._Database.DLookup(), access2base._Database.DMax(), access2base._Database.DMin(), access2base._Database.Document(), access2base._Database.DStDev(), access2base._Database.DStDevP(), access2base._Database.DVar(), access2base._Database.DVarP(), access2base._Recordset.Edit(), access2base._Dialog.EndExecute(), scriptforge.SFServices.ExecMethod(), access2base._CommandBarControl.Execute(), access2base._Dialog.Execute(), access2base._QueryDef.Execute(), access2base._QueryDef.Fields(), access2base._Recordset.Fields(), access2base._TableDef.Fields(), access2base._Module.Find(), access2base._Field.GetChunk(), scriptforge.SFServices.GetProperty(), access2base._BasicObject.getProperty(), access2base._Recordset.GetRows(), access2base._Control.hasProperty(), access2base._Collection.Item(), access2base._Control.LabelControl(), access2base._Module.Lines(), access2base._Database.MetaData(), access2base._Dialog.Move(), access2base._Form.Move(), access2base._Recordset.Move(), access2base._Recordset.MoveFirst(), access2base._Recordset.MoveLast(), access2base._Recordset.MoveNext(), access2base._Recordset.MovePrevious(), access2base._Database.OpenRecordset(), access2base._QueryDef.OpenRecordset(), access2base._Recordset.OpenRecordset(), access2base._TableDef.OpenRecordset(), access2base._Database.OpenSQL(), access2base._Dialog.OptionGroup(), access2base._Form.OptionGroup(), access2base._Database.OutputTo(), access2base._Module.ProcBodyLine(), access2base._Module.ProcCountLines(), access2base._Module.ProcOfLine(), access2base._Module.ProcStartLine(), access2base._BasicObject.Properties(), access2base._QueryDef.Query(), access2base._Database.QueryDefs(), access2base._Field.ReadAllBytes(), access2base._Field.ReadAllText(), access2base._Database.Recordsets(), access2base._Form.Refresh(), access2base._Collection.Remove(), access2base._Collection.RemoveAll(), access2base._Control.RemoveItem(), access2base._Control.Requery(), access2base._Form.Requery(), access2base._CommandBar.Reset(), scriptforge.SFDialogs.SF_DialogControl.RootNode(), access2base._Recordset.RowSet(), access2base._Database.RunSQL(), access2base._Control.SetFocus(), access2base._Form.SetFocus(), scriptforge.SFServices.SetProperty(), access2base._BasicObject.setProperty(), access2base._Control.SetSelected(), access2base._Dialog.Start(), access2base._TableDef.Table(), access2base._Database.TableDefs(), access2base._Dialog.Terminate(), access2base._Dialog.UnoDialog(), access2base._Recordset.Update(), access2base._Field.WriteAllBytes(), and access2base._Field.WriteAllText().

◆ objecttype

access2base._BasicObject.objecttype

◆ SetProperty

def access2base._BasicObject.SetProperty = setProperty
static

Definition at line 1064 of file access2base.py.

Referenced by scriptforge.SFServices.__setattr__().

◆ W

access2base._BasicObject.W = _A2B.invokeWrapper
static

Definition at line 986 of file access2base.py.

Referenced by access2base._BasicObject.__getattr__(), access2base._BasicObject.__setattr__(), access2base._Collection.Add(), access2base._Control.AddItem(), access2base._Recordset.AddNew(), access2base.Application.AllDialogs(), access2base.Application.AllForms(), access2base.Application.AllModules(), access2base._Field.AppendChunk(), access2base.DoCmd.ApplyFilter(), access2base._Control.BoundField(), access2base._Recordset.CancelUpdate(), access2base._Recordset.Clone(), access2base.DoCmd.Close(), access2base._Database.Close(), access2base._Form.Close(), access2base._Recordset.Close(), access2base._Database.CloseAllRecordsets(), access2base.Application.CloseConnection(), access2base._Field.Column(), access2base._CommandBar.CommandBarControls(), access2base.Application.CommandBars(), access2base._Form.Component(), access2base._Database.Connection(), access2base._Form.ContainerWindow(), access2base._Control.ControlModel(), access2base._Control.Controls(), access2base._Form.Controls(), access2base._OptionGroup.Controls(), access2base._Control.ControlView(), access2base.DoCmd.CopyObject(), access2base._TableDef.CreateField(), access2base._Database.CreateQueryDef(), access2base._Database.CreateTableDef(), access2base.Application.CurrentDb(), access2base.Application.CurrentUser(), access2base._Form.DatabaseForm(), access2base.Application.DAvg(), access2base._Database.DAvg(), access2base.Application.DCount(), access2base._Database.DCount(), access2base._Recordset.Delete(), access2base._Collection.Delete(), access2base._BasicObject.Dispose(), access2base.Application.DLookup(), access2base._Database.DLookup(), access2base.Application.DMax(), access2base._Database.DMax(), access2base.Application.DMin(), access2base._Database.DMin(), access2base._Database.Document(), access2base.Application.DStDev(), access2base._Database.DStDev(), access2base.Application.DStDevP(), access2base._Database.DStDevP(), access2base.Application.DSum(), access2base.Application.DVar(), access2base._Database.DVar(), access2base.Application.DVarP(), access2base._Database.DVarP(), access2base._Recordset.Edit(), access2base._Dialog.EndExecute(), access2base.Application.Events(), access2base._CommandBarControl.Execute(), access2base._Dialog.Execute(), access2base._QueryDef.Execute(), access2base._QueryDef.Fields(), access2base._Recordset.Fields(), access2base._TableDef.Fields(), access2base._Module.Find(), access2base.DoCmd.FindNext(), access2base.DoCmd.FindRecord(), access2base.Application.Forms(), access2base._Field.GetChunk(), access2base.DoCmd.GetHiddenAttribute(), access2base.Application.getObject(), access2base._BasicObject.getProperty(), access2base._Recordset.GetRows(), access2base.Application.getValue(), access2base.DoCmd.GoToControl(), access2base.DoCmd.GoToRecord(), access2base._Control.hasProperty(), access2base.Application.HtmlEncode(), access2base._Collection.Item(), access2base._Control.LabelControl(), access2base._Module.Lines(), access2base.DoCmd.Maximize(), access2base._Database.MetaData(), access2base.DoCmd.Minimize(), access2base._Dialog.Move(), access2base._Form.Move(), access2base._Recordset.Move(), access2base._Recordset.MoveFirst(), access2base._Recordset.MoveLast(), access2base._Recordset.MoveNext(), access2base._Recordset.MovePrevious(), access2base.DoCmd.MoveSize(), access2base.Application.OpenDatabase(), access2base.DoCmd.OpenForm(), access2base.DoCmd.OpenQuery(), access2base._Database.OpenRecordset(), access2base._QueryDef.OpenRecordset(), access2base._Recordset.OpenRecordset(), access2base._TableDef.OpenRecordset(), access2base.DoCmd.OpenReport(), access2base.DoCmd.OpenSQL(), access2base._Database.OpenSQL(), access2base.DoCmd.OpenTable(), access2base._Dialog.OptionGroup(), access2base._Form.OptionGroup(), access2base.DoCmd.OutputTo(), access2base._Database.OutputTo(), access2base._Module.ProcBodyLine(), access2base._Module.ProcCountLines(), access2base._Module.ProcOfLine(), access2base._Module.ProcStartLine(), access2base.Application.ProductCode(), access2base._BasicObject.Properties(), access2base._QueryDef.Query(), access2base._Database.QueryDefs(), access2base.DoCmd.Quit(), access2base._Field.ReadAllBytes(), access2base._Field.ReadAllText(), access2base._Database.Recordsets(), access2base._Form.Refresh(), access2base._Collection.Remove(), access2base._Collection.RemoveAll(), access2base._Control.RemoveItem(), access2base._Control.Requery(), access2base._Form.Requery(), access2base._CommandBar.Reset(), access2base._Recordset.RowSet(), access2base.DoCmd.RunApp(), access2base.DoCmd.RunCommand(), access2base.DoCmd.RunSQL(), access2base._Database.RunSQL(), access2base.DoCmd.SelectObject(), access2base.DoCmd.SendObject(), access2base._Control.SetFocus(), access2base._Form.SetFocus(), access2base.DoCmd.SetHiddenAttribute(), access2base.DoCmd.SetOrderBy(), access2base._BasicObject.setProperty(), access2base._Control.SetSelected(), access2base.Application.setValue(), access2base.DoCmd.ShowAllRecords(), access2base._Dialog.Start(), access2base.Application.SysCmd(), access2base._TableDef.Table(), access2base._Database.TableDefs(), access2base.Application.TempVars(), access2base._Dialog.Terminate(), access2base._Dialog.UnoDialog(), access2base._Recordset.Update(), access2base.Application.Version(), access2base._Field.WriteAllBytes(), and access2base._Field.WriteAllText().


The documentation for this class was generated from the following file: