Lines Matching refs:mpDoc
217 , mpDoc ( NULL ) in SwXDocumentSettings()
290 mpDoc = mpDocSh->GetDoc(); in _preSetValues()
292 if( NULL == mpDoc || NULL == mpDocSh ) in _preSetValues()
321 mpDoc->setLinkUpdateMode(nMode); in _setSingleValue()
327 SwFldUpdateFlags nFlag = mpDoc->getFieldUpdateFlags(true); in _setSingleValue()
328 mpDoc->setFieldUpdateFlags( bUpdateField ? in _setSingleValue()
338 SwFldUpdateFlags nFlag = mpDoc->getFieldUpdateFlags(true); in _setSingleValue()
339 … mpDoc->setFieldUpdateFlags( (nFlag == AUTOUPD_FIELD_ONLY || nFlag == AUTOUPD_FIELD_AND_CHARTS ) ? in _setSingleValue()
350 mpDoc->set(IDocumentSettingAccess::PARA_SPACE_MAX, bParaSpace ); in _setSingleValue()
357 mpDoc->set(IDocumentSettingAccess::PARA_SPACE_MAX_AT_PAGES, bParaSpacePage ); in _setSingleValue()
363 mpDoc->set(IDocumentSettingAccess::TAB_COMPAT, bAlignTab); in _setSingleValue()
374 SfxPrinter* pPrinter = mpDoc->getPrinter( true ); in _setSingleValue()
413 SfxItemSet *pItemSet = new SfxItemSet( mpDoc->GetAttrPool(), nRange ); in _setSingleValue()
428 mpDoc->set(IDocumentSettingAccess::KERN_ASIAN_PUNCTUATION, bIsKern); in _setSingleValue()
429 SwEditShell* pEditSh = mpDoc->GetEditShell(); in _setSingleValue()
447 mpDoc->setCharacterCompressionType(static_cast < SwCharCompressType > (nMode) ); in _setSingleValue()
458 mpDoc->set(IDocumentSettingAccess::GLOBAL_DOCUMENT_SAVE_LINKS, bSaveGlobal ); in _setSingleValue()
463 SwDBData aData = mpDoc->GetDBData(); in _setSingleValue()
465 mpDoc->ChgDBData( aData ); in _setSingleValue()
470 SwDBData aData = mpDoc->GetDBData(); in _setSingleValue()
472 mpDoc->ChgDBData( aData ); in _setSingleValue()
477 SwDBData aData = mpDoc->GetDBData(); in _setSingleValue()
479 mpDoc->ChgDBData( aData ); in _setSingleValue()
506 mpDoc->setReferenceDeviceType( bUseVirDev, bHiResVirDev ); in _setSingleValue()
514 mpDoc->set(IDocumentSettingAccess::LABEL_DOCUMENT, bSet); in _setSingleValue()
520 mpDoc->set(IDocumentSettingAccess::ADD_FLY_OFFSETS, bTmp); in _setSingleValue()
526 mpDoc->set(IDocumentSettingAccess::ADD_EXT_LEADING, bTmp); in _setSingleValue()
532 mpDoc->set(IDocumentSettingAccess::OLD_NUMBERING, bTmp); in _setSingleValue()
537 mpDoc->set(IDocumentSettingAccess::OUTLINE_LEVEL_YIELDS_OUTLINE_RULE, bTmp); in _setSingleValue()
551 mpDoc->set(IDocumentSettingAccess::OLD_LINE_SPACING, bTmp); in _setSingleValue()
557 mpDoc->set(IDocumentSettingAccess::ADD_PARA_SPACING_TO_TABLE_CELLS, bTmp); in _setSingleValue()
563 mpDoc->set(IDocumentSettingAccess::USE_FORMER_OBJECT_POS, bTmp); in _setSingleValue()
569 mpDoc->set(IDocumentSettingAccess::USE_FORMER_TEXT_WRAPPING, bTmp); in _setSingleValue()
577 mpDoc->SetRedlinePassword(aNew); in _setSingleValue()
580 sal_uInt16 eMode = mpDoc->GetRedlineMode(); in _setSingleValue()
582 mpDoc->SetRedlineMode((RedlineMode_t)( eMode )); in _setSingleValue()
590 mpDoc->set(IDocumentSettingAccess::CONSIDER_WRAP_ON_OBJECT_POSITION, bTmp ); in _setSingleValue()
596 mpDoc->set(IDocumentSettingAccess::IGNORE_FIRST_LINE_INDENT_IN_NUMBERING, bTmp); in _setSingleValue()
602 mpDoc->set(IDocumentSettingAccess::DO_NOT_JUSTIFY_LINES_WITH_MANUAL_BREAK, bTmp); in _setSingleValue()
608 mpDoc->set(IDocumentSettingAccess::DO_NOT_RESET_PARA_ATTRS_FOR_NUM_FONT, bTmp); in _setSingleValue()
614 mpDoc->set(IDocumentSettingAccess::TABLE_ROW_KEEP, bTmp); in _setSingleValue()
620 mpDoc->set(IDocumentSettingAccess::IGNORE_TABS_AND_BLANKS_FOR_LINE_CALCULATION, bTmp); in _setSingleValue()
631 mpDoc->set(IDocumentSettingAccess::DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, bTmp); in _setSingleValue()
637 mpDoc->set(IDocumentSettingAccess::CLIP_AS_CHARACTER_ANCHORED_WRITER_FLY_FRAME, bTmp); in _setSingleValue()
643 mpDoc->set(IDocumentSettingAccess::UNIX_FORCE_ZERO_EXT_LEADING, bTmp); in _setSingleValue()
649 mpDoc->set(IDocumentSettingAccess::USE_OLD_PRINTER_METRICS, bTmp); in _setSingleValue()
655 mpDoc->set(IDocumentSettingAccess::TABS_RELATIVE_TO_INDENT, bTmp); in _setSingleValue()
661 mpDoc->set(IDocumentSettingAccess::PROTECT_FORM, bTmp); in _setSingleValue()
668 mpDoc->set(IDocumentSettingAccess::TAB_AT_LEFT_INDENT_FOR_PARA_IN_LIST, bTmp); in _setSingleValue()
690 mpDoc->set( IDocumentSettingAccess::MATH_BASELINE_ALIGNMENT, bTmp ); in _setSingleValue()
707 SwPrintData aPrtData( mpDoc->getPrintData() ); in _postSetValues()
712 mpDoc->setPrinter( mpPrinter, true, true ); in _postSetValues()
717 mpDoc = 0; in _postSetValues()
724 mpDoc = mpDocSh->GetDoc(); in _preGetValues()
725 if( NULL == mpDoc || NULL == mpDocSh ) in _preGetValues()
742 rValue <<= static_cast < sal_Int16 > ( mpDoc->getLinkUpdateMode(true) ); in _getSingleValue()
747 SwFldUpdateFlags nFlags = mpDoc->getFieldUpdateFlags(true); in _getSingleValue()
754 SwFldUpdateFlags nFlags = mpDoc->getFieldUpdateFlags(true); in _getSingleValue()
761 sal_Bool bParaSpace = mpDoc->get(IDocumentSettingAccess::PARA_SPACE_MAX); in _getSingleValue()
767 sal_Bool bParaSpace = mpDoc->get(IDocumentSettingAccess::PARA_SPACE_MAX_AT_PAGES); in _getSingleValue()
773 sal_Bool bAlignTab = mpDoc->get(IDocumentSettingAccess::TAB_COMPAT); in _getSingleValue()
779 SfxPrinter *pPrinter = mpDoc->getPrinter( sal_False ); in _getSingleValue()
807 sal_Bool bParaSpace = mpDoc->get(IDocumentSettingAccess::KERN_ASIAN_PUNCTUATION); in _getSingleValue()
818 rValue <<= static_cast < sal_Int16 > (mpDoc->getCharacterCompressionType()); in _getSingleValue()
823 sal_Bool bSaveGlobal = mpDoc->get(IDocumentSettingAccess::GLOBAL_DOCUMENT_SAVE_LINKS); in _getSingleValue()
829 const SwDBData& rData = mpDoc->GetDBDesc(); in _getSingleValue()
835 const SwDBData& rData = mpDoc->GetDBDesc(); in _getSingleValue()
841 const SwDBData& rData = mpDoc->GetDBDesc(); in _getSingleValue()
858 sal_Int16 nVirDevType = mpDoc->get(IDocumentSettingAccess::USE_VIRTUAL_DEVICE) ? in _getSingleValue()
859 ( mpDoc->get(IDocumentSettingAccess::USE_HIRES_VIRTUAL_DEVICE) ? in _getSingleValue()
868 sal_Bool bLabel = mpDoc->get(IDocumentSettingAccess::LABEL_DOCUMENT); in _getSingleValue()
874 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::ADD_FLY_OFFSETS); in _getSingleValue()
880 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::ADD_EXT_LEADING); in _getSingleValue()
886 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::OLD_NUMBERING); in _getSingleValue()
892 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::OUTLINE_LEVEL_YIELDS_OUTLINE_RULE); in _getSingleValue()
904 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::OLD_LINE_SPACING); in _getSingleValue()
910 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::ADD_PARA_SPACING_TO_TABLE_CELLS); in _getSingleValue()
916 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::USE_FORMER_OBJECT_POS); in _getSingleValue()
922 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::USE_FORMER_TEXT_WRAPPING); in _getSingleValue()
928 rValue <<= mpDoc->GetRedlinePassword(); in _getSingleValue()
933 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::CONSIDER_WRAP_ON_OBJECT_POSITION); in _getSingleValue()
939 … sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::IGNORE_FIRST_LINE_INDENT_IN_NUMBERING); in _getSingleValue()
945 … sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::DO_NOT_JUSTIFY_LINES_WITH_MANUAL_BREAK); in _getSingleValue()
951 … sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::DO_NOT_RESET_PARA_ATTRS_FOR_NUM_FONT); in _getSingleValue()
957 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::TABLE_ROW_KEEP); in _getSingleValue()
963 … sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::IGNORE_TABS_AND_BLANKS_FOR_LINE_CALCULATION); in _getSingleValue()
974 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE); in _getSingleValue()
980 … sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::CLIP_AS_CHARACTER_ANCHORED_WRITER_FLY_FRAME); in _getSingleValue()
986 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::UNIX_FORCE_ZERO_EXT_LEADING); in _getSingleValue()
992 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::USE_OLD_PRINTER_METRICS); in _getSingleValue()
998 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::TABS_RELATIVE_TO_INDENT); in _getSingleValue()
1004 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::PROTECT_FORM); in _getSingleValue()
1011 sal_Bool bTmp = mpDoc->get(IDocumentSettingAccess::TAB_AT_LEFT_INDENT_FOR_PARA_IN_LIST); in _getSingleValue()
1023 sal_Bool bTmp = mpDoc->get( IDocumentSettingAccess::MATH_BASELINE_ALIGNMENT ); in _getSingleValue()
1037 mpDoc = 0; in _postGetValues()