You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sIncludeStatement = "-I"& Chr(34) & ConvertFromURL(Environ("HOME")) & Chr(34)
354
-
Else
355
-
'Operating System is Windows
344
+
If sOSType="Windows" Then
356
345
' Create Folder %APPDATA%\OOoLilyPond if it does not exist
357
346
If Not oFileAccess.isFolder( Environ("APPDATA") &"\"& constOLyWinConfigFolderName ) Then
358
347
If oFileAccess.exists( Environ("APPDATA") &"\"& constOLyWinConfigFolderName ) Then
@@ -376,7 +365,22 @@ Sub DefaultConfig()
376
365
While InStr (sIncludeStatement, "\") > 0 ' replace "\" by "/", even in Windows LilyPond expects paths to be written with forward slashes
@@ -647,7 +651,7 @@ Function PickExecutableFile (sExeFileName As String) As Boolean
647
651
oFileDlg.setDefaultName (sFile)
648
652
' oFileDlg.setDisplayDirectory (sDirectory) ' seems to crash LibO 5.3.1.2 (Win7 x64) unless LibO's own open/save dialogs are used, so better comment it out until the problem is found and fixed
Dim iLilyPondCodePos As Integer ' Error position in sLilyPondCode
@@ -257,7 +258,7 @@ Sub CallExtEditor()
257
258
Dim sCommand As String
258
259
Dim sParam As String
259
260
260
-
If sOSType = "Unix" Then
261
+
If (sOSType = "Unix") Or (sOSType = "Mac") Then
261
262
sCommand="cd "& Chr(34) & ConvertFromURL(sTmpPath) & Chr(34) &"; " _
262
263
& Chr(34) & sExtEditorExecutable & Chr(34) &""& constOLyFileName &"Temp.ly; if [ $? -ge 127 ]; then touch ExtEditor-cannot_execute; fi; if [ $? -ge 126 ]; then touch ExtEditor-cannot_execute; fi"' not found -> 127, denied ->126
263
264
' On Error GoTo ErrorHandler ' doesn't work here, so let's use the cannot_execute-File...
Copy file name to clipboardExpand all lines: extension/OOoLilyPond/GUI_Config.xdl
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -45,21 +45,21 @@
45
45
</dlg:checkbox>
46
46
<dlg:textfielddlg:id="sTemplatePath"dlg:tab-index="48"dlg:left="173"dlg:top="124"dlg:width="102"dlg:height="12"dlg:help-text="The path where OOoLiliyPond looks for templates."/>
47
47
<dlg:textfielddlg:id="sLilyPondExecutable"dlg:tab-index="49"dlg:left="173"dlg:top="176"dlg:width="102"dlg:height="12"dlg:help-text="The LilyPond executable with or without path."/>
48
-
<dlg:numericfielddlg:id="iGraphicDPI"dlg:tab-index="52"dlg:left="208"dlg:top="218"dlg:width="20"dlg:height="12"dlg:help-text="Resolution for pixel based (png-format) OOoLilyPond objects."dlg:decimal-accuracy="0"dlg:value="300"dlg:value-min="75"dlg:value-max="2400"dlg:value-step="0"/>
49
-
<dlg:comboboxdlg:id="sFormat"dlg:tab-index="51"dlg:left="174"dlg:top="218"dlg:width="25"dlg:height="12"dlg:help-text="The png format looks better on the screen. The eps and svg formats are optimized for printing."dlg:spin="true"/>
48
+
<dlg:numericfielddlg:id="iGraphicDPI"dlg:tab-index="52"dlg:left="228"dlg:top="218"dlg:width="30"dlg:height="12"dlg:help-text="Resolution for pixel based (png-format) OOoLilyPond objects."dlg:decimal-accuracy="0"dlg:value="300"dlg:value-min="75"dlg:value-max="2400"dlg:value-step="0"/>
49
+
<dlg:comboboxdlg:id="sFormat"dlg:tab-index="51"dlg:left="174"dlg:top="218"dlg:width="50"dlg:height="12"dlg:help-text="The png format looks better on the screen. The eps and svg formats are optimized for printing."dlg:spin="true"/>
50
50
<dlg:checkboxdlg:id="bIgnoreWarnings"dlg:tab-index="53"dlg:left="173"dlg:top="192"dlg:width="143"dlg:height="10"dlg:help-text="Don't list warnings along with LilyPond's error messages"dlg:value="Ignore Warnings"dlg:checked="false"/>
51
51
<dlg:textfielddlg:id="sExtEditorExecutable"dlg:tab-index="47"dlg:left="173"dlg:top="150"dlg:width="102"dlg:height="12"dlg:help-text="The external Editor's executable with or without path."/>
52
52
<dlg:textfielddlg:id="sIncludeStatement"dlg:tab-index="46"dlg:left="173"dlg:top="72"dlg:width="143"dlg:height="12"dlg:help-text="The path(s) where LilyPond looks for include files (multiple statements possible)"/>
53
53
<dlg:textfielddlg:id="sEditorFontName"dlg:tab-index="42"dlg:left="173"dlg:top="46"dlg:width="102"dlg:height="12"dlg:help-text="Specify the font name for the editor pane"/>
54
54
<dlg:textfielddlg:id="sEditorFontSize"dlg:tab-index="43"dlg:left="281"dlg:top="46"dlg:width="35"dlg:height="12"dlg:help-text="Specify the font size for the editor pane"/>
55
55
<dlg:radiogroup>
56
-
<dlg:radiodlg:id="WriterInsertViaClipboard"dlg:tab-index="16"dlg:left="9"dlg:top="133"dlg:width="145"dlg:height="12"dlg:help-text="Insert Images via Clipboard. Recommended for OpenOffice."dlg:value="Via Clipboard (OpenOffice)"/>
57
-
<dlg:radiodlg:id="WriterInsertDirect"dlg:tab-index="17"dlg:left="9"dlg:top="145"dlg:width="145"dlg:height="12"dlg:help-text="Insert Images without Clipboard use. Recommended for LibreOffice."dlg:value="Direct (LibreOffice)"/>
58
-
<dlg:radiodlg:id="ImpressInsertViaClipboard"dlg:tab-index="30"dlg:left="9"dlg:top="278"dlg:width="145"dlg:height="12"dlg:help-text="Insert Images via Clipboard. Recommended for OpenOffice."dlg:value="Via Clipboard (OpenOffice)"/>
59
-
<dlg:radiodlg:id="ImpressInsertDirect"dlg:tab-index="31"dlg:left="9"dlg:top="290"dlg:width="145"dlg:height="12"dlg:help-text="Insert Images without Clipboard use. Recommended for LibreOffice."dlg:value="Direct (LibreOffice)"/>
56
+
<dlg:radiodlg:id="WriterInsertViaClipboard"dlg:tab-index="16"dlg:left="10"dlg:top="133"dlg:width="145"dlg:height="12"dlg:help-text="Insert Images via Clipboard. Recommended for OpenOffice."dlg:value="Via Clipboard (OpenOffice)"/>
57
+
<dlg:radiodlg:id="WriterInsertDirect"dlg:tab-index="17"dlg:left="10"dlg:top="145"dlg:width="145"dlg:height="12"dlg:help-text="Insert Images without Clipboard use. Recommended for LibreOffice."dlg:value="Direct (LibreOffice)"/>
58
+
<dlg:radiodlg:id="ImpressInsertViaClipboard"dlg:tab-index="30"dlg:left="10"dlg:top="278"dlg:width="145"dlg:height="12"dlg:help-text="Insert Images via Clipboard. Recommended for OpenOffice."dlg:value="Via Clipboard (OpenOffice)"/>
59
+
<dlg:radiodlg:id="ImpressInsertDirect"dlg:tab-index="31"dlg:left="10"dlg:top="290"dlg:width="145"dlg:height="12"dlg:help-text="Insert Images without Clipboard use. Recommended for LibreOffice."dlg:value="Direct (LibreOffice)"/>
60
60
</dlg:radiogroup>
61
-
<dlg:checkboxdlg:id="bWriterKeepCrop"dlg:tab-index="18"dlg:left="9"dlg:top="166"dlg:width="147"dlg:height="9"dlg:help-text="When editing/replacing an existing object in Writer, preserve its current size and crop settings"dlg:value="Keep Size & Crop Settings"dlg:checked="false"/>
62
-
<dlg:checkboxdlg:id="bImpressKeepCrop"dlg:tab-index="32"dlg:left="9"dlg:top="311"dlg:width="147"dlg:height="9"dlg:help-text="When editing/replacing an existing object in Impress/Draw, preserve its current size and crop settings"dlg:value="Keep Size & Crop Settings"dlg:checked="false"/>
61
+
<dlg:checkboxdlg:id="bWriterKeepCrop"dlg:tab-index="18"dlg:left="10"dlg:top="166"dlg:width="147"dlg:height="9"dlg:help-text="When editing/replacing an existing object in Writer, preserve its current size and crop settings"dlg:value="Keep Size & Crop Settings"dlg:checked="false"/>
62
+
<dlg:checkboxdlg:id="bImpressKeepCrop"dlg:tab-index="32"dlg:left="10"dlg:top="311"dlg:width="147"dlg:height="9"dlg:help-text="When editing/replacing an existing object in Impress/Draw, preserve its current size and crop settings"dlg:value="Keep Size & Crop Settings"dlg:checked="false"/>
0 commit comments