Lines Matching refs:aToolBox
391 ToolBox aToolBox; member in EditMainWindow
442 aToolBox( this, WinBits( WB_BORDER | WB_SVLOOK | WB_SCROLL | WB_LINESPACING ) ), in EditMainWindow()
472 aToolBox.SetButtonType( BUTTON_TEXT ); in EditMainWindow()
473 aToolBox.SetLineCount( 4 ); in EditMainWindow()
476 aToolBox.InsertItem( TB_OPEN, String( RTL_CONSTASCII_USTRINGPARAM( "Open" ) ) ); in EditMainWindow()
477 aToolBox.InsertItem( TB_SAVE, String( RTL_CONSTASCII_USTRINGPARAM( "Save" ) ) ); in EditMainWindow()
478 aToolBox.InsertItem( TB_PRINT, String( RTL_CONSTASCII_USTRINGPARAM( "Print" ) ) ); in EditMainWindow()
479 aToolBox.InsertSeparator(); in EditMainWindow()
480 aToolBox.InsertItem( TB_LEFT, String( RTL_CONSTASCII_USTRINGPARAM( "L" ) ) ); in EditMainWindow()
481 aToolBox.InsertItem( TB_CENTER, String( RTL_CONSTASCII_USTRINGPARAM( "C" ) ) ); in EditMainWindow()
482 aToolBox.InsertItem( TB_RIGHT, String( RTL_CONSTASCII_USTRINGPARAM( "R" ) ) ); in EditMainWindow()
483 aToolBox.InsertItem( TB_BLOCK, String( RTL_CONSTASCII_USTRINGPARAM( "B" ) ) ); in EditMainWindow()
484 aToolBox.InsertSeparator(); in EditMainWindow()
485 aToolBox.InsertItem( TB_UNDO, String( RTL_CONSTASCII_USTRINGPARAM( "Undo" ) ) ); in EditMainWindow()
486 aToolBox.InsertItem( TB_REDO, String( RTL_CONSTASCII_USTRINGPARAM( "Redo" ) ) ); in EditMainWindow()
487 aToolBox.InsertSeparator(); in EditMainWindow()
488 aToolBox.InsertItem( TB_FONT1, String( RTL_CONSTASCII_USTRINGPARAM( "Font1" ) ) ); in EditMainWindow()
489 aToolBox.InsertItem( TB_FONT2, String( RTL_CONSTASCII_USTRINGPARAM( "Font2" ) ) ); in EditMainWindow()
490 aToolBox.InsertItem( TB_DEFTAB, String( RTL_CONSTASCII_USTRINGPARAM( "DefTab" ) ) ); in EditMainWindow()
491 aToolBox.InsertBreak(); in EditMainWindow()
492 aToolBox.InsertItem( TB_OPEN2, String( RTL_CONSTASCII_USTRINGPARAM( "Read" ) ) ); in EditMainWindow()
493 aToolBox.InsertItem( TB_SAVE2, String( RTL_CONSTASCII_USTRINGPARAM( "Write" ) ) ); in EditMainWindow()
494 aToolBox.InsertSeparator(); in EditMainWindow()
495 aToolBox.InsertItem( TB_FONT, String( RTL_CONSTASCII_USTRINGPARAM( "XXX" ) ) ); in EditMainWindow()
496 aToolBox.InsertItem( TB_ITALIC, String( RTL_CONSTASCII_USTRINGPARAM( "K" ) ) ); in EditMainWindow()
497 aToolBox.InsertItem( TB_BOLD, String( RTL_CONSTASCII_USTRINGPARAM( "F" ) ) ); in EditMainWindow()
498 aToolBox.InsertItem( TB_UNDERLINE, String( RTL_CONSTASCII_USTRINGPARAM( "U" ) ) ); in EditMainWindow()
499 aToolBox.InsertItem( TB_SUPER, String( RTL_CONSTASCII_USTRINGPARAM( "SP" ) ) ); in EditMainWindow()
500 aToolBox.InsertItem( TB_SUB, String( RTL_CONSTASCII_USTRINGPARAM( "SB" ) ) ); in EditMainWindow()
501 aToolBox.InsertItem( TB_PKERN, String( RTL_CONSTASCII_USTRINGPARAM( "PK" ) ) ); in EditMainWindow()
502 aToolBox.InsertItem( TB_KERN, String( RTL_CONSTASCII_USTRINGPARAM( "TK" ) ) ); in EditMainWindow()
503 aToolBox.InsertItem( TB_WLM, String( RTL_CONSTASCII_USTRINGPARAM( "W!" ) ) ); in EditMainWindow()
504 aToolBox.InsertSeparator(); in EditMainWindow()
505 aToolBox.InsertItem( TB_BLACK, String( RTL_CONSTASCII_USTRINGPARAM( "Black" ) ) ); in EditMainWindow()
506 aToolBox.InsertItem( TB_GREEN, String( RTL_CONSTASCII_USTRINGPARAM( "Green" ) ) ); in EditMainWindow()
507 aToolBox.InsertItem( TB_RED, String( RTL_CONSTASCII_USTRINGPARAM( "Red" ) ) ); in EditMainWindow()
508 aToolBox.InsertSeparator(); in EditMainWindow()
509 aToolBox.InsertItem( TB_SBL, String( RTL_CONSTASCII_USTRINGPARAM( "SBL" ) ) ); in EditMainWindow()
510 aToolBox.InsertItem( TB_SBSA, String( RTL_CONSTASCII_USTRINGPARAM( "SBSA" ) ) ); in EditMainWindow()
511 aToolBox.InsertItem( TB_LR, String( RTL_CONSTASCII_USTRINGPARAM( "LR" ) ) ); in EditMainWindow()
512 aToolBox.InsertSeparator(); in EditMainWindow()
513 aToolBox.InsertItem( TB_DRAW, String( RTL_CONSTASCII_USTRINGPARAM( "Draw!" ) ) ); in EditMainWindow()
514 aToolBox.InsertItem( TB_ROTATE, String( RTL_CONSTASCII_USTRINGPARAM( "Rotate!" ) ) ); in EditMainWindow()
515 aToolBox.InsertItem( TB_MOVE, String( RTL_CONSTASCII_USTRINGPARAM( "Move->2" ) ) ); in EditMainWindow()
516 aToolBox.InsertItem( TB_PARATTR1, String( RTL_CONSTASCII_USTRINGPARAM( "ParaAttr0" ) ) ); in EditMainWindow()
517 aToolBox.InsertItem( TB_ATTRIBS, String( RTL_CONSTASCII_USTRINGPARAM( "GetAttribs" ) ) ); in EditMainWindow()
518 aToolBox.InsertSeparator(); in EditMainWindow()
519 aToolBox.InsertItem( TB_INSFLD, String( RTL_CONSTASCII_USTRINGPARAM( "InsFld" ) ) ); in EditMainWindow()
520 aToolBox.InsertItem( TB_UPDFLD, String( RTL_CONSTASCII_USTRINGPARAM( "UpdFld" ) ) ); in EditMainWindow()
522 aToolBox.InsertBreak(); in EditMainWindow()
524 aToolBox.InsertItem( TB_ONLINESPELL, String( RTL_CONSTASCII_USTRINGPARAM( "Spell" ) ) ); in EditMainWindow()
525 aToolBox.InsertItem( TB_REDLINES, String( RTL_CONSTASCII_USTRINGPARAM( "RedLine" ) ) ); in EditMainWindow()
526 aToolBox.InsertItem( TB_AUTOCORRECT, String( RTL_CONSTASCII_USTRINGPARAM( "Auto*" ) ) ); in EditMainWindow()
527 aToolBox.InsertItem( TB_HYPH, String( RTL_CONSTASCII_USTRINGPARAM( "Hyph" ) ) ); in EditMainWindow()
528 aToolBox.InsertItem( TB_STDSEL, String( RTL_CONSTASCII_USTRINGPARAM( "StdSel" ) ) ); in EditMainWindow()
529 aToolBox.InsertItem( TB_FLAT, String( RTL_CONSTASCII_USTRINGPARAM( "FlatMode" ) ) ); in EditMainWindow()
530 aToolBox.InsertItem( TB_OUTL, String( RTL_CONSTASCII_USTRINGPARAM( "Ocomphelper" ) ) ); in EditMainWindow()
531 aToolBox.InsertItem( TB_POLY, String( RTL_CONSTASCII_USTRINGPARAM( "Poly" ) ) ); in EditMainWindow()
532 aToolBox.InsertItem( TB_COLORS, String( RTL_CONSTASCII_USTRINGPARAM( "Colors" ) )); in EditMainWindow()
533 aToolBox.InsertItem( TB_IDLE, String( RTL_CONSTASCII_USTRINGPARAM( "Idle!" ) ) ); in EditMainWindow()
534 aToolBox.InsertItem( TB_INSERT, String( RTL_CONSTASCII_USTRINGPARAM( "Insert" ) ) ); in EditMainWindow()
535 aToolBox.InsertSeparator(); in EditMainWindow()
536 aToolBox.InsertItem( TB_BINOBJ1, String( RTL_CONSTASCII_USTRINGPARAM( ">BINObj" ) ) ); in EditMainWindow()
537 aToolBox.InsertItem( TB_BINOBJ1b, String( RTL_CONSTASCII_USTRINGPARAM( ">>BINObj" ) ) ); in EditMainWindow()
538 aToolBox.InsertItem( TB_BINOBJ2b, String( RTL_CONSTASCII_USTRINGPARAM( "<<BINObj" ) ) ); in EditMainWindow()
539 aToolBox.InsertItem( TB_CLONEBIN, String( RTL_CONSTASCII_USTRINGPARAM( "Clone" ) ) ); in EditMainWindow()
540 aToolBox.InsertSeparator(); in EditMainWindow()
541 aToolBox.InsertItem( TB_BINOBJ3, String( RTL_CONSTASCII_USTRINGPARAM( "StoreBin" ) ) ); in EditMainWindow()
542 aToolBox.InsertItem( TB_BINOBJ4, String( RTL_CONSTASCII_USTRINGPARAM( "CreatBin" ) ) ); in EditMainWindow()
545 aToolBox.SetPosPixel( Point( 0, 0 ) ); in EditMainWindow()
546 aToolBox.SetSelectHdl( LINK( this, EditMainWindow, TBSelect ) ); in EditMainWindow()
567 aToolBox.Show(); in EditMainWindow()
597 aToolBox.EnableItem( TB_UNDO, (BOOL)pEditEngine->GetUndoManager().GetUndoActionCount() ); in UpdateToolBox()
598 aToolBox.EnableItem( TB_REDO, (BOOL)pEditEngine->GetUndoManager().GetRedoActionCount() ); in UpdateToolBox()
599 aToolBox.EnableItem( TB_BINOBJ2b, (BOOL)(long)pBinObj ); in UpdateToolBox()
600 aToolBox.EnableItem( TB_MOVE, pEditEngine->GetParagraphCount() > 3 ); in UpdateToolBox()
601 aToolBox.CheckItem( TB_ONLINESPELL, nControl & EE_CNTRL_ONLINESPELLING ? TRUE : FALSE ); in UpdateToolBox()
602 aToolBox.CheckItem( TB_AUTOCORRECT, nControl & EE_CNTRL_AUTOCORRECT ? TRUE : FALSE ); in UpdateToolBox()
604 aToolBox.CheckItem( TB_REDLINES, nControl & EE_CNTRL_NOREDLINES ? FALSE : TRUE ); in UpdateToolBox()
605 aToolBox.CheckItem( TB_STDSEL, pEditView->GetSelectionMode() == EE_SELMODE_STD ); in UpdateToolBox()
606 aToolBox.CheckItem( TB_FLAT, pEditEngine->IsFlatMode() ); in UpdateToolBox()
607 aToolBox.CheckItem( TB_OUTL, ( nControl & EE_CNTRL_OUTLINER ) ? TRUE : FALSE ); in UpdateToolBox()
608 aToolBox.CheckItem( TB_POLY, pEditEngine->GetPolygon() ? TRUE : FALSE ); in UpdateToolBox()
609 aToolBox.CheckItem( TB_COLORS, ( nControl & EE_CNTRL_NOCOLORS ) ? FALSE : TRUE ); in UpdateToolBox()
610 aToolBox.CheckItem( TB_IDLE, pEditEngine->IsIdleFormatterEnabled() ); in UpdateToolBox()
611 aToolBox.CheckItem( TB_INSERT, pEditView->IsInsertMode() ); in UpdateToolBox()
625 aToolBox.CheckItem( TB_HYPH, ((SfxBoolItem&)rItem).GetValue() != 0 ); in UpdateToolBox()
628 aToolBox.CheckItem( TB_LR, ((SvxLRSpaceItem&)rItem).GetTxtLeft() != 0 ); in UpdateToolBox()
631 aToolBox.CheckItem( TB_SBSA, ((SvxULSpaceItem&)rItem).GetUpper() != 0 ); in UpdateToolBox()
634 aToolBox.CheckItem( TB_SBL, ((SvxLineSpacingItem&)rItem).GetPropLineSpace() != 100 ); in UpdateToolBox()
639 aToolBox.CheckItem( TB_LEFT, e == SVX_ADJUST_LEFT ); in UpdateToolBox()
640 aToolBox.CheckItem( TB_RIGHT, e == SVX_ADJUST_RIGHT); in UpdateToolBox()
641 aToolBox.CheckItem( TB_CENTER, e == SVX_ADJUST_CENTER); in UpdateToolBox()
642 aToolBox.CheckItem( TB_BLOCK, e == SVX_ADJUST_BLOCK ); in UpdateToolBox()
650 aToolBox.CheckItem( TB_BLACK, aColor == COL_BLACK ); in UpdateToolBox()
651 aToolBox.CheckItem( TB_GREEN, aColor == COL_GREEN ); in UpdateToolBox()
652 aToolBox.CheckItem( TB_RED, aColor == COL_RED ); in UpdateToolBox()
658 aToolBox.CheckItem( TB_FONT1, e == FAMILY_ROMAN ); in UpdateToolBox()
659 aToolBox.CheckItem( TB_FONT2, e == FAMILY_SWISS ); in UpdateToolBox()
667 aToolBox.CheckItem( TB_BOLD, e == WEIGHT_BOLD ); in UpdateToolBox()
672 aToolBox.CheckItem( TB_UNDERLINE, ((SvxUnderlineItem&)rItem).GetLineStyle() ); in UpdateToolBox()
677 aToolBox.CheckItem( TB_WLM, ((SvxWordLineModeItem&)rItem).GetValue() ); in UpdateToolBox()
682 aToolBox.CheckItem( TB_PKERN, ((SvxAutoKernItem&)rItem).GetValue() ); in UpdateToolBox()
687 aToolBox.CheckItem( TB_KERN, (BOOL)((SvxKerningItem&)rItem).GetValue() ); in UpdateToolBox()
692 aToolBox.CheckItem( TB_SUPER, ((SvxEscapementItem&)rItem).GetEsc() > 0 ); in UpdateToolBox()
693 aToolBox.CheckItem( TB_SUB, ((SvxEscapementItem&)rItem).GetEsc() < 0 ); in UpdateToolBox()
701 aToolBox.CheckItem( TB_ITALIC, e == ITALIC_NORMAL ); in UpdateToolBox()
717 USHORT nId = aToolBox.GetCurItemId(); in IMPL_LINK()
718 BOOL bChecked = aToolBox.IsItemChecked( nId ); in IMPL_LINK()
928 aToolBox.CheckItem( nId, !bChecked ); in IMPL_LINK()
1322 long nTBHeight = aToolBox.GetSizePixel().Height(); in SetScrollBars()
1354 Size aTBSz = aToolBox.CalcWindowSizePixel(); in Resize()
1356 aToolBox.SetSizePixel( Size( aOutSzPixel.Width(), aTBSz.Height()) ); in Resize()