Lines Matching refs:fit_to_page
108 " 'fit_to_page': {"
113 " 'type': 'FIT_TO_PAGE'"
227 " 'fit_to_page': {"
275 FitToPageCapability fit_to_page;
290 EXPECT_FALSE(fit_to_page.LoadFrom(description));
321 FitToPageCapability fit_to_page;
359 fit_to_page.AddDefaultOption(NO_FITTING, true);
360 fit_to_page.AddOption(FIT_TO_PAGE);
361 fit_to_page.AddOption(GROW_TO_PAGE);
362 fit_to_page.AddOption(SHRINK_TO_PAGE);
363 fit_to_page.AddOption(FILL_PAGE);
380 fit_to_page.SaveTo(&description);
401 FitToPageCapability fit_to_page;
415 EXPECT_TRUE(fit_to_page.LoadFrom(description));
457 EXPECT_TRUE(fit_to_page.Contains(NO_FITTING));
458 EXPECT_TRUE(fit_to_page.Contains(FIT_TO_PAGE));
459 EXPECT_TRUE(fit_to_page.Contains(GROW_TO_PAGE));
460 EXPECT_TRUE(fit_to_page.Contains(SHRINK_TO_PAGE));
461 EXPECT_TRUE(fit_to_page.Contains(FILL_PAGE));
462 EXPECT_EQ(NO_FITTING, fit_to_page.GetDefault());
486 FitToPageTicketItem fit_to_page;
500 EXPECT_FALSE(fit_to_page.LoadFrom(description));
522 FitToPageTicketItem fit_to_page;
540 fit_to_page.set_value(SHRINK_TO_PAGE);
556 fit_to_page.SaveTo(&description);
574 FitToPageTicketItem fit_to_page;
589 EXPECT_TRUE(fit_to_page.LoadFrom(description));
605 EXPECT_EQ(fit_to_page.value(), SHRINK_TO_PAGE);