Lines Matching refs:m_pAnnot
504 m_pAnnot(pAnnot), in CPDFSDK_Annot()
513 m_pAnnot = NULL; in ~CPDFSDK_Annot()
519 return m_pAnnot; in GetPDFAnnot()
524 ASSERT(m_pAnnot != NULL); in GetFlags()
526 return m_pAnnot->GetFlags(); in GetFlags()
562 ASSERT(m_pAnnot != NULL); in GetAnnotDict()
564 return m_pAnnot->m_pAnnotDict; in GetAnnotDict()
569 ASSERT(m_pAnnot != NULL); in SetRect()
570 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in SetRect()
574 m_pAnnot->m_pAnnotDict->SetAtRect("Rect", rect); in SetRect()
579 ASSERT(m_pAnnot != NULL); in GetRect()
582 m_pAnnot->GetRect(rect); in GetRect()
589 ASSERT(m_pAnnot != NULL); in GetType()
591 return m_pAnnot->GetSubType(); in GetType()
608 ASSERT(m_pAnnot != NULL); in DrawAppearance()
610 m_pAnnot->DrawAppearance(m_pPageView->GetPDFPage(), pDevice, pUser2Device, mode, pOptions); in DrawAppearance()
615 ASSERT(m_pAnnot != NULL); in IsAppearanceValid()
616 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in IsAppearanceValid()
618 return m_pAnnot->m_pAnnotDict->GetDict("AP") != NULL; in IsAppearanceValid()
623 ASSERT(m_pAnnot != NULL); in IsAppearanceValid()
624 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in IsAppearanceValid()
626 CPDF_Dictionary* pAP = m_pAnnot->m_pAnnotDict->GetDict("AP"); in IsAppearanceValid()
648 ASSERT(m_pAnnot != NULL); in DrawBorder()
649 m_pAnnot->DrawBorder(pDevice, pUser2Device, pOptions); in DrawBorder()
654 ASSERT(m_pAnnot != NULL); in ClearCachedAP()
655 m_pAnnot->ClearCachedAP(); in ClearCachedAP()
660 ASSERT(m_pAnnot != NULL); in SetContents()
661 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in SetContents()
664 m_pAnnot->m_pAnnotDict->RemoveAt("Contents"); in SetContents()
666 m_pAnnot->m_pAnnotDict->SetAtString("Contents", PDF_EncodeText(sContents)); in SetContents()
671 ASSERT(m_pAnnot != NULL); in GetContents()
672 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in GetContents()
674 return m_pAnnot->m_pAnnotDict->GetUnicodeText("Contents"); in GetContents()
679 ASSERT(m_pAnnot != NULL); in SetAnnotName()
680 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in SetAnnotName()
683 m_pAnnot->m_pAnnotDict->RemoveAt("NM"); in SetAnnotName()
685 m_pAnnot->m_pAnnotDict->SetAtString("NM", PDF_EncodeText(sName)); in SetAnnotName()
690 ASSERT(m_pAnnot != NULL); in GetAnnotName()
691 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in GetAnnotName()
693 return m_pAnnot->m_pAnnotDict->GetUnicodeText("NM"); in GetAnnotName()
698 ASSERT(m_pAnnot != NULL); in SetModifiedDate()
699 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in SetModifiedDate()
705 m_pAnnot->m_pAnnotDict->RemoveAt("M"); in SetModifiedDate()
707 m_pAnnot->m_pAnnotDict->SetAtString("M", str); in SetModifiedDate()
712 ASSERT(m_pAnnot != NULL); in GetModifiedDate()
713 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in GetModifiedDate()
716 CFX_ByteString str = m_pAnnot->m_pAnnotDict->GetString("M"); in GetModifiedDate()
726 ASSERT(m_pAnnot != NULL); in SetFlags()
727 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in SetFlags()
729 m_pAnnot->m_pAnnotDict->SetAtInteger("F", nFlags); in SetFlags()
734 ASSERT(m_pAnnot != NULL); in GetFlags()
735 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in GetFlags()
737 return m_pAnnot->m_pAnnotDict->GetInteger("F"); in GetFlags()
742 ASSERT(m_pAnnot != NULL); in SetAppState()
743 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in SetAppState()
746 m_pAnnot->m_pAnnotDict->RemoveAt("AS"); in SetAppState()
748 m_pAnnot->m_pAnnotDict->SetAtString("AS", str); in SetAppState()
753 ASSERT(m_pAnnot != NULL); in GetAppState()
754 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in GetAppState()
756 return m_pAnnot->m_pAnnotDict->GetString("AS"); in GetAppState()
761 ASSERT(m_pAnnot != NULL); in SetStructParent()
762 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in SetStructParent()
764 m_pAnnot->m_pAnnotDict->SetAtInteger("StructParent", key); in SetStructParent()
769 ASSERT(m_pAnnot != NULL); in GetStructParent()
770 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in GetStructParent()
772 return m_pAnnot->m_pAnnotDict->GetInteger("StructParent"); in GetStructParent()
778 ASSERT(m_pAnnot != NULL); in SetBorderWidth()
779 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in SetBorderWidth()
781 CPDF_Array* pBorder = m_pAnnot->m_pAnnotDict->GetArray("Border"); in SetBorderWidth()
789 CPDF_Dictionary* pBSDict = m_pAnnot->m_pAnnotDict->GetDict("BS"); in SetBorderWidth()
794 m_pAnnot->m_pAnnotDict->SetAt("BS", pBSDict); in SetBorderWidth()
803 ASSERT(m_pAnnot != NULL); in GetBorderWidth()
804 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in GetBorderWidth()
806 CPDF_Array* pBorder = m_pAnnot->m_pAnnotDict->GetArray("Border"); in GetBorderWidth()
814 CPDF_Dictionary* pBSDict = m_pAnnot->m_pAnnotDict->GetDict("BS"); in GetBorderWidth()
826 ASSERT(m_pAnnot != NULL); in SetBorderStyle()
827 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in SetBorderStyle()
829 CPDF_Dictionary* pBSDict = m_pAnnot->m_pAnnotDict->GetDict("BS"); in SetBorderStyle()
833 m_pAnnot->m_pAnnotDict->SetAt("BS", pBSDict); in SetBorderStyle()
858 ASSERT(m_pAnnot != NULL); in GetBorderStyle()
859 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in GetBorderStyle()
861 CPDF_Dictionary* pBSDict = m_pAnnot->m_pAnnotDict->GetDict("BS"); in GetBorderStyle()
872 CPDF_Array* pBorder = m_pAnnot->m_pAnnotDict->GetArray("Border"); in GetBorderStyle()
888 ASSERT(m_pAnnot != NULL); in SetBorderDash()
889 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in SetBorderDash()
891 CPDF_Dictionary* pBSDict = m_pAnnot->m_pAnnotDict->GetDict("BS"); in SetBorderDash()
895 m_pAnnot->m_pAnnotDict->SetAt("BS", pBSDict); in SetBorderDash()
909 ASSERT(m_pAnnot != NULL); in GetBorderDash()
910 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in GetBorderDash()
914 CPDF_Array* pBorder = m_pAnnot->m_pAnnotDict->GetArray("Border"); in GetBorderDash()
921 CPDF_Dictionary* pBSDict = m_pAnnot->m_pAnnotDict->GetDict("BS"); in GetBorderDash()
939 ASSERT(m_pAnnot != NULL); in SetColor()
940 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in SetColor()
946 m_pAnnot->m_pAnnotDict->SetAt("C", pArray); in SetColor()
951 ASSERT(m_pAnnot != NULL); in RemoveColor()
952 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in RemoveColor()
954 m_pAnnot->m_pAnnotDict->RemoveAt("C") ; in RemoveColor()
959 ASSERT(m_pAnnot != NULL); in GetColor()
960 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in GetColor()
962 if (CPDF_Array* pEntry = m_pAnnot->m_pAnnotDict->GetArray("C")) in GetColor()
1008 ASSERT(m_pAnnot != NULL); in WriteAppearance()
1009 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in WriteAppearance()
1011 CPDF_Dictionary* pAPDict = m_pAnnot->m_pAnnotDict->GetDict("AP"); in WriteAppearance()
1016 m_pAnnot->m_pAnnotDict->SetAt("AP", pAPDict); in WriteAppearance()
1098 ASSERT(m_pAnnot != NULL); in GetAction()
1099 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in GetAction()
1101 return m_pAnnot->m_pAnnotDict->GetDict("A"); in GetAction()
1106 ASSERT(m_pAnnot != NULL); in SetAction()
1107 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in SetAction()
1111 if ((CPDF_Action&)action != m_pAnnot->m_pAnnotDict->GetDict("A")) in SetAction()
1118 m_pAnnot->m_pAnnotDict->SetAtReference("A", pDoc, action.m_pDict->GetObjNum()); in SetAction()
1124 ASSERT(m_pAnnot != NULL); in RemoveAction()
1125 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in RemoveAction()
1127 m_pAnnot->m_pAnnotDict->RemoveAt("A"); in RemoveAction()
1132 ASSERT(m_pAnnot != NULL); in GetAAction()
1133 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in GetAAction()
1135 return m_pAnnot->m_pAnnotDict->GetDict("AA"); in GetAAction()
1140 ASSERT(m_pAnnot != NULL); in SetAAction()
1141 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in SetAAction()
1144 if ((CPDF_AAction&)aa != m_pAnnot->m_pAnnotDict->GetDict("AA")) in SetAAction()
1145 m_pAnnot->m_pAnnotDict->SetAt("AA", (CPDF_AAction&)aa); in SetAAction()
1150 ASSERT(m_pAnnot != NULL); in RemoveAAction()
1151 ASSERT(m_pAnnot->m_pAnnotDict != NULL); in RemoveAAction()
1153 m_pAnnot->m_pAnnotDict->RemoveAt("AA"); in RemoveAAction()
1175 m_pAnnot->GetAPForm(m_pPageView->GetPDFPage(), CPDF_Annot::Normal); in Annot_OnDraw()
1176 …m_pAnnot->DrawAppearance(m_pPageView->GetPDFPage(), pDevice, pUser2Device, CPDF_Annot::Normal, NUL… in Annot_OnDraw()