Difference between revisions of "Documentation/DevGuide/Spreadsheets/Protecting Spreadsheets"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Changing Category:Documentation/Developers Guide/Spreadsheet Documents)
m (FINAL VERSION FOR L10N)
 
Line 5: Line 5:
 
|NextPage=Documentation/DevGuide/Spreadsheets/Sheet Outline
 
|NextPage=Documentation/DevGuide/Spreadsheets/Sheet Outline
 
}}
 
}}
{{DISPLAYTITLE:Protecting Spreadsheets}}
+
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Spreadsheets/{{SUBPAGENAME}}}}
 +
{{DISPLAYTITLE:Protecting Spreadsheets}}
 
<!--<idltopic>com.sun.star.document.XActionLockable;com.sun.star.util.XProtectable</idltopic>-->
 
<!--<idltopic>com.sun.star.document.XActionLockable;com.sun.star.util.XProtectable</idltopic>-->
 
The interface <idl>com.sun.star.document.XActionLockable</idl> protects this cell from painting or updating during changes. The interface can be used to optimize the performance of complex changes, for instance, inserting or deleting formatted text.
 
The interface <idl>com.sun.star.document.XActionLockable</idl> protects this cell from painting or updating during changes. The interface can be used to optimize the performance of complex changes, for instance, inserting or deleting formatted text.

Latest revision as of 10:31, 14 May 2009



The interface com.sun.star.document.XActionLockable protects this cell from painting or updating during changes. The interface can be used to optimize the performance of complex changes, for instance, inserting or deleting formatted text.

The interface com.sun.star.util.XProtectable contains methods to protect and unprotect the spreadsheet with a password. Protecting the spreadsheet protects the locked cells only.

  • The methods protect() and unprotect() to switch the protection on and off. If a wrong password is used to unprotect the spreadsheet, it leads to an exception.
  • The method isProtected() returns the protection state of the spreadsheet as a boolean value.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages