Openoffice configuration file location




















Note that in parallel with this user profile, AOO also takes into account the configuration set for all users, that is the subfolders located in the main installation directory:. A corruption of your profile can sometimes occur an OS crash when using Apache OpenOffice for example. If you notice some strange behavior of Apache OpenOffice or if it just crashes or does not start, the first thing to try is to reset the user profile.

Jump to: navigation , search. A system path is not accepted by ImageURL. Extension developers will be confronted with the problem that the graphic to be displayed by the image is located within the extension file.

For previous versions of Apache OpenOffice a manual workaround can be used, see description hereunder. The path to the images of the extension should be set in a configuration file of the component For example:. As a statement, CompatibilityMode value takes a Boolean value to set or clear the mode. As a function, CompatibilityMode returns the Boolean value of the mode. The Dir function in Apache OpenOffice Basic is responsible for searching through directories for files and sub-directories.

When first requested, a string containing the path of the directories to be searched must be assigned to Dir as its first parameter. The second parameter of Dir specifies whether files or directories are to be searched for.

Apache OpenOffice Basic returns the name of the first directory entry found. To retrieve the next entry, the Dir function should be requested without parameters. If the Dir function finds no more entries, it returns an empty string. The following example shows how the Dir function can be used to request all files located in one directory.

The procedure saves the individual file names in the AllFiles variable and then displays this in a message box. The 0 zero used as the second parameter in the Dir function ensures that Dir only returns the names of files; directories are ignored. The following parameters can be specified here:. The following example is virtually the same as the preceding example, but the Dir function transfers the value 16 as a parameter, which returns the sub-directories of a folder rather than the file names.

This function creates directories and sub-directories. All directories needed within a hierarchy are also created, if required. If the directory contains sub-directories or files, these are also deleted. You should therefore be careful when using RmDir. Note: The path settings service always provides property values as file URLs. Properties which are marked as multi path see table above use a semicolon ; as a separator for the different paths. The service also expects that a new value for a path property is provided as a file URL or has a preceding path variable, otherwise a com.

IllegalArgumentException is thrown. Important: Keep in mind that the paths managed by the path settings service are vital for almost all of the functions in Apache OpenOffice.

Entering a wrong path can result in minor malfunctions or break the complete Apache OpenOffice installation. Although the path settings service performs a validity check on the provided URL, this cannot prevent all problems.

XUnoUrlResolver ; import com. UnoRuntime ; import com. XComponentContext ; import com. XMultiComponentFactory ; import com. XPropertySet ; import com.



0コメント

  • 1000 / 1000