With an electric mixer, cream the butter, shortening, and sugars until smooth. Add the eggs and vanilla, mixing well. In a blender or food processor, process the oats to a fine powder. Sift together the flour, salt, baking powder, baking soda, and oatmeal and, with the mixer running, gradually add to the creamed mixture. Stir in the chocolate chips, grated chocolate bar, and pecans, if using.