라이브러리 및 모듈 관리

Basic Libraries Containers

LibreOffice Basic libraries can be stored in 3 different containers:

To access macros stored in libraries of Application Macros or My Macros from another container, including the document container, use the GlobalScope specifier.

라이브러리 관리

새 라이브러리 만들기

  1. Choose Tools - Macros - Organize Macros - Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.

  2. 라이브러리 탭을 클릭합니다.

  3. Select to where you want to attach the library in the Location list. If you select Application Macros & Dialogs, the library will belong to the LibreOffice application and will be available for all documents. If you select a document the library will be attached to this document and only available from there.

  4. 새로 만들기를 클릭하고 이름을 입력하여 새 라이브러리를 만듭니다.

Import a Library

  1. Choose Tools - Macros - Organize Macros - Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.

  2. 라이브러리 탭을 클릭합니다.

  3. Select to where you want to import the library in the Location list. If you select Application Macros & Dialogs, the library will belong to the LibreOffice application and will be available for all documents. If you select a document the library will be imported to this document and only available from there.

  4. 추가를 클릭하고 추가할 외부 라이브러리를 선택합니다.

  5. 라이브러리 추가 대화 상자에서 추가할 모든 라이브러리를 선택합니다. 이 대화 상자는 선택한 파일에 포함된 모든 라이브러리를 표시합니다.

  6. 라이브러리를 참조로 삽입하려면 참조로 삽입(읽기 전용) 상자를 선택합니다. 읽기 전용 라이브러리는 완전하게 작동하지만 Basic IDE에서 수정할 수 없습니다.

  7. 동일한 이름의 기존 라이브러리를 덮어쓰려면 기존 라이브러리 바꾸기 상자를 선택합니다.

  8. 확인을 눌러 라이브러리를 추가합니다.

Export a Library

  1. Choose Tools - Macros - Organize Macros - Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.

  2. 라이브러리 탭을 클릭합니다.

  3. In the Location list you specify where your library is stored. Select the library that you want to export. Note that you cannot export the Standard library.

  4. Click Export...

  5. Choose whether you want to export the library as an extension or as a BASIC library.

  6. 제거를 클릭합니다.

  7. Select where you want your library exported.

  8. 확인을 눌러 라이브러리를 추가합니다.

라이브러리 삭제

  1. Choose Tools - Macros - Organize Macros - Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.

  2. 라이브러리 탭을 클릭합니다.

  3. 삭제할 라이브러리를 목록에서 선택합니다.

  4. 삭제를 클릭합니다.

모듈 및 대화 상자 관리

새 모듈 또는 대화 상자 만들기

  1. Choose Tools - Macros - Organize Macros - Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.

  2. 모듈 탭 또는 대화 상자 탭을 클릭합니다.

  3. 모듈을 삽입할 라이브러리를 선택하고 새로 만들기를 클릭합니다.

  4. 모듈 또는 대화 상자의 이름을 입력하고 확인을 클릭합니다.

모듈 또는 대화 상자 이름 바꾸기

  1. Choose Tools - Macros - Organize Macros - Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.

  2. 이름을 변경할 모듈을 한 번 클릭하고 일시 중지 후 다시 클릭합니다. 새 이름을 입력합니다.

    Basic IDE에서 화면 아래의 탭에 있는 모듈 또는 대화 상자의 이름을 마우스 오른쪽 버튼으로 클릭한 다음 이름 바꾸기를 선택하고 새 이름을 입력합니다.

  3. Enter 키를 눌러 변경 사항을 확인합니다.

모듈 또는 대화 상자 삭제

  1. Choose Tools - Macros - Organize Macros - Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.

  2. 모듈 탭 또는 대화 상자 탭을 클릭합니다.

  3. 삭제할 모듈 또는 대화 상자를 목록에서 선택합니다. 필요할 경우 항목을 더블 클릭하여 하위 항목을 표시합니다.

  4. 삭제를 클릭합니다.

warning

모듈을 영구적으로 삭제하면 해당 모듈의 기존 프로시저와 함수가 모두 삭제됩니다.


문서 또는 서식 파일 간에 프로젝트 관리

문서, 서식 파일 및 응용 프로그램 간에 모듈 이동 또는 복사

  1. 모듈이나 대화 상자를 이동 또는 복사할 모든 문서나 서식 파일을 엽니다.

  2. Choose Tools - Macros - Organize Macros - Basic and click Organizer or click the Select Module icon in the Basic IDE to open the Macro Organizer dialog.

  3. 모듈이나 대화 상자를 다른 문서로 이동하려면 목록에서 해당 개체를 클릭하여 원하는 위치로 끌어 놓습니다. 가로선은 개체를 끄는 동안 현재 개체의 대상 위치를 나타냅니다. 개체를 이동하지 않고 복사하려면 키를 누른 상태에서 끌어 놓습니다.

Please support us!