컴퓨터/엑셀

리본 customUI

풍경소리^^ 2023. 10. 13. 14:23

powerpoint 리본

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
	<!--RibbonX14-->
	<ribbon startFromScratch="false">
		<tabs>
			<tab id="customTab" label="업잔">
				<group id="customGroupfile" label="문서 자동화">
					<box id="jmbox01" boxStyle="vertical">
						<button id="jmking01" label="자동페이지 번호" imageMso="P" onAction="advAuto_Page" screentip="페이지번호" supertip="자동페이지 번호를 추가합니다."/>
						<button id="jmking02" label="제목위치 통일" imageMso="HeaderFooterInsert" onAction="Auto_TitlePos" screentip="제목위치통일" supertip="제목위치 통일입니다.."/>
						<button id="jmking03" label="폰트통일" imageMso="F" onAction="Auto_Font" screentip="폰트통일" supertip="폰트통일입니다."/>
					</box>
					<box id="jmbox02" boxStyle="vertical">
						<button id="jmking04" label="찾아 강조" imageMso="FindDialog" onAction="Find_Change" screentip="찾아강조" supertip="키워드를 찾아서 강조합니다."/>
						<button id="jmking05" label="위치/크기 복붙" imageMso="ControlImage" onAction="PSCopy" screentip="위치크기복붙" supertip="개체의 위치와 크기를 복사하여 붙여넣습니다."/>
					</box>
				</group>
				<group id="IMGGroupfile" label="이미지 자동화">
					<box id="jmbox03" boxStyle="vertical">
						<button id="jmking06" label="이미지편집" imageMso="DiagramStylesClassic" onAction="aImg" screentip="이미지편집" supertip="여러 이미지를 동시에 원형 또는 둥근 사각형으로 자르고, 가로 균등 배치합니다."/>
						<button id="jmking07" label="색깔통일" imageMso="ObjectFormatDialog" onAction="CColor" screentip="색깔통일" supertip="개체의 색깔을 통일합니다."/>
						<button id="jmking08" label="순서도편집" imageMso="ListMacros" onAction="FChart" screentip="순서도편집" supertip="순서도 편집을 위한 자동 기능을 제공합니다."/>
					</box>
				</group>
			</tab>
		</tabs>
	</ribbon>
	<!--RibbonX14-->
</customUI>

길벗 리본

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
	<ribbon startFromScratch="false">
		<tabs>
			<tab id="customTab" label="길벗 매크로">
				<group id="customGroup" label="메시지">
					<button id="Button1" label="시간 표시" imageMso="HappyFace" size="large" onAction="RibbonControl_Click" />
					<button id="Button2" label="날짜 표시" imageMso="Heart" size="large" onAction="RibbonControl_Click" />				     </group>
			</tab>
		</tabs>
	</ribbon>
</customUI>

book

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">

  <ribbon>
    <tabs>
      <tab id="account_manager" label="통장관리" insertBeforeMso="TabHome">

        <group id="mill_gid" label="밀">
          <button id="mill_main_b" screentip="This will popup as a tool tip." supertip="This is a SUPERTIP." label="밀_본통장" size="large" onAction="Macro_밀" imageMso="AppointmentColorDialog" />
          <button id="mill_all_b" label="밀_ALL" size="large" onAction="Macro_밀위드인" imageMso="ChartStylesGallery" />
          <button id="mill_gov_b" label="밀_정부" size="large" onAction="Macro_밀정부" imageMso="CondolatoryEvent" />
        </group>

        <group id="hempel_gid" label="헴">
          <button id="hempel_main_b" label="헴_본통장" size="large" onAction="Macro_헴" imageMso="MeetingsWorkspace" />
		  <separator id="MySeparator1" />
          <button id="hempel_agency_b" label="헴_대리점" size="large" onAction="Macro_헴대리점" imageMso="OrganizationChartInsert" />
          <button id="hempel_sejong_b" label="헴_세종" size="large" onAction="Macro_헴세종" imageMso="AsianLayoutCombineCharacters" />
        </group>

        <group id="studiowhite_gid" label="스">
          <button id="studiowhite_main_b" label="스_본통장" size="large" onAction="Macro_스" imageMso="ClipArtInsert" />
        </group>
        
        <group id="other_gid" label="기타작업">
          <button id="G_saveas_b" label="데이터받기" size="large" onAction="Macro_데이터받기" imageMso="FileSaveAs" />
          <button id="Shortcut" label="단축키" size="large" onAction="Macro_단축키" imageMso="Info" />
        </group>
      </tab>
    </tabs>
  </ribbon>

</customUI>

https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=yjyjah&logNo=150102807332 

 

06. Ribbon의 Tab 위치 지정하기

가끔 뭔가 하다가 하기 싫어질 때가 많습니다. 기운 빠지고 내가 이걸 왜 하고 있나... 그럴 때 초심을 생...

blog.naver.com