Skip to content

Commit

Permalink
Merge pull request #17 from mlipok/as-defined-in-_Constants.au3
Browse files Browse the repository at this point in the history
$LOW_FIELD_FILENAME_* as defined in LibreOfficeWriter_Constants.au3
  • Loading branch information
mlipok authored Sep 27, 2023
2 parents 0a5b428 + 2ca60e1 commit 5f119d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
10 changes: 3 additions & 7 deletions LibreOfficeWriter.au3
Original file line number Diff line number Diff line change
Expand Up @@ -15130,13 +15130,9 @@ EndFunc ;==>_LOWriter_FieldDocInfoTitleModify
; + File Name Field Object.
; Author ........: donnyh13
; Modified ......:
; Remarks .......: Until at least L.O. Version 7.3.4.2, there is a bug where the wrong Path Format type is displayed when the
; content is set to Fixed = True. For example, $LOW_FIELD_FILENAME_NAME_AND_EXT, displays in the format
; of $LOW_FIELD_FILENAME_NAME.
;File Name Constants: $LOW_FIELD_FILENAME_FULL_PATH(0), The content of the URL is completely displayed.
; $LOW_FIELD_FILENAME_PATH(1), Only the path of the file is displayed.
; $LOW_FIELD_FILENAME_NAME(2), Only the name of the file without the file extension is displayed.
; $LOW_FIELD_FILENAME_NAME_AND_EXT(3), The file name including the file extension is displayed.
; Remarks .......: Until at least L.O. Version 7.3.4.2, there is a bug where the wrong Path Format type is displayed when the content is set to Fixed = True.
; For example, $LOW_FIELD_FILENAME_NAME_AND_EXT, displays in the format of $LOW_FIELD_FILENAME_NAME.
; File Name Constants: $LOW_FIELD_FILENAME_* as defined in LibreOfficeWriter_Constants.au3
; Related .......: _LOWriter_FieldFileNameModify, _LOWriter_DocGetViewCursor, _LOWriter_DocCreateTextCursor,
; _LOWriter_CellCreateTextCursor, _LOWriter_FrameCreateTextCursor, _LOWriter_DocHeaderGetTextCursor,
; _LOWriter_DocFooterGetTextCursor, _LOWriter_EndnoteGetTextCursor, _LOWriter_FootnoteGetTextCursor
Expand Down
8 changes: 4 additions & 4 deletions LibreOfficeWriter_Constants.au3
Original file line number Diff line number Diff line change
Expand Up @@ -639,10 +639,10 @@ Global Const _ ; User Data Field Type
$LOW_FIELD_USER_DATA_STATE = 14

Global Const _ ; File Name Field Type
$LOW_FIELD_FILENAME_FULL_PATH = 0, _
$LOW_FIELD_FILENAME_PATH = 1, _
$LOW_FIELD_FILENAME_NAME = 2, _
$LOW_FIELD_FILENAME_NAME_AND_EXT = 3, _
$LOW_FIELD_FILENAME_FULL_PATH = 0, _ ; The content of the URL is completely displayed.
$LOW_FIELD_FILENAME_PATH = 1, _ ; Only the path of the file is displayed.
$LOW_FIELD_FILENAME_NAME = 2, _ ; Only the name of the file without the file extension is displayed.
$LOW_FIELD_FILENAME_NAME_AND_EXT = 3, _ ; The file name including the file extension is displayed.
$LOW_FIELD_FILENAME_CATEGORY = 4, _
$LOW_FIELD_FILENAME_TEMPLATE_NAME = 5

Expand Down

0 comments on commit 5f119d6

Please sign in to comment.